can now be removed with extra button instead of digging

master
Sokomine 2019-03-10 16:14:09 +01:00
parent a32465f97b
commit 56dce81d27
2 changed files with 5 additions and 3 deletions

View File

@ -41,7 +41,7 @@ minetest.register_node("locked_travelnet:elevator", {
inventory_image = "travelnet_elevator_inv.png",
wield_image = "travelnet_elevator_wield.png",
groups = {cracky=1,choppy=1,snappy=1},
groups = {}, --cracky=1,choppy=1,snappy=1},
light_source = 10,
@ -53,6 +53,7 @@ minetest.register_node("locked_travelnet:elevator", {
"size[12,10]"..
"field[0.3,5.6;6,0.7;station_name;Name of this station:;]"..
-- "button_exit[6.3,6.2;1.7,0.7;station_set;Store]"..
"button_exit[8.0,0.0;2.2,0.7;station_dig;Remove station]"..
"field[0.3,3.0;6,0.7;locks_sent_lock_command;Locked travelnet. Type /help for help:;]"..
"button_exit[6.3,3.2;1.7,0.7;locks_sent_input;Store]" );
end,
@ -167,7 +168,7 @@ minetest.register_node("locked_travelnet:elevator_top", {
light_source = 10,
groups = {cracky=1,choppy=1,snappy=1,not_in_creative_inventory=1},
groups = {}, --cracky=1,choppy=1,snappy=1,not_in_creative_inventory=1},
})

View File

@ -43,7 +43,7 @@ minetest.register_node("locked_travelnet:travelnet", {
},
inventory_image = "locked_travelnet_lock_inv.png",
groups = {cracky=1,choppy=1,snappy=1},
groups = {}, --cracky=1,choppy=1,snappy=1},
light_source = 10,
@ -55,6 +55,7 @@ minetest.register_node("locked_travelnet:travelnet", {
"field[0.3,5.6;6,0.7;station_name;Name of this station:;]"..
"field[0.3,6.6;6,0.7;station_network;Assign to Network:;]"..
"field[0.3,7.6;6,0.7;owner_name;(optional) owned by:;]"..
"button_exit[8.0,0.0;2.2,0.7;station_dig;Remove station]"..
-- "button_exit[6.3,6.2;1.7,0.7;station_set;Store]"..
"field[0.3,3.0;6,0.7;locks_sent_lock_command;Locked travelnet. Type /help for help:;]"..
"button_exit[6.3,3.2;1.7,0.7;locks_sent_input;Store]" );