branchrust_reboot/main/metal_detectorcancel
174 Commits over 123 Days - 0.06cph!
Min/max item counts.
Test loot update.
Support biome/topo specific loot
Added shovel script and set it up on the shovel, incase I need to add any extra functionality later.
Improved shovel item check.
Flags set to require shovel.
Added timeout var for flags.
Codegen.
BaseDiggableEntity can now be flagged as requiring a shovel to dig or not.
Can dig with any melee item.
Cleanup & refactor anim sync.
Codegen.
WIP 3rd person anim code.
RPC tweaks/checks.
Disable vm bob & sway when in sweet spot scanning mode
Reduce scan duration from 3->2 seconds
Remove some old test code that disabled bob, sway, punch effects on detector VM
Lerp the anim blend param value to smooth out stutters.
Remove some now unused code.
DroppedItems can be marked to not combine.
Dug up items set to not combine so they don't auto merge if the flags are close together and their items are left on the ground after digging up.
Move camera back up to default view when leaving sweetspot scan mode.
Cleanup.
Shovel item can now be used for digging flags up.
Set some placeholder shovel values.
Tweaked sweet spot detection range to be more lenient.
Sanity check player to flag distance.
Bit of cleanup
Trigger scan anim from code.
Remove old yaw/pitch transform placeholders.
Added scanBlend param to metal detector animator.
Set scanBlend from code.
Refactored some placeholder code so I can easily remove it when animation is fully setup.
Don't force VM lower in code now we have a VM setup
Some refactor and a bunch of distance check replacements.
Distance check optimisation