mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-15 01:46:30 +01:00
Stairs are Dangerous (#9210)
* Crates, closets, rollerbeds and wheelchairs now cannot safely traverse stairs.
This commit is contained in:
@@ -275,6 +275,11 @@
|
||||
playsound(src, 'sound/effects/stairs_step.ogg', 50)
|
||||
playsound(target, 'sound/effects/stairs_step.ogg', 50)
|
||||
|
||||
/obj/structure/stairs/Crossed(obj/O)
|
||||
if(istype(O))
|
||||
O.stair_act()
|
||||
return ..()
|
||||
|
||||
/obj/structure/stairs/proc/upperStep(var/turf/T)
|
||||
return (T == loc)
|
||||
|
||||
@@ -372,6 +377,11 @@
|
||||
icon = 'icons/obj/structure/stairs.dmi'
|
||||
icon_state = "np_stair"
|
||||
|
||||
/obj/structure/platform_stairs/Crossed(obj/O)
|
||||
if(istype(O))
|
||||
O.stair_act()
|
||||
return ..()
|
||||
|
||||
/obj/structure/platform_stairs/south_north_solo
|
||||
icon_state = "p_stair_sn_solo_cap"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user