117,619 Commits over 3,987 Days - 1.23cph!
Add "Harvested From Animal by {0}" phrase to animal corpses
Add ownership when gathering items from animal corpses
- implemented through custom ownership phrase for certain ResourceDispensers
- fallback generic "Gathered by PLAYER" phrase
Add item ownership when item is dug up with metal detector
Add ownership to item when it's purchased from an NPC vending machine
Wip first pass of container corpses
On death, storage containers spawn a "destroyed" version of themselves, saving a percentage of the items inside
The corpse can be hammered by the original owner to restore the original entity and regain access to the loot
Added new convars
Merge from crafting_update
Chicken default name now pulls from the streamer name list
Fixed not being able to place 4 seeds in the new planter of the new plants (orchid, rose, sunflower, wheat)
Merge from crafting_update
Fixed incorrect LOD materials on the coop
Added a field to control whether chickens can eat a food on ItemModConsumable.
Valid food items can now only be inserted into the food slot
Fixed a few cases of items ending up in the wrong slot when RMB transferring
The following foods can be used in the chicken coop (WIP):
All berries
Apples
Bread
Grubs
Worms
Granola Bar
Corn
Potato
Pumpkin
Wheat
Cake
▋▇█▊▄▋▌▌ ▄▍ ▍▆▋▅▄▋▇ ▆▍▋▄▊▇ ▇▍▊▅▊▆▍, ▇▋▄▍▉ ▅▉▋▋▇▅▌▄█▋ ▍▊▊▅▅▋ ▋▌ ▍█▄ ▄▅▊█ ▊▅▉▅▊▅
Convert coop to a RendererLOD
Remove unused prefab
Fixed import settings on hutch mesh collider
Can now interact with the whole hutch structuree, not just the bit on the side
Fixed chickens snapping to terrain if coop is placed on foundations
Fixed not being able to hatch a new chicken if the coop was full and a chicken died
Fixed being able to place coop underwater
Combine foliage meshes and make use of multiple draw commands to minimise state changes
chicken coop gibs
updated prefab
Fixed give water button highlighting if player has selected a container with rad water
Limit amount of water in chicken coop to 1,000
Coop no longer drops water when destroyed (should drop anything else stored in it)
Merge from crafting_update
Replace SavePrefabAsset with SetDirty in AnimalAnimation DoPrepare, fixes errors when opening a prefab with this component
Added a RequiredCameraDistanceForSfx on AnimalAnimation, allows us to cull sounds by distance per animal
Set to 4m on the chicken coop chickens, should prevent bases being filled with chicken noises if a coop is built inside it
Merge from crafting_update
▇▄▌▋▍▄ ▋▌▌▇▊▆▇▋██▌▄█ ▌▊▆▆▄▆▄▊▉▇ █▋▄▋█▆▇▊█▊▅▇▌▋<▇> ▆▄▉ ▇█▋▊▊▋▆▌▅▌▌<▉> ▌▇▆█▇
▊▊█ ▌▉ ▄▋▇█▇█▌█▌▋▅<▉> ▇▄ ▉▌▄▆ ▉▊▅▉▌▌▋▌▅▇ ▇▋▊▊▊ ▋▇ ▍▆▆█▋▄▊ ▍▄ █▇▍▅▍▉ ▉█ ▍▆█▉▍█▊▉▇█▄▅▅▉<▍▉▊▉▊▌▌▋> ▉█▊▌█
█▌▍ █▌ ▅▆▋▇▇▌▄▋▉▍█▉▉▋▍▌███▇▌▋ ▉▅▊▍▌ ▄▄ ▆▊█▄▆▍ ▍▌▉▆▌█▌▆▌▇ ▄▍▌▍▉▄▇█▄ ▍█▊▉▋ ▇▍ ▄▋▇ ▆▍▉▇▌▍ ▄▍▆▊▍
Fix item ownership not being transferred when an item is reskinned to a redirect in the repair bench
Rename ItemOwnership.cs -> ItemOwnershipPhrases.cs
Store ownership of item inside the entity when the deployable is placed
Reapply ownership to the item when the deployable is picked back up
Add method to take 1 share of item ownership (incase we do stackable item ownership in future)
Save deployable item ownership so it can persist across saves (incase workbench is picked up days after it's placed)
Refactor ItemOwnershipShare to have `.IsValid()` method (since it's a struct)
Add ItemOwnership to the protobuf of an entity
- allows us to save the ownership that the item of a deployable originally had
merge from laserlight_green_fix
Add ownership phrase to easter egg items
Add ownership phrase to christmas presents
Add code support for ownership to ItemModUnwrap (christmas presents & easter eggs)
- also adds support for items spawned from a loot table to be created with ownership
Fix Christmas Presents & Easter Eggs not giving items
- Unity bug from primitive where it was serializing `allowedItems` cached array as an empty array instead of null even though it was private
Fixed laser light color selection showing red twice - green was using the red token
Add ownership when item is taken from advent calendar
siegeweapons_terrain_proxy_fix -> main
Put on the other catapult World Colliders
- Beehive trigger fix
- More material changes
merge from sirenlight_culling_fix
Fixed siren lights short culling distance
Some optimisations, added a missing LightAmbientLOD on the point light