Moving gas system to gas datums.
Created by: ComicIronic
A partial port of Bay's XGM system for gas datum handling, with an eye to removing all hardcoding. It's like reagents, but for gases! Gases are now /datum/gas, which are automatically added to all gas mixtures on creation. Each datum tracks the moles, archived moles, and properties of the gas. Added a few helper procs to make coding easier.
Does not compile, is nowhere near complete.
This is mainly so people can see the system and nitpick. TODO:
-
Make it compile -
Add a set_gas proc for making the moles a certain number -
Ensure the signalling system works -
Test everything
Systems this has shown to be bloody moronic:
- Breathing - should be moved to OOP on_breath() procs in the future.
- Simple_animals - why are they not carbons, who knows.