branchrust_reboot/main/Livestock_animalscancel
552 Commits over 518 Days - 0.04cph!
Shears deploy animation update
Fixed shears world model not playing deploy animation (was playing fire instead)
Attempt to make clearer what recessive genes are, by naming them explicitely in the UI and vendor instead of hinting at them
Possibly fixed double firing shears sfx and missing attack event warnings
Only require an infant animal to reach 80% happiness in order to max out potential stat
lamb sprint animation test
Prevent cows and bulls from pushing you when you lead them
Fix cows not following smoothly and being very slow and annoying to lead
Cherry pick alloc fix for pool table and fishing, and fix compile error
Cherry pick old animals fixes (flee when attacked from afar, do not sleep)
Fix sheeps starving despite a trough, their feed time was lower than cows so they wasted time shuffling with each other for a turn, now feeding time can't desync between sheep and cows
Fix bad merge when updated before submitting livestock lamp changes
Allow cows light need to be fulfilled by lamps
Fix cows still clipping through walls when lying down
Child animals can now leave the radius of their mother when attempting to eat out of a trough that is out of range from the leash to their mother
Prevents child animals getting stuck with low hunger values while in a pen with a trough
Sharks now flee from players with animal repellant buff
Bulls and rams will no longer flee from players with the animal repellant effect active
They will also not charge
Bee swarms won't chase players with the animal repellant buff (Croc pie)
Can still take damage if you walk through them though
Update croc pie to use new animal repellent modifier
Create recipes, rich version, UI bits
Always use brackets after "if" or "for", remove usless comments
Fix badly merged anim controllers and livestock fsm
Merge from main (potential stomp of petting work, on it)
Polish cow exit after eating from trough, using new turn anim
Remove re-declarations of state recently hurt
Add leans to cow and sheep
Share "wait for navmesh" between fsms
Start work to share states on fsms, share dead state, repellant flee state, and debug move state
Adding new cow and sheep turn 180 animations
Fix animals not attacking players standing next to vehicles
Hook missing cow and sheep eating variants, and sheep happy canter
Gate navmesh save log and AI despawn log behind ai.logIssues
Fix "[NPCAnimController.DoPrepare] Skipping blacklisted clip tiger_prowl" error on manifest regen
Have AI tests run at 4x speed, with same delta times, confirmed results are the same thanks to the deterministic mode, AI tests now down to 15min
I also added a local guard that stops me from blowing past the 30min budget in the future
Fix regression caught by Led_TwoInSingleFile_StandSideBySide test
On livestock, stop using syncvars for things that should not be broadcasted to all clients, instead use protobuf
Fix livestock not using trough when any grass is present, after current overgrazing rework
Now eat less food the more grass there is in the pen, but still eats food, and grass only is less filling
- Add better debug drawing commands to test cows pens and diagnostic problems with them not eating / reproducing etc, that work on client
- Limit herd size to 5, and increase herd detection distance to 40m
Move the shared AI test prefab paths from AITestFixture into a new AITestUtils so client tests use them instead of keeping their own copies
Fix test that sometimes randomly fails in editor because server and client share one TOD_Sky
Rework how outdoor herd sized are measured to make the 9 max herd cap more robust, instead of each cow checking only their neighboors, each neighboor checks their neighboors recursively
Stretched herds no longer then allow the cap to be bypassed
Perf is same, because then the other cows don't need to run their own queries, so the same total amount of queries are run
Wild cows are skipped as they can't reproduce so don't need to know about their herd size
Fix lamb not using the same eye/mouth mask as adults, and having their eye/mouth tinted brown/black