vehicles: a boat nobody rows is moored where it was called or left - its hull put back on the mooring (home_x, home_z, home_yaw) whenever it strays, and no wind on it; the wind drifts only a rowed boat

A called boat and one got out of drifted across the lake on the wind (the user's play of the bundle).
The tests hold a boat at its berth in a full wind for eight seconds, and one dropped out on the lake
where it was left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 12:12:44 +03:00
parent b2a45c2fda
commit 66da424b90
6 changed files with 64 additions and 13 deletions

View file

@ -17,8 +17,9 @@ export property Vehicle {
owned: bool = false # hired or rented for the trip
owner: int = 0 # the player it belongs to (0: this machine's)
rider: int = -1 # the player on it, -1 nobody
home_x: float = 0.0 # a horse is tied where its home is
home_x: float = 0.0 # a horse is tied where its home is; a boat nobody rows is moored there
home_z: float = 0.0
home_yaw: float = 0.0 # and a moored boat faces as it was left
ent: int = -1 # its handle in the table
tab: Table<Vehicle> = null
}