19,298 Commits over 1,614 Days - 0.50cph!
Added inverse mood stat consideration to Decline Breeding Social Invitation.
Added a "inverse" hint in the list of considerations displayed on nodes in the AI Designer.
Energy consideration added to Common - Collaborations in AI Designer.
tweaking with sleep AI so people sleep and wake up at reasonable times
Added Stamina consideration to Attack (Human) goal plan in Common - Combat - Attacking (though how is this Human specific?)
Renamed GoalPlan.Attack(Human) to GoalPlan.Attack (since it's used in Common - Combat - Attack module).
Added Stamina consideration to Common - Combat - Defensive module.
Added Stamina consideration to Flight goal in Common - Combat - General.
Manage Targets and Clear Combat Target nodes now has "Allow No Considerations" ticked in Common - Combat - General.
All Goals and Goal Plans in Common - Movement Mode module now has Allow for no considerations ticked.
Energy considerations added to Common - Stamina module (more likely to recover stamina with higher energy).
Ticked "Allow no considerations" for all goal plans in Human - Building module, since they're either player commanded or picked based on careful condition flagging.
Evaluation Target for considerations is now shown on the node summary as [s] for self and [t] for target.
Added Mood considerations to Human - Collaborations - Social module.
You're now more likely to take the initiative for collaborations if your mood is high.
You're now more likely to start a conversation if your target's mood is high.
You're now more likely to give someone a hug if your target's mood is low.
Removed Energy considerations from Common - Collaborations module, since this is more of a "manage collaborations" module, I ticked "Allow no considerations" for it instead, that we rather let the collaboration inititiative modules take care of the consideration scoring.
Fixed the AI Designer being broken af
Merge from goalplan_fallbacks
Fixed a bunch of module data that got fucked due a field rename that unity refused migrate via FormerlySerializedAs ;\
Removed [s]/[t] prefix from GoalPlan node consideration display
Minor goal plan attribute fix
WIP possibility to set default interactions on dispensers
not sure why this was changed
Added a warning when setting Target as the evaluation target in considerations, since we should only evaluate Target in Behaviour Chain. Not a perfect solution, but better than nothing :-)
Decision layer assigned through DSE data constructor, Conditions/Considerations drawers contextual awareness stuff.
Removed DecisionLayer field attribute
GoalPlan BehaviourChains can now be edited in the GoalPlanSettingsEditor, not only the AI designer
Scripts organisation
Blackboard key usage display in GoalPlanSettingsEditor
Blackboard key usage injected from module data heirarchy when editing a GoalPlan in the AI Designer
AI Designer layout improvements
Default Interactions now use a GenericMenu
Added building interactions to possible default interactions.
Right click on a building under construction will create a desire to build said building.
GoalPlanSettingsWrapper now holds a list of fallback GoalPlanSettings, when fallbacks are provided DecisonMakers will evaluate whether a valid variant can be found for the GoalPlan, creating Decisions for fallback plans if that evaluation fails.
Unit.Navigation.TrySetDestination robustness
AI Debugger panel moved to BeforeEditorLayout, added to DebugTools
Fixed potential KeyNotFoundException in Senses
Fixed Resources without interaction positional data not being interactable. (InteractionSettingsWrapper.MaxSubscriptions was 0, now validated editor side)
People should now stop approaching targets when within range
Re-enabled Collaborations AI modules
Added a little cleanup routine for badly spawned Items in WorldManger (hack pending spawn refactor)
made wolves root motion attack work
Fixed collections missing color data
Simplified Collaboration request send/receieve, added some more restrictions to avoid people sending requests that will always be rejected
More Collaborations cleanup, component only holds a single received request
NRE fix, better request cleanup
Fixed AI Debugger Decision Log logging not filtering grouped logs properly
Moved GroupKnowledge "Can Find" methods to Unit Knowledge (crafting UI buttons will be disabled when the selected Unit cannot find required items)
AI Debugger shows buttons to quickly select module/goal/plan/selector/behaviour with each log
TakeFromDispenser skill usage is conditional, not always applied (.Enabled in data)
Fixed "Add Goal" button not working on Module nodes in the AI Designer
Started adding last thrown weapon things
Re-wrote fallback GoalPlans system to be use existing systems and be less shit (Goals and Plans can be flagged as fallback, only considered when all non-fallback siblings fail)
Fixed potential IOE in AIDebugger