mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 14:50:41 +02:00
Tags support (#107)
Signed-off-by: Slava Zanko <slavazanko@gmail.com> Co-authored-by: Slava Zanko <slava.zanko@godel.shellenergy.co.uk> Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com> Co-authored-by: OgelGames <olliverdc28@gmail.com>
This commit is contained in:
20
crafts.lua
20
crafts.lua
@ -223,6 +223,26 @@ if pipeworks.enable_mese_tube then
|
||||
})
|
||||
end
|
||||
|
||||
if pipeworks.enable_item_tags and pipeworks.enable_tag_tube then
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:tag_tube_000000 2",
|
||||
recipe = {
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
|
||||
{ materials.book, materials.mese_crystal, materials.book },
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "pipeworks:tag_tube_000000",
|
||||
recipe = {
|
||||
"pipeworks:mese_tube_000000",
|
||||
materials.book,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if pipeworks.enable_sand_tube then
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:sand_tube_1 2",
|
||||
|
Reference in New Issue
Block a user