mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Gas Datums
Moved gas_mixture gas numbers to a list which is connected to a global gas_datum list, like with reagents. Modified some maths procs to be more sane, added adjust_gas and set_gas to help with processing. Added a modular system for gas flags - gases can now be marked as fuel and oxidiser with a flag, logged with a flag, scanned with a flag, etc. Changed scrubbers to use a list of scrubbing gases rather than a set of vars. Made miners and xenoarch effects more sensible - they now produce gas by ID, not manually. Made turfs' starting gases into a list, removed turf gas number vars.
This commit is contained in:
@@ -139,12 +139,6 @@ atom
|
||||
|
||||
//Turfs with opacity when they are constructed will trigger nearby lights to update
|
||||
//Turfs and atoms with luminosity when they are constructed will create a light_source automatically
|
||||
turf/New()
|
||||
..()
|
||||
if(luminosity)
|
||||
if(light) WARNING("[type] - Don't set lights up manually during New(), We do it automatically.")
|
||||
trueLuminosity = luminosity * luminosity
|
||||
light = new(src)
|
||||
|
||||
//Movable atoms with opacity when they are constructed will trigger nearby lights to update
|
||||
//Movable atoms with luminosity when they are constructed will create a light_source automatically
|
||||
|
||||
Reference in New Issue
Block a user