6,317 Commits over 2,314 Days - 0.11cph!
Add BlockPlayerBoatWood protection properties so we can change protections without affecting regular wood block grade.
Assign to wood_boat_hull, wood_boat and PlayerBoat properties.
No actual changes in protection properties yet.
Debug log damage scale too
Damage test save with boats and cannons.
Debug logging.
Also show the current health in boat building UI to make it more obvious if you need to repair
Reduce SailPositionInfluence
Reduce EnginePositionInfluences from 0.1 to 0.05, making engine position have less of an impact on boat handling
Rotate default placement of engines by 180 degrees so you can see the lights and fuel storage by default.
Merge from boat_costs (hull pieces can now be pricely separately to the rest of boat pieces - repair cost accounts for this too)
Infrequently cache water factor check per in-range boat for PlayerBoatSounds, not every client Update()
Profiling PlayerBoatSounds
CalculateRepairCost now takes into account (potentially) varying hull/non-hull block costs
Add a separate wood_boat_hull building grade so we can set different resource costs for the hull pieces in the future (currently the same cost)
Point hull square and hull triangle to it.
When converting back to editable, apply damage to the blocks that actually took damage, down to a minimum of 1hp. Any extra damage gets rolled over to additional blocks, as much as possible per block, resulting in not having to repair every block on a boat. (unless they all got hit...)
Blocks track damage they've taken
Show an error toast when trying to deploy & edit a boat that has been recently damaged.
Merge from finished_boat_hammer.
Added PlayerBoat.HammerRepairEnabled convar, gates repairing finished boats with the hammer.
Boat's max health gets set to max health of combined block maxhealths, not just the combined health.
Add null checks to various places in PlayerBoatSounds.
Finished boats can be repaired with the hammer without entering edit mode.
Player boats generate a dynamic BuildCost at creation, to be used for repair costs, based on the total number of blocks * block costs.
Hammer repair logic now checks if an entity should be repaired via the parent. Eg hitting a boat block will repair the boat.
Added BaseCombatEntity.ShouldRepairViaParent and BaseCombatEntity.GetRepairableParent.
▍▆█▄▇█▆ ▄ ▄▋▄▆█▍▅█▋▍ █▊ ▄▅▌▊▆▍ ▊▌▌▌ ▊▆▇▇▊▇▇▋▄▅▆ ▅▄▇▍ ▌▉▆ ▇▉▊▋▌▇▇ ▌█ ▋ ▋▇▋▇▆ ▅▅▌▌▅ ▆▋▅ ▄.
▍▇█▍▄▉ ▋█▇█▉▇ ▆ ▌▇▄▄▋▍▉▍▊ █▍▌▌▆▄▄ █▍ ▉█▊▌▉▍▇▋▌▍▇▍▆.
▋▌▍ ▆█▋▄ ▉ ▌▉▄▇▌█▄ ▆▇▊/█▍▉▄▍▊.
▄▌▅▊▍ ▅▉▊▊▅▅▍▍▍▉▆ ▇▇▋ ▌▉█▊█ ▇▉▉▇▌▄▋▋▍ ▇▆ ▊▊█ ▉▊▍▇▊ ▋▇ ▄▇█▅▆ ▉▅▇▄▄▉▅ ▊▇ █▊▆▌ ▉█▇▄.
▊▆▉ ▍▉▇▄▌▉█▉▄_▇▌▅▋▋▍█▉▅▇▉▆▉. █▋▍█▄▆▊▄/▉▆▌▄█▇▄▅█ ▆▇▌▋▉▌▊▋▆ ▅▌▋▆▇ ▋▆ █▅▊▅▇█▅ ▌▄▋▊▇▊.
▆▊██▊▅▅ █▌▍▌▇ ▋▌▄ ▌▆▇▍ ▅▋▄▅▇▄▄▋ ▅▍▊▋▆▇▄, ▄▉█▆▉▅▉▌ ▉▅▋▌ ▊▉▅▍▋█▊▅▍
Boat ramp can no longer be picked up on a finished boat
Merge from alternate_grill_fix
▋▊▌'▄ ▊▍█ ▊▅█ ▊▉▉▅█▇▇▍▅ ▄▍▋▇▍▇█ █▍▆█▆▉▆█▍▆▉▆▍ ▇▊▄▅ ▌▉▋ ▍▉█▊ █▇ ▋ ▊█▄▆▍▋▆█▉█
Show an errror toast when boat is moving too fast to deploy & edit.
Groundwork for any future toasts.
Add JunkPileWater.MinimumPlayerBoatVelocityToBeDestroyed convar, defaults to 5.
▆▉▄▍▌▍ ▊▊▅ ▊▍▋▄▊▊▇ ▇▄▉▋▋▌ ▆▉ ▍▍▌ ▄▉▅█ ▆▊▌▉▆▊▌ ▌▊ ▆██▅▌▊ ▋▅ ▅█▊▉▇▋▊▇▇▉▍▌
Commit the material changes that keep showing up.
▊█▉▇▄ ▌▉▌▋ ▍▊█▊▉▍_▆▆▌▊_▊▋█▊▆▆.
▉▆▌▊▇ ▉▉ ▌▇▇▇ ▊▉▌▍▆▅ & ▌▊█▆▅▇ █▉▊▍▌▌█▆▋▆▄▉▉/▊▆█▇▄.
▊▇▅▉▉▊ ▍▊█ ▉▉▄▌▄▇▍█▄▊▊▋▍▍ ▅▉ ██▇▇ ▉▍ █▇▇ ▊▌▅▌ ▍▍▍▅█▌▊▋█ ▄▅▊▆▅ ▋▊▆▊ █▄▍▅▅▊.
▇▌▊▅▋ █ █▉▋▉▅ ▋▊ ▊█ ▄█▌▄█▅ ▋▇▋ ▋▊▄▍█▄▍▋ ▋▆▋▉▅▉. ▄▍▊▊▌ ~▊▍ ▄▍▊ ▅▇▊▅ ▅▋▉▊ ▉▍█▄▇█▄ ▋▊ █▍█▌▌▍▍▋ ▄▋▉▌▋ ▋▊ ▋█▋▅ █▌▊▄▋▅▄▆ ▅▄▉▅▊▅▄.
▉▅▉▋▆▇▋▇ ▄▍▄▋▌▅▋++
Can specify chance of enabling effect.
Add a random delay on enabling.
Damage FX.
Added HealthVisuals.
Setup on smallengine.
Remove leftover DamangeRenderer component on PlayerBoat
PlayerBoat.MaxVelocity is now a replicatedvar
Steering is no longer applied if anchored.
Revert BoatBuildingStation.GetForPlayer changes