Allows suit coolers to be plugged into voidsuits like gas tanks (#13409)

This commit is contained in:
Jaraci
2022-04-16 21:10:14 +02:00
committed by GitHub
parent 2ad2dd789c
commit 43713aebf4
3 changed files with 71 additions and 10 deletions
@@ -5,6 +5,7 @@
icon = 'icons/obj/contained_items/tools/suitcooler.dmi'
icon_state = "suitcooler0"
item_state = "coolingpack"
action_button_name = "Toggle Cooling Unit"
contained_sprite = TRUE
slot_flags = SLOT_BACK //you can carry it on your back if you want, but it won't do anything unless attached to suit storage
@@ -146,7 +147,7 @@
else
turn_on()
if(on)
to_chat(user, SPAN_NOTICE("You switch on the [src]."))
to_chat(user, SPAN_NOTICE("You switch on \the [src]."))
/obj/item/device/suit_cooling_unit/attackby(obj/item/W, mob/user)
if(W.isscrewdriver())