branchrust_reboot/main/Livestock_animalscancel
216 Commits over 92 Days - 0.10cph!
infoRust development commits are now under /Rust/
Manually copy over the milk world model assets from the /Milk branch (it was intermingled with a bunch of code changes that we don't want for perf reasons)
Set up world model for milk
Added some guns to the sell table for testing
Added an auction mechanic to selling animals at the ranch
When selling an animal the player will receive an offer of three items, rolled from a set of item min/max bands
The player can reject an offer and get a new offer two more times - on the third reject the vendor gets annoyed and won't talk to the player for 15 minutes
Merge from milk_processing
Revert guid of Assets/Rust.Ai/Agents/Sheep/Model/Sheep.fbx
Quick and dirty rehook of most sheep stuff that I can see, verified sheep walks around, attacks me and dies as expected in editor
Possible StopMontage NRE fix
Added support for hunting trophy to show cow, bull and sheep trophies
Made a pass over the hunting trophy itself converting a bunch of stuff to LOD components, prefab is now a third smaller
Fixed some missing beef links
Fixed head dispenser pointing at wrong prefab
Converted livestock pattern range into a scriptable object so we can use it on the trophy
Fixed LivestockPatternTester running in builds
Lamb and calf corpses no longer give any resources when killed, be nice to them
Disabled shear collider on lamb (not used)
Converted all cow meat prefabs and references to beef
Fixed some overlapping colliders on the calf male ragdoll
Fixed lod groups on calf corpses
Added a test to catch any skeleton assets with null bones, all pass
Removed the null bones from the cow skeleton asset
Game manifest will no longer error out if a null bone is in the list, just prints a warning
Fixed duplicate LODGroups on Bull, cow, lamb and sheep ragdolls
Fix animation NRE in Trans_ChasedFromBehind
Fixed labels on livestock prefabs
Add new meat to manifest
Fixed missing parameter on sheep state machine
Hacky compile fix to get builds working
Fixed a few places where we were caching a static reference to the scrap item def, we have ItemLookup in ItemManager that does this for us
Deduct scrap when purchasing animals
Merge from main (stomped test list)
Fixed stag not responding to ai select/move commands
Add the vendor to the ranch, s2p both
Fixed animal leads not working after purchase
First pass on npc's selling baby animals to the player
Possibly fixed the conversation data graph editor sometimes silently dropping newly added conversation nodes
LeadingPlayer is now a Synced field
Compile simulator now passes
Fixed most compile errors, still one issue
Hitch & Trough now has a water container on the right, supports fluid IO
Livestock can drink from trough
Added a storage adaptor to the food portion of the trough
A few more tweaks to the ragdoll copier to save some clicks
Bull ragdoll
Cow ragdoll joint improvements
New RagdollCopyTool, allows us to copy a ragdoll (joints/ragdolls/colliders) from one hierarchy to another
Setup cow corpse/ragdoll, joints are a horror show right now but at least it's setup
Should make copying the setup over to the other rigs faster
Fix NRE when a livestock animal dies
Add an overgrazing mechanic - if too many livestock eat the grass in an area in too short a time they will no longer be able to eat the grass (either take them to some fresh grass or use a trough)
If an animal is in an overgrazed area they will display a label on the popup when looked at
Adapted from the OverfishedArea mechanic, both systems now share a new DepletedArea class which shares the same grid
New milk item placeholder
If an item id doesn't match the shortname, show an error in the inspector with a fix button
Hooked up fur shader toggle when shearing is ready
Added readytomilk and readytoshear debug commands
ai.showstate now parents it's Ddraw labels, looks a lot smoother
Animals can now eat from a trough, will prioritise that over grazing on grass
Renamed the "Horse Dung" item to just "Dung" (left the prefab/item def names referencing horse, no point changing those)
Hooked up male calf prefab/material