Items exploding while thrown admin option (or on arcane tampered floors) (#33830)

* Items exploding on arcane tampered floors (or as an admin option)

* Items exploding on arcane tampered floors (or as an admin option)

* throw_impact as suggested

* removing redundant check, adding sanities due to qdel possibility

* less indents

* less wizard cheese

* changed method, works muuuch better now

* inverted this on request

* fixing this

---------

Co-authored-by: SECBATON GRIFFON <sage>
This commit is contained in:
SECBATON GRIFFON
2023-03-12 05:31:33 +00:00
committed by GitHub
parent bad457429b
commit 67a6fd0a06
30 changed files with 77 additions and 65 deletions

View File

@@ -37,7 +37,7 @@
/obj/item/device/gps/mining,
/obj/item/weapon/storage/belt/mining,
)
/******************************Lantern*******************************/
/obj/item/device/flashlight/lantern
@@ -791,8 +791,7 @@
..()
/obj/item/device/mobcapsule/throw_impact(atom/A, speed, mob/user)
..()
if(!tripped)
if(!..() && !tripped)
if(contained_mob)
dump_contents(user)
tripped = 1