mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
makes crusher+accelerator upgrades gc and fixes a ghost upgrade issue (#20495)
This commit is contained in:
@@ -255,6 +255,12 @@
|
||||
H.trophies -= src
|
||||
return TRUE
|
||||
|
||||
/obj/item/crusher_trophy/Destroy()
|
||||
if(istype(loc, /obj/item/twohanded/kinetic_crusher))
|
||||
var/obj/item/twohanded/kinetic_crusher/crusher = loc
|
||||
crusher.trophies -= src
|
||||
return ..()
|
||||
|
||||
/obj/item/crusher_trophy/proc/on_melee_hit(mob/living/target, mob/living/user) //the target and the user
|
||||
|
||||
/obj/item/crusher_trophy/proc/on_projectile_fire(obj/item/projectile/destabilizer/marker, mob/living/user) //the projectile fired and the user
|
||||
|
||||
Reference in New Issue
Block a user