ludic/packages/ludic.vehicles/index.ludic
Orkuncakilkaya 668a9ecf69 vehicles: a kind's numbers are a VehicleSpec the game hands over (vehicles_spec), not constants
The seat height, the horse's walk, gallop, acceleration and turn (VE_HORSE_*), its stamina (a gallop
over 6 m/s spends 6 a second, a walk gives back 3, 5 needed to gallop) and hay (0.02 a metre,
VEHICLE_HAY_MIN), the boat's stroke, turn and wind (VE_ROW, VE_ROW_TURN, VE_WIND) and where a rider
gets off (the horse's 1.2 m flank, the boat's 1.25 m wade) move into VehicleSpec (spec.ludic), held
per kind in VehiclesState.ve_specs and kept across a reset. vehicles_spec(kind, spec) sets one,
vehicle_spec(kind) asks it; a kind with no spec cannot be called. VEHICLE_HORSE and VEHICLE_BOAT stay
the kinds. The tests hand Maroon Lake's numbers in, and a new one holds a spec's walk and seat_h.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:22:02 +03:00

21 lines
661 B
Text

# ludic.vehicles - a player's boat and horse: made the first time they are called to a place and
# fetched there after, one rider at a time, ridden over water or land, and put down again through
# the rider's own safe spot. The game draws them, prices them and words them.
module ludic_vehicles uses ludic_base
numbers float
import "ludic.base"
import "kinds.ludic"
import "spec.ludic"
import "table.ludic"
import "ports.ludic"
import "fact_pool.ludic"
import "state.ludic"
import "places.ludic"
import "call.ludic"
import "keep.ludic"
import "mount.ludic"
import "ride.ludic"
import "moved.ludic"
import "horse.ludic"
import "legs.ludic"
import "system.ludic"