mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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)]")
|
||||
|
||||
Reference in New Issue
Block a user