Event tweaks, misc changes and fixes pack (#1588)

Fixes #1576 
Fixes #1439 
Fixes #1510 
Fixes #1508
This commit is contained in:
NanakoAC
2017-01-20 19:23:04 +02:00
committed by skull132
parent 7c848f22e7
commit a5f2c558de
20 changed files with 126 additions and 47 deletions
@@ -58,3 +58,19 @@
user << "You remove the last piece of meat from \the [victim_name]!"
icon_state = "spike"
occupied = 0
/obj/structure/kitchenspike/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if (!mover)
return 1
if(istype(mover,/obj/item/projectile) && density)
if (!occupied && prob(80))
//Wiry frame, usually wont be cover
return 1
else
return 0
else if(mover.checkpass(PASSTABLE))
//Animals can run under them, lots of empty space
return 1
return ..()