Merge commit '053c30b'
26
armor_steel/LICENSE.txt
Normal file
@ -0,0 +1,26 @@
|
||||
[mod] 3d Armor [3d_armor]
|
||||
=========================
|
||||
|
||||
License Source Code
|
||||
-------------------
|
||||
|
||||
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
License Textures
|
||||
----------------
|
||||
|
||||
Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0
|
181
armor_steel/init.lua
Normal file
@ -0,0 +1,181 @@
|
||||
|
||||
--- Registered armors.
|
||||
--
|
||||
-- @topic armor
|
||||
|
||||
|
||||
-- support for i18n
|
||||
local S = armor.get_translator
|
||||
|
||||
--- Steel
|
||||
--
|
||||
-- Requires setting `armor_material_steel`.
|
||||
--
|
||||
-- @section steel
|
||||
|
||||
if armor.materials.steel then
|
||||
--- Steel Helmet
|
||||
--
|
||||
-- @helmet 3d_armor:helmet_steel
|
||||
-- @img 3d_armor_inv_helmet_steel.png
|
||||
-- @grp armor_head 1
|
||||
-- @grp armor_heal 0
|
||||
-- @grp armor_use 800
|
||||
-- @grp physics_speed -0.01
|
||||
-- @grp physica_gravity 0.01
|
||||
-- @armorgrp fleshy 10
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 3
|
||||
-- @damagegrp choppy 2
|
||||
-- @damagegrp crumbly 1
|
||||
-- @damagegrp level 2
|
||||
armor:register_armor(":3d_armor:helmet_steel", {
|
||||
description = S("Steel Helmet"),
|
||||
inventory_image = "3d_armor_inv_helmet_steel.png",
|
||||
groups = {armor_head=1, armor_heal=0, armor_use=800,
|
||||
physics_speed=-0.01, physics_gravity=0.01},
|
||||
armor_groups = {fleshy=10},
|
||||
damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
|
||||
})
|
||||
--- Steel Chestplate
|
||||
--
|
||||
-- @chestplate 3d_armor:chestplate_steel
|
||||
-- @img 3d_armor_inv_chestplate_steel.png
|
||||
-- @grp armor_torso 1
|
||||
-- @grp armor_heal 0
|
||||
-- @grp armor_use 800
|
||||
-- @grp physics_speed
|
||||
-- @grp physics_gravity
|
||||
-- @armorgrp fleshy
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 3
|
||||
-- @damagegrp choppy 2
|
||||
-- @damagegrp crumbly 1
|
||||
-- @damagegrp level 2
|
||||
armor:register_armor(":3d_armor:chestplate_steel", {
|
||||
description = S("Steel Chestplate"),
|
||||
inventory_image = "3d_armor_inv_chestplate_steel.png",
|
||||
groups = {armor_torso=1, armor_heal=0, armor_use=800,
|
||||
physics_speed=-0.04, physics_gravity=0.04},
|
||||
armor_groups = {fleshy=15},
|
||||
damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
|
||||
})
|
||||
--- Steel Leggings
|
||||
--
|
||||
-- @leggings 3d_armor:leggings_steel
|
||||
-- @img 3d_armor_inv_leggings_steel.png
|
||||
-- @grp armor_legs 1
|
||||
-- @grp armor_heal 0
|
||||
-- @grp armor_use 800
|
||||
-- @grp physics_speed -0.03
|
||||
-- @grp physics_gravity 0.03
|
||||
-- @armorgrp fleshy 15
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 3
|
||||
-- @damagegrp choppy 2
|
||||
-- @damagegrp crumbly 1
|
||||
-- @damagegrp level 2
|
||||
armor:register_armor(":3d_armor:leggings_steel", {
|
||||
description = S("Steel Leggings"),
|
||||
inventory_image = "3d_armor_inv_leggings_steel.png",
|
||||
groups = {armor_legs=1, armor_heal=0, armor_use=800,
|
||||
physics_speed=-0.03, physics_gravity=0.03},
|
||||
armor_groups = {fleshy=15},
|
||||
damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
|
||||
})
|
||||
--- Steel Boots
|
||||
--
|
||||
-- @boots 3d_armor:boots_steel
|
||||
-- @img 3d_armor_inv_boots_steel.png
|
||||
-- @grp armor_feet 1
|
||||
-- @grp armor_heal 0
|
||||
-- @grp armor_use 800
|
||||
-- @grp physics_speed -0.01
|
||||
-- @grp physics_gravity 0.01
|
||||
-- @armorgrp fleshy 10
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 3
|
||||
-- @damagegrp choppy 2
|
||||
-- @damagegrp crumbly 1
|
||||
-- @damagegrp level 2
|
||||
armor:register_armor(":3d_armor:boots_steel", {
|
||||
description = S("Steel Boots"),
|
||||
inventory_image = "3d_armor_inv_boots_steel.png",
|
||||
groups = {armor_feet=1, armor_heal=0, armor_use=800,
|
||||
physics_speed=-0.01, physics_gravity=0.01},
|
||||
armor_groups = {fleshy=10},
|
||||
damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
|
||||
})
|
||||
|
||||
--- Crafting
|
||||
--
|
||||
-- @section craft
|
||||
|
||||
--- Craft recipes for helmets, chestplates, leggings, boots, & shields.
|
||||
--
|
||||
-- @craft armor
|
||||
-- @usage
|
||||
-- Key:
|
||||
-- - m: material
|
||||
-- - wood: group:wood
|
||||
-- - cactus: default:cactus
|
||||
-- - steel: default:steel_ingot
|
||||
-- - bronze: default:bronze_ingot
|
||||
-- - diamond: default:diamond
|
||||
-- - gold: default:gold_ingot
|
||||
-- - mithril: moreores:mithril_ingot
|
||||
-- - crystal: ethereal:crystal_ingot
|
||||
-- - nether: nether:nether_ingot
|
||||
--
|
||||
-- helmet: chestplate: leggings:
|
||||
-- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐
|
||||
-- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │
|
||||
-- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤
|
||||
-- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │
|
||||
-- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤
|
||||
-- │ │ │ │ │ m │ m │ m │ │ m │ │ m │
|
||||
-- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘
|
||||
--
|
||||
-- boots: shield:
|
||||
-- ┌───┬───┬───┐ ┌───┬───┬───┐
|
||||
-- │ │ │ │ │ m │ m │ m │
|
||||
-- ├───┼───┼───┤ ├───┼───┼───┤
|
||||
-- │ m │ │ m │ │ m │ m │ m │
|
||||
-- ├───┼───┼───┤ ├───┼───┼───┤
|
||||
-- │ m │ │ m │ │ │ m │ │
|
||||
-- └───┴───┴───┘ └───┴───┴───┘
|
||||
|
||||
local s = "steel"
|
||||
local m = armor.materials.steel
|
||||
minetest.register_craft({
|
||||
output = "3d_armor:helmet_"..s,
|
||||
recipe = {
|
||||
{m, m, m},
|
||||
{m, "", m},
|
||||
{"", "", ""},
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "3d_armor:chestplate_"..s,
|
||||
recipe = {
|
||||
{m, "", m},
|
||||
{m, m, m},
|
||||
{m, m, m},
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "3d_armor:leggings_"..s,
|
||||
recipe = {
|
||||
{m, m, m},
|
||||
{m, "", m},
|
||||
{m, "", m},
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "3d_armor:boots_"..s,
|
||||
recipe = {
|
||||
{m, "", m},
|
||||
{m, "", m},
|
||||
},
|
||||
})
|
||||
end
|
5
armor_steel/locale/armor_steel.de.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Stahlhelm
|
||||
Steel Chestplate=Stahlbrustplatte
|
||||
Steel Leggings=Stahlhose
|
||||
Steel Boots=Stahlstiefel
|
5
armor_steel/locale/armor_steel.eo.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Ŝtala Kasko
|
||||
Steel Chestplate=Ŝtala Brustkiraso
|
||||
Steel Leggings=Ŝtala Pantalono
|
||||
Steel Boots=Ŝtala Botoj
|
5
armor_steel/locale/armor_steel.es.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Casco de acero
|
||||
Steel Chestplate=Peto de acero
|
||||
Steel Leggings=Grebas de acero
|
||||
Steel Boots=Botas de acero
|
5
armor_steel/locale/armor_steel.fr.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Casque en acier
|
||||
Steel Chestplate=Cuirasse en acier
|
||||
Steel Leggings=Jambières en acier
|
||||
Steel Boots=Bottes en acier
|
5
armor_steel/locale/armor_steel.it.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Elmo d'acciaio
|
||||
Steel Chestplate=Corazza d'acciaio
|
||||
Steel Leggings=Gambali d'acciaio
|
||||
Steel Boots=Stivali d'acciaio
|
5
armor_steel/locale/armor_steel.ms.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Helmet Keluli
|
||||
Steel Chestplate=Perisai Dada Keluli
|
||||
Steel Leggings=Perisai Kaki Keluli
|
||||
Steel Boots=But Keluli
|
5
armor_steel/locale/armor_steel.pt.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Capacete de Aço
|
||||
Steel Chestplate=Peitoral de Aço
|
||||
Steel Leggings=Calças de Aço
|
||||
Steel Boots=Botas de Aço
|
5
armor_steel/locale/armor_steel.pt_BR.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Capacete de Aço
|
||||
Steel Chestplate=Peitoral de Aço
|
||||
Steel Leggings=Calças de Aço
|
||||
Steel Boots=Botas de Aço
|
5
armor_steel/locale/armor_steel.ru.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=стальной шлем
|
||||
Steel Chestplate=стальной бронежилет
|
||||
Steel Leggings=стальные гамаши
|
||||
Steel Boots=стальные ботинки
|
5
armor_steel/locale/armor_steel.sv.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=Stålhjälm
|
||||
Steel Chestplate=Stålbröstplatta
|
||||
Steel Leggings=Stålbyxor
|
||||
Steel Boots=Stålstövlar
|
5
armor_steel/locale/template.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_steel
|
||||
Steel Helmet=
|
||||
Steel Chestplate=
|
||||
Steel Leggings=
|
||||
Steel Boots=
|
3
armor_steel/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = armor_steel
|
||||
depends = 3d_armor
|
||||
description = Adds craftable steel armor.
|
BIN
armor_steel/textures/3d_armor_boots_steel.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
armor_steel/textures/3d_armor_boots_steel_preview.png
Normal file
After Width: | Height: | Size: 783 B |
BIN
armor_steel/textures/3d_armor_chestplate_steel.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
armor_steel/textures/3d_armor_chestplate_steel_preview.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
armor_steel/textures/3d_armor_helmet_steel.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
armor_steel/textures/3d_armor_helmet_steel_preview.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
armor_steel/textures/3d_armor_inv_boots_steel.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
armor_steel/textures/3d_armor_inv_chestplate_steel.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
armor_steel/textures/3d_armor_inv_helmet_steel.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
armor_steel/textures/3d_armor_inv_leggings_steel.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
armor_steel/textures/3d_armor_leggings_steel.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
armor_steel/textures/3d_armor_leggings_steel_preview.png
Normal file
After Width: | Height: | Size: 1.4 KiB |