mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Event tweaks, misc changes and fixes pack (#1588)
Fixes #1576 Fixes #1439 Fixes #1510 Fixes #1508
This commit is contained in:
@@ -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 ..()
|
||||
Reference in New Issue
Block a user