branchrust_reboot/main/hackweek_iorewritecancel
131 Commits over 92 Days - 0.06cph!
Fixed igniter and tesla coil damage tests failing since the last optim
Batteries now add drain for the power actually reaching them
Updated tests
Fixed circuits dirtied mid tick not being handled in that same tick
Reduce network overhead of powered igniter, tesla coil and strobe lights
Every Hurt broadcasts a full entity update, self damage is now applied every so often to reduce overhead (time to die unchanged)
Big ass pass on all IO electricity tests:
- Consistency, new tests and fixes
- Added ScopedSky
- Moved the save and restart utils to RustTestFixture, started using it for other tests
Fixed unpowered water pump acting as a gravity source
Industrial crafter doesnt need to be started again after a power loss
Restored infiniteIoPower convar
Changed conveyor tests to use IO2
Converted the electricity part of all industrial items
Fluidic items work in a hybrid way for now
Converted OilSwitchBroadcast and WaterTreatmentWaterTank
Fixed some circuit system leaks and oobs
Fixed fuel generator aux inputs draining batteries using the downstream demand
Added a test
Fixed elevator billing batteries from the wrong slot
Converted reactive target
Circuit system tests, just two tests checking the throttling works
Throttle everything to 30 ticks a frame so server fps variations doesnt change the io speed too much
Flickering circuits are throttled to 10 flips/s (equivalent to old IO)
Can press E to configure test generators and change the power amount they output
Elevator Power In input set as main power slot
Converted ChargeUpIOEntity, set the second inputs as non main power slots
Converted Elevator and PowegridIOAccessPoint
Fixed error with monument toggle switches
Fixed battery ReceiveAdditionalData client rpc
Converted cctv cameras and windmills
Tesla coil and igniter tests
Converted water wheel, added some tests
Simplified battery console commands
Set main power slots for EngineListener and AlarmSystem prefabs (DummySwitch from monuments)
TeslaCoil, SolarPanel, FuelGenerator cleanup
Removed all the old IO code from the battery class (feels amazing)
Converted DummySwitch (monument specific switches)
Test list
Reapplied discarded network range changes
Converted card reader, added new tests
BaseDetector cleanup
Tests improvements, some fixes