Log inGet started
World

Sealed Orders: Assassination Contracts, Opportunities, Exits and Ratings Kit

README.md

captain.harbour

The environment of the "One Bad Captain" level: a small sun-bleached fishing harbour on the Turquoise Cay cove (island 600 / cove / seed 7), modelled with the quick geometry nouns.

require("captain.harbour").build() is called from a scene build's content() (scenes/oneBadCaptain.scene). It builds the village (stilt houses with lapped boards, shutters and tin or thatch roofs: tavern with bar counter, kitchen and back room; harbour office with a desk and a door; store shed with shelves; fisher huts with a laundry line; pilot's cottage with a table, letter and coat rack; boathouse), five market stalls with striped awnings, a crane platform on the main pier with a jib, a hanging cargo net, a winch and a catch-sorting table, a second jetty (tropicalProps pier pieces) with a lighthouse and a moored motor launch, a road inland to a timber gate with fences, and crates, barrels, nets, rope coils, lamps and a few palms. Floors, walls, steps, counters and big props carry box colliders.

It also places the named mission markers (plain entities; Harbour.MARKERS holds their positions after a build) and townsfolkKit ActivitySpots (stall, fish, carry, chat, bench, watch). Harbour.KEEP_CLEAR is the Island keepClear list for the village, Harbour.ground(x, z) the island's ground height and Harbour.DECK the pier deck height.