mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13:45 +01:00
Add missing fuel recipes for wood and cactus armor.
Fixes https://github.com/stujones11/minetest-3d_armor/issues/174
This commit is contained in:
parent
acd8b2647d
commit
dbc6ccf089
@ -79,6 +79,19 @@ if armor.materials.wood then
|
||||
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
|
||||
groups = {armor_feet=1, armor_heal=0, armor_use=2000, flammable=1},
|
||||
})
|
||||
local wood_armor_fuel = {
|
||||
helmet = 6,
|
||||
chestplate = 8,
|
||||
leggings = 7,
|
||||
boots = 5
|
||||
}
|
||||
for armor, burn in pairs(wood_armor_fuel) do
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "3d_armor:" .. armor .. "_wood",
|
||||
burntime = burn,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
if armor.materials.cactus then
|
||||
@ -110,6 +123,19 @@ if armor.materials.cactus then
|
||||
armor_groups = {fleshy=5},
|
||||
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1},
|
||||
})
|
||||
local cactus_armor_fuel = {
|
||||
helmet = 14,
|
||||
chestplate = 16,
|
||||
leggings = 15,
|
||||
boots = 13
|
||||
}
|
||||
for armor, burn in pairs(cactus_armor_fuel) do
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "3d_armor:" .. armor .. "_cactus",
|
||||
burntime = burn,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
if armor.materials.steel then
|
||||
|
@ -68,6 +68,11 @@ if armor.materials.wood then
|
||||
{"default:steel_ingot"},
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "shields:shield_wood",
|
||||
burntime = 8,
|
||||
})
|
||||
end
|
||||
|
||||
if armor.materials.cactus then
|
||||
@ -107,6 +112,11 @@ if armor.materials.cactus then
|
||||
{"default:steel_ingot"},
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "shields:shield_cactus",
|
||||
burntime = 16,
|
||||
})
|
||||
end
|
||||
|
||||
if armor.materials.steel then
|
||||
|
Loading…
Reference in New Issue
Block a user