branchrust_reboot/main/ai_blindcancel
11 Commits over 0 Days - ∞cph!
Reduce flashbang duration vs AI (4->3 seconds)
Removed debug log.
Reduce movement speed in blinded state to NavigationSpeed.Slowest
guards/peacekeepers can't be blinded
Updated remaining relevant scientist AI designs with blinded state container
Movement tweaks.
Simplify implementation.
AI design.
Implemented blind state so that scientists run in random directions in a small space while blinded.
Added IsBlinded AI event. Implementation and UI prefab.s
BaseBlindedState, scientist BlindedState.
Added AIState.Blinded type.
Added AIDesign.GetFirstStateContainerOfType function.
Brains can toggle if they can be blinded or not.
Added BaseAIBrain.SetBlinded(..) which can also change to a blinded state container if there is one in the AI design.
Set duration/range.
Added BlindDurationModifier to BaseAIBrain so individual AI types can be blinded differently.
Test debug log.
Applied shelved previous work.
Merged to date from main and merge fixes.
Initial fixes/wip.