mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +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:
@@ -13,6 +13,19 @@
|
||||
if(!epicenter)
|
||||
return
|
||||
|
||||
// If we are in end round, make explosions gib the user
|
||||
// Why? Its funny
|
||||
if(GLOB.disable_explosions && usr && istype(usr, /mob/living/carbon/human))
|
||||
to_chat(usr, "<span class='userdanger'>Your explosive backfires!</span>")
|
||||
var/mob/living/carbon/human/H = usr
|
||||
H.gib() // lol
|
||||
return
|
||||
|
||||
// If explosions are disabled, and there isnt a user, or the user isnt an admin, abort
|
||||
// Admins can still ruin things :P
|
||||
if(GLOB.disable_explosions && ((!usr) || !is_admin(usr)))
|
||||
return
|
||||
|
||||
// Archive the uncapped explosion for the doppler array
|
||||
var/orig_dev_range = devastation_range
|
||||
var/orig_heavy_range = heavy_impact_range
|
||||
|
||||
Reference in New Issue
Block a user