14,815 Commits over 2,619 Days - 0.24cph!
Merge from livestock_animals
Doubled population of cows and sheep in the wild per square km (1 -> 2)
Lower GrazeDayShare from 0.4 -> 0.3 on cows and sheep, meaning they will spend less of the day eating and require less food
Cows and sheep get double fullness when eating from a trough
Fixed reference to animals when selling wool
Fixed some failing tests, all were testing regressions not actual regressions
NPCAnimController perf improvements
Throttle the animator param calculations if the animal has been culled, max once every 0.25
Check the livestock have changed flags before setting the animator params
Disable the F Look component when an animal is culled or if the animal is > 30m away
Don't do the snap to ground raycast if we are culled
In a scene with 40 cows, this reduces FLook and NPCAnimController total of 0.6ms to 0.1ms when occluded, 0.3ms when at a distance
Merge from livestock_animals
Merge from livestock_animals
Merge from livestock_hotfixes
Added item ownership for items purchased from livestock vendor
Fixed wrong text displayed if player drops wool mid conversation
Send the livestock to sell via an RPC rather than relying on client side triggers to match up with server side triggers
Merge from livestock_animals (new icons)
Merge from livestock_animals
Filter items offered by livestock vendor by game mode so we don't give guns in primitive
Livestock sale updates:
Fixed turret being offered for low quality, meant to be on the high end
Added options for high end sales:
2-4 basic bp frags
Thompson, custom smg, python, hc revolver
Updated wool sales chart, is now about 75% of livestock sales with no guns
Fixed NPCAnimController allocation per frame when an animal is playing an animation with look at disabled
Merge from livestock_animals
Timing fix, don't re-up the negotiation timer if the stack has changed
Merge from livestock_animals
Livestock vendor will now pause the auction process if the wool stack size changes mid offer, you need to make your inventory match the original size for the sale to continue (otherwise it will time out)
Hooked up the icon on the conversation vendor page
Reapply modified armoured hatch bounds (affects square and triangle versions)
Merge from livestock_animals
Rich beef pie now gives +25% hunger, hydration, etc - matches rich pie standard
Rounded up the values on all rich pies to the closest whole number, we shouldn't show decimal points for things like this
Fixed buffs tooltip not able to show times > 60m
Update milk description to reference skimming
Fix calves purchased at ranch sometimes pulling their name from the wrong gender list
Fix error when saving modular cars on a thread
Fixed footstep splash effects playing at original water level when water level has been lowered
Created new Crab_Media, a prefab that drives crab movement in the shader based on transform movement
Ideal for timeline usage
Required some minor changes to the critter shader
Fixed missing strings for crab_single
Added some stub client RPC's to fix the missing RPC spam
Pie topper entity and viewmodel hook up
Fixed rich mutton pie name
Fix incorrect rounding on vendor auction hqm ore
Merge from new_achievements_oct26
Merge from swimming_dithering_fix
Potentially fixed a few issues with swimming animation dithering, had to change some swimming behaviour
Player now starts swimming if there is 1.17m of water above their feet and will stop swimming once the water is below 0.9m, this means you cannot start swimming by ducking as the measurement is from feet level
When a player is swimming the server will no longer send a water level that triggers the standing animation if the player is still considered swimming, preventing dithering between standing and swimming
This will affect movement in shallow water, players will now take slightly longer to start walking when swimming towards the shore
S2P ferry terminal and radtown
Don't allow car lift to grab a car if any animals are mounted
Wool can now recycle into cloth, 5 each
Removed hqm (300-800) from ranch sales, replaced with high quality metal ore (30-50)
Increased threshold of SAR to 0.5
Livestock eating from a trough now takes calories of the food into account
Makes high calorie food like bread 6x more effective for feeding animals
WIll make low calorie food like worms less effective
Also accidentally fixed livestock being able to eat spoiled produce (as it doesn't have calories)
Doubled lifetime of adult cow/sheep (was 24h, now 48h)
Changed "Chicken Food" label in inventory to "Livestock food"