mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-27 22:56:17 +01:00
Adds #455
Suit cooling units will now work while on back as well, much like an oxygen tank. They also come with an invisible sprite for now, will figure something out for that at a later date.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
w_class = 4
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "suitcooler0"
|
||||
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
|
||||
item_state = "suitcooler0" //hacky, but yeah, works for now.
|
||||
slot_flags = SLOT_BACK //will now work while on back - Skull132
|
||||
|
||||
//copied from tank.dm
|
||||
flags = FPRINT | TABLEPASS | CONDUCT
|
||||
@@ -83,10 +84,10 @@
|
||||
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
if (!H.wear_suit || H.s_store != src)
|
||||
return 0
|
||||
if (H.wear_suit && (H.back == src || H.s_store == src))
|
||||
return 1
|
||||
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/obj/item/device/suit_cooling_unit/proc/turn_on()
|
||||
if(!cell)
|
||||
|
||||
Reference in New Issue
Block a user