17,530 Commits over 1,614 Days - 0.45cph!
More UI optimisation
Fixed role assignment UI
Knowledger overlay (V) sorts entities by distance, has higher refresh rate
Role assignment toggle fixes
Flatten tree view hierarchy until it gets felled (potential perf opt)
Added buttons to Cohesion debug to trigger people joining and leaving the tribe
Fixed Hostility check and tidied it up so we can see what's going on in there
Stop navigating at end of FollowCombatTarget
Dont parent views to container transforms in standalone builds
Fixed GroupNeeds not unsubscribing from TimeManager.OnHour when destroyed (i.e. between sessions, causing NREs)
TerrainDecals destroys any TerrainDecalObject instances in OnDestroy (for safety, this should be taken care of by scene unloading)
Session.LoadScene calls SceneManager.SetActiveScene to make sure we spawn things in the correct scene for cleaner session management
Building now has a HasActiveConstruction property to indicate that there's some sort of construction going on.
Various bits of building AI now check this instead of IsFinished making it possible to build upgrades.
Fixed settlement creation UI appearing after loading a game
Fixed world space UI canvas being hidden after quicksave
Fixed settlement indicator/status UI elements not having color reset properly
UI value element separated tint options for label and value text components
Fixed activity widget colors
Reset _genericCommand in PlayerController to avoid weird commands with null fields
Deleted old Seek Out Attacker GoalPlan
Fixed bad vitals display in UnitInfoWidget
Activity timeouts (defaulted all types to 10 seconds)
Activity expiration uses condition groups
Activity tooltip text
When people leave the player's tribe they will join another if there are any available
Added Eums.HasFlagEntityType non alloc impl of Enum.HasFlag for the EntityTypes enum
Fixed target filtering so that people can find hints and other entities with no SmartObject
Don't show items that aren't flagged game valid in crafting window
Don't show building upgrades or addons that aren't flagged game valid in respective UIs
Activity and Needs have separate notification and tooltip text fields
GroupNeeds can apply effects to the whole group or inhabitants of a settlement
Fufilment of a Group Need will now give the group a happiness boost relative to how quickly it was fulfilled
Fixed units that have left the tribe being marked as player controlled
Fixed activity UI hiding itself
Settlement creation UI is shown before the entity itself is created (fixes entity name not getting set before other systems kick in, like GroupNeeds triggers)
Set isDead or isDowned bools when dropping carried units
Fixed radial menu layout issues caused by CommandTrigger refactor (buttons were missing LayoutElement)
Reset game speed and pause overlay UI states properly between sessions
Added IsDead override state to the human animator
Fixed dropped units having fucked rotations
Animal animator override isDead state
Deer override dead anima assignment
Fixed gamespeed changing back to incorrect values after group sleep ends
Set Raid AI to always evaluate.
Fixed strangers being able to sleep in your buildings
Tribe leavers break all active behaviours and clear desired target.
When a Unit changes group they will assign themselves a random settlement
null check the group in the GroupMember OnGroupChanged callback
Removed cohesion events & cohesion component, now handled on a per settlement basis
Settlement levels boilerplate
Unlocks can define a required settlement level (must have at least 1 settlement of the given level in order to research)
Removed Group need type, now always associated with a Settlement or Unit
Fixed decals persisting between sessions
Replaced a bunch of Enum.HasFlag usages with non-alloc HasFlagEntityType ext method
Added ClearFog cheat (turns fog of war off)
Fixed bad need types, editor NRE
Unlocks settlement level support (unlock can be triggered by a settlement level change)
Settlement levelling basics (check requirements on need satisfaction, event for unlocks etc)
Research UI button state checks research requirements, including settlement level
Unit needs drain parent settlement happiness relative to inhabitant count
Settlement level requirement checks buildings
Fixed NRE in WearableSlot.Unit_OnSetView (broke gender select in tribe create https://gfycat.com/ImmenseSmartDiamondbackrattlesnake)
SettlementView draws disc meshes to represent its size/territory
Settlements debug panel, global config
Settlement leader API & persistence boilerplate
Effects component destruction no longer removes effects, just clears and resets the pool to deal
Fixed NRE in UnitView when quitting from tribe create
Disabled camera parallax while spinning unit view in tribe create
Name input fields on tribe create, unit customisation and settlement creation all use consistent validation/content types and do not allow empty strings
Fixed errors when quitting from tribe create
Fixed tribe race choice not changing available hair colors
Clamped camera parallax on menu scene
Fixed NRE in progression/research widget