@ai-rpg-engine/starter-template 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/setup.ts +14 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-rpg-engine/starter-template",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Starter template for ai-rpg-engine — scaffold a standalone game project from it",
5
5
  "type": "module",
6
6
  "engines": {
package/src/setup.ts CHANGED
@@ -109,17 +109,19 @@ export function createGame(seed?: number): Engine {
109
109
  // createPerceptionFilter() (import + register it in the modules array,
110
110
  // ahead of ...worldStack.modules).
111
111
  //
112
- // GENRE WIRING (V3-GEN-1/2, v3.0 wave 2): pass YOUR OWN ruleset's bare
113
- // genre id as BOTH tradeGenre and craftingGenre — the ruleset `id` with
114
- // any '-minimal'-style suffix your naming convention adds stripped off
115
- // (myRuleset.id here is already bare: 'my-game', nothing to strip). Do
116
- // NOT use manifest.genres — that is a free-text flavor-tag vocabulary,
117
- // a DIFFERENT vocabulary than trade-core.ts's GENRE_BUYABLE_STOCK /
118
- // crafting-recipes.ts's GENRE_RECIPES table keys (e.g. a pack tagged
119
- // genres: ['western'] may key its table entry 'weird-west' instead the
120
- // bare ruleset id, not the flavor tag, is what selects genre-flavored
121
- // stock/recipes). A genre with no matching table entry safely falls back
122
- // to the universal/default tables an honest degrade, not a bug.
112
+ // GENRE WIRING (V3-GEN-1/2, v3.0 wave 2; F-V31-ECON-GENRE, v3.1): pass
113
+ // YOUR OWN ruleset's bare genre id as tradeGenre, craftingGenre, AND
114
+ // economyGenre — the ruleset `id` with any '-minimal'-style suffix your
115
+ // naming convention adds stripped off (myRuleset.id here is already
116
+ // bare: 'my-game', nothing to strip). Do NOT use manifest.genres — that
117
+ // is a free-text flavor-tag vocabulary, a DIFFERENT vocabulary than
118
+ // trade-core.ts's GENRE_BUYABLE_STOCK / crafting-recipes.ts's
119
+ // GENRE_RECIPES / economy-core.ts's GENRE_SUPPLY_DEFAULTS table keys
120
+ // (e.g. a pack tagged genres: ['western'] may key its table entries
121
+ // 'weird-west' instead the bare ruleset id, not the flavor tag, is
122
+ // what selects genre-flavored stock/recipes/starting supply). A genre
123
+ // with no matching table entry safely falls back to the universal/
124
+ // default tables — an honest degrade, not a bug.
123
125
  //
124
126
  // import { buildWorldStack, createPerceptionFilter } from '@ai-rpg-engine/modules';
125
127
  // ...
@@ -127,6 +129,7 @@ export function createGame(seed?: number): Engine {
127
129
  // playerId: 'player',
128
130
  // tradeGenre: myRuleset.id, // or a literal genre string
129
131
  // craftingGenre: myRuleset.id,
132
+ // economyGenre: myRuleset.id,
130
133
  // });
131
134
  // ═══════════════════════════════════════════════════════════════════
132
135