mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
committed by
Chompstation Bot
parent
e333e564dd
commit
51f419b95d
@@ -523,6 +523,15 @@
|
||||
H.vent_gas(loc)
|
||||
qdel(H)
|
||||
|
||||
/obj/machinery/disposal/hitby(atom/movable/AM)
|
||||
. = ..()
|
||||
if(istype(AM, /obj/item) && !istype(AM, /obj/item/projectile))
|
||||
if(prob(75))
|
||||
AM.forceMove(src)
|
||||
visible_message("\The [AM] lands in \the [src].")
|
||||
else
|
||||
visible_message("\The [AM] bounces off of \the [src]'s rim!")
|
||||
|
||||
/obj/machinery/disposal/CanPass(atom/movable/mover, turf/target)
|
||||
if(istype(mover, /obj/item/projectile))
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user