Removed update_values(). RIP, shine on you CPU diamond.
Removed get_moles_by_id and get_archived_moles_by_id, all moles are now accessed directly to reduce call cost.
Added set_temperature and set_volume procs which recalc pressure when temperature or pressure change.
Heat_capacity is now a var updated when gases update.
Modified adjust_gas to use set_gas, modified set_gas to alter heat_capacity, total_moles, and pressure as needed.
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.
Made is_hot and is_sharp object procs, not global procs. Added sharpness vars for objects. Things use these procs OOP now.
Made all kitchen knives inherit from utensil/knife. This also fixes an issue with plastic knives, #2863.
Forks now work with all food properly. Fuck oldcode.
Made some procs macros, moved a maths proc, shrunk unsorted.dm a little.
Removed a redundant get_turf_loc proc that was just get_turf.
Added general procs for wielding and unwielding.
Made code more OOP.
Any item can now be twohanded, and twohanding is now done by holding an item in one hand and clicking it with the other.
You can switch hands while wielding now, which is only useful in dropping the offhand to stop wielding.
Need to fix: gibtonite carrying doesn't want to work properly.
- Renamed drainratio to drain_ratio. Mostly a type case thing, also
forced me to modify the admin verb debug code
- Radiation collectors now drain five times as fast. Still more
practical than the AME, but every now and then someone will have to haul
their lazy fucking ass to the Engine to refill the plasma tanks. If you
want constant power, use the Solars
- Radiation collectors produce TEN times less power. A fully set
Singularity Engine used to produce 3 million W, will now produce 300 000
W. Supermatter Engine goes from 30 million W to 3 million W. Grid power
weight is usually 25 000 W, so it sure as hell should be enough to power
everything and top the SMES
This effectively means three things :
- Engineers now have to check five times as often on the radiation
collectors. Since those currently drain in a lucridiously long time,
this doesn't really ruin everything.
- You'll now have to try really hard to make electric shocks lethal if
the Engine is wired to the grid. The Supermatter Engine should still
output enough and the Singularity Engine might yield a crit, but no more
instant kills unless someone goes overboard with the plasma tanks
- Scrubbing the plasma tanks, then cooling the plasma canister before
using it is a pretty smart way to make tanks last longer and produce
more. ATMOSPHERICS!