mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 10:12:17 +00:00
22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
|
|
/obj/item/device/shield/attack_self(mob/user as mob)
|
|
src.active = !( src.active )
|
|
if (src.active)
|
|
user << "\blue The shield is now active."
|
|
src.icon_state = "shield1"
|
|
else
|
|
user << "\blue The shield is now inactive."
|
|
src.icon_state = "shield0"
|
|
src.add_fingerprint(user)
|
|
return
|
|
|
|
/obj/item/weapon/cloaking_device/attack_self(mob/user as mob)
|
|
src.active = !( src.active )
|
|
if (src.active)
|
|
user << "\blue The cloaking device is now active."
|
|
src.icon_state = "shield1"
|
|
else
|
|
user << "\blue The cloaking device is now inactive."
|
|
src.icon_state = "shield0"
|
|
src.add_fingerprint(user)
|
|
return |