1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

Prevent vacuum tubes breaking themselves and refactor code (#51)

also bumps `min_minetest_version` to 5.4.0
This commit is contained in:
OgelGames
2022-11-11 23:14:08 +11:00
committed by GitHub
parent 8c251800db
commit 5345fe7af3
4 changed files with 118 additions and 95 deletions

View File

@ -298,6 +298,24 @@ if pipeworks.enable_mese_tube then
})
end
if pipeworks.enable_sand_tube then
minetest.register_craft( {
output = "pipeworks:sand_tube_1 2",
recipe = {
{"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"},
{"group:sand", "group:sand", "group:sand"},
{"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"}
},
})
minetest.register_craft( {
output = "pipeworks:sand_tube_1",
recipe = {
{"group:sand", "pipeworks:tube_1", "group:sand"},
},
})
end
if pipeworks.enable_mese_sand_tube then
minetest.register_craft( {
output = "pipeworks:mese_sand_tube_1 2",