rpg-event-generator 1.2.2 → 1.2.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 +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,12 +62,12 @@ Since this is a personal project with a private repository:
|
|
|
62
62
|
|
|
63
63
|
### Enhanced Features (v1.2.0)
|
|
64
64
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
65
|
+
- **Multi-Language Support**: Generate events in different languages with cultural adaptation
|
|
66
|
+
- **Event Dependencies**: Complex prerequisite systems for event triggering
|
|
67
|
+
- **Environmental Modifiers**: Weather, season, and location-based event modifications
|
|
68
|
+
- **NPC Relationships**: Dynamic character relationship networks and social consequences
|
|
69
69
|
|
|
70
|
-
##
|
|
70
|
+
## Usage Guide
|
|
71
71
|
|
|
72
72
|
### Basic Event Generation
|
|
73
73
|
|
|
@@ -222,7 +222,7 @@ const currentTime = generator.getCurrentTime();
|
|
|
222
222
|
console.log(`Day ${currentTime.day}, Season: ${currentTime.season}`);
|
|
223
223
|
```
|
|
224
224
|
|
|
225
|
-
### Multi-Language Support
|
|
225
|
+
### Multi-Language Support
|
|
226
226
|
|
|
227
227
|
Generate events in different languages with cultural adaptation:
|
|
228
228
|
|
|
@@ -241,7 +241,7 @@ const event = generator.generateEvent();
|
|
|
241
241
|
console.log(event.title); // "Embuscade de Brigands"
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
### Environmental Modifiers
|
|
244
|
+
### Environmental Modifiers
|
|
245
245
|
|
|
246
246
|
Weather, season, and location affect event generation:
|
|
247
247
|
|
|
@@ -261,7 +261,7 @@ const event = generator.generateEnhancedEvent({
|
|
|
261
261
|
});
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
### Event Dependencies
|
|
264
|
+
### Event Dependencies
|
|
265
265
|
|
|
266
266
|
Complex prerequisite systems control when events can occur:
|
|
267
267
|
|
|
@@ -285,7 +285,7 @@ const gameState = { completedEvents: new Set(['COURT_INTRODUCTION']) };
|
|
|
285
285
|
const event = generator.generateEnhancedEvent({ gameState });
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
### NPC Relationship Networks
|
|
288
|
+
### NPC Relationship Networks
|
|
289
289
|
|
|
290
290
|
Dynamic character relationships that evolve based on player actions:
|
|
291
291
|
|