From 3d078bb99a75d10f8f11142341554bd81fb1d923 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 18 Apr 2024 20:38:05 -0500 Subject: Improve setup experience and inventory items --- fs1switch.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fs1switch.lua') 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, -- cgit v1.2.3