mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
refactors most spans
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
if(emagged)
|
||||
to_chat(user, "Circuit lock is already removed.")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You override the circuit lock and open controls.</span>")
|
||||
to_chat(user, span_notice("You override the circuit lock and open controls."))
|
||||
emagged = 1
|
||||
locked = 0
|
||||
return 1
|
||||
@@ -62,16 +62,16 @@
|
||||
/obj/item/circuitboard/security/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I,/obj/item/card/id))
|
||||
if(emagged)
|
||||
to_chat(user, "<span class='warning'>Circuit lock does not respond.</span>")
|
||||
to_chat(user, span_warning("Circuit lock does not respond."))
|
||||
return
|
||||
if(check_access(I))
|
||||
locked = !locked
|
||||
to_chat(user, "<span class='notice'>You [locked ? "" : "un"]lock the circuit controls.</span>")
|
||||
to_chat(user, span_notice("You [locked ? "" : "un"]lock the circuit controls."))
|
||||
else
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
to_chat(user, span_warning("Access denied."))
|
||||
else if(istype(I,/obj/item/multitool))
|
||||
if(locked)
|
||||
to_chat(user, "<span class='warning'>Circuit controls are locked.</span>")
|
||||
to_chat(user, span_warning("Circuit controls are locked."))
|
||||
return
|
||||
var/existing_networks = jointext(network,",")
|
||||
var/input = sanitize(tgui_input_text(usr, "Which networks would you like to connect this camera console circuit to? Separate networks with a comma. No Spaces!\nFor example: SS13,Security,Secret ", "Multitool-Circuitboard interface", existing_networks))
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
/obj/item/circuitboard/rdconsole/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(I.has_tool_quality(TOOL_SCREWDRIVER))
|
||||
playsound(src, I.usesound, 50, 1)
|
||||
user.visible_message("<b>\The [user]</b> adjusts the jumper on \the [src]'s access protocol pins.", "<span class='notice'>You adjust the jumper on the access protocol pins.</span>")
|
||||
user.visible_message("<b>\The [user]</b> adjusts the jumper on \the [src]'s access protocol pins.", span_notice("You adjust the jumper on the access protocol pins."))
|
||||
if(build_path == /obj/machinery/computer/rdconsole/core)
|
||||
name = T_BOARD("RD Console - Robotics")
|
||||
build_path = /obj/machinery/computer/rdconsole/robotics
|
||||
to_chat(user, "<span class='notice'>Access protocols set to robotics.</span>")
|
||||
to_chat(user, span_notice("Access protocols set to robotics."))
|
||||
else
|
||||
name = T_BOARD("RD Console")
|
||||
build_path = /obj/machinery/computer/rdconsole/core
|
||||
to_chat(user, "<span class='notice'>Access protocols set to default.</span>")
|
||||
return
|
||||
to_chat(user, span_notice("Access protocols set to default."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user