mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] [NO GBP] Formats gasmixparser name arg [MDB IGNORE] (#14020)
* [NO GBP] Formats gasmixparser name arg (#67327) Formats gasmixparser name arg Gets rid of unicode funnies. The template doesnt show up on phone ill copy it in later * [NO GBP] Formats gasmixparser name arg Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
/** A simple rudimentary gasmix to information list converter. Can be used for UIs.
|
/** A simple rudimentary gasmix to information list converter. Can be used for UIs.
|
||||||
* Args:
|
* Args:
|
||||||
* - gasmix: [/datum/gas_mixture]
|
* * gasmix: [/datum/gas_mixture]
|
||||||
* - name: String used to name the list, optional.
|
* * name: String used to name the list, optional.
|
||||||
* Returns: A list parsed_gasmixes with the following structure:
|
* Returns: A list parsed_gasmixes with the following structure:
|
||||||
* - parsed_gasmixes Value: Assoc List Desc: The thing we return
|
* - parsed_gasmixes Value: Assoc List Desc: The thing we return
|
||||||
* -- Key: name Value: String Desc: Gasmix Name
|
* -- Key: name Value: String Desc: Gasmix Name
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
. = list(
|
. = list(
|
||||||
"gases" = list(),
|
"gases" = list(),
|
||||||
"reactions" = list(),
|
"reactions" = list(),
|
||||||
"name" = name,
|
"name" = format_text(name),
|
||||||
"total_moles" = null,
|
"total_moles" = null,
|
||||||
"temperature" = null,
|
"temperature" = null,
|
||||||
"volume"= null,
|
"volume"= null,
|
||||||
|
|||||||
Reference in New Issue
Block a user