mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
associative list
This commit is contained in:
@@ -190,7 +190,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
|
||||
var/t = ""
|
||||
for(var/gas in env.gases)
|
||||
if(gas[GAS_INDEX] <= 4 || gas[MOLES])
|
||||
if(gas[GAS_ID] in hardcoded_gases || gas[MOLES])
|
||||
t+= "[gas[GAS_NAME]] : [gas[MOLES]]\n"
|
||||
|
||||
usr.show_message(t, 1)
|
||||
@@ -630,7 +630,8 @@ var/global/list/g_fancy_list_of_types = null
|
||||
if(Rad.anchored)
|
||||
if(!Rad.P)
|
||||
var/obj/item/weapon/tank/internals/plasma/Plasma = new/obj/item/weapon/tank/internals/plasma(Rad)
|
||||
Plasma.air_contents.gases[GAS_PL][MOLES] = 70
|
||||
Plasma.air_contents.assert_gas("plasma")
|
||||
Plasma.air_contents.gases["plasma"][MOLES] = 70
|
||||
Rad.drainratio = 0
|
||||
Rad.P = Plasma
|
||||
Plasma.loc = Rad
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
usr << "<span class='adminnotice'>@[target.x],[target.y]: [GM.temperature] Kelvin, [GM.return_pressure()] kPa [(burning)?("\red BURNING"):(null)]</span>"
|
||||
for(var/gas in GM.gases)
|
||||
if(gas[GAS_INDEX] <= 4 || gas[MOLES])
|
||||
if(gas[GAS_ID] in hardcoded_gases || gas[MOLES])
|
||||
usr << "[gas[GAS_NAME]]: [gas[MOLES]]"
|
||||
feedback_add_details("admin_verb","DAST") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user