1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-14 14:20:37 +01:00
homedecor_modpack/computer/miscitems.lua

69 lines
1.5 KiB
Lua
Raw Normal View History

2014-07-19 01:33:01 +02:00
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
-- This file defines some items in order to not have to depend on other mods.
local S = homedecor.gettext
2014-07-19 01:33:01 +02:00
if (not minetest.get_modpath("homedecor")) then
2018-10-31 01:46:10 +01:00
minetest.register_craftitem(":basic_materials:plastic_sheet", {
description = S("Plastic sheet"),
inventory_image = "homedecor_plastic_sheeting.png",
})
2014-07-19 01:33:01 +02:00
minetest.register_craftitem(":homedecor:plastic_base", {
description = S("Unprocessed Plastic base"),
wield_image = "homedecor_plastic_base.png",
inventory_image = "homedecor_plastic_base_inv.png",
})
2014-07-19 01:33:01 +02:00
minetest.register_craft({
type = "shapeless",
output = 'homedecor:plastic_base 6',
recipe = { "default:junglegrass",
"default:junglegrass",
"default:junglegrass"
}
})
minetest.register_craft({
type = "shapeless",
output = 'homedecor:plastic_base 3',
recipe = { "default:dry_shrub",
"default:dry_shrub",
"default:dry_shrub"
},
})
minetest.register_craft({
type = "shapeless",
output = 'homedecor:plastic_base 4',
recipe = { "default:leaves",
"default:leaves",
"default:leaves",
"default:leaves",
"default:leaves",
"default:leaves"
}
})
minetest.register_craft({
type = "cooking",
2018-10-31 01:46:10 +01:00
output = "basic_materials:plastic_sheet",
recipe = "homedecor:plastic_base",
})
minetest.register_craft({
type = 'fuel',
recipe = 'homedecor:plastic_base',
burntime = 30,
})
minetest.register_craft({
type = 'fuel',
2018-10-31 01:46:10 +01:00
recipe = 'basic_materials:plastic_sheet',
burntime = 30,
})
2014-07-19 01:33:01 +02:00
end -- not homedecor