[MIRROR] Allows crew kin to use rigs (#11410)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-13 15:25:29 -07:00
committed by GitHub
parent b2b1dcd355
commit ed24a11b5f
4 changed files with 18 additions and 10 deletions

View File

@@ -150,6 +150,13 @@
var/darkness = 1
var/dark_gains = 0
var/suit = owner.get_equipped_item(slot_wear_suit)
if(istype(suit, /obj/item/clothing/suit/space))
if(dark_energy)
to_chat(owner, span_warning("You feel your energy waning and your powers being blocked from the heavy equipment you're wearing!"))
dark_energy = 0
return
var/turf/T = get_turf(owner)
if(!T)
dark_gains = 0