mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Sec levels + dodgeball work
This commit is contained in:
@@ -67,14 +67,14 @@
|
||||
/obj/item/weapon/beach_ball/dodgeball/throw_impact(atom/hit_atom)
|
||||
if((ishuman(hit_atom)))
|
||||
var/mob/living/carbon/M = hit_atom
|
||||
if(dir&get_dir(src,M))
|
||||
if(!dir&get_dir(src,M))
|
||||
if(M.in_throw_mode && !M.get_active_hand()) //empty active hand and we're in throw mode
|
||||
if(M.canmove && !M.restrained())
|
||||
M.hitby(src)
|
||||
else
|
||||
playsound(src, 'sound/items/dodgeball.ogg', 50, 1)
|
||||
visible_message("\red [M] HAS BEEN ELIMINATED!!", 3)
|
||||
spawn(0)
|
||||
/* spawn(0)
|
||||
var/mobloc = get_turf(M.loc)
|
||||
var/atom/movable/overlay/animation = new /atom/movable/overlay( mobloc )
|
||||
animation.name = "water"
|
||||
@@ -84,4 +84,4 @@
|
||||
animation.icon_state = "liquify"
|
||||
animation.layer = 5
|
||||
// animation.master = holder
|
||||
del(M)
|
||||
del(M)*/
|
||||
Reference in New Issue
Block a user