Repository navigation
Releases
v0.3.2
Source-only developer release closing the 11-seat v0.3.1 audit across simulation data safety, economy & contract balance, duel resolution, insurance & debt rules, Godot UI feedback, CLI diagnostics, canon sync, and GitHub Pages workflow hardening.
Added
- Duel pay-off option (
Session::pay_off_duel, script verbpay_off_duel, and Godot encounterPay offbutton) and round-by-round duel exchange recaps (logic::duel_exchange_lines) in the Godot chart log. - Per-unit curved order pricing quotes (
economy::quote_buy,economy::quote_sell,Session::quote_buy,Session::quote_sell) used by the Godot market affordability stepper (clamped_trade_qty).
Changed
- Pending-duel freeze: A pending duel now freezes
Session::advancein both sea and harbour without ticking reputation, contracts, or upkeep, holds arrival short of port when a duel triggers on the final voyage leg day, blocksvoyage::departand the departure-check modal, and disables/relabels the Godot Next Day button ("Resolve the duel first"). - Duel winnability & standing: Time-out duels are now won by the player when leading by 3 or more HP (
(player_hp - opponent_hp) >= 3), andSession::finish_duelappliesstanding_deltatostanding.underworld. - Order pricing & scarcity: Multi-unit
buyandsellorders walk the per-unit supply/demand curve (execute_buy_order/execute_sell_order), and 0-stock scarcity spikes are dampened (scarcity.min(3.5)). - Contracts & bounties: Delivery and shortage contracts reject cargo bought at the destination port (
source_port == port_id),Session::sellchecks contract delivery per consumed FIFO cargo slice, contract completion appliestrust_delta/standing_delta/heat_deltato captain reputation, and accepted bounties block repeat farming once a target has been defeated (times_defeated > 0). - Emergency loans & debt visibility: Capped emergency loans to 1 active unpaid loan in
deferred_fees(200 silver ceiling), allowedrepay_creditto pay downdeferred_fees, subtracted unpaid emergency loans from victory wealth checks (campaign::wealthandevaluate_shadow), and surfaced total debt on the Harbour desk andLedger:status line. - Insurance & crew starvation/desertion: Enforced 1 active policy per family (
hull,premium_cargo,contract_guarantee), separated hull vs. cargo claim triggers, capped total claim payouts atloss_value, floored unpaid-wage desertion atcrew_min, prevented morale gain at 0 crew, warned on departing with 0 provisions (" - crew will starve"), and logged insurance payouts and crew losses in the Day's Report. - Data safety & CLI: Made
write_saveatomic via synced.tmp+.bakrename, validated savevoyage.origin_id/destination_idagainst loaded ports and clamped numeric fields insave::decode, guarded seed increment (wrapping_add) and silver/day math (saturating_add/saturating_sub), verified weapon ownership before charging formaintain_weapon/upgrade_weapon/field_repair_weapon, honouredPORTLIGHT_SAVE_ROOTand distinguished damaged vs. empty save slots inportlight-godot, and printed failing script errors tostderrinportlight-cli. - Canon & CI: Synced Bounty Hunter and Shadow Kai canon tables (
DF-3,DF-34,DF-35) with simulation values, clarified source-only developer release instructions acrossREADME*and the handbook, and pinnedpages.ymltoubuntu-24.04withpersist-credentials: falseandcontents: readtop-level permissions.
v0.3.1
Source-only developer release (1cdadb2) adding documentation, handbook, translation, and repository atlas updates on top of the re-cut v0.3.0 (f1003751).
Changed
- Synchronized canon status tables across
docs/canon/forDF-34throughDF-48and updated the handbook, landing site, and multi-language READMEs for first-time headless Godot asset import (godot --headless --path godot --import --quit), manifest0.3.0, and the silent-chart disclosure. - Regenerated the
atlas/codebase index and statistics againstf1003751.
Fixed (landed in re-cut v0.3.0 tag f1003751, documented in 0.3.1)
- Hardened
ci.ymlby pinning runner images toubuntu-24.04and setting explicit top-levelpermissions: contents: read(note:pages.ymlrunner pinning and job-scoped write permissions landed afterv0.3.1, and CodeQL uses GitHub's default setup rather than a separatecodeql.yml). - Clarified
LICENSEwith the canonicalMIT Licenseheader at line 1 ahead of the deck-prop provenance note. - Scrubbed local playtest artifact paths from public documentation (
docs/DESIGN-FIXES.md,docs/PORTING-PLAN.md,docs/UI-UX-AUDIT.md), deleted 13 internal playtest/handoff files underdocs/playtest/anddocs/, and removed non-shipped dev artifacts (.claude/scheduled_tasks.lock). - Rewrote
godot/assets/landing/MANIFEST.jsonversion metadata from0.4.3to0.3.0, scrubbed local source paths, updated the manifest SHA-256 pin incrates/portlight-godot/src/landing.rs, and removed unshippedwell_1x1fromportlight-chartseam allowances so the 5-id runtime seam allowlist matches the 17 reachable harbour/flag/prop plates (out of 78 total entries inMANIFEST.json). - Guarded single-call simulation economy, bank, fleet, crew, and provision mutations against negative inputs and integer overflow (
buy,sell,bank_deposit,bank_withdraw,bank_letter,deposit_to_warehouse,withdraw_from_warehouse,repay_credit,hire_crew,fire_crew,provision,transfer_cargo,transfer_crew). - Fixed
portlight script -so reading from stdin executes the script instead of exiting early, and rejected unknown flags or missing values inportlight newwith exit code 2. - Added
equip_styleanddismiss(alias fordismiss_companion) to the CLI script runner. - Fixed Godot route-pirate boarding duel resolution so
take_allandsparelog honest route-pirate messages without claiming unapplied underworld standing deltas, and exposedstate.pending_duelin the headless playtest snapshot. - Fixed recruit notice formatting on the Godot Crew desk so companion
greetinglines render without doubled quotes.
v0.3.0
Added
- Armoury merchant shop on the Crew desk (
SECTION_GEAR): displays carried melee, ranged, and armour gear alongside the docked port merchant's name, title, personality, markup, description, greeting, and regional stock (DF-46). - Style master and skill trainer port presence on the Crew desk (
SECTION_TRAINING): renders resident master and trainer descriptions and dialog, gates fighting-style learning ontraining_port_idsormasters_at_port, and gates skill learning ontrainers_atortraining_port_feature(DF-39). - Gear maintenance and blacksmith quality upgrades (
Session::upgrade_weapon,Session::field_repair_weapon, Crew deskMaintainandUpgradebuttons, and script runnersmithandfield_repairverbs) (DF-39). - Companion role effects wired across voyage speed, route danger, customs inspection evasion, market buy/sell pricing, injury healing rate (including at-sea surgeon treatment), and personal combat damage/interception, plus party cohesion, summary, role descriptions, and companion dismissal (
Session::dismiss_companion,dismiss_companionscript verb) on the Crew desk (DF-34). - Full companion morale trigger coverage (
combat_won,combat_lost,crew_killed,profitable_trade,losing_trade,contraband_trade,spared_enemy,took_all,fled_combat,injury_sustained,long_voyage,port_arrival,nemesis_defeated), personality modifier application when a role's base delta is zero, and companionloyalty_line/warning_linedisplay on the Crew desk (DF-35). - Multi-language README translations (
README.ja.md,README.zh.md,README.es.md,README.fr.md,README.hi.md,README.it.md,README.pt-BR.md).
Changed
- Canon lore and catalog alignment (
DF-1–DF-8,DF-12–DF-16,DF-18,DF-20,DF-27,DF-28,DF-37): Dimitri Andros's sea sighting is filed underporto_novo, Porto Novo's power structure and Harbor Master's Tower beacon are aligned with canon, Silva Bay's repair and war-fleet prose matches the simulation, cross-port network NPC names and the Rosa/Ingrid sea-widows description use canonical names and regions, same-name NPCs/merchants/companions are disambiguated, The Bounty Hunter'shome_regionisEast Indies(crosswind_isle), non-shipyard institutions use accurateinstitution_typevalues, Ironhaven'strade_embargoomitsweapons, trade-blocrivalsandhostile_tolists are symmetric, and Jade Port'sjp_qualityisThe Quality Hall. - Bounty balance and standing fixes (
DF-30,DF-31,DF-32): Gnaw's bounty reward is raised from 200 to 250 silver, Scarlet Ana's bounty region is set toMediterranean(matching her Corsair's Rest sighting), andrecord_duel_standingpreserves existing negative underworld standing down to-100so The Privateer's-5Iron Wolves grudge moves to-3on a take-all win instead of clamping to0.
v0.2.0
Version 0.2.0 of the Rust port and the Godot chart.
The simulation is the rules. The chart is what you play. Rust 1.98.1, Godot 4.7.2.
Added
- Counting-house silver accounts at seven ports (
bank_deposit,bank_withdraw,bank_letter) on the Harbour desk and in the script runner, with version-13 saves when an account is open. - Sinking consequences and recovery: hull-zero wreck penalty (30% of carried silver, ~75% of each cargo good), tow to the nearer voyage endpoint with a per-class patched hull floor, cargo insurance payouts on a wreck, low-hull departure warnings, and a hunt hull floor.
- Combat and contract recap cards: per-row causes, fight cost lines (hull and crew lost), boarding meter on the Naval card, duel and sinking rows, and contract completion/expiry/breach recaps.
- Closed bounty loop on the Hunt screen (accept, hunt, defeat, and claim) and the Bounty Hunter archetype's +25% claim reward via
tuned_overlay.json. - Fighting-style equipping (
Session::equip_styleand the Crew screenEquipcontrol) and active-injury body-part checks on style training and equipping. - Rust-tuned captain pricing and burn overlay (
crates/portlight-sim/data/tuned_overlay.json), pinned inparity/rust_tuned_pins.jsonwith apython-basefeature to compile the overlay out, plus the deterministic day-60 type-balance bot (balance_bot) and contraband reachability probe (contraband_probe). - First-voyage chart hints and docked desk consistency (Escape closes the active desk, undock clears open desks, and only one desk opens at a time).
- Canon documentation (Phases 1–6) under
docs/canon/: 20 ports, 21 landmarks, 15 sea lanes, 7 trade blocs, 4 pirate factions, 9 player archetypes, 8 pirate captains, 9 player-type guides, 10 companions, 5 companion roles, 5 regional officer pools, 10 style masters, 5 skill trainers, and 14 merchants.
Changed
- Contract-sale feedback shows partial-sale progress,
'incl. bonus'notices, and live progress on the contract strip; abandoning a contract names the progress it loses. - Day's report opens before a same-tick sea encounter when advancing the voyage.
- Shortage offer reasons, crew training/skill/recruit notices, and four catalog copy overrides (
COPY_OVERRIDESintools/extract_content.py) use display names and clean ASCII prose.
Fixed
- Buying ammunition without a matching firearm or mechanical launcher is refused before silver is taken, and upgrading a launcher preserves existing ammunition for that slot.
- Loading a save restores route
lore_namevalues from the content catalog. - The pictures are under the MIT license with the rest of the repository. The barrel, bollard, cart, crate, and torch are built by
build_prop()in ai-rpg-stage, commit55ac9b2.
v0.1.0
First GitHub release of the Rust port and the Godot chart.
The simulation is the rules. The chart is what you play. Rust 1.98.1, Godot 4.7.2.
The repository is MIT, pictures included. The barrel, bollard, cart, crate, and torch are built by build_prop() in ai-rpg-stage, commit 55ac9b2. This tag's archive still has an older preface that said otherwise. The correction is on main at 024d4e3.
Patch coverage fails under 90%. The repository-wide percentage aims at 90% and stays informational. The Godot crate is outside that report.