mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Merge examine refactor for vorestation
This commit is contained in:
@@ -207,14 +207,11 @@
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/train/security/engine/examine(mob/user)
|
||||
if(!..(user, 1))
|
||||
return
|
||||
|
||||
if(!istype(usr, /mob/living/carbon/human))
|
||||
return
|
||||
|
||||
to_chat(user, "The power light is [on ? "on" : "off"].\nThere are[key ? "" : " no"] keys in the ignition.")
|
||||
to_chat(user, "The charge meter reads [cell? round(cell.percent(), 0.01) : 0]%")
|
||||
. = ..()
|
||||
if(Adjacent(user))
|
||||
. += "The power light is [on ? "on" : "off"]."
|
||||
. += "There are[key ? "" : " no"] keys in the ignition."
|
||||
. += "The charge meter reads [cell? round(cell.percent(), 0.01) : 0]%"
|
||||
|
||||
/obj/vehicle/train/security/engine/verb/start_engine()
|
||||
set name = "Start engine"
|
||||
|
||||
@@ -205,14 +205,11 @@
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/train/rover/engine/examine(mob/user)
|
||||
if(!..(user, 1))
|
||||
return
|
||||
|
||||
if(!istype(usr, /mob/living/carbon/human))
|
||||
return
|
||||
|
||||
to_chat(user, "The power light is [on ? "on" : "off"].\nThere are[key ? "" : " no"] keys in the ignition.")
|
||||
to_chat(user, "The charge meter reads [cell? round(cell.percent(), 0.01) : 0]%")
|
||||
. = ..()
|
||||
if(Adjacent(user))
|
||||
. += "The power light is [on ? "on" : "off"]."
|
||||
. += "There are[key ? "" : " no"] keys in the ignition."
|
||||
. += "The charge meter reads [cell? round(cell.percent(), 0.01) : 0]%"
|
||||
|
||||
/obj/vehicle/train/rover/engine/verb/start_engine()
|
||||
set name = "Start engine"
|
||||
|
||||
Reference in New Issue
Block a user