branchrust_reboot/main/Livestock_animals/livestock_hotfixescancel
31 Commits over 30 Days - 0.04cph!
Prevent old animals (bears, stag, boars, chicken) from sleeping, it looks like they are dead then jumpscare players
Fix old animals not running away when shot at a distance
Fix bears roaming at high speed
Fix a few allocs caused by unconditionnal string.format, and a boxed action
Partial fix for cows not eating properly at trough or grass in a pen, full fix is a bit riskier and for next patch potentially
Fix livestock age regressing when calf grows up into adult, and age being more and more incorrect over time because of the random variance
Increase livestock lead break distance from 7 to 15m, show familiarity and gender by default
Cows outside of navmesh kill themselves like other AIs
Fix blue particles when shearing sheep
Fix broken test, fix cow unfreezing its needs / aging when bonded not being saved
Hook sheep shaving vfx, and tint vfx properly
Reduce livestock clipping when leading multiple, and at trough
Fix livestock attacking players in vehicles
Fix lamb and calf colliding with travelling vendor
- fix bull still sometimes spamming headbutting on unreachable players
- fix bull sometimes stopping entirely and getting stuck when charging a close player
- fix rams not aiming their headbutt and charging in random directions
- fix rams using the wrong stomp anim
- fix procedural look at not being enabled for most anims, which looks off especially with stomp being aimed at the void instead of the target
Potential fix for cows sliding (suspected pregnant flag)
Prevent livestock in safe zones from being damaged
Fix garage doors blocking navmesh above them when closed
Rebalance how much food livestock needs (stomped Jarry halving the amount with a previous fix)
Prevent wild livestock from dying from unmet needs (floor to 50% hp)
Decay livestock taming if not full bond, don't allow sleepers to tame passively, give calves a start bonus to familiarity but don't max it out.
This is to avoid wild cows being accidentally tamed by passer bys and starting to breed and fill the server.
Potential fix for cows dying of hunger in a well setup farm
Fix failing tests, some setups were fragile / incorrect, one regression now fixed
Show genes on sheep only (didn't have time to make them show up in appearance)
Make livestock match the player speed when being led, avoid annoying lead breaks / having to wait for them all the time
Fix floating animals, improve idle performance
Fix look rotation viewing vector zero when bull loses its target mid observe