Add technic armor by poet.nohit
|
@ -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.
|
||||
|
|
6
technic_armor/README.txt
Normal file
|
@ -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
|
1
technic_armor/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
3d_armor
|
81
technic_armor/init.lua
Normal file
|
@ -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
|
||||
|
BIN
technic_armor/textures/technic_armor_boots_brass.png
Normal file
After Width: | Height: | Size: 366 B |
BIN
technic_armor/textures/technic_armor_boots_brass_preview.png
Normal file
After Width: | Height: | Size: 309 B |
BIN
technic_armor/textures/technic_armor_boots_carbon.png
Normal file
After Width: | Height: | Size: 271 B |
BIN
technic_armor/textures/technic_armor_boots_carbon_preview.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
technic_armor/textures/technic_armor_boots_cast.png
Normal file
After Width: | Height: | Size: 366 B |
BIN
technic_armor/textures/technic_armor_boots_cast_preview.png
Normal file
After Width: | Height: | Size: 309 B |
BIN
technic_armor/textures/technic_armor_boots_silver.png
Normal file
After Width: | Height: | Size: 339 B |
BIN
technic_armor/textures/technic_armor_boots_silver_preview.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
technic_armor/textures/technic_armor_boots_stainless.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
technic_armor/textures/technic_armor_boots_stainless_preview.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
technic_armor/textures/technic_armor_boots_tin.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
technic_armor/textures/technic_armor_boots_tin_preview.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
technic_armor/textures/technic_armor_chestplate_brass.png
Normal file
After Width: | Height: | Size: 559 B |
After Width: | Height: | Size: 528 B |
BIN
technic_armor/textures/technic_armor_chestplate_carbon.png
Normal file
After Width: | Height: | Size: 534 B |
After Width: | Height: | Size: 526 B |
BIN
technic_armor/textures/technic_armor_chestplate_cast.png
Normal file
After Width: | Height: | Size: 559 B |
BIN
technic_armor/textures/technic_armor_chestplate_cast_preview.png
Normal file
After Width: | Height: | Size: 528 B |
BIN
technic_armor/textures/technic_armor_chestplate_silver.png
Normal file
After Width: | Height: | Size: 547 B |
After Width: | Height: | Size: 521 B |
BIN
technic_armor/textures/technic_armor_chestplate_stainless.png
Normal file
After Width: | Height: | Size: 966 B |
After Width: | Height: | Size: 4.3 KiB |
BIN
technic_armor/textures/technic_armor_chestplate_tin.png
Normal file
After Width: | Height: | Size: 546 B |
BIN
technic_armor/textures/technic_armor_chestplate_tin_preview.png
Normal file
After Width: | Height: | Size: 512 B |
BIN
technic_armor/textures/technic_armor_helmet_brass.png
Normal file
After Width: | Height: | Size: 549 B |
BIN
technic_armor/textures/technic_armor_helmet_brass_preview.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
technic_armor/textures/technic_armor_helmet_carbon.png
Normal file
After Width: | Height: | Size: 455 B |
BIN
technic_armor/textures/technic_armor_helmet_carbon_preview.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
technic_armor/textures/technic_armor_helmet_cast.png
Normal file
After Width: | Height: | Size: 549 B |
BIN
technic_armor/textures/technic_armor_helmet_cast_preview.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
technic_armor/textures/technic_armor_helmet_silver.png
Normal file
After Width: | Height: | Size: 523 B |
BIN
technic_armor/textures/technic_armor_helmet_silver_preview.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
technic_armor/textures/technic_armor_helmet_stainless.png
Normal file
After Width: | Height: | Size: 722 B |
After Width: | Height: | Size: 2.1 KiB |
BIN
technic_armor/textures/technic_armor_helmet_tin.png
Normal file
After Width: | Height: | Size: 523 B |
BIN
technic_armor/textures/technic_armor_helmet_tin_preview.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
technic_armor/textures/technic_armor_inv_boots_brass.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
technic_armor/textures/technic_armor_inv_boots_carbon.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
technic_armor/textures/technic_armor_inv_boots_cast.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
technic_armor/textures/technic_armor_inv_boots_silver.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
technic_armor/textures/technic_armor_inv_boots_stainless.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
technic_armor/textures/technic_armor_inv_boots_tin.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
technic_armor/textures/technic_armor_inv_chestplate_brass.png
Normal file
After Width: | Height: | Size: 204 B |
BIN
technic_armor/textures/technic_armor_inv_chestplate_carbon.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
technic_armor/textures/technic_armor_inv_chestplate_cast.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
technic_armor/textures/technic_armor_inv_chestplate_silver.png
Normal file
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 234 B |
BIN
technic_armor/textures/technic_armor_inv_chestplate_tin.png
Normal file
After Width: | Height: | Size: 204 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_brass.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_carbon.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_cast.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_silver.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_stainless.png
Normal file
After Width: | Height: | Size: 214 B |
BIN
technic_armor/textures/technic_armor_inv_helmet_tin.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_brass.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_carbon.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_cast.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_silver.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_stainless.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
technic_armor/textures/technic_armor_inv_leggings_tin.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
technic_armor/textures/technic_armor_leggings_brass.png
Normal file
After Width: | Height: | Size: 379 B |
BIN
technic_armor/textures/technic_armor_leggings_brass_preview.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
technic_armor/textures/technic_armor_leggings_carbon.png
Normal file
After Width: | Height: | Size: 279 B |
BIN
technic_armor/textures/technic_armor_leggings_carbon_preview.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
technic_armor/textures/technic_armor_leggings_cast.png
Normal file
After Width: | Height: | Size: 379 B |
BIN
technic_armor/textures/technic_armor_leggings_cast_preview.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
technic_armor/textures/technic_armor_leggings_silver.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
technic_armor/textures/technic_armor_leggings_silver_preview.png
Normal file
After Width: | Height: | Size: 323 B |
BIN
technic_armor/textures/technic_armor_leggings_stainless.png
Normal file
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 2.9 KiB |
BIN
technic_armor/textures/technic_armor_leggings_tin.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
technic_armor/textures/technic_armor_leggings_tin_preview.png
Normal file
After Width: | Height: | Size: 359 B |