branchrust_reboot/main/cookingv2/coopcancel
30 Commits over 31 Days - 0.04cph!
Fixed moving and sleeping on chicken sharing a flag
Fixed being able to pick up the chicken coop while it has chickens
Refactors
Chickens in coops now go to sleep at night
Added debug.ForceChickensSpawnEgg, forces all chickens in the provided range to drop an egg
Eggs now drop from just behind the chicken
Rework how chickens drop eggs in the world
Every 20-40s check if there are players within 100m, if they are there's a 50% chance an egg will drop
This should mean players that find chickens in the wild could randomly find eggs in the area, or they could chase chickens for a while to try and get an egg
Eggs are now a common item for despawn purposes so they will time out pretty quickly (and we don't flood servers with physics eggs)
Implemented visibility system for chickens (taken from recent horse implementation)
Move need updates into a budgeted work queue
Small status widget update, break out vitals into a new prefab with tooltips and bigger progress bars
If chickens are below 50% happiness they will slowly start to take damage, if above 50% they will slowly heal
Farmable chickens now take damage and drop corpses like regular chickens
Names
Added a slot for produced eggs in the chicken coop loot panel
Chickens now lay eggs periodically if they are happy (randomised, so the happier the chicken the more eggs)
Added a slight tint colour randomisation to each chicken (experimental)
Farmable chickens don't collide with player movement
Added a crosshair panel to show stats of each chicken when the player looks at them (like the plant genetics display)
Chickens now animate correctly
Fixed sfx not working, falls back to normal chicken sfx
First pass piping update data (similar to IO tool)
Created farming inventory loadout
Chickens can eat and drink
Added server.fillChickenCoop command
Hook up sunlight tracking
Refactors for future content
Added sunlight stat
First pass new model setup
Unsaved chicken name stuff
First pass on spawning process, status tracking, loot panels
Prototyping a new simple chicken for use in coops