mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
refactors most spans
This commit is contained in:
@@ -101,11 +101,11 @@
|
||||
/obj/structure/transit_tube/Bumped(mob/AM as mob|obj)
|
||||
var/obj/structure/transit_tube/T = locate() in AM.loc
|
||||
if(T)
|
||||
to_chat(AM, "<span class='warning'>The tube's support pylons block your way.</span>")
|
||||
to_chat(AM, span_warning("The tube's support pylons block your way."))
|
||||
return ..()
|
||||
else
|
||||
AM.loc = src.loc
|
||||
to_chat(AM, "<span class='info'>You slip under the tube.</span>")
|
||||
to_chat(AM, span_info("You slip under the tube."))
|
||||
|
||||
|
||||
/obj/structure/transit_tube/station/New(loc)
|
||||
@@ -117,7 +117,7 @@
|
||||
if(!pod_moving && icon_state == "open" && istype(AM, /mob))
|
||||
for(var/obj/structure/transit_tube_pod/pod in loc)
|
||||
if(pod.contents.len)
|
||||
to_chat(AM, "<span class='notice'>The pod is already occupied.</span>")
|
||||
to_chat(AM, span_notice("The pod is already occupied."))
|
||||
return
|
||||
else if(!pod.moving && (pod.dir in directions()))
|
||||
AM.loc = pod
|
||||
|
||||
Reference in New Issue
Block a user