17,530 Commits over 1,614 Days - 0.45cph!
Fixed a bunch of bugs with SmartObject subscriptions (now SmartSubscription)
Merged latest water changes to main
GC opt in UnitCanFindCraftingItems/FindItem
Added atmospheric rain music
FindItem fixes, removed IM considerations from most DSEs
Breeding group tweak to avoid stupid shelter seeking behaviour
Optimized ItemManager's FindBest* functions a bit by way of caching.
-removed useless vec2 allocations
-caching IQ objects in Zone+InfluenceMaps
FindItem RunImplementation tweak
More optimalizations by way of caching (FindItem and UnitCanFindCraftingItems)
Spawn tweaks, GoToSmartObject revert fix, Sky/Player/Ocean tweaks, Smoke material shader changed, blah blah blah
Fixed pregnancy considerations
Removed old particle fx prefabs
Fixed a load of UI widgets being raycast targets when they shouldnt be
Fixing pine tree view prefab ipositon data
CraftableParameters now cache its IdCountPair list.
UI cleanup, considerations for machine (fire) item input and tribe "requirements" are no longer boolean but instead return a value (see Machine.ValueOfInput)
Fixed bad scoring in Machine process ValueOfInput
- Needs are now Stats
- Rewrote methods in Agent+Stats. Added generic methods for GetStat and HasStat, with type specific overloads for convenience
- Removed Need Triggers
- Removed Need related Conditions/Considerations and Actions
- Removed NeedManager
- Removed redundant AttributeManager
- Removed un-used AttributeStat/AttributeStatSettings (leftovers from testing ptrefall?)
- Misc GC opt. in various scripts (foreach removals mostly)
- Agent.AttributesAndSkills renamed to Agent.Stats
- Remade StatCollections for all Agents
NeedSettings StatClass property returns correct type
WeatherSettings now stores a list of EffectSettings, which are applied globally when weather changes.
- Stat linkers are updated every tick (ptrefall pls confirm intent)
- StatLinkerBasic has two operator settings (ratio and difference)
- Added World.OnWeatherChanged event
- FuelToEffect MachineProcess will stop the when the weather changes to something wet (rather bespoke handling for fires that feels hacky as shit)
- Fixed Starving Effect not triggering
Reverted tick linker changes from previous changeset
Update Amplify
Updated ColorfulFX, Candellight, Shaderforge, Scion PP
Undoing unnecessary wip stuff
Placed AM before Scion; disabled AC's tonemapping and exposure (both controlled by Scion)
Removed randomisation of attributes on init
Scion tweaks, PlayerCamera sets it's target transform as Scion's DOF target
Biome tweaks, camera tweaks
Fixed stat tick calling the wrong methods
renamed StatLeveledValue to ScaledValue
Moved StatSettings LinkFrom/LinkTo out of StatLinkerSettings base and into StatLinkerBasicSettings
MinValue and MaxValue moved to StatSettings/Stat base
Fixed SSAO/CB shenanigans
StatLinker stores LinkedTo stat
Renamed AttributeConsideration to StatConsideration