mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Merge pull request #14761 from TDSSS/dna-vault-offsprite
Gives DNA vault an off sprite
This commit is contained in:
@@ -190,6 +190,21 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
|
||||
|
||||
..()
|
||||
|
||||
/obj/machinery/dna_vault/update_icon()
|
||||
..()
|
||||
if(stat & NOPOWER)
|
||||
icon_state = "vaultoff"
|
||||
return
|
||||
icon_state = "vault"
|
||||
|
||||
/obj/machinery/dna_vault/power_change()
|
||||
if(powered(power_channel))
|
||||
stat &= ~NOPOWER
|
||||
else
|
||||
stat |= NOPOWER
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/machinery/dna_vault/Destroy()
|
||||
QDEL_LIST(fillers)
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user