Clean up crafting recipes, add new helpers

This commit is contained in:
Wuzzy 2017-01-12 07:33:35 +01:00
parent cdd326c812
commit b0fc9778f9
6 changed files with 28 additions and 30 deletions

View file

@ -1,6 +1,6 @@
-- Armor Configuration -- Armor Configuration
ARMOR_MATERIALS = { ARMOR_MATERIALS = {
leather = "group:wood", leather = "mobs:leather",
iron = "default:steel_ingot", iron = "default:steel_ingot",
chain = nil, chain = nil,
gold = "default:gold_ingot", gold = "default:gold_ingot",

View file

@ -150,8 +150,7 @@ minetest.register_tool("3d_armor:boots_chain", {
-- Register Craft Recipies -- Register Craft Recipies
local craft_ingreds = { local craft_ingreds = {
-- FIXME: Replace with leather leather = { "mobs:leather" },
leather = { "default:wood" },
steel = { "default:steel_ingot", "default:iron_nugget" }, steel = { "default:steel_ingot", "default:iron_nugget" },
gold = { "default:gold_ingot", "default:gold_nugget" }, gold = { "default:gold_ingot", "default:gold_nugget" },
diamond = { "default:diamond" }, diamond = { "default:diamond" },

View file

@ -634,19 +634,12 @@ minetest.register_craft({
} }
}) })
-- TODO: Remove helper recipe
minetest.register_craft({ minetest.register_craft({
type = 'shapeless', type = 'shapeless',
output = 'default:book', output = 'default:book',
recipe = { 'default:paper', 'default:paper', 'default:paper', 'mobs:leather', recipe = { 'default:paper', 'default:paper', 'default:paper', 'mobs:leather',
} }
}) })
minetest.register_craft({
type = 'shapeless',
output = 'default:book',
recipe = { 'default:paper', 'default:paper', 'default:paper', 'default:paper',
}
})
minetest.register_craft({ minetest.register_craft({
output = 'default:bookshelf', output = 'default:bookshelf',
@ -1081,8 +1074,9 @@ minetest.register_craft({
-- --
--Temporary --Temporary
-- -- TODO: Remove when string is ready
minetest.register_craft({ minetest.register_craft({
output = "default:string", output = "default:string",
recipe = {{"default:paper", "default:paper"}}, recipe = {{"default:paper",},
{"default:paper"}},
}) })

View file

@ -138,12 +138,3 @@ minetest.register_craft({
{'default:stick', 'default:stick', 'default:stick'}, {'default:stick', 'default:stick', 'default:stick'},
} }
}) })
-- FIXME: Remove helper recipe
minetest.register_craft({
output = 'itemframes:frame',
recipe = {
{'default:stick', 'default:stick', 'default:stick'},
{'default:stick', 'default:paper', 'default:stick'},
{'default:stick', 'default:stick', 'default:stick'},
}
})

View file

@ -225,6 +225,13 @@ minetest.register_craftitem("mobs:leather", {
stack_max = 64, stack_max = 64,
}) })
minetest.register_craftitem("mobs:feather", {
description = "Feather",
wield_image = "mobs_feather.png",
inventory_image = "mobs_feather.png",
stack_max = 64,
})
minetest.register_craftitem("mobs:rabbit_hide", { minetest.register_craftitem("mobs:rabbit_hide", {
description = "Rabbit Hide", description = "Rabbit Hide",
wield_image = "mobs_rabbit_hide.png", wield_image = "mobs_rabbit_hide.png",
@ -296,3 +303,19 @@ minetest.register_craft({
burntime = 120, burntime = 120,
}) })
-- Temporary helper recipes
-- TODO: Remove them
minetest.register_craft({
type = "shapeless",
output = "mobs:leather",
recipe = { "default:paper", "default:paper" },
})
minetest.register_craft({
output = "mobs:feather 3",
recipe = {
{ "flowers:oxeye_daisy" },
{ "flowers:oxeye_daisy" },
}
})

View file

@ -88,12 +88,3 @@ minetest.register_craft({
{'mobs:feather'} {'mobs:feather'}
} }
}) })
-- FIXME: Helper recipe
minetest.register_craft({
output = 'throwing:arrow 4',
recipe = {
{'default:flint'},
{'default:stick'},
{'default:paper'}
}
})