mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +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
|
||||
|
||||
@@ -69,6 +69,13 @@
|
||||
if(response == "Yes")
|
||||
user.visible_message("<span class='warning'>[user] grins as [user.p_they()] begin[user.p_s()] to put a Bag of Holding into a Bag of Holding!</span>", "<span class='warning'>You begin to put the Bag of Holding into the Bag of Holding!</span>")
|
||||
if(do_after(user, 30, target=src))
|
||||
if(GLOB.disable_explosions)
|
||||
if(istype(user))
|
||||
to_chat(user, "<span class='userdanger'>You seem to stuff yourself into the quantum hellscape between the two bags. That wasn't wise.</span>")
|
||||
user.gib()
|
||||
|
||||
return
|
||||
|
||||
investigate_log("has become a singularity. Caused by [user.key]","singulo")
|
||||
user.visible_message("<span class='warning'>[user] erupts in evil laughter as [user.p_they()] put[user.p_s()] the Bag of Holding into another Bag of Holding!</span>", "<span class='warning'>You can't help but laugh wildly as you put the Bag of Holding into another Bag of Holding, complete darkness surrounding you.</span>","<span class='danger'> You hear the sound of scientific evil brewing!</span>")
|
||||
qdel(W)
|
||||
|
||||
Reference in New Issue
Block a user