roguelike-cli 1.3.3 → 1.3.5
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 +52 -11
- package/dist/config/config.js +8 -0
- package/dist/data/dictionaries.js +574 -0
- package/dist/data/loot.js +141 -0
- package/dist/interactive/commands.js +30 -15
- package/dist/interactive/startup.js +1 -1
- package/dist/storage/profile.js +222 -97
- package/package.json +1 -1
- package/src/config/config.ts +8 -0
- package/src/data/dictionaries.ts +647 -0
- package/src/data/loot.ts +177 -0
- package/src/interactive/commands.ts +43 -24
- package/src/interactive/startup.ts +1 -1
- package/src/storage/profile.ts +253 -94
package/README.md
CHANGED
|
@@ -94,9 +94,11 @@ Rules change how the AI speaks. Set during `init` or with `config -R="<rules>"`.
|
|
|
94
94
|
| `fantasy` | Quests, dungeons, dragons, loot |
|
|
95
95
|
| `space` | Missions, starships, commanders |
|
|
96
96
|
| `starwars` | Jedi, Force, Rebel Alliance |
|
|
97
|
-
| `western` | Bounties, sheriffs, frontier |
|
|
98
97
|
| `cyberpunk` | Gigs, netrunners, corps |
|
|
99
98
|
| `pirate` | Plunder, treasure, seven seas |
|
|
99
|
+
| `western` | Bounties, sheriffs, frontier |
|
|
100
|
+
| `warhammer` | For the Emperor! Purge heretics |
|
|
101
|
+
| `ninja` | Shinobi, shadows, honor, blades |
|
|
100
102
|
|
|
101
103
|
### Custom Rules
|
|
102
104
|
|
|
@@ -163,7 +165,8 @@ Or select "Custom" during `init` to enter your own rules.
|
|
|
163
165
|
| Command | Description |
|
|
164
166
|
|---------|-------------|
|
|
165
167
|
| `stats` | XP, level, streaks |
|
|
166
|
-
| `achievements` | Achievement list |
|
|
168
|
+
| `achievements` | Achievement list (infinite) |
|
|
169
|
+
| `inventory` | Loot collection |
|
|
167
170
|
| `map` | Dungeon map |
|
|
168
171
|
| `map --ai` | AI-generated map |
|
|
169
172
|
|
|
@@ -218,15 +221,49 @@ Tree shows deadlines:
|
|
|
218
221
|
|
|
219
222
|
## Achievements
|
|
220
223
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
|
224
|
-
|
|
225
|
-
|
|
|
226
|
-
|
|
|
227
|
-
|
|
|
228
|
-
|
|
|
229
|
-
|
|
|
224
|
+
Achievements are infinite and level-based. Keep progressing to unlock more!
|
|
225
|
+
|
|
226
|
+
| Category | Milestones |
|
|
227
|
+
|----------|------------|
|
|
228
|
+
| Tasks | 1, 10, 50, 100, 500, 1000, 2500, 5000... |
|
|
229
|
+
| Bosses | 1, 5, 10, 25, 50, 100... |
|
|
230
|
+
| Streaks | 3, 7, 14, 30, 60, 90, 180, 365 days |
|
|
231
|
+
| Depth | 3, 5, 7, 10, 15, 20 levels |
|
|
232
|
+
| Special | Speedrunner, Night Owl, Early Bird |
|
|
233
|
+
|
|
234
|
+
## Loot System
|
|
235
|
+
|
|
236
|
+
Complete tasks to find loot! Higher level = rarer drops.
|
|
237
|
+
|
|
238
|
+
| Rarity | Drop Rate | Symbol |
|
|
239
|
+
|--------|-----------|--------|
|
|
240
|
+
| Common | ~25% | [.] |
|
|
241
|
+
| Uncommon | ~15% | [+] |
|
|
242
|
+
| Rare | ~8% | [*] |
|
|
243
|
+
| Epic | ~3% | [#] |
|
|
244
|
+
| Legendary | ~1% | [!] |
|
|
245
|
+
|
|
246
|
+
Bonus drops on:
|
|
247
|
+
- Level up: 3x chance
|
|
248
|
+
- Achievement: 2.5x chance
|
|
249
|
+
- Boss completion: 2x chance
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
> inventory
|
|
253
|
+
|
|
254
|
+
=== Inventory (5 items) ===
|
|
255
|
+
|
|
256
|
+
Legendary:
|
|
257
|
+
[!] Excalibur
|
|
258
|
+
|
|
259
|
+
Rare:
|
|
260
|
+
[*] Ring of Protection
|
|
261
|
+
[*] Boots of Speed
|
|
262
|
+
|
|
263
|
+
Common:
|
|
264
|
+
[.] Health Potion
|
|
265
|
+
[.] Torch
|
|
266
|
+
```
|
|
230
267
|
|
|
231
268
|
## Supported Models
|
|
232
269
|
|
|
@@ -244,6 +281,10 @@ grok-beta
|
|
|
244
281
|
|
|
245
282
|
**https://www.rlc.rocks**
|
|
246
283
|
|
|
284
|
+
**Open Source:** [GitHub](https://github.com/creative-ventures/roguelike-cli) | [npm](https://www.npmjs.com/package/roguelike-cli)
|
|
285
|
+
|
|
286
|
+
Designed by [Creative Ventures](https://www.cv.rocks)
|
|
287
|
+
|
|
247
288
|
## License
|
|
248
289
|
|
|
249
290
|
MIT
|
package/dist/config/config.js
CHANGED
|
@@ -81,6 +81,14 @@ exports.RULES_PRESETS = {
|
|
|
81
81
|
name: 'Pirate',
|
|
82
82
|
rules: 'Use pirate language. Tasks are "plunder", completing them is "claiming the treasure". Milestones are "capturing the flagship". Use "captain", "crew", "booty", "seven seas", "landlubber". Arr matey!',
|
|
83
83
|
},
|
|
84
|
+
warhammer: {
|
|
85
|
+
name: 'Warhammer 40K',
|
|
86
|
+
rules: 'Use Warhammer 40K language. Tasks are "missions for the Emperor". Completing is "purging heretics". Milestones are "crusades". Use "Battle-Brother", "Chapter", "Inquisition", "Chaos", "Xenos". For the Emperor!',
|
|
87
|
+
},
|
|
88
|
+
ninja: {
|
|
89
|
+
name: 'Ninja/Samurai',
|
|
90
|
+
rules: 'Use Japanese ninja/samurai language. Tasks are "missions". Completing is "vanquishing enemies". Milestones are "contracts". Use "shinobi", "sensei", "shadow", "honor", "blade". Move like the wind, strike like lightning.',
|
|
91
|
+
},
|
|
84
92
|
};
|
|
85
93
|
const CONFIG_FILE = path.join(os.homedir(), '.rlc', 'config.json');
|
|
86
94
|
const DEFAULT_STORAGE = path.join(os.homedir(), '.rlc', 'workspace');
|