421 Commits over 215 Days - 0.08cph!
Corpses should now detach from a spit once they have been fully consumed (no more items to dispense)
Fixed missing stranger AI field in GroupMember on Human
Fixed being able to click accept/decline on a new tribe member pop up before it had finished animating in (pretty sure this was causing the soft lock when accepting a new tribe member)
Lowered bravery stat to +10 so rats will attack people
Disabled wander to territory while raiding
Reverted threat reduction on raiding effect
Raid goal tweaks
Exposed a required Progression Tier for each raid spawn set, locked rats to Shelter tier and locked wolves to Equipment tier
Made rats omnivorous and added the animal combat module
Raiding units now get bravery buff
Fixed the misaligned text on the progression unlock popup
Fixed a debug tools wrapper NRE
New console command to fill a container under cursor (eg. fill_container Berries)
Disabled Evaluate Single Entity Per Type on Find something to eat - if multiple units are hungry at the same time and at the same location (eg. waking up in the morning) they would all share the closest food item in a basket and only one would be successful because they would occupy the interaction
This change should make multiple units eat from a basket of berries at the same time
Raiding animals won't sleep
New activities for raid begins and raid in 24 hours
Fixed items inside a container being marked as HeldBy the last unit holding the container
Fixed items getting picked up into a container being added to the units MyItems list as well as the container's list (only gets added to container now)
These two fixes should make units more likely to eat from baskets
Added some checks in OnValidate to detect activities that generate notifications that don't auto expire and have no expiry conditions
Added an expire time field for critical severity notifications (defaulted to 15, used to be -1)
New OnValidate checks picked up Death activity as never expiring, marked it as auto expire/critical severity
Fixed Birth activity not auto expiring (it had no expiry conditions, so it persisted forever)
Added an "Ignore Items in Containers" bool to target filter
Find item for Blackboard Stockpile now ignores items in containers so that the 15 possible items are no longer all items in the stockpile we're trying to fill
Deleting SelectBestBuildDesire
Turned off Evaluate single entity per type on Find Item for Blackboard stockpile (closest log after placing a log on stockpile was the item we just placed, which is already in a container and invalid so the filter would fail)
Fixed pause menu opening and closing from the same button press
Fixed incorrect upgrade construction value on Basic Wooden Hut
Fixed stockpile units goal using stockpile items filter (needs different conditions)
Tried to fix an NRE in Desire.Fulfill()
Turned off evaluate single entity per type in breed goal (need to check multiple units for breeding)
B key now toggles build menu, instead of just opening it
Moved pick up event callback from OnPickupComplete (which I don't think was being used) and into the OnPickupEvent method that is being used
This fixes units Pick up actions never ending
Fixed OnPickUpEvent not getting called when playing an animation to pick up an item at normal speed
Fixed Items not getting added to MyItems if the animation is being bypassed
Redid the corpse changes I did on the FillView branch
Added a corpse gathering goal so units fill up meat racks
Drag selects can no longer be started while over UI (previously they could be started but with an incorrect start position)
Fixed TargetTerritoryConsideration failing if attempting to get the score of a unit and the unit wasn't in the Territory's unit list (now falls back to the position territory check like other entity types)
Moved TargetTerritoryConsideration from a consideration to a bonus in some cooking goals to try and make spit usage more common
Fix NRE when right clicking a building under construction
Added an extra frame between creating a clone for portraits and taking the portrait, seems to help with the portrait issues
Unselected units now get a grey highlight when they are occluded by objects, regular green highlight is applied if the unit is selected
Fixed non-player controlled tribes running cohesion and spawning strangers (this might fix the strangers not getting added to tribe bug, they were being spawned with a target group that wasn't the player's tribe)
Fixed campfires being marked not available if they are at 100% capacity (might fix units not lighting fires in later games)
Check if a unit already has an item before adding a possession requirement
Items now store a failed path count whenever a unit tries to get to an item and cannot
If this happens 10 times the item is moved to the end of the partial path to the unit, so hopefully somewhere accessible
Renamed CreateItemKeepDesire to AddItemToPossessions (we don't have keep desires anymore)
Fixed AddItemToPossessions action not adding the item to possessions (this makes berry gathering much more reliable)
Cooks now check if they already have a crafting order for a basket before making a new order
Fixed go to random radius (5) set to 0 radius (should fix units sleeping on top of each other by a campfire)
Game Camera now blocks zoom while over UI (fixed scrolling roles window also zooming)
Tweaked some container fill settings for cooks to make them more reliable in crowded environments
Fixed unit group MemberInfo not being reassigned after a load, broke lots of UI
Fixed Create Find Desire action to make a basket not using the correct enum (was serialized with an enum that no longer exists)
Fixed an NRE when building an addon
The group that is generated for a stranger that's joining a tribe is now destroyed if the invitation is accepted
Added a new tribe member cohesion event (positive)
Role descriptions on the tribe tracker elements no longer point at the wrong button
Fixed new role assignment scroll view not scrolling
Put some checks to try and catch the NRE when right clicking on a building to assign a unit to builder (can't seem to repro in editor)
Fixed tribe tracker element descriptions reading "Builder" when initialised if a unit hasn't been assigned a role
Reenabled desire expired cohesion event (still happens too frequently but without it cohesion never drops)