mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
next set of spans (#16434)
* next set of spans * some more * next * next * next * . * text... * next... rest soon * . * . * ok last set for the night * . * . * . * . * some more * next * next * all for now * . * some more easy ones * some more easy ones * . * . * some more bolds * oups auto complete moment * add the remaining spans * this as well * this as well * . * ., * resync them properly
This commit is contained in:
@@ -67,7 +67,7 @@ GLOBAL_LIST_EMPTY(fusion_cores)
|
||||
if(Output.get_pairing())
|
||||
reagents.trans_to_holder(Output.reagents, Output.reagents.maximum_volume)
|
||||
if(prob(5))
|
||||
visible_message("<b>\The [src]</b> gurgles as it exports fluid.")
|
||||
visible_message(span_infoplain(span_bold("\The [src]") + " gurgles as it exports fluid."))
|
||||
|
||||
if(owned_field)
|
||||
|
||||
@@ -131,7 +131,7 @@ GLOBAL_LIST_EMPTY(fusion_cores)
|
||||
/obj/machinery/power/fusion_core/attack_hand(var/mob/user)
|
||||
if(!Adjacent(user)) // As funny as it was for the AI to hug-kill the tokamak field from a distance...
|
||||
return
|
||||
visible_message("<b>\The [user]</b> hugs \the [src] to make it feel better!")
|
||||
visible_message(span_infoplain(span_bold("\The [user]") + " hugs \the [src] to make it feel better!"))
|
||||
if(owned_field)
|
||||
Shutdown()
|
||||
|
||||
|
||||
@@ -63,16 +63,16 @@
|
||||
if(cur_viewed_device && (cur_viewed_device.id_tag != id_tag || get_dist(src, cur_viewed_device) > scan_range))
|
||||
cur_viewed_device = null
|
||||
|
||||
var/dat = "<B>Core Control #[id_tag]</B><BR>"
|
||||
var/dat = span_bold("Core Control #[id_tag]") + "<BR>"
|
||||
|
||||
if(cur_viewed_device)
|
||||
dat += {"
|
||||
<a href='?src=\ref[src];goto_scanlist=1'>Back to overview</a><hr>
|
||||
Device ident '[cur_viewed_device.id_tag]' <span style='color: [cur_viewed_device.owned_field ? "green" : "red"]'>[cur_viewed_device.owned_field ? "Active" : "Inactive"].</span><br>
|
||||
Device ident '[cur_viewed_device.id_tag]' [cur_viewed_device.owned_field ? span_green("Active") : span_red("Inactive")].<br>
|
||||
<b>Power status:</b> [cur_viewed_device.avail()]/[cur_viewed_device.active_power_usage] W<br>
|
||||
<hr>
|
||||
<b>Field Status:</b> <span style='color: [cur_viewed_device.owned_field ? "red" : "green"]'><a href='?src=\ref[src];toggle_active=1'>[cur_viewed_device.owned_field ? "Online" : "Offline"].</a></span><br>
|
||||
<b>Reactant Dump:</b> <a href='?src=\ref[src];syphon=1'><span style='color: [cur_viewed_device.owned_field ? "red" : "green"]'>[cur_viewed_device.reactant_dump ? "Active" : "Inactive"].</span></a><br>
|
||||
<b>Field Status:</b> <a href='?src=\ref[src];toggle_active=1'>[cur_viewed_device.owned_field ? span_green("Online") : span_red("Offline")].</a><br>
|
||||
<b>Reactant Dump:</b> <a href='?src=\ref[src];syphon=1'>[cur_viewed_device.reactant_dump ? span_gren("Active") : span_red("Inactive")].</a><br>
|
||||
<hr>
|
||||
<b>Field power density (W.m<sup>-3</sup>):</b><br>
|
||||
<a href='?src=\ref[src];str=-1000'>----</a>
|
||||
@@ -123,12 +123,12 @@
|
||||
var/status
|
||||
var/can_access = 1
|
||||
if(!check_core_status(C))
|
||||
status = "<span style='color: red'>Unresponsive</span>"
|
||||
status = span_red("Unresponsive")
|
||||
can_access = 0
|
||||
else if(C.avail() < C.active_power_usage)
|
||||
status = "<span style='color: orange'>Underpowered</span>"
|
||||
status = span_orange("Underpowered")
|
||||
else
|
||||
status = "<span style='color: green'>Good</span>"
|
||||
status = span_green("Good")
|
||||
|
||||
dat += {"
|
||||
<tr>
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
if(!can_access)
|
||||
dat += {"
|
||||
<td><span style='color: red'>ERROR</span></td>
|
||||
<td>" + span_red("ERROR") + "</td>
|
||||
"}
|
||||
else
|
||||
dat += {"
|
||||
@@ -149,7 +149,7 @@
|
||||
"}
|
||||
|
||||
else
|
||||
dat += "<span style='color: red'>No electromagnetic field generators connected.</span>"
|
||||
dat += span_red("No electromagnetic field generators connected.")
|
||||
|
||||
var/datum/browser/popup = new(user, "fusion_control", name, 500, 400, src)
|
||||
popup.set_content(dat)
|
||||
|
||||
Reference in New Issue
Block a user