6,205 Commits over 2,284 Days - 0.11cph!
Merge from boat_deployables_rotation_snap_improvements
Merge from wheel_fixes_wip
Send update immediately for cooldown.
floor & floor.triangle snap directions
Rework target snapping so it can support triangles - a block can now provide snap directions.
Added IPlacementDirectionProvider.
Let's not insta kill a GhostShip when a playerboat drives into it (it's a big JunkPileWater)
Implement cooldown for deploy and edit. Also respects PlayerBoat.EditEnabled convar.
Fix rare boat building UI nre when using enterdeepsea.
Wrapped ValidDismountPosition debug log in the debug convar.
Boats now powerdown on death.
Boat specific deployables no longer interactable with when the boat is dead.
Small engine deployment guide fixes.
Refactor some invoking.
Remove some debug logging.
Show a game tip the first three times you mount a steering wheel, prompting the player to look at the middle of the wheel for options.
Reduced the size of the secondary interaction collider for the steering wheel so that you have to look at the center of a finished boat's wheel (only when mounted) to see the menu options. Stops them popping up and interferring when just steering.
Ton of other misc wheel interaction/menu fixes.
Small engine detailed colliders.
Fix steering wheel art not getting removed from server.
Merge from cardinal_snapped_placement_test
Revert a ddraw debug duration back from my testing.
Sails, engine and steering wheel rotation now snap to the cardinal directions of the boat blocks. R key 90 degree rotation increments applied on top, based on player & placement position.
This keeps sails, engines and steering wheel aligned with boat blocks.
Add support for Socket_Free to use target entity cardinal snapped rotation with R key rotation applied.
Whitelist wall_single_shallow_shelf for playerboats and playerboat construction.
Stop anchor rope always animating
Boat building station can no longer be deployed too far out at sea where boat blocks can't be deployed.
Also prevents deploy & edit being available in unbuildable areas.
Add SocketMod_TerrainBounds.
NRE fix for deploy checks.
Deploy & edit showif implementation.
Remove all dock & edit related code
Manually play the boat building station deploy effect
Can't deploy and edit in the deep sea
Deploy & Edit from the wheel requires a BBS item, takes the item and deploys the BBS & enters edit mode.
Finishing building via the steering wheel kills the BBS and returns the item to the player.
Can only deploy & edit if you have the BBS item.
Can't edit boats that are moving too fast.
Refactor, including moving implementation from the wheel to PlayerBoat.
Water junkpiles are now destroyed if hit by player boats with a mass of >= 2000.
Added IDestroyableOnPlayerBoatCollision.
Added JunkPileWater.DestroyableByPlayerBoats and JunkPileWater.MinimumPlayerBoatMassToBeDestroyed server vars to toggle and control behaviour.
▄▌▋▄▌▉▄▉▄▊▇ ▇▍██ ▋▉▋ ▌▌▌▇▍▅▄ ▅▇ ███▉ ▊▇ ▌█▊ ▋▊█▆▋▇▍▇ ▌▋▅▇ (▋▋▇▄▄▋, ▄▊▌▉▄, ▋▅▊▄, ▉▄▋▄▄ ▄▌▍▌▇▊, ▅██▊▆▆▍▍ ▊▊▄▉▊) ▊▌▌▋▅▊▊▄ ▅▆█ ▇▅▋▄ ▇▍▌▉▋█▉▉▆▆ ▇▋ ▌▆▍▇██▅█▆▆▄▋▆▊▉▄▆▄▆▄▉▍▉▋▌▉▌▆▄▆▉▉ ▌▍▌▋ ▆▌▍▌▄▆ ▋▅▌▄▇▄, ▌▉ ▇▅▍▆ ▅▌▊▅▉ ▌▊▌ █▄▊▉ ▍▇▌▋▌▇▄▇▄▇ ▅█▌▋▆▌▇█▍▇ ▉▉ ▋▍▅ ▄▇▅▆ ▅▌ ▋█▇ ▅▍▅▄, ▋▍▅▉▆▌ ▋▅▆ ▋▉▋▉ ▍▄▆▄ ▇▉▍ ▊▋▍▍ ▄▌██▄█.
Remove call to RecacheAndGet in DragByAngle.Init, parts will already be available by this point now. (tested with new boats, edit/finish, pasted boats and loading from a save)