Trolley Examine (#10359)

This commit is contained in:
Geeves
2020-10-28 18:12:02 +01:00
committed by GitHub
parent fd7fa9ef92
commit 34f81cbf43
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -28,6 +28,13 @@
for(var/obj/vehicle/train/T in orange(1, src))
latch(T)
/obj/vehicle/train/examine(mob/user)
. = ..()
if(lead)
to_chat(user, SPAN_NOTICE("It is being towed by \the [lead] in the [dir2text(get_dir(src, lead))]."))
if(tow)
to_chat(user, SPAN_NOTICE("It towing \the [tow] in the [dir2text(get_dir(src, tow))]."))
/obj/vehicle/train/Move()
var/old_loc = get_turf(src)
if(..())