Commit Graph

17 Commits

Author SHA1 Message Date
bc2a5abf7c Inline GenDraw.FillableBarRequest constructor 2023-07-16 05:10:31 -05:00
fdb9c7537e Fix dynamic power draw, fix power consumption 2023-07-16 02:34:55 -05:00
03eb532d7e Fix harvested plants from being recycled, fix broken growth calculation, kill plants on top before stage switch 2023-07-16 02:03:26 -05:00
1b2db70b3c Minor code reformatting, show basin capacity in inspector string 2023-07-16 01:37:19 -05:00
96267e251c Prevent growth overflow, add .Between(min, max) extension methods to simplify time/temp checks 2023-07-16 01:36:46 -05:00
06957a26d9 Add developer gizmos for testing 2023-07-16 01:36:26 -05:00
cc7182fdbe Fix incomplete sown plants from being improperly added
Very confusing error without documentation
2023-07-16 01:31:21 -05:00
fa41cc7420 Add dynamic power usage via Stage setter 2023-07-16 01:12:19 -05:00
0546fb2e55 Update fertility levels, use BuildingBase.fertility Def attribute for fertility calculations 2023-07-15 20:18:52 -05:00
0039f1a9b6 Fix building drawerType, re-add rotation render code 2023-07-15 11:00:29 -05:00
3865dd4f53 Match rotation, move materials to static context, add StaticConstructorOnStartup to mainthread asset loading 2023-07-15 10:51:33 -05:00
77549d346d Fix/reformat growth percentage bar drawing 2023-07-15 10:24:01 -05:00
4dcfc4a5b1 Allow exit state from sowing, lower default capacity/fertility, fix no missing exit for Harvest stage
- Inline LoadConfig()
- Delete plants underneath on building construction (otherwise it will grow the grass underneath)
2023-07-15 10:23:30 -05:00
6813715692 Improve inspection string growth state details 2023-07-15 10:19:14 -05:00
ea4c52331c Split growth stages into separate methods, optimize and recover variable names/meaning 2023-07-15 09:36:55 -05:00
d025c37fc1 Fix NPE on Direct Select from GetDirectlyHeldThings 2023-07-15 08:35:40 -05:00
7462a64732 Initial decompiled basin implementation 2023-07-15 08:20:18 -05:00