[MIRROR] More PSG changes (#10709)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-04-22 00:53:47 +02:00
committed by GitHub
co-authored by Cameron Lennox
parent ff63262b79
commit b76e7c00e1
12 changed files with 140 additions and 25 deletions
+13
View File
@@ -183,6 +183,19 @@
return 0
var/mob/living/M = user
if(istype(M))
if(M.has_modifier_of_type(/datum/modifier/underwater_stealth))
to_chat(user,span_warning("You cannot use guns whilst hiding underwater!"))
return 0
else if(M.has_modifier_of_type(/datum/modifier/rednet))
to_chat(user,span_warning("Your gun refuses to fire!"))
return 0
else if(M.has_modifier_of_type(/datum/modifier/trait/thickdigits))
to_chat(user,span_warning("Your hands can't pull the trigger!!"))
return 0
else if(M.has_modifier_of_type(/datum/modifier/shield_projection/melee_focus))
to_chat(user,span_warning("The shield projection around you prevents you from using anything but melee!!"))
return 0
if(dna_lock && attached_lock.stored_dna)
if(!authorized_user(user))
if(attached_lock.safety_level == 0)