mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Allow Wireless Firing Pins (Disruptors) To Fire On Code Blue (#19434)
This adds code blue to the list of alert levels that allow wireless firing pins to fire on lethal mode. There's a cultural thing on Aurora where Code Red is never used, because it stops the vote from being called. This means that during most high intensity interactions, we stay on Code Blue, and the disruptor pistol can't be used on lethal mode. This simply adds code blue to the list of permissible codes for lethal. --------- Signed-off-by: Crosarius <30341877+Crosarius@users.noreply.github.com> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
@@ -305,13 +305,13 @@ var/list/wireless_firing_pins = list() //A list of all initialized wireless firi
|
||||
var/obj/item/gun/energy/EG = gun
|
||||
if(EG.required_firemode_auth[EG.sel_mode] == WIRELESS_PIN_STUN)
|
||||
return TRUE
|
||||
else if (GLOB.security_level == SEC_LEVEL_YELLOW || GLOB.security_level == SEC_LEVEL_RED)
|
||||
else if (GLOB.security_level >= SEC_LEVEL_YELLOW)
|
||||
return TRUE
|
||||
else
|
||||
fail_message = SPAN_WARNING("Unable to fire: insufficient security level.")
|
||||
return FALSE
|
||||
else
|
||||
if (GLOB.security_level == SEC_LEVEL_YELLOW || GLOB.security_level == SEC_LEVEL_RED)
|
||||
if (GLOB.security_level >= SEC_LEVEL_YELLOW)
|
||||
return TRUE
|
||||
else
|
||||
fail_message = SPAN_WARNING("Unable to fire: insufficient security level.")
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: crosarius
|
||||
delete-after: True
|
||||
changes:
|
||||
- qol: "Changes the wireless firing pin (disruptor pistols) to be able to fire on lethal mode during code blue"
|
||||
Reference in New Issue
Block a user