mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Makes about as much sense to me as the old system (#10490)
Refactors stripcode, the oldest, crappiest, and most bizarre code I have ever seen * Takes strippingcode behind the shed, shoots it * Takes inventorycode out to the Nevada Desert, nukes it * Removes Hitler * Does the thing * Still need to test this * tested
This commit is contained in:
@@ -1168,3 +1168,27 @@ What are the archived variables for?
|
||||
|
||||
update_values()
|
||||
return 1
|
||||
|
||||
/datum/gas_mixture/proc/english_contents_list()
|
||||
var/all_contents = list()
|
||||
if(oxygen)
|
||||
all_contents += "Oxygen"
|
||||
if(nitrogen)
|
||||
all_contents += "Nitrogen"
|
||||
if(carbon_dioxide)
|
||||
all_contents += "CO<sub>2</sub>"
|
||||
if(toxins)
|
||||
all_contents += "Plasma"
|
||||
if(locate(/datum/gas/sleeping_agent) in trace_gases)
|
||||
all_contents += "N<sub>2</sub>O"
|
||||
return english_list(all_contents)
|
||||
|
||||
/datum/gas_mixture/proc/loggable_contents()
|
||||
var/naughty_stuff = list()
|
||||
if(toxins)
|
||||
naughty_stuff += "<b><font color='red'>Plasma</font></b>"
|
||||
if(carbon_dioxide)
|
||||
naughty_stuff += "<b><font color='red'>CO<sub>2</sub></font></b>"
|
||||
if(locate(/datum/gas/sleeping_agent) in trace_gases)
|
||||
naughty_stuff += "<b><font color='red'>N<sub>2</sub>O</font>"
|
||||
return english_list(naughty_stuff, nothing_text = "")
|
||||
|
||||
Reference in New Issue
Block a user