diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-18 20:38:05 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-18 20:38:05 -0500 |
commit | 3d078bb99a75d10f8f11142341554bd81fb1d923 (patch) | |
tree | c64d8463d3460e0cac4223672d6021fdd0807d00 /fs1switch.lua | |
parent | fd8693671d81eda7ab62c397b77d9496c39cc2f2 (diff) | |
download | celevator-3d078bb99a75d10f8f11142341554bd81fb1d923.tar celevator-3d078bb99a75d10f8f11142341554bd81fb1d923.tar.gz celevator-3d078bb99a75d10f8f11142341554bd81fb1d923.tar.bz2 celevator-3d078bb99a75d10f8f11142341554bd81fb1d923.tar.xz celevator-3d078bb99a75d10f8f11142341554bd81fb1d923.zip |
Improve setup experience and inventory items
Diffstat (limited to 'fs1switch.lua')
-rw-r--r-- | fs1switch.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs1switch.lua b/fs1switch.lua index d0f4349..8c426cc 100644 --- a/fs1switch.lua +++ b/fs1switch.lua @@ -98,12 +98,13 @@ local switchstates = {"off","on","reset"} for _,switchpos in ipairs(switchstates) do minetest.register_node("celevator:fs1switch_"..switchpos,{ - description = "Fire Service Phase 1 Keyswitch"..(switchpos == "off" and "" or string.format(" (%s state - you hacker you!)",switchpos)), + description = "Elevator Fire Service Phase 1 Keyswitch"..(switchpos == "off" and "" or string.format(" (%s state - you hacker you!)",switchpos)), groups = { dig_immediate = 2, not_in_creative_inventory = (switchpos == "off" and 0 or 1), _celevator_fs1switch = 1, }, + inventory_image = "celevator_fs1switch_off.png", drop = "celevator:fs1switch_off", tiles = { "celevator_cabinet_sides.png", @@ -140,7 +141,7 @@ for _,switchpos in ipairs(switchstates) do on_destruct = unpair, }) minetest.register_node("celevator:fs1switch_"..switchpos.."_lit",{ - description = "Fire Service Phase 1 Keyswitch"..string.format(" (%s state, lit - you hacker you!)",switchpos), + description = "Elevator Fire Service Phase 1 Keyswitch"..string.format(" (%s state, lit - you hacker you!)",switchpos), groups = { dig_immediate = 2, not_in_creative_inventory = 1, |