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:
Crosarius
2024-06-26 20:22:55 +10:00
committed by GitHub
parent 0666833d9a
commit d75afedaef
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -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"