mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-05-10 20:50:22 +02:00
save buttons exit formspec
This commit is contained in:
parent
5653a235bb
commit
a973fa9e47
@ -157,14 +157,14 @@ local formspec = "formspec_version[2]size["..size.."]"..
|
|||||||
"image[0.5,0.3;1,1;pipeworks_teleport_tube_inv.png]"..
|
"image[0.5,0.3;1,1;pipeworks_teleport_tube_inv.png]"..
|
||||||
"label[1.75,0.8;"..S("Teleporting Tube").."]"..
|
"label[1.75,0.8;"..S("Teleporting Tube").."]"..
|
||||||
"field[0.5,1.7;5,0.8;channel;"..S("Channel")..";${channel}]"..
|
"field[0.5,1.7;5,0.8;channel;"..S("Channel")..";${channel}]"..
|
||||||
"button[5.5,1.7;2,0.8;save_channel;"..S("Save").."]"..
|
"button_exit[5.5,1.7;2,0.8;save;"..S("Save").."]"..
|
||||||
"label[6.5,0.6;"..S("Receive").."]"..
|
"label[6.5,0.6;"..S("Receive").."]"..
|
||||||
"label[0.5,2.8;"..help_text.."]"
|
"label[0.5,2.8;"..help_text.."]"
|
||||||
|
|
||||||
if has_digilines then
|
if has_digilines then
|
||||||
formspec = formspec..
|
formspec = formspec..
|
||||||
"field[0.5,4.6;5,0.8;digiline_channel;"..S("Digiline Channel")..";${digiline_channel}]"..
|
"field[0.5,4.6;5,0.8;digiline_channel;"..S("Digiline Channel")..";${digiline_channel}]"..
|
||||||
"button[5.5,4.6;2,0.8;save_digiline_channel;"..S("Save").."]"
|
"button_exit[5.5,4.6;2,0.8;save;"..S("Save").."]"
|
||||||
end
|
end
|
||||||
|
|
||||||
local function update_meta(meta)
|
local function update_meta(meta)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user