Using explosives at end round now gibs you (#26465)

* Using explosives at end round now gibs you

* More tweaks

* Tweaks
This commit is contained in:
AffectedArc07
2024-08-17 23:24:21 +01:00
committed by GitHub
parent e21b8ea4c3
commit 3a3768bac3
5 changed files with 29 additions and 5 deletions
+6 -2
View File
@@ -1,5 +1,9 @@
GLOBAL_VAR_INIT(BSACooldown, 0)
GLOBAL_VAR_INIT(nologevent, 0)
/// Is admin BSA (damage a user) currently on cooldown?
GLOBAL_VAR_INIT(BSACooldown, FALSE)
/// Are we in a no-log event (EORG, highlander, etc)?
GLOBAL_VAR_INIT(nologevent, FALSE)
/// Are explosions currently disabled for EORG?
GLOBAL_VAR_INIT(disable_explosions, FALSE)
////////////////////////////////
/proc/message_admins(msg)
+2 -3
View File
@@ -1829,9 +1829,8 @@
to_chat(owner, "Standby. Reload cycle in progress. Gunnery crews ready in five seconds!")
return
GLOB.BSACooldown = 1
spawn(50)
GLOB.BSACooldown = 0
GLOB.BSACooldown = TRUE
addtimer(VARSET_CALLBACK(GLOB, BSACooldown, FALSE), 5 SECONDS)
to_chat(M, "You've been hit by bluespace artillery!")
log_admin("[key_name(M)] has been hit by Bluespace Artillery fired by [key_name(owner)]")