rpg-event-generator 1.1.2 โ 1.1.4
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.
- package/README.md +15 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
A powerful procedural event generation system for RPG games, capable of creating virtually infinite contextual events based on player state and game world.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install rpg-event-generator
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Quick Start
|
|
12
12
|
|
|
13
13
|
```javascript
|
|
14
14
|
import { RPGEventGenerator, generateRPGEvent } from 'rpg-event-generator';
|
|
@@ -26,19 +26,19 @@ console.log(event.description); // Procedurally generated narrative
|
|
|
26
26
|
console.log(event.choices); // Array of meaningful choices
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
##
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- **Infinite Event Generation**: Custom Markov chains create unique, contextual events
|
|
32
|
+
- **Player-Aware**: Events adapt to stats, career, relationships, reputation, and social standing
|
|
33
|
+
- **14+ Event Types**: Court scandals, noble duels, ancient curses, bandit kings, and more
|
|
34
|
+
- **Immersive Storytelling**: Rich narratives with atmospheric descriptions and meaningful consequences
|
|
35
|
+
- **Dynamic Difficulty Scaling**: Events automatically scale based on player power level
|
|
36
|
+
- **Thematic Training Sets**: Fantasy, sci-fi, and historical themes with cultural variants
|
|
37
|
+
- **Event Chains**: Multi-part story sequences with escalating consequences
|
|
38
|
+
- **Time-Based Events**: Seasonal changes and evolving long-term storylines
|
|
39
|
+
- **Modular Event System**: Create and manage custom templates, training data, and chains
|
|
40
|
+
- **Game Integration**: Proper save/load state management for real games
|
|
41
|
+
- **Comprehensive Testing**: 45+ automated tests ensuring reliability
|
|
42
42
|
|
|
43
43
|
## ๐ Usage Guide
|
|
44
44
|
|