mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-30 23:30:35 +02:00
make pipeworks Game agnostic (#16)
* make it boot in non mtg * make water flow * fix water texture warnings * fix missing steel texture issues * remove depreciated/unnessary default function calls * make sounds work * fix default formspec crashes * fix wierd tab spacing * additionally game dig group support * move crafts to crafts.lua * make crafts support various games
This commit is contained in:
@ -153,9 +153,7 @@ local function update_meta(meta, can_receive)
|
||||
"label[7.0,0;"..S("Receive").."]"..
|
||||
"image_button[7.0,0.5;1,0.6;pipeworks_button_" .. cr_state .. ".png;cr" .. (can_receive and 0 or 1) .. ";;;false;pipeworks_button_interm.png]"..
|
||||
"button_exit[6.3,1.3;2,1;close;"..S("Close").."]"..
|
||||
"label[0.2,2.3;"..itext.."]"..
|
||||
default.gui_bg..
|
||||
default.gui_bg_img)
|
||||
"label[0.2,2.3;"..itext.."]")
|
||||
end
|
||||
|
||||
pipeworks.register_tube("pipeworks:teleport_tube", {
|
||||
@ -262,14 +260,6 @@ pipeworks.register_tube("pipeworks:teleport_tube", {
|
||||
end
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:teleport_tube_1 2",
|
||||
recipe = {
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
|
||||
{ "default:desert_stone", "default:mese", "default:desert_stone" },
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
|
||||
},
|
||||
})
|
||||
|
||||
if minetest.get_modpath("mesecons_mvps") ~= nil then
|
||||
mesecon.register_on_mvps_move(function(moved_nodes)
|
||||
|
Reference in New Issue
Block a user