Extending the System
This manual covers how to add new content to the Star Trek Adventures system — new species, new equipment, new starship classes, or entirely new file types.
Adding New Species
To add a new species (e.g., Romulan, Cardassian, Bajoran):
- Create a new Species file in the
/Species/folder. - Set attribute and discipline bonuses — keep them balanced (total bonuses should be roughly +2 to +4 across all attributes and disciplines combined).
- Add special abilities — 1-2 unique traits or talents that reflect the species' distinctive biology or culture.
- Write the description — 2-3 sentences about what makes this species interesting for roleplay.
Balance Guidelines:
- Attribute bonuses: +0 to +2 per attribute, total of +2 to +4 across all six.
- Discipline bonuses: +0 to +1 per discipline, total of +1 to +2 across all six.
- Special abilities: 1-2 abilities, each with a clear mechanical effect.
- No species should be strictly better than another — they should be different.
Adding New Equipment
To add a new piece of equipment:
- Create a new Equipment file in the
/Equipment/folder. - Set the category (weapon, armor, gear, device, etc.).
- Fill in the relevant stats — damage for weapons, shield rating for armor, power for devices.
- Write the description and any special rules in the notes field.
Equipment Categories:
- Weapon — Fill in damage, damageType, range.
- Armor — Fill in shieldRating, encumbrance.
- Gear — General equipment, tools, personal items.
- Device — Powered devices that consume power.
- Consumable — Single-use items.
Adding New Starships
To add a new starship class:
- Create a new Starship file in the
/Starships/folder. - Set systems (Communications, Computers, Engines, Sensors, Weapons) — scale 1-10.
- Set departments (Command, Conn, Engineering, Science, Security) — scale 1-5.
- Set shields, hull, and power maximums.
- Add ship talents — special abilities of the vessel.
- Choose a mission profile — affects department bonuses.
Balance Guidelines:
- A small escort (Defiant-class): systems 6-8, departments 3-4, shields 8, hull 10.
- A cruiser (Galaxy-class): systems 7-9, departments 4-5, shields 12, hull 14.
- A science vessel (Olympic-class): systems 8-10 (especially Sensors), departments 3-4, shields 6, hull 8.
Adding New File Types
If you need a type of content that doesn't fit existing file types:
- Read the platform instructions for creating file types.
- Design the schema — define fields, types, constraints, and relationships.
- Create the file type with the
writetool at/file-types/<slug>.json. - Add reference fields to existing types that should link to the new type.
- Create sample content to populate the new type.
Example: Adding an Organisation type
- Schema: name, faction, goals, territory, members (references to characters), resources, notes.
- Add a
factionreference field to Character and Mission types. - Create sample organisations: Starfleet Command, Klingon Defence Force, Romulan Tal Shiar.
Customising Layouts
Every file type can have a layout — a JSON spec that controls how files render. Layouts use a component system with elements like:
- ImageHeader — Hero image with title overlay.
- StatGrid — Grid of label/value pairs.
- DataTable — Structured rows for lists and records.
- BadgeList — Wrapped row of tags and labels.
- FileReferenceGrid — Cards for arrays of referenced files.
- Progress — Progress bars for stress, shields, hull.
- Markdown — Rendered markdown for long-form text.
Read the platform instructions for designing layouts when you want to customise how a file type looks.
Modifying the Player's Handbook
The Player's Handbook is a chaptered book. To add or modify chapters:
- Read
/project.jsonto see the current chapter list. - Write a new chapter at
/handbooks/player/<chapter-id>.mdwith YAML frontmatter. - Update the chapter index via
update /project.jsononsettings.playerHandbook.chapters.
Chapter Guidelines:
- 400-1,500 words per chapter.
- One job per chapter, titled as the reader would ask for it.
- Use
##for sections,###sparingly. - Tables and lists for reference material. Prose for rules that need to be absorbed.
- Link to real files using
<@referenceId>mentions.