branchrust_reboot/main/farming_optimisationcancel

30 Commits over 31 Days - 0.04cph!

2 Months Ago
Use current flag instead of next (probably the same thing but this keeps consistency)
comment
2 Months Ago
Increase maximum length of drain calculation
comment
2 Months Ago
Show clone option by default when mousing over plants while holding RMB (save opening entity menu)
comment
2 Months Ago
Gravity warning when connecting fluid entities will now be more accurate and take into account whether a prop is powered
comment
2 Months Ago
Merge from main
comment
2 Months Ago
Merge from main
comment
2 Months Ago
Check server state in CeilingLight growable refresh (like the GrowableHeatSource component)
comment
2 Months Ago
Add check for IsDestroyed in all WantsSplash implementations
comment
2 Months Ago
Code review: Change PushLiquid in LiquidContainer to CheckPushLiquid Null check time cached values Use IsValid check where possible (and in IOEntity) Ensure push targets don't get double added Better sprinkler splash randomisation
comment
3 Months Ago
Fixed growable entities updating their quality twice when consuming water
comment
3 Months Ago
Liquid Containers will now automatically evenly distribute their water between up to 3 connected liquid containers Liquid Containers now cache the targets for pushing water instead of calculating/traversing the IO system every time they push water
comment
3 Months Ago
Merge from main
comment
3 Months Ago
Subtract 53586 (already getting pooled on a different branch)
comment
3 Months Ago
Planters, sprinklers, water pump, fluid switch are now poolable
comment1 Comment
3 Months Ago
Added a GrowableHeatSource component to make heaters affect plants Uses the new TimeCachedValue to prevent repeated artificial temperature checks (like light checks)
comment
3 Months Ago
The powered water purifier will stop converting salt water when it's output container is full, will automatically resume once some fresh water is removed
comment
3 Months Ago
Comment TimeCachedValue
comment
3 Months Ago
Revert line of sight change on sprinkler
comment
3 Months Ago
Cleanup, some comments
comment
3 Months Ago
Make the light calculation methods of GrowableEntity static so we can call it from PlanterBox
comment
3 Months Ago
Added a budgeted update for growable entity calculations so performance cost should be uniform regardless of server farm density (0.25ms default) Only update water quality when hit by a sprinkler Remove gene caching
comment
3 Months Ago
Merge from main
comment
3 Months Ago
Fix some client server issues when playing in editor
comment
3 Months Ago
Use a new TimeCachedValue class to only update plant quality values every x seconds with a generic system
comment
3 Months Ago
Cache temperature at position on the planter and access that from plants
comment
3 Months Ago
Calculate artificial light and sunlight on the planter instead of the plant
comment2 Comments
3 Months Ago
Sprinkler/Growable server side performance improvements Cache ISplashables in range instead of a Vis loop every splash Cache whether a plant can see the sun to avoid a raycast every time we update quality
comment2 Comments
3 Months Ago
Merge from main
comment
4 Months Ago
Force calculate artificial lights on first calculate Add a 5s random offset to the time restriction on updating artificial light quality
comment
4 Months Ago
Some optimisations to calculating artificial light values in large farms Only update the artificial light level of a plant every 20 seconds, but force an update if a light nearby changes state Added some slight randomisation to sprinkler splash invokes to space out the load
comment