Skip to content

Releases

v0.3.2

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 18 Oct 18:04

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 verb pay_off_duel, and Godot encounter Pay off button) 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::advance in 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, blocks voyage::depart and 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), and Session::finish_duel applies standing_delta to standing.underworld.
  • Order pricing & scarcity: Multi-unit buy and sell orders 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::sell checks contract delivery per consumed FIFO cargo slice, contract completion applies trust_delta/standing_delta/heat_delta to 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), allowed repay_credit to pay down deferred_fees, subtracted unpaid emergency loans from victory wealth checks (campaign::wealth and evaluate_shadow), and surfaced total debt on the Harbour desk and Ledger: 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 at loss_value, floored unpaid-wage desertion at crew_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_save atomic via synced .tmp + .bak rename, validated save voyage.origin_id/destination_id against loaded ports and clamped numeric fields in save::decode, guarded seed increment (wrapping_add) and silver/day math (saturating_add/saturating_sub), verified weapon ownership before charging for maintain_weapon/upgrade_weapon/field_repair_weapon, honoured PORTLIGHT_SAVE_ROOT and distinguished damaged vs. empty save slots in portlight-godot, and printed failing script errors to stderr in portlight-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 across README* and the handbook, and pinned pages.yml to ubuntu-24.04 with persist-credentials: false and contents: read top-level permissions.

v0.3.1

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 18 Oct 08:05

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/ for DF-34 through DF-48 and updated the handbook, landing site, and multi-language READMEs for first-time headless Godot asset import (godot --headless --path godot --import --quit), manifest 0.3.0, and the silent-chart disclosure.
  • Regenerated the atlas/ codebase index and statistics against f1003751.

Fixed (landed in re-cut v0.3.0 tag f1003751, documented in 0.3.1)

  • Hardened ci.yml by pinning runner images to ubuntu-24.04 and setting explicit top-level permissions: contents: read (note: pages.yml runner pinning and job-scoped write permissions landed after v0.3.1, and CodeQL uses GitHub's default setup rather than a separate codeql.yml).
  • Clarified LICENSE with the canonical MIT License header 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 under docs/playtest/ and docs/, and removed non-shipped dev artifacts (.claude/scheduled_tasks.lock).
  • Rewrote godot/assets/landing/MANIFEST.json version metadata from 0.4.3 to 0.3.0, scrubbed local source paths, updated the manifest SHA-256 pin in crates/portlight-godot/src/landing.rs, and removed unshipped well_1x1 from portlight-chart seam allowances so the 5-id runtime seam allowlist matches the 17 reachable harbour/flag/prop plates (out of 78 total entries in MANIFEST.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 in portlight new with exit code 2.
  • Added equip_style and dismiss (alias for dismiss_companion) to the CLI script runner.
  • Fixed Godot route-pirate boarding duel resolution so take_all and spare log honest route-pirate messages without claiming unapplied underworld standing deltas, and exposed state.pending_duel in the headless playtest snapshot.
  • Fixed recruit notice formatting on the Godot Crew desk so companion greeting lines render without doubled quotes.

v0.3.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 18 Oct 04:18

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 on training_port_ids or masters_at_port, and gates skill learning on trainers_at or training_port_feature (DF-39).
  • Gear maintenance and blacksmith quality upgrades (Session::upgrade_weapon, Session::field_repair_weapon, Crew desk Maintain and Upgrade buttons, and script runner smith and field_repair verbs) (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_companion script 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 companion loyalty_line / warning_line display 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 under porto_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's home_region is East Indies (crosswind_isle), non-shipyard institutions use accurate institution_type values, Ironhaven's trade_embargo omits weapons, trade-bloc rivals and hostile_to lists are symmetric, and Jade Port's jp_quality is The 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 to Mediterranean (matching her Corsair's Rest sighting), and record_duel_standing preserves existing negative underworld standing down to -100 so The Privateer's -5 Iron Wolves grudge moves to -3 on a take-all win instead of clamping to 0.

v0.2.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 18 Oct 01:13

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_style and the Crew screen Equip control) 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 in parity/rust_tuned_pins.json with a python-base feature 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_OVERRIDES in tools/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_name values 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, commit 55ac9b2.

Play: https://mcp-tool-shop-org.github.io/portlight-bounty/

v0.1.0

Choose a tag to compare

@mcp-tool-shop mcp-tool-shop released this 09 Oct 21:22

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.

Play: https://mcp-tool-shop-org.github.io/portlight-bounty/