@ai-rpg-engine/starter-fantasy 1.0.0 → 2.0.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/README.md +70 -0
  2. package/package.json +39 -35
package/README.md ADDED
@@ -0,0 +1,70 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/mcp-tool-shop-org/brand/main/logos/ai-rpg-engine/readme.png" width="400" alt="AI RPG Engine">
3
+ </p>
4
+
5
+ <p align="center">
6
+ <a href="https://github.com/mcp-tool-shop-org/ai-rpg-engine/actions/workflows/ci.yml"><img src="https://github.com/mcp-tool-shop-org/ai-rpg-engine/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
+ <a href="https://github.com/mcp-tool-shop-org/ai-rpg-engine/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
8
+ <a href="https://mcp-tool-shop-org.github.io/ai-rpg-engine/"><img src="https://img.shields.io/badge/Landing_Page-live-blue" alt="Landing Page"></a>
9
+ </p>
10
+
11
+ # @ai-rpg-engine/starter-fantasy
12
+
13
+ **The Chapel Threshold** — a dark fantasy starter world for AI RPG Engine.
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npm install @ai-rpg-engine/starter-fantasy
19
+ ```
20
+
21
+ ## What You'll Learn
22
+
23
+ This starter demonstrates the full engine stack in a compact world:
24
+
25
+ | Feature | What the Chapel shows |
26
+ |---|---|
27
+ | **Rulesets** | `fantasyMinimalRuleset` — stats (vigor/instinct/will), resources (hp/stamina), verbs, formulas |
28
+ | **Zones & traversal** | 5 zones across 2 rooms with adjacency, light levels, interactables, hazards |
29
+ | **Districts** | Chapel Grounds (sacred) vs Crypt Depths (cursed, faction-controlled) |
30
+ | **Dialogue** | Branching pilgrim conversation with 3 paths and global-flag effects |
31
+ | **Combat** | Ash Ghoul with aggressive AI profile, fear tags, guard goal |
32
+ | **Cognition & perception** | Memory decay, perception filter, undead presentation rule |
33
+ | **Progression** | 3-node Combat Mastery tree with XP rewards on entity defeat |
34
+ | **Environment** | Unstable-floor hazard draining stamina on zone entry |
35
+ | **Factions** | Chapel-undead faction with cohesion setting |
36
+ | **Belief provenance** | Rumor propagation with delay, belief tracking |
37
+ | **Inventory** | Healing draught with scripted item-use effect |
38
+ | **Simulation inspector** | Full inspection wired for replay analysis |
39
+
40
+ ## What's Inside
41
+
42
+ - **5 zones** — Ruined Chapel Entrance, Nave, Shadowed Alcove, Vestry Passage, Crypt Antechamber
43
+ - **1 NPC** — Suspicious Pilgrim (branching dialogue, 3 conversation paths)
44
+ - **1 enemy** — Ash Ghoul (aggressive AI, fear of fire and sacred)
45
+ - **1 item** — Healing Draught (scripted use-effect restoring 8 HP)
46
+ - **1 progression tree** — Combat Mastery (Toughened → Keen Eye → Battle Fury)
47
+ - **1 presentation rule** — undead perceive all living as threats
48
+ - **15 modules wired** — traversal, status, combat, inventory, dialogue, cognition, perception, progression, environment, factions, rumors, districts, belief, observer presentation, inspector
49
+
50
+ ## Usage
51
+
52
+ ```typescript
53
+ import { createGame } from '@ai-rpg-engine/starter-fantasy';
54
+
55
+ // One line — all 15 modules, content, and ruleset pre-wired
56
+ const engine = createGame(42);
57
+
58
+ // Or import pieces individually:
59
+ import { manifest, zones, pilgrimDialogue, fantasyMinimalRuleset } from '@ai-rpg-engine/starter-fantasy';
60
+ ```
61
+
62
+ ## Documentation
63
+
64
+ - [The Chapel Threshold (Ch. 20)](https://mcp-tool-shop-org.github.io/ai-rpg-engine/handbook/20-chapel-threshold/)
65
+ - [Handbook](https://mcp-tool-shop-org.github.io/ai-rpg-engine/handbook/)
66
+ - [GitHub](https://github.com/mcp-tool-shop-org/ai-rpg-engine)
67
+
68
+ ---
69
+
70
+ Built by <a href="https://mcp-tool-shop.github.io/">MCP Tool Shop</a>
package/package.json CHANGED
@@ -1,35 +1,39 @@
1
- {
2
- "name": "@ai-rpg-engine/starter-fantasy",
3
- "version": "1.0.0",
4
- "description": "AI RPG Engine fantasy starter: The Chapel Threshold",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- }
13
- },
14
- "files": ["dist", "content"],
15
- "scripts": {
16
- "build": "tsc",
17
- "test": "vitest run"
18
- },
19
- "dependencies": {
20
- "@ai-rpg-engine/core": "*",
21
- "@ai-rpg-engine/content-schema": "*",
22
- "@ai-rpg-engine/modules": "*"
23
- },
24
- "license": "MIT",
25
- "author": "mcp-tool-shop",
26
- "homepage": "https://mcp-tool-shop-org.github.io/ai-rpg-engine/",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/mcp-tool-shop-org/ai-rpg-engine.git",
30
- "directory": "packages/starter-fantasy"
31
- },
32
- "engines": {
33
- "node": ">=20"
34
- }
35
- }
1
+ {
2
+ "name": "@ai-rpg-engine/starter-fantasy",
3
+ "version": "2.0.0",
4
+ "description": "AI RPG Engine fantasy starter: The Chapel Threshold",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": ["dist", "content"],
15
+ "scripts": {
16
+ "build": "tsc",
17
+ "test": "vitest run"
18
+ },
19
+ "dependencies": {
20
+ "@ai-rpg-engine/core": "*",
21
+ "@ai-rpg-engine/content-schema": "*",
22
+ "@ai-rpg-engine/modules": "*"
23
+ },
24
+ "license": "MIT",
25
+ "author": "mcp-tool-shop",
26
+ "homepage": "https://mcp-tool-shop-org.github.io/ai-rpg-engine/",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/mcp-tool-shop-org/ai-rpg-engine.git",
30
+ "directory": "packages/starter-fantasy"
31
+ },
32
+ "keywords": ["rpg", "fantasy", "game-engine", "starter", "worldbuilding", "content-pack"],
33
+ "bugs": {
34
+ "url": "https://github.com/mcp-tool-shop-org/ai-rpg-engine/issues"
35
+ },
36
+ "engines": {
37
+ "node": ">=20"
38
+ }
39
+ }