## What's New in v1.5.13

- Fixed an issue with crew management, ensuring accurate tracking of crew assignments.
- Addressed a bug that prevented ships from displaying their cargo information correctly.
- Improved the UI for better clarity when managing ship repairs and upgrades. 
- Resolved a problem where crew morale updates were not reflected in real-time within the game.

---

## [1.5.13](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.12...v1.5.13) (2026-07-05)

## What's New in v1.5.12

- Crew Manager is now available as a free public module.

---

## [1.5.12](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.11...v1.5.12) (2026-07-04)


### Bug Fixes

* **cms:** make Crew Manager a free public module ([a1d5d2e](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/a1d5d2e60eeffb84ce9a4677b7cb3d03b4427f43))

## What's New in v1.5.11

- Crew & Ship Manager feature is now accessible only to users with the captain tier.

---

## [1.5.11](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.10...v1.5.11) (2026-07-04)


### Bug Fixes

* **cms:** gate Crew & Ship Manager behind captain tier ([65092be](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/65092be64997afbcfad82d19a2194d5d9bb6ad99))

## What's New in v1.5.10

- Internal improvements and stability fixes.

---

## [1.5.10](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.9...v1.5.10) (2026-06-30)

## What's New in v1.5.9

Internal improvements and stability fixes.

---

## [1.5.9](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.8...v1.5.9) (2026-06-27)


### Bug Fixes

* **ci:** update actions/checkout to v6 for Node 24 compatibility ([104f4f0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/104f4f0a7c037d69e48506fafd6b6e81817a6a3f))

## What's New in v1.5.8

- Compendium packs are now correctly compiled at release time, ensuring all content is available for users.

---

## [1.5.8](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.7...v1.5.8) (2026-06-25)


### Bug Fixes

* **release:** compile compendium packs at release time ([14cddd0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/14cddd06f1b9b1ad0d0db9cc8901490e72a913de))

## What's New in v1.5.7

- Added a description for the module in the CMS for better clarity.

---

## [1.5.7](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.6...v1.5.7) (2026-06-18)


### Bug Fixes

* **cms:** add module description ([192815d](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/192815d085b926d21ce7b7f499591e0b3cae0602))

## [1.5.6](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.5...v1.5.6) (2026-06-18)


### Bug Fixes

* **manifest:** point changelog URL to public CDN ([6986ccc](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/6986ccc703fe0daf6fa40fccc22cf40cc9941613))

## [1.5.5](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.4...v1.5.5) (2026-06-18)


### Bug Fixes

* **manifest:** add jolly-rogenerator and patreon links to marketplace description ([b91f6a4](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/b91f6a4602e86a85f859c713724bb56a181581f4))

## [1.5.4](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.3...v1.5.4) (2026-06-17)


### Bug Fixes

* set patreonMinTier in .futurehax-cms.json (cms.config check) ([15ee681](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/15ee6812cf5bde6a117a325195eb8459e20b4db5))

## [1.5.3](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.2...v1.5.3) (2026-06-16)


### Bug Fixes

* **tooling:** resolve remaining module-doctor compliance errors ([#35](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/issues/35)) ([84adb60](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/84adb60100188060ab33ea3f8c92beedc17f762b))

## [1.5.2](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.1...v1.5.2) (2026-06-16)


### Bug Fixes

* **tooling:** add install-prod.sh and remove obsolete bundled release plugin ([#34](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/issues/34)) ([96c6f67](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/96c6f67324ed0e98f5a3683223b62f20b23bac5f))

## [1.5.1](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.5.0...v1.5.1) (2026-06-15)


### Bug Fixes

* **ci:** pass secrets to reusable CI workflow ([#31](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/issues/31)) ([05bac41](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/05bac413d63dfe63aa47132d6140dbeb2e61466a))

# [1.5.0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.4.0...v1.5.0) (2026-06-11)


### Features

* **cms:** enable showJrLink for Jolly Rogenerator detail page ([a58cd88](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/a58cd883747272190dd7c87066e4d8f129ba9040))

# [1.4.0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.3.0...v1.4.0) (2026-06-10)


### Bug Fixes

* **ci:** remove spurious .shared-tooling gitlink ([2454e5d](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/2454e5d43d39cf5c6c6de48510afb189d4faa3d1))
* **credits:** correct Credits page _id to 16 chars (CrewMgrCredPg01x) ([8117e22](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/8117e22ed2fc3d33d13b82b0b62464c0b1b3a467))
* **pack:** make inject-patrons skip gracefully when .shared-tooling is not initialized ([8e226ad](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/8e226ad788a6e9c6a177081f0133e23c46769b08))


### Features

* **ci:** add pack-freshness check to CI and Patreon injection to release ([80b6935](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/80b69355be1ee192a1c0fbc5f008fa987d3e72a4))
* **credits:** add Credits & Legal page with Patreon link ([#28](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/issues/28)) ([3809cec](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/3809ceca507d2bfdd613bacab34eeecb63a99418)), closes [#26](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/issues/26)
* **credits:** add credits page with Patreon link and inject-patrons build step ([cbf20b2](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/cbf20b28ca0c9b65f8c162df69aa10179c9a6f78))

# [1.3.0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.2.0...v1.3.0) (2026-05-30)


### Features

* **specialty:** replace hardcoded roles with Crew Feature items ([bda73f2](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/bda73f23e44658023ed15f15e322b2993c6528f9))

# [1.2.0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.1.0...v1.2.0) (2026-05-29)


### Bug Fixes

* **ci:** invoke build-module via node directly ([0491744](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/04917443a2b416f2ba79780b8b0461081b4c16d7))
* **foundry:** migrate v1 API usage ([a3eb20b](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/a3eb20b586c5e05654f89bf1fc86beb5d48ed32b))
* **manifest:** align dev manifest with Foundry v14 ([d795653](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/d7956533e0e257641c8be399214ddceb3db406fc))
* **manifest:** verify Foundry v14 compatibility ([9359dd7](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/9359dd7c0cb0dcd944ce59927a53c32e518e8731))
* **sheet:** match open crew button width ([ccc6663](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/ccc666325582176fdefe9eab145dc4954ed1a03e))
* **sheet:** register crew actor sheet on Foundry v14 ([21c28ac](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/21c28acca2235b9e27e1a1d8195cfa436dc7ce69))


### Features

* **crew:** add default crew portrait ([ea6b926](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/ea6b926ef1686105f24a2c29f57c0583f9202554))
* **migration:** migrate legacy crew managers ([060c2b2](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/060c2b2ef157cca0a103a283e192d71ecfc64c2a))
* **shanties:** add crew manager shanty tab ([93b63c1](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/93b63c11dc3bb373a7453aefaa969307e67a5c92))
* **shanties:** add shanty tab integration ([eea99bd](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/eea99bd8da804b8d3c789ce2f36223b293f5981e))
* **sheet:** add crew manager actor links ([597ed4e](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/597ed4e9fb499ec760fa2f3fa825c1822b1e6b5a))
* **sheet:** import crew from actor folders ([a7eadba](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/a7eadba5dab311c7bb678e475ed3538e5efdb7cf))
* **sheet:** split PC and NPC crew display ([137357d](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/137357dabe56dc968ddeb9bf64e0edb30b8a2df3))

# [1.1.0](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.0.1...v1.1.0) (2026-01-28)


### Features

* **docs:** add journal compendium with usage guides ([1315004](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/1315004ad8e915ed9a8ba44f66df284549b48477))

## [1.0.1](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/compare/v1.0.0...v1.0.1) (2026-01-28)


### Bug Fixes

* **module.json:** refine description for clarity and conciseness ([51e974f](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/51e974f1fc4f063c21d9bba5c18df60287bbe9ed))
* **rules:** add module development guidelines for Foundry VTT and Pirate Borg integration ([60eb6a5](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/60eb6a55960ad3ecc3e9a869d1135ad743d12a92))

# 1.0.0 (2026-01-28)


### Bug Fixes

* correct repository URLs for FutureHax organization ([de78e67](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/de78e67ce0c62e437655c00435584ac6eca06eee))


### Features

* implement crew manager module with GCS CDN release pipeline ([31da6f2](https://github.com/FutureHax/Pirate-Borg-Crew-and-Ship-Manager/commit/31da6f2951507a26c622bb5da0a473e2646e518f))

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Updated documentation with complete module usage guides
- Added module-specific troubleshooting information

## [1.0.0] - 2026-01-28

### Added

#### Crew Management

- Custom Crew Manager ActorSheet for Character actors
- Ship linking to connect crew managers with vehicle actors
- Drag-and-drop crew assignment from Actors Directory
- Support for both Character and Creature actors as crew members
- Named crew tracking with portraits and notes

#### Morale System

- Automatic morale modifier calculation based on conditions
- Supply-based modifiers (food -1, water -3, rum -5)
- Ship HP threshold modifiers (50% HP: -2, 25% HP: -5)
- Under-manned crew penalty (-2)
- Permanent modifiers (inexperienced -1, experienced +1, military discipline +2)
- Time-based modifiers (weeks without prize, months without plunder)
- 2d6 + modifiers morale test action with chat output
- Morale recovery actions (Shore Leave +2, Take Prize +4, Divide Plunder)
- "All For Me Grog" shanty integration for mutiny immunity
- Configurable auto-trigger for morale tests

#### Specialty Crew System

- Seven specialty crew roles with mechanical effects:
  - Legendary Captain: Extra crew action each round
  - Veteran Quartermaster: Morale +3, cargo sells 50% more
  - Strict Bosun: Reroll one crew action per combat
  - Master Gunner: Ship attacks -2 DR
  - Master of Sails: Agility tests -2 DR
  - Deck Sorcerer/Priest: Change wind once per combat
  - Master Carpenter: Repair -5 DR
- Drunk Crew penalty (+2 DR all ship rolls)
- Automatic DR modifier application via `pirateborg.preRoll` hook

#### Plunder Management

- Undivided silver tracking
- Drag-and-drop plunder items with value and quantity
- Configurable share multipliers (Captain 2x, Officer 1.5x, Crew 1x)
- Share calculation and division dialog
- Optional automatic silver distribution to PC actor sheets

#### NPC Generation

- Random pirate crew generation from Pirate Borg v2.2 tables
- Creates Creature actors with HP, morale, armor, and weapons
- Full name generation (first name, surname, optional nickname)
- Description with character type, physical trait, and weapon

#### Vehicle Sheet Integration

- Specialty crew bonus display injected into vehicle sheets
- Crew manager tab injection for ships

#### Settings

- Auto-Calculate Morale: Toggle automatic modifier calculation
- Enable Morale Triggers: Toggle automatic morale test prompts
- Track Time-Based Modifiers: Integration with Simple Calendar
- Show Morale Breakdown: Display detailed modifier breakdown
- Auto-Distribute Plunder: Automatic silver distribution on division

#### Developer Features

- Public API for macros and module integration
- Localization support (English)
- Comprehensive flag-based data storage
- Vitest test suite

### Compatibility

- Foundry VTT v12 - v13
- Pirate Borg system v1.2.0+
- Optional: Simple Calendar module for time-based modifiers
