diff --git a/shields/README.txt b/shields/README.txt index 80988c1..3146bcb 100644 --- a/shields/README.txt +++ b/shields/README.txt @@ -1,6 +1,6 @@ -A 3d character model re-texturing api used as the framework for this modpack. +Adds shields to 3d_armor -depends: 3d_armor +Depends: 3d_armor Originally a part of 3d_armor, shields have been re-included as an optional extra. If you do not what shields then simply remove the shields folder from the modpack. diff --git a/technic_armor/README.txt b/technic_armor/README.txt new file mode 100644 index 0000000..dff2255 --- /dev/null +++ b/technic_armor/README.txt @@ -0,0 +1,6 @@ +Adds tin, silver and technic materials to 3d_armor. +Requires technic mod to be installed for craft registration. + +Depends: 3d_armor + +Source code and textures by poet.nohit diff --git a/technic_armor/depends.txt b/technic_armor/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/technic_armor/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/technic_armor/init.lua b/technic_armor/init.lua new file mode 100644 index 0000000..3bdfe9e --- /dev/null +++ b/technic_armor/init.lua @@ -0,0 +1,81 @@ +if minetest.get_modpath("technic") then + local stats = { + brass = { name="Brass", armor=1.8, heal=0, use=650 }, + cast = { name="Cast Iron", armor=2.5, heal=8, use=200 }, + carbon = { name="Carbon Steel", armor=2.7, heal=10, use=100 }, + stainless = { name="Stainless Steel", armor=2.7, heal=10, use=75 }, + } + local mats = { + brass="technic:brass_ingot", + cast="technic:cast_iron_ingot", + carbon="technic:carbon_steel_ingot", + stainless="technic:stainless_steel_ingot", + } + if minetest.get_modpath("moreores") then + stats.tin = { name="Tin", armor=1.6, heal=0, use=750 } + stats.silver = { name="Silver", armor=1.8, heal=6, use=650 } + mats.tin = "moreores:tin_ingot" + mats.silver = "moreores:silver_ingot" + end + + for k, v in pairs(stats) do + minetest.register_tool("technic_armor:helmet_"..k, { + description = v.name.." Helmet", + inventory_image = "technic_armor_inv_helmet_"..k..".png", + groups = {armor_head=math.floor(5*v.armor), armor_heal=v.heal, armor_use=v.use}, + wear = 0, + }) + minetest.register_tool("technic_armor:chestplate_"..k, { + description = v.name.." Chestplate", + inventory_image = "technic_armor_inv_chestplate_"..k..".png", + groups = {armor_torso=math.floor(8*v.armor), armor_heal=v.heal, armor_use=v.use}, + wear = 0, + }) + minetest.register_tool("technic_armor:leggings_"..k, { + description = v.name.." Leggings", + inventory_image = "technic_armor_inv_leggings_"..k..".png", + groups = {armor_legs=math.floor(7*v.armor), armor_heal=v.heal, armor_use=v.use}, + wear = 0, + }) + minetest.register_tool("technic_armor:boots_"..k, { + description = v.name.." Boots", + inventory_image = "technic_armor_inv_boots_"..k..".png", + groups = {armor_feet=math.floor(4*v.armor), armor_heal=v.heal, armor_use=v.use}, + wear = 0, + }) + end + for k, v in pairs(mats) do + minetest.register_craft({ + output = "technic_armor:helmet_"..k, + recipe = { + {v, v, v}, + {v, "", v}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "technic_armor:chestplate_"..k, + recipe = { + {v, "", v}, + {v, v, v}, + {v, v, v}, + }, + }) + minetest.register_craft({ + output = "technic_armor:leggings_"..k, + recipe = { + {v, v, v}, + {v, "", v}, + {v, "", v}, + }, + }) + minetest.register_craft({ + output = "technic_armor:boots_"..k, + recipe = { + {v, "", v}, + {v, "", v}, + }, + }) + end +end + diff --git a/technic_armor/textures/technic_armor_boots_brass.png b/technic_armor/textures/technic_armor_boots_brass.png new file mode 100644 index 0000000..a54b970 Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_brass.png differ diff --git a/technic_armor/textures/technic_armor_boots_brass_preview.png b/technic_armor/textures/technic_armor_boots_brass_preview.png new file mode 100644 index 0000000..b054d4f Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_brass_preview.png differ diff --git a/technic_armor/textures/technic_armor_boots_carbon.png b/technic_armor/textures/technic_armor_boots_carbon.png new file mode 100644 index 0000000..379cc8e Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_carbon.png differ diff --git a/technic_armor/textures/technic_armor_boots_carbon_preview.png b/technic_armor/textures/technic_armor_boots_carbon_preview.png new file mode 100644 index 0000000..8d7e480 Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_carbon_preview.png differ diff --git a/technic_armor/textures/technic_armor_boots_cast.png b/technic_armor/textures/technic_armor_boots_cast.png new file mode 100644 index 0000000..5aa0aaa Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_cast.png differ diff --git a/technic_armor/textures/technic_armor_boots_cast_preview.png b/technic_armor/textures/technic_armor_boots_cast_preview.png new file mode 100644 index 0000000..22699f2 Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_cast_preview.png differ diff --git a/technic_armor/textures/technic_armor_boots_silver.png b/technic_armor/textures/technic_armor_boots_silver.png new file mode 100644 index 0000000..1af5ccc Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_silver.png differ diff --git a/technic_armor/textures/technic_armor_boots_silver_preview.png b/technic_armor/textures/technic_armor_boots_silver_preview.png new file mode 100644 index 0000000..01e0caf Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_silver_preview.png differ diff --git a/technic_armor/textures/technic_armor_boots_stainless.png b/technic_armor/textures/technic_armor_boots_stainless.png new file mode 100644 index 0000000..eaa86c4 Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_stainless.png differ diff --git a/technic_armor/textures/technic_armor_boots_stainless_preview.png b/technic_armor/textures/technic_armor_boots_stainless_preview.png new file mode 100644 index 0000000..53cc9e7 Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_stainless_preview.png differ diff --git a/technic_armor/textures/technic_armor_boots_tin.png b/technic_armor/textures/technic_armor_boots_tin.png new file mode 100644 index 0000000..11c740a Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_tin.png differ diff --git a/technic_armor/textures/technic_armor_boots_tin_preview.png b/technic_armor/textures/technic_armor_boots_tin_preview.png new file mode 100644 index 0000000..b1085af Binary files /dev/null and b/technic_armor/textures/technic_armor_boots_tin_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_brass.png b/technic_armor/textures/technic_armor_chestplate_brass.png new file mode 100644 index 0000000..d123aff Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_brass.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_brass_preview.png b/technic_armor/textures/technic_armor_chestplate_brass_preview.png new file mode 100644 index 0000000..94c2a47 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_brass_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_carbon.png b/technic_armor/textures/technic_armor_chestplate_carbon.png new file mode 100644 index 0000000..7f2b9f1 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_carbon.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_carbon_preview.png b/technic_armor/textures/technic_armor_chestplate_carbon_preview.png new file mode 100644 index 0000000..da747e5 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_carbon_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_cast.png b/technic_armor/textures/technic_armor_chestplate_cast.png new file mode 100644 index 0000000..6fa0628 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_cast.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_cast_preview.png b/technic_armor/textures/technic_armor_chestplate_cast_preview.png new file mode 100644 index 0000000..bfbd4ec Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_cast_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_silver.png b/technic_armor/textures/technic_armor_chestplate_silver.png new file mode 100644 index 0000000..6790049 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_silver.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_silver_preview.png b/technic_armor/textures/technic_armor_chestplate_silver_preview.png new file mode 100644 index 0000000..abf63b6 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_silver_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_stainless.png b/technic_armor/textures/technic_armor_chestplate_stainless.png new file mode 100644 index 0000000..c2db5f6 Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_stainless.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_stainless_preview.png b/technic_armor/textures/technic_armor_chestplate_stainless_preview.png new file mode 100644 index 0000000..1266e6e Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_stainless_preview.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_tin.png b/technic_armor/textures/technic_armor_chestplate_tin.png new file mode 100644 index 0000000..562354e Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_tin.png differ diff --git a/technic_armor/textures/technic_armor_chestplate_tin_preview.png b/technic_armor/textures/technic_armor_chestplate_tin_preview.png new file mode 100644 index 0000000..362a4ad Binary files /dev/null and b/technic_armor/textures/technic_armor_chestplate_tin_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_brass.png b/technic_armor/textures/technic_armor_helmet_brass.png new file mode 100644 index 0000000..b8f38d7 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_brass.png differ diff --git a/technic_armor/textures/technic_armor_helmet_brass_preview.png b/technic_armor/textures/technic_armor_helmet_brass_preview.png new file mode 100644 index 0000000..cd625f4 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_brass_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_carbon.png b/technic_armor/textures/technic_armor_helmet_carbon.png new file mode 100644 index 0000000..e8fdf84 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_carbon.png differ diff --git a/technic_armor/textures/technic_armor_helmet_carbon_preview.png b/technic_armor/textures/technic_armor_helmet_carbon_preview.png new file mode 100644 index 0000000..02a67b8 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_carbon_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_cast.png b/technic_armor/textures/technic_armor_helmet_cast.png new file mode 100644 index 0000000..840d1b1 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_cast.png differ diff --git a/technic_armor/textures/technic_armor_helmet_cast_preview.png b/technic_armor/textures/technic_armor_helmet_cast_preview.png new file mode 100644 index 0000000..c8d30c5 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_cast_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_silver.png b/technic_armor/textures/technic_armor_helmet_silver.png new file mode 100644 index 0000000..0c26eb3 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_silver.png differ diff --git a/technic_armor/textures/technic_armor_helmet_silver_preview.png b/technic_armor/textures/technic_armor_helmet_silver_preview.png new file mode 100644 index 0000000..a1d33d7 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_silver_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_stainless.png b/technic_armor/textures/technic_armor_helmet_stainless.png new file mode 100644 index 0000000..865ebf8 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_stainless.png differ diff --git a/technic_armor/textures/technic_armor_helmet_stainless_preview.png b/technic_armor/textures/technic_armor_helmet_stainless_preview.png new file mode 100644 index 0000000..d08cc69 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_stainless_preview.png differ diff --git a/technic_armor/textures/technic_armor_helmet_tin.png b/technic_armor/textures/technic_armor_helmet_tin.png new file mode 100644 index 0000000..8497bf1 Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_tin.png differ diff --git a/technic_armor/textures/technic_armor_helmet_tin_preview.png b/technic_armor/textures/technic_armor_helmet_tin_preview.png new file mode 100644 index 0000000..efb95be Binary files /dev/null and b/technic_armor/textures/technic_armor_helmet_tin_preview.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_brass.png b/technic_armor/textures/technic_armor_inv_boots_brass.png new file mode 100644 index 0000000..145d6c3 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_brass.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_carbon.png b/technic_armor/textures/technic_armor_inv_boots_carbon.png new file mode 100644 index 0000000..dbf043f Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_carbon.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_cast.png b/technic_armor/textures/technic_armor_inv_boots_cast.png new file mode 100644 index 0000000..ba33d07 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_cast.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_silver.png b/technic_armor/textures/technic_armor_inv_boots_silver.png new file mode 100644 index 0000000..7af9003 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_silver.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_stainless.png b/technic_armor/textures/technic_armor_inv_boots_stainless.png new file mode 100644 index 0000000..6d114e7 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_stainless.png differ diff --git a/technic_armor/textures/technic_armor_inv_boots_tin.png b/technic_armor/textures/technic_armor_inv_boots_tin.png new file mode 100644 index 0000000..6fbc5b3 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_boots_tin.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_brass.png b/technic_armor/textures/technic_armor_inv_chestplate_brass.png new file mode 100644 index 0000000..4984954 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_brass.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_carbon.png b/technic_armor/textures/technic_armor_inv_chestplate_carbon.png new file mode 100644 index 0000000..b921799 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_carbon.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_cast.png b/technic_armor/textures/technic_armor_inv_chestplate_cast.png new file mode 100644 index 0000000..5e6749e Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_cast.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_silver.png b/technic_armor/textures/technic_armor_inv_chestplate_silver.png new file mode 100644 index 0000000..442caa2 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_silver.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_stainless.png b/technic_armor/textures/technic_armor_inv_chestplate_stainless.png new file mode 100644 index 0000000..5462100 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_stainless.png differ diff --git a/technic_armor/textures/technic_armor_inv_chestplate_tin.png b/technic_armor/textures/technic_armor_inv_chestplate_tin.png new file mode 100644 index 0000000..eeb7328 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_chestplate_tin.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_brass.png b/technic_armor/textures/technic_armor_inv_helmet_brass.png new file mode 100644 index 0000000..e56ec30 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_brass.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_carbon.png b/technic_armor/textures/technic_armor_inv_helmet_carbon.png new file mode 100644 index 0000000..fc2a592 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_carbon.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_cast.png b/technic_armor/textures/technic_armor_inv_helmet_cast.png new file mode 100644 index 0000000..15092c1 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_cast.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_silver.png b/technic_armor/textures/technic_armor_inv_helmet_silver.png new file mode 100644 index 0000000..4a17003 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_silver.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_stainless.png b/technic_armor/textures/technic_armor_inv_helmet_stainless.png new file mode 100644 index 0000000..1cc480e Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_stainless.png differ diff --git a/technic_armor/textures/technic_armor_inv_helmet_tin.png b/technic_armor/textures/technic_armor_inv_helmet_tin.png new file mode 100644 index 0000000..c37cb75 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_helmet_tin.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_brass.png b/technic_armor/textures/technic_armor_inv_leggings_brass.png new file mode 100644 index 0000000..876bf7c Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_brass.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_carbon.png b/technic_armor/textures/technic_armor_inv_leggings_carbon.png new file mode 100644 index 0000000..e4673a9 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_carbon.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_cast.png b/technic_armor/textures/technic_armor_inv_leggings_cast.png new file mode 100644 index 0000000..df61ca6 Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_cast.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_silver.png b/technic_armor/textures/technic_armor_inv_leggings_silver.png new file mode 100644 index 0000000..ad8c91b Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_silver.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_stainless.png b/technic_armor/textures/technic_armor_inv_leggings_stainless.png new file mode 100644 index 0000000..7e4feaf Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_stainless.png differ diff --git a/technic_armor/textures/technic_armor_inv_leggings_tin.png b/technic_armor/textures/technic_armor_inv_leggings_tin.png new file mode 100644 index 0000000..bbaeb6a Binary files /dev/null and b/technic_armor/textures/technic_armor_inv_leggings_tin.png differ diff --git a/technic_armor/textures/technic_armor_leggings_brass.png b/technic_armor/textures/technic_armor_leggings_brass.png new file mode 100644 index 0000000..f9c84fd Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_brass.png differ diff --git a/technic_armor/textures/technic_armor_leggings_brass_preview.png b/technic_armor/textures/technic_armor_leggings_brass_preview.png new file mode 100644 index 0000000..05048e3 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_brass_preview.png differ diff --git a/technic_armor/textures/technic_armor_leggings_carbon.png b/technic_armor/textures/technic_armor_leggings_carbon.png new file mode 100644 index 0000000..2c83e23 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_carbon.png differ diff --git a/technic_armor/textures/technic_armor_leggings_carbon_preview.png b/technic_armor/textures/technic_armor_leggings_carbon_preview.png new file mode 100644 index 0000000..9fb6391 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_carbon_preview.png differ diff --git a/technic_armor/textures/technic_armor_leggings_cast.png b/technic_armor/textures/technic_armor_leggings_cast.png new file mode 100644 index 0000000..e7ca67f Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_cast.png differ diff --git a/technic_armor/textures/technic_armor_leggings_cast_preview.png b/technic_armor/textures/technic_armor_leggings_cast_preview.png new file mode 100644 index 0000000..67dd933 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_cast_preview.png differ diff --git a/technic_armor/textures/technic_armor_leggings_silver.png b/technic_armor/textures/technic_armor_leggings_silver.png new file mode 100644 index 0000000..6ae30f3 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_silver.png differ diff --git a/technic_armor/textures/technic_armor_leggings_silver_preview.png b/technic_armor/textures/technic_armor_leggings_silver_preview.png new file mode 100644 index 0000000..0f6ecd2 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_silver_preview.png differ diff --git a/technic_armor/textures/technic_armor_leggings_stainless.png b/technic_armor/textures/technic_armor_leggings_stainless.png new file mode 100644 index 0000000..5eab543 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_stainless.png differ diff --git a/technic_armor/textures/technic_armor_leggings_stainless_preview.png b/technic_armor/textures/technic_armor_leggings_stainless_preview.png new file mode 100644 index 0000000..6504d9d Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_stainless_preview.png differ diff --git a/technic_armor/textures/technic_armor_leggings_tin.png b/technic_armor/textures/technic_armor_leggings_tin.png new file mode 100644 index 0000000..5973135 Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_tin.png differ diff --git a/technic_armor/textures/technic_armor_leggings_tin_preview.png b/technic_armor/textures/technic_armor_leggings_tin_preview.png new file mode 100644 index 0000000..a6d105f Binary files /dev/null and b/technic_armor/textures/technic_armor_leggings_tin_preview.png differ