@sharpee/lang-en-us 0.9.61-beta
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/LICENSE +21 -0
- package/README.md +105 -0
- package/dist-npm/actions/about.d.ts +35 -0
- package/dist-npm/actions/about.d.ts.map +1 -0
- package/dist-npm/actions/about.js +50 -0
- package/dist-npm/actions/about.js.map +1 -0
- package/dist-npm/actions/again.d.ts +16 -0
- package/dist-npm/actions/again.d.ts.map +1 -0
- package/dist-npm/actions/again.js +23 -0
- package/dist-npm/actions/again.js.map +1 -0
- package/dist-npm/actions/answering.d.ts +29 -0
- package/dist-npm/actions/answering.d.ts.map +1 -0
- package/dist-npm/actions/answering.js +44 -0
- package/dist-npm/actions/answering.js.map +1 -0
- package/dist-npm/actions/asking.d.ts +31 -0
- package/dist-npm/actions/asking.d.ts.map +1 -0
- package/dist-npm/actions/asking.js +44 -0
- package/dist-npm/actions/asking.js.map +1 -0
- package/dist-npm/actions/attacking.d.ts +82 -0
- package/dist-npm/actions/attacking.d.ts.map +1 -0
- package/dist-npm/actions/attacking.js +111 -0
- package/dist-npm/actions/attacking.js.map +1 -0
- package/dist-npm/actions/climbing.d.ts +27 -0
- package/dist-npm/actions/climbing.d.ts.map +1 -0
- package/dist-npm/actions/climbing.js +48 -0
- package/dist-npm/actions/climbing.js.map +1 -0
- package/dist-npm/actions/closing.d.ts +21 -0
- package/dist-npm/actions/closing.d.ts.map +1 -0
- package/dist-npm/actions/closing.js +27 -0
- package/dist-npm/actions/closing.js.map +1 -0
- package/dist-npm/actions/drinking.d.ts +40 -0
- package/dist-npm/actions/drinking.d.ts.map +1 -0
- package/dist-npm/actions/drinking.js +57 -0
- package/dist-npm/actions/drinking.js.map +1 -0
- package/dist-npm/actions/dropping.d.ts +22 -0
- package/dist-npm/actions/dropping.d.ts.map +1 -0
- package/dist-npm/actions/dropping.js +31 -0
- package/dist-npm/actions/dropping.js.map +1 -0
- package/dist-npm/actions/eating.d.ts +37 -0
- package/dist-npm/actions/eating.d.ts.map +1 -0
- package/dist-npm/actions/eating.js +54 -0
- package/dist-npm/actions/eating.js.map +1 -0
- package/dist-npm/actions/entering.d.ts +26 -0
- package/dist-npm/actions/entering.d.ts.map +1 -0
- package/dist-npm/actions/entering.js +49 -0
- package/dist-npm/actions/entering.js.map +1 -0
- package/dist-npm/actions/examining.d.ts +37 -0
- package/dist-npm/actions/examining.d.ts.map +1 -0
- package/dist-npm/actions/examining.js +50 -0
- package/dist-npm/actions/examining.js.map +1 -0
- package/dist-npm/actions/exiting.d.ts +23 -0
- package/dist-npm/actions/exiting.d.ts.map +1 -0
- package/dist-npm/actions/exiting.js +40 -0
- package/dist-npm/actions/exiting.js.map +1 -0
- package/dist-npm/actions/giving.d.ts +30 -0
- package/dist-npm/actions/giving.d.ts.map +1 -0
- package/dist-npm/actions/giving.js +45 -0
- package/dist-npm/actions/giving.js.map +1 -0
- package/dist-npm/actions/going.d.ts +35 -0
- package/dist-npm/actions/going.d.ts.map +1 -0
- package/dist-npm/actions/going.js +45 -0
- package/dist-npm/actions/going.js.map +1 -0
- package/dist-npm/actions/help.d.ts +26 -0
- package/dist-npm/actions/help.d.ts.map +1 -0
- package/dist-npm/actions/help.js +44 -0
- package/dist-npm/actions/help.js.map +1 -0
- package/dist-npm/actions/index.d.ts +1327 -0
- package/dist-npm/actions/index.d.ts.map +1 -0
- package/dist-npm/actions/index.js +208 -0
- package/dist-npm/actions/index.js.map +1 -0
- package/dist-npm/actions/inserting.d.ts +25 -0
- package/dist-npm/actions/inserting.d.ts.map +1 -0
- package/dist-npm/actions/inserting.js +33 -0
- package/dist-npm/actions/inserting.js.map +1 -0
- package/dist-npm/actions/inventory.d.ts +32 -0
- package/dist-npm/actions/inventory.d.ts.map +1 -0
- package/dist-npm/actions/inventory.js +41 -0
- package/dist-npm/actions/inventory.js.map +1 -0
- package/dist-npm/actions/listening.d.ts +26 -0
- package/dist-npm/actions/listening.d.ts.map +1 -0
- package/dist-npm/actions/listening.js +37 -0
- package/dist-npm/actions/listening.js.map +1 -0
- package/dist-npm/actions/locking.d.ts +25 -0
- package/dist-npm/actions/locking.d.ts.map +1 -0
- package/dist-npm/actions/locking.js +33 -0
- package/dist-npm/actions/locking.js.map +1 -0
- package/dist-npm/actions/looking.d.ts +23 -0
- package/dist-npm/actions/looking.d.ts.map +1 -0
- package/dist-npm/actions/looking.js +34 -0
- package/dist-npm/actions/looking.js.map +1 -0
- package/dist-npm/actions/lowering.d.ts +22 -0
- package/dist-npm/actions/lowering.d.ts.map +1 -0
- package/dist-npm/actions/lowering.js +29 -0
- package/dist-npm/actions/lowering.js.map +1 -0
- package/dist-npm/actions/opening.d.ts +23 -0
- package/dist-npm/actions/opening.d.ts.map +1 -0
- package/dist-npm/actions/opening.js +30 -0
- package/dist-npm/actions/opening.js.map +1 -0
- package/dist-npm/actions/pulling.d.ts +35 -0
- package/dist-npm/actions/pulling.d.ts.map +1 -0
- package/dist-npm/actions/pulling.js +53 -0
- package/dist-npm/actions/pulling.js.map +1 -0
- package/dist-npm/actions/pushing.d.ts +30 -0
- package/dist-npm/actions/pushing.d.ts.map +1 -0
- package/dist-npm/actions/pushing.js +45 -0
- package/dist-npm/actions/pushing.js.map +1 -0
- package/dist-npm/actions/putting.d.ts +28 -0
- package/dist-npm/actions/putting.d.ts.map +1 -0
- package/dist-npm/actions/putting.js +40 -0
- package/dist-npm/actions/putting.js.map +1 -0
- package/dist-npm/actions/quitting.d.ts +31 -0
- package/dist-npm/actions/quitting.d.ts.map +1 -0
- package/dist-npm/actions/quitting.js +47 -0
- package/dist-npm/actions/quitting.js.map +1 -0
- package/dist-npm/actions/raising.d.ts +22 -0
- package/dist-npm/actions/raising.d.ts.map +1 -0
- package/dist-npm/actions/raising.js +30 -0
- package/dist-npm/actions/raising.js.map +1 -0
- package/dist-npm/actions/reading.d.ts +23 -0
- package/dist-npm/actions/reading.d.ts.map +1 -0
- package/dist-npm/actions/reading.js +32 -0
- package/dist-npm/actions/reading.js.map +1 -0
- package/dist-npm/actions/removing.d.ts +25 -0
- package/dist-npm/actions/removing.d.ts.map +1 -0
- package/dist-npm/actions/removing.js +34 -0
- package/dist-npm/actions/removing.js.map +1 -0
- package/dist-npm/actions/restoring.d.ts +35 -0
- package/dist-npm/actions/restoring.d.ts.map +1 -0
- package/dist-npm/actions/restoring.js +51 -0
- package/dist-npm/actions/restoring.js.map +1 -0
- package/dist-npm/actions/saving.d.ts +33 -0
- package/dist-npm/actions/saving.d.ts.map +1 -0
- package/dist-npm/actions/saving.js +48 -0
- package/dist-npm/actions/saving.js.map +1 -0
- package/dist-npm/actions/scoring.d.ts +42 -0
- package/dist-npm/actions/scoring.d.ts.map +1 -0
- package/dist-npm/actions/scoring.js +70 -0
- package/dist-npm/actions/scoring.js.map +1 -0
- package/dist-npm/actions/searching.d.ts +26 -0
- package/dist-npm/actions/searching.d.ts.map +1 -0
- package/dist-npm/actions/searching.js +40 -0
- package/dist-npm/actions/searching.js.map +1 -0
- package/dist-npm/actions/showing.d.ts +29 -0
- package/dist-npm/actions/showing.d.ts.map +1 -0
- package/dist-npm/actions/showing.js +40 -0
- package/dist-npm/actions/showing.js.map +1 -0
- package/dist-npm/actions/sleeping.d.ts +28 -0
- package/dist-npm/actions/sleeping.d.ts.map +1 -0
- package/dist-npm/actions/sleeping.js +41 -0
- package/dist-npm/actions/sleeping.js.map +1 -0
- package/dist-npm/actions/smelling.d.ts +30 -0
- package/dist-npm/actions/smelling.d.ts.map +1 -0
- package/dist-npm/actions/smelling.js +43 -0
- package/dist-npm/actions/smelling.js.map +1 -0
- package/dist-npm/actions/switching-off.d.ts +28 -0
- package/dist-npm/actions/switching-off.d.ts.map +1 -0
- package/dist-npm/actions/switching-off.js +42 -0
- package/dist-npm/actions/switching-off.js.map +1 -0
- package/dist-npm/actions/switching-on.d.ts +28 -0
- package/dist-npm/actions/switching-on.d.ts.map +1 -0
- package/dist-npm/actions/switching-on.js +42 -0
- package/dist-npm/actions/switching-on.js.map +1 -0
- package/dist-npm/actions/taking-off.d.ts +20 -0
- package/dist-npm/actions/taking-off.d.ts.map +1 -0
- package/dist-npm/actions/taking-off.js +28 -0
- package/dist-npm/actions/taking-off.js.map +1 -0
- package/dist-npm/actions/taking.d.ts +26 -0
- package/dist-npm/actions/taking.d.ts.map +1 -0
- package/dist-npm/actions/taking.js +36 -0
- package/dist-npm/actions/taking.js.map +1 -0
- package/dist-npm/actions/talking.d.ts +33 -0
- package/dist-npm/actions/talking.d.ts.map +1 -0
- package/dist-npm/actions/talking.js +49 -0
- package/dist-npm/actions/talking.js.map +1 -0
- package/dist-npm/actions/telling.d.ts +30 -0
- package/dist-npm/actions/telling.d.ts.map +1 -0
- package/dist-npm/actions/telling.js +42 -0
- package/dist-npm/actions/telling.js.map +1 -0
- package/dist-npm/actions/throwing.d.ts +39 -0
- package/dist-npm/actions/throwing.d.ts.map +1 -0
- package/dist-npm/actions/throwing.js +60 -0
- package/dist-npm/actions/throwing.js.map +1 -0
- package/dist-npm/actions/touching.d.ts +36 -0
- package/dist-npm/actions/touching.d.ts.map +1 -0
- package/dist-npm/actions/touching.js +50 -0
- package/dist-npm/actions/touching.js.map +1 -0
- package/dist-npm/actions/turning.d.ts +40 -0
- package/dist-npm/actions/turning.d.ts.map +1 -0
- package/dist-npm/actions/turning.js +62 -0
- package/dist-npm/actions/turning.js.map +1 -0
- package/dist-npm/actions/undoing.d.ts +19 -0
- package/dist-npm/actions/undoing.d.ts.map +1 -0
- package/dist-npm/actions/undoing.js +26 -0
- package/dist-npm/actions/undoing.js.map +1 -0
- package/dist-npm/actions/unlocking.d.ts +25 -0
- package/dist-npm/actions/unlocking.d.ts.map +1 -0
- package/dist-npm/actions/unlocking.js +32 -0
- package/dist-npm/actions/unlocking.js.map +1 -0
- package/dist-npm/actions/using.d.ts +43 -0
- package/dist-npm/actions/using.d.ts.map +1 -0
- package/dist-npm/actions/using.js +61 -0
- package/dist-npm/actions/using.js.map +1 -0
- package/dist-npm/actions/version.d.ts +18 -0
- package/dist-npm/actions/version.d.ts.map +1 -0
- package/dist-npm/actions/version.js +26 -0
- package/dist-npm/actions/version.js.map +1 -0
- package/dist-npm/actions/waiting.d.ts +27 -0
- package/dist-npm/actions/waiting.d.ts.map +1 -0
- package/dist-npm/actions/waiting.js +36 -0
- package/dist-npm/actions/waiting.js.map +1 -0
- package/dist-npm/actions/wearing.d.ts +22 -0
- package/dist-npm/actions/wearing.d.ts.map +1 -0
- package/dist-npm/actions/wearing.js +30 -0
- package/dist-npm/actions/wearing.js.map +1 -0
- package/dist-npm/data/events.d.ts +134 -0
- package/dist-npm/data/events.d.ts.map +1 -0
- package/dist-npm/data/events.js +301 -0
- package/dist-npm/data/events.js.map +1 -0
- package/dist-npm/data/messages.d.ts +141 -0
- package/dist-npm/data/messages.d.ts.map +1 -0
- package/dist-npm/data/messages.js +300 -0
- package/dist-npm/data/messages.js.map +1 -0
- package/dist-npm/data/templates.d.ts +257 -0
- package/dist-npm/data/templates.d.ts.map +1 -0
- package/dist-npm/data/templates.js +289 -0
- package/dist-npm/data/templates.js.map +1 -0
- package/dist-npm/data/verbs.d.ts +68 -0
- package/dist-npm/data/verbs.d.ts.map +1 -0
- package/dist-npm/data/verbs.js +324 -0
- package/dist-npm/data/verbs.js.map +1 -0
- package/dist-npm/data/words.d.ts +79 -0
- package/dist-npm/data/words.d.ts.map +1 -0
- package/dist-npm/data/words.js +218 -0
- package/dist-npm/data/words.js.map +1 -0
- package/dist-npm/formatters/article.d.ts +41 -0
- package/dist-npm/formatters/article.d.ts.map +1 -0
- package/dist-npm/formatters/article.js +143 -0
- package/dist-npm/formatters/article.js.map +1 -0
- package/dist-npm/formatters/index.d.ts +18 -0
- package/dist-npm/formatters/index.d.ts.map +1 -0
- package/dist-npm/formatters/index.js +38 -0
- package/dist-npm/formatters/index.js.map +1 -0
- package/dist-npm/formatters/list.d.ts +38 -0
- package/dist-npm/formatters/list.d.ts.map +1 -0
- package/dist-npm/formatters/list.js +94 -0
- package/dist-npm/formatters/list.js.map +1 -0
- package/dist-npm/formatters/registry.d.ts +48 -0
- package/dist-npm/formatters/registry.d.ts.map +1 -0
- package/dist-npm/formatters/registry.js +128 -0
- package/dist-npm/formatters/registry.js.map +1 -0
- package/dist-npm/formatters/text.d.ts +33 -0
- package/dist-npm/formatters/text.d.ts.map +1 -0
- package/dist-npm/formatters/text.js +80 -0
- package/dist-npm/formatters/text.js.map +1 -0
- package/dist-npm/formatters/types.d.ts +41 -0
- package/dist-npm/formatters/types.d.ts.map +1 -0
- package/dist-npm/formatters/types.js +14 -0
- package/dist-npm/formatters/types.js.map +1 -0
- package/dist-npm/grammar.d.ts +189 -0
- package/dist-npm/grammar.d.ts.map +1 -0
- package/dist-npm/grammar.js +203 -0
- package/dist-npm/grammar.js.map +1 -0
- package/dist-npm/index.d.ts +22 -0
- package/dist-npm/index.d.ts.map +1 -0
- package/dist-npm/index.js +59 -0
- package/dist-npm/index.js.map +1 -0
- package/dist-npm/language-provider.d.ts +159 -0
- package/dist-npm/language-provider.d.ts.map +1 -0
- package/dist-npm/language-provider.js +527 -0
- package/dist-npm/language-provider.js.map +1 -0
- package/dist-npm/npc/index.d.ts +5 -0
- package/dist-npm/npc/index.d.ts.map +1 -0
- package/dist-npm/npc/index.js +21 -0
- package/dist-npm/npc/index.js.map +1 -0
- package/dist-npm/npc/npc.d.ts +43 -0
- package/dist-npm/npc/npc.d.ts.map +1 -0
- package/dist-npm/npc/npc.js +55 -0
- package/dist-npm/npc/npc.js.map +1 -0
- package/dist-npm/perspective/index.d.ts +5 -0
- package/dist-npm/perspective/index.d.ts.map +1 -0
- package/dist-npm/perspective/index.js +12 -0
- package/dist-npm/perspective/index.js.map +1 -0
- package/dist-npm/perspective/placeholder-resolver.d.ts +102 -0
- package/dist-npm/perspective/placeholder-resolver.d.ts.map +1 -0
- package/dist-npm/perspective/placeholder-resolver.js +275 -0
- package/dist-npm/perspective/placeholder-resolver.js.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for restoring action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.restoringLanguage = void 0;
|
|
7
|
+
exports.restoringLanguage = {
|
|
8
|
+
actionId: 'if.action.restoring',
|
|
9
|
+
patterns: [
|
|
10
|
+
'restore',
|
|
11
|
+
'restore [name]',
|
|
12
|
+
'load',
|
|
13
|
+
'load [name]',
|
|
14
|
+
'load game',
|
|
15
|
+
'restore game'
|
|
16
|
+
],
|
|
17
|
+
messages: {
|
|
18
|
+
// Success messages
|
|
19
|
+
'game_restored': "Game restored.",
|
|
20
|
+
'game_loaded': "Game loaded from '{saveName}'.",
|
|
21
|
+
'restore_successful': "{Your} saved game has been restored successfully.",
|
|
22
|
+
'welcome_back': "Welcome back! Game restored from {saveName}.",
|
|
23
|
+
// Restore details
|
|
24
|
+
'restore_details': "Restored: {saveName}\nScore: {score}\nMoves: {moves}",
|
|
25
|
+
'quick_restore': "Quick restore completed.",
|
|
26
|
+
'resuming_game': "Resuming {your} adventure...",
|
|
27
|
+
// Error messages
|
|
28
|
+
'restore_failed': "Failed to restore game.",
|
|
29
|
+
'save_not_found': "No save named '{saveName}' was found.",
|
|
30
|
+
'no_saves': "No saved games found.",
|
|
31
|
+
'corrupt_save': "The save file '{saveName}' appears to be corrupted.",
|
|
32
|
+
'incompatible_save': "This save file is from a different version and cannot be loaded.",
|
|
33
|
+
'restore_not_allowed': "{You} cannot restore a game at this time.",
|
|
34
|
+
// Confirmation messages
|
|
35
|
+
'confirm_restore': "Restore game from '{saveName}'? Current progress will be lost.",
|
|
36
|
+
'unsaved_progress': "{You} {have} unsaved progress. Restore anyway?",
|
|
37
|
+
// Save list
|
|
38
|
+
'available_saves': "Available saves: {saves}",
|
|
39
|
+
'no_saves_available': "No saved games available.",
|
|
40
|
+
'choose_save': "Which save would {you} like to restore?",
|
|
41
|
+
// Import messages
|
|
42
|
+
'import_save': "Import a save file to restore.",
|
|
43
|
+
'save_imported': "Save file imported successfully."
|
|
44
|
+
},
|
|
45
|
+
help: {
|
|
46
|
+
description: 'Restore a previously saved game.',
|
|
47
|
+
examples: 'restore, load, restore mysave, load "Chapter 2"',
|
|
48
|
+
summary: 'RESTORE/LOAD - Restore a previously saved game. Example: RESTORE'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=restoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restoring.js","sourceRoot":"","sources":["../../src/actions/restoring.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,qBAAqB;IAE/B,QAAQ,EAAE;QACR,SAAS;QACT,gBAAgB;QAChB,MAAM;QACN,aAAa;QACb,WAAW;QACX,cAAc;KACf;IAED,QAAQ,EAAE;QACR,mBAAmB;QACnB,eAAe,EAAE,gBAAgB;QACjC,aAAa,EAAE,gCAAgC;QAC/C,oBAAoB,EAAE,mDAAmD;QACzE,cAAc,EAAE,8CAA8C;QAE9D,kBAAkB;QAClB,iBAAiB,EAAE,sDAAsD;QACzE,eAAe,EAAE,0BAA0B;QAC3C,eAAe,EAAE,8BAA8B;QAE/C,iBAAiB;QACjB,gBAAgB,EAAE,yBAAyB;QAC3C,gBAAgB,EAAE,uCAAuC;QACzD,UAAU,EAAE,uBAAuB;QACnC,cAAc,EAAE,qDAAqD;QACrE,mBAAmB,EAAE,kEAAkE;QACvF,qBAAqB,EAAE,2CAA2C;QAElE,wBAAwB;QACxB,iBAAiB,EAAE,gEAAgE;QACnF,kBAAkB,EAAE,gDAAgD;QAEpE,YAAY;QACZ,iBAAiB,EAAE,0BAA0B;QAC7C,oBAAoB,EAAE,2BAA2B;QACjD,aAAa,EAAE,yCAAyC;QAExD,kBAAkB;QAClB,aAAa,EAAE,gCAAgC;QAC/C,eAAe,EAAE,kCAAkC;KACpD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,kCAAkC;QAC/C,QAAQ,EAAE,iDAAiD;QAC3D,OAAO,EAAE,kEAAkE;KAC5E;CACF,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for saving action
|
|
3
|
+
*/
|
|
4
|
+
export declare const savingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
game_saved: string;
|
|
9
|
+
game_saved_as: string;
|
|
10
|
+
save_successful: string;
|
|
11
|
+
save_slot: string;
|
|
12
|
+
overwrite_save: string;
|
|
13
|
+
save_details: string;
|
|
14
|
+
quick_save: string;
|
|
15
|
+
auto_save: string;
|
|
16
|
+
save_failed: string;
|
|
17
|
+
no_save_slots: string;
|
|
18
|
+
invalid_save_name: string;
|
|
19
|
+
save_not_allowed: string;
|
|
20
|
+
save_in_progress: string;
|
|
21
|
+
confirm_overwrite: string;
|
|
22
|
+
save_reminder: string;
|
|
23
|
+
saved_locally: string;
|
|
24
|
+
saved_to_cloud: string;
|
|
25
|
+
save_exported: string;
|
|
26
|
+
};
|
|
27
|
+
help: {
|
|
28
|
+
description: string;
|
|
29
|
+
examples: string;
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=saving.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saving.d.ts","sourceRoot":"","sources":["../../src/actions/saving.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C1B,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for saving action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.savingLanguage = void 0;
|
|
7
|
+
exports.savingLanguage = {
|
|
8
|
+
actionId: 'if.action.saving',
|
|
9
|
+
patterns: [
|
|
10
|
+
'save',
|
|
11
|
+
'save game',
|
|
12
|
+
'save [name]',
|
|
13
|
+
'save as [name]',
|
|
14
|
+
'store',
|
|
15
|
+
'store game'
|
|
16
|
+
],
|
|
17
|
+
messages: {
|
|
18
|
+
// Success messages
|
|
19
|
+
'game_saved': "Game saved.",
|
|
20
|
+
'game_saved_as': "Game saved as '{saveName}'.",
|
|
21
|
+
'save_successful': "{Your} game has been saved successfully.",
|
|
22
|
+
'save_slot': "Game saved to slot {saveName}.",
|
|
23
|
+
'overwrite_save': "Previous save '{saveName}' has been overwritten.",
|
|
24
|
+
// Save details
|
|
25
|
+
'save_details': "Saved: {saveName}\nScore: {score}\nMoves: {moves}",
|
|
26
|
+
'quick_save': "Quick save completed.",
|
|
27
|
+
'auto_save': "Auto-saving game...",
|
|
28
|
+
// Error messages
|
|
29
|
+
'save_failed': "Failed to save game.",
|
|
30
|
+
'no_save_slots': "No save slots available.",
|
|
31
|
+
'invalid_save_name': "'{saveName}' is not a valid save name.",
|
|
32
|
+
'save_not_allowed': "{You} cannot save the game at this time.",
|
|
33
|
+
'save_in_progress': "Another save is already in progress.",
|
|
34
|
+
// Confirmation messages
|
|
35
|
+
'confirm_overwrite': "A save named '{saveName}' already exists. Overwrite it?",
|
|
36
|
+
'save_reminder': "Don't forget to save {your} game regularly!",
|
|
37
|
+
// Save location info
|
|
38
|
+
'saved_locally': "Game saved to local storage.",
|
|
39
|
+
'saved_to_cloud': "Game saved to cloud storage.",
|
|
40
|
+
'save_exported': "Save file exported successfully."
|
|
41
|
+
},
|
|
42
|
+
help: {
|
|
43
|
+
description: 'Save your current game progress.',
|
|
44
|
+
examples: 'save, save game, save mysave, save as "Chapter 2"',
|
|
45
|
+
summary: 'SAVE - Save your current game progress. Example: SAVE'
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=saving.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saving.js","sourceRoot":"","sources":["../../src/actions/saving.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,kBAAkB;IAE5B,QAAQ,EAAE;QACR,MAAM;QACN,WAAW;QACX,aAAa;QACb,gBAAgB;QAChB,OAAO;QACP,YAAY;KACb;IAED,QAAQ,EAAE;QACR,mBAAmB;QACnB,YAAY,EAAE,aAAa;QAC3B,eAAe,EAAE,6BAA6B;QAC9C,iBAAiB,EAAE,0CAA0C;QAC7D,WAAW,EAAE,gCAAgC;QAC7C,gBAAgB,EAAE,kDAAkD;QAEpE,eAAe;QACf,cAAc,EAAE,mDAAmD;QACnE,YAAY,EAAE,uBAAuB;QACrC,WAAW,EAAE,qBAAqB;QAElC,iBAAiB;QACjB,aAAa,EAAE,sBAAsB;QACrC,eAAe,EAAE,0BAA0B;QAC3C,mBAAmB,EAAE,wCAAwC;QAC7D,kBAAkB,EAAE,0CAA0C;QAC9D,kBAAkB,EAAE,sCAAsC;QAE1D,wBAAwB;QACxB,mBAAmB,EAAE,yDAAyD;QAC9E,eAAe,EAAE,6CAA6C;QAE9D,qBAAqB;QACrB,eAAe,EAAE,8BAA8B;QAC/C,gBAAgB,EAAE,8BAA8B;QAChD,eAAe,EAAE,kCAAkC;KACpD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,kCAAkC;QAC/C,QAAQ,EAAE,mDAAmD;QAC7D,OAAO,EAAE,uDAAuD;KACjE;CACF,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for scoring action (ADR-085)
|
|
3
|
+
*/
|
|
4
|
+
export declare const scoringLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
no_scoring: string;
|
|
9
|
+
scoring_not_enabled: string;
|
|
10
|
+
score_display: string;
|
|
11
|
+
score_simple: string;
|
|
12
|
+
score_with_rank: string;
|
|
13
|
+
perfect_score: string;
|
|
14
|
+
rank_novice: string;
|
|
15
|
+
rank_amateur: string;
|
|
16
|
+
rank_proficient: string;
|
|
17
|
+
rank_expert: string;
|
|
18
|
+
rank_master: string;
|
|
19
|
+
with_achievements: string;
|
|
20
|
+
no_achievements: string;
|
|
21
|
+
early_game: string;
|
|
22
|
+
mid_game: string;
|
|
23
|
+
late_game: string;
|
|
24
|
+
game_complete: string;
|
|
25
|
+
};
|
|
26
|
+
help: {
|
|
27
|
+
description: string;
|
|
28
|
+
examples: string;
|
|
29
|
+
summary: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Scoring system messages (ADR-085)
|
|
34
|
+
*
|
|
35
|
+
* These are registered with TextService for i18n support.
|
|
36
|
+
* Stories can override by registering their own messages with the same IDs.
|
|
37
|
+
*
|
|
38
|
+
* Note: TextService integration with dynamic messages (functions) is a future enhancement.
|
|
39
|
+
* For now, messages are static strings.
|
|
40
|
+
*/
|
|
41
|
+
export declare const scoringSystemMessages: Record<string, string>;
|
|
42
|
+
//# sourceMappingURL=scoring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scoring.d.ts","sourceRoot":"","sources":["../../src/actions/scoring.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C3B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkBxD,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for scoring action (ADR-085)
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.scoringSystemMessages = exports.scoringLanguage = void 0;
|
|
7
|
+
exports.scoringLanguage = {
|
|
8
|
+
actionId: 'if.action.scoring',
|
|
9
|
+
patterns: [
|
|
10
|
+
'score',
|
|
11
|
+
'points'
|
|
12
|
+
],
|
|
13
|
+
messages: {
|
|
14
|
+
// Disabled scoring (ADR-085) - static message, stories can override
|
|
15
|
+
'no_scoring': "This isn't that kind of game.",
|
|
16
|
+
// Error messages (legacy)
|
|
17
|
+
'scoring_not_enabled': "There is no score in this game.",
|
|
18
|
+
// Score display messages
|
|
19
|
+
'score_display': "{You} {have} scored {score} out of a possible {maxScore}, in {moves} turns.",
|
|
20
|
+
'score_simple': "{Your} score is {score} points.",
|
|
21
|
+
'score_with_rank': "{You} {have} scored {score} out of {maxScore}, earning {you} the rank of {rank}.",
|
|
22
|
+
'perfect_score': "{You} {have} achieved a perfect score of {maxScore} points!",
|
|
23
|
+
// Rank-specific messages (legacy - now use message IDs)
|
|
24
|
+
'rank_novice': "{You} {are} ranked as a Novice adventurer.",
|
|
25
|
+
'rank_amateur': "{You} {are} ranked as an Amateur adventurer.",
|
|
26
|
+
'rank_proficient': "{You} {are} ranked as a Proficient adventurer.",
|
|
27
|
+
'rank_expert': "{You} {are} ranked as an Expert adventurer.",
|
|
28
|
+
'rank_master': "{You} {are} ranked as a Master adventurer!",
|
|
29
|
+
// Achievement messages
|
|
30
|
+
'with_achievements': "{You} {have} earned the following achievements: {achievements}.",
|
|
31
|
+
'no_achievements': "{You} {have}n't earned any special achievements yet.",
|
|
32
|
+
// Progress messages
|
|
33
|
+
'early_game': "{You're} just getting started!",
|
|
34
|
+
'mid_game': "{You're} making good progress.",
|
|
35
|
+
'late_game': "{You're} nearing the end of {your} adventure.",
|
|
36
|
+
'game_complete': "{You} {have} completed the game!"
|
|
37
|
+
},
|
|
38
|
+
help: {
|
|
39
|
+
description: 'Display your current score and game progress.',
|
|
40
|
+
examples: 'score, points',
|
|
41
|
+
summary: 'SCORE - Display your current score and game progress. Example: SCORE'
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Scoring system messages (ADR-085)
|
|
46
|
+
*
|
|
47
|
+
* These are registered with TextService for i18n support.
|
|
48
|
+
* Stories can override by registering their own messages with the same IDs.
|
|
49
|
+
*
|
|
50
|
+
* Note: TextService integration with dynamic messages (functions) is a future enhancement.
|
|
51
|
+
* For now, messages are static strings.
|
|
52
|
+
*/
|
|
53
|
+
exports.scoringSystemMessages = {
|
|
54
|
+
// Score change messages (use {points} placeholder)
|
|
55
|
+
'if.score.gained': '{Your} score just increased by {points} points.',
|
|
56
|
+
'if.score.lost': '{You} just lost {points} points!',
|
|
57
|
+
'if.score.display': '{You} {have} scored {score} out of {maxScore}, earning {you} the rank of {rank}.',
|
|
58
|
+
// No-scoring response
|
|
59
|
+
'if.score.no_scoring': "This isn't that kind of game.",
|
|
60
|
+
// Default rank names
|
|
61
|
+
'if.rank.beginner': 'Beginner',
|
|
62
|
+
'if.rank.novice': 'Novice',
|
|
63
|
+
'if.rank.amateur': 'Amateur',
|
|
64
|
+
'if.rank.experienced': 'Experienced',
|
|
65
|
+
'if.rank.proficient': 'Proficient',
|
|
66
|
+
'if.rank.expert': 'Expert',
|
|
67
|
+
'if.rank.master': 'Master',
|
|
68
|
+
'if.rank.winner': 'Winner'
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=scoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scoring.js","sourceRoot":"","sources":["../../src/actions/scoring.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAE,mBAAmB;IAE7B,QAAQ,EAAE;QACR,OAAO;QACP,QAAQ;KACT;IAED,QAAQ,EAAE;QACR,oEAAoE;QACpE,YAAY,EAAE,+BAA+B;QAE7C,0BAA0B;QAC1B,qBAAqB,EAAE,iCAAiC;QAExD,yBAAyB;QACzB,eAAe,EAAE,6EAA6E;QAC9F,cAAc,EAAE,iCAAiC;QACjD,iBAAiB,EAAE,kFAAkF;QACrG,eAAe,EAAE,6DAA6D;QAE9E,wDAAwD;QACxD,aAAa,EAAE,4CAA4C;QAC3D,cAAc,EAAE,8CAA8C;QAC9D,iBAAiB,EAAE,gDAAgD;QACnE,aAAa,EAAE,6CAA6C;QAC5D,aAAa,EAAE,4CAA4C;QAE3D,uBAAuB;QACvB,mBAAmB,EAAE,iEAAiE;QACtF,iBAAiB,EAAE,sDAAsD;QAEzE,oBAAoB;QACpB,YAAY,EAAE,gCAAgC;QAC9C,UAAU,EAAE,gCAAgC;QAC5C,WAAW,EAAE,+CAA+C;QAC5D,eAAe,EAAE,kCAAkC;KACpD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,+CAA+C;QAC5D,QAAQ,EAAE,eAAe;QACzB,OAAO,EAAE,sEAAsE;KAChF;CACF,CAAC;AAEF;;;;;;;;GAQG;AACU,QAAA,qBAAqB,GAA2B;IAC3D,mDAAmD;IACnD,iBAAiB,EAAE,iDAAiD;IACpE,eAAe,EAAE,kCAAkC;IACnD,kBAAkB,EAAE,kFAAkF;IAEtG,sBAAsB;IACtB,qBAAqB,EAAE,+BAA+B;IAEtD,qBAAqB;IACrB,kBAAkB,EAAE,UAAU;IAC9B,gBAAgB,EAAE,QAAQ;IAC1B,iBAAiB,EAAE,SAAS;IAC5B,qBAAqB,EAAE,aAAa;IACpC,oBAAoB,EAAE,YAAY;IAClC,gBAAgB,EAAE,QAAQ;IAC1B,gBAAgB,EAAE,QAAQ;IAC1B,gBAAgB,EAAE,QAAQ;CAC3B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for searching action
|
|
3
|
+
*/
|
|
4
|
+
export declare const searchingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
not_visible: string;
|
|
9
|
+
not_reachable: string;
|
|
10
|
+
container_closed: string;
|
|
11
|
+
nothing_special: string;
|
|
12
|
+
found_items: string;
|
|
13
|
+
empty_container: string;
|
|
14
|
+
container_contents: string;
|
|
15
|
+
supporter_contents: string;
|
|
16
|
+
searched_location: string;
|
|
17
|
+
searched_object: string;
|
|
18
|
+
found_concealed: string;
|
|
19
|
+
};
|
|
20
|
+
help: {
|
|
21
|
+
description: string;
|
|
22
|
+
examples: string;
|
|
23
|
+
summary: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=searching.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searching.d.ts","sourceRoot":"","sources":["../../src/actions/searching.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;CAoC7B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for searching action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.searchingLanguage = void 0;
|
|
7
|
+
exports.searchingLanguage = {
|
|
8
|
+
actionId: 'if.action.searching',
|
|
9
|
+
patterns: [
|
|
10
|
+
'search [something]',
|
|
11
|
+
'look in [something]',
|
|
12
|
+
'look inside [something]',
|
|
13
|
+
'look through [something]',
|
|
14
|
+
'rummage [something]',
|
|
15
|
+
'rummage in [something]',
|
|
16
|
+
'rummage through [something]',
|
|
17
|
+
'examine [something] closely'
|
|
18
|
+
],
|
|
19
|
+
messages: {
|
|
20
|
+
// Error messages
|
|
21
|
+
'not_visible': "{You} {can't} see {target} to search it.",
|
|
22
|
+
'not_reachable': "{You} {can't} reach {target} to search it.",
|
|
23
|
+
'container_closed': "{target} is closed.",
|
|
24
|
+
// Success messages
|
|
25
|
+
'nothing_special': "{You} {find} nothing of interest.",
|
|
26
|
+
'found_items': "{You} {discover}: {items}.",
|
|
27
|
+
'empty_container': "{target} is empty.",
|
|
28
|
+
'container_contents': "In {target} {you} {see}: {items}.",
|
|
29
|
+
'supporter_contents': "On {target} {you} {see}: {items}.",
|
|
30
|
+
'searched_location': "{You} {search} around carefully.",
|
|
31
|
+
'searched_object': "{You} {search} {target} thoroughly.",
|
|
32
|
+
'found_concealed': "Hidden {where}, {you} {discover}: {items}."
|
|
33
|
+
},
|
|
34
|
+
help: {
|
|
35
|
+
description: 'Search objects or locations for hidden items or additional details.',
|
|
36
|
+
examples: 'search desk, look in drawer, rummage through bag, examine closely',
|
|
37
|
+
summary: 'SEARCH/LOOK IN - Search objects or locations for hidden items or additional details. Example: SEARCH DESK'
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=searching.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searching.js","sourceRoot":"","sources":["../../src/actions/searching.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,qBAAqB;IAE/B,QAAQ,EAAE;QACR,oBAAoB;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,0BAA0B;QAC1B,qBAAqB;QACrB,wBAAwB;QACxB,6BAA6B;QAC7B,6BAA6B;KAC9B;IAED,QAAQ,EAAE;QACR,iBAAiB;QACjB,aAAa,EAAE,0CAA0C;QACzD,eAAe,EAAE,4CAA4C;QAC7D,kBAAkB,EAAE,qBAAqB;QAEzC,mBAAmB;QACnB,iBAAiB,EAAE,mCAAmC;QACtD,aAAa,EAAE,4BAA4B;QAC3C,iBAAiB,EAAE,oBAAoB;QACvC,oBAAoB,EAAE,mCAAmC;QACzD,oBAAoB,EAAE,mCAAmC;QACzD,mBAAmB,EAAE,kCAAkC;QACvD,iBAAiB,EAAE,qCAAqC;QACxD,iBAAiB,EAAE,4CAA4C;KAChE;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,qEAAqE;QAClF,QAAQ,EAAE,mEAAmE;QAC7E,OAAO,EAAE,2GAA2G;KACrH;CACF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for showing action
|
|
3
|
+
*/
|
|
4
|
+
export declare const showingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
no_item: string;
|
|
9
|
+
no_viewer: string;
|
|
10
|
+
not_carrying: string;
|
|
11
|
+
viewer_not_visible: string;
|
|
12
|
+
viewer_too_far: string;
|
|
13
|
+
not_actor: string;
|
|
14
|
+
self: string;
|
|
15
|
+
shown: string;
|
|
16
|
+
viewer_examines: string;
|
|
17
|
+
viewer_nods: string;
|
|
18
|
+
viewer_impressed: string;
|
|
19
|
+
viewer_unimpressed: string;
|
|
20
|
+
viewer_recognizes: string;
|
|
21
|
+
wearing_shown: string;
|
|
22
|
+
};
|
|
23
|
+
help: {
|
|
24
|
+
description: string;
|
|
25
|
+
examples: string;
|
|
26
|
+
summary: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=showing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showing.d.ts","sourceRoot":"","sources":["../../src/actions/showing.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;CAoC3B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for showing action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.showingLanguage = void 0;
|
|
7
|
+
exports.showingLanguage = {
|
|
8
|
+
actionId: 'if.action.showing',
|
|
9
|
+
patterns: [
|
|
10
|
+
'show [something] to [someone]',
|
|
11
|
+
'show [someone] [something]',
|
|
12
|
+
'display [something] to [someone]',
|
|
13
|
+
'reveal [something] to [someone]',
|
|
14
|
+
'present [something] to [someone]'
|
|
15
|
+
],
|
|
16
|
+
messages: {
|
|
17
|
+
// Error messages
|
|
18
|
+
'no_item': "Show what?",
|
|
19
|
+
'no_viewer': "Show it to whom?",
|
|
20
|
+
'not_carrying': "{You} aren't carrying {item}.",
|
|
21
|
+
'viewer_not_visible': "{You} {can't} see {viewer}.",
|
|
22
|
+
'viewer_too_far': "{viewer} is too far away to see clearly.",
|
|
23
|
+
'not_actor': "{You} can only show things to people.",
|
|
24
|
+
'self': "{You} {examine} {item} closely.",
|
|
25
|
+
// Success messages
|
|
26
|
+
'shown': "{You} {show} {item} to {viewer}.",
|
|
27
|
+
'viewer_examines': "{viewer} examines {item} carefully.",
|
|
28
|
+
'viewer_nods': "{viewer} nods.",
|
|
29
|
+
'viewer_impressed': "{viewer} looks impressed.",
|
|
30
|
+
'viewer_unimpressed': "{viewer} seems unimpressed.",
|
|
31
|
+
'viewer_recognizes': "{viewer} recognizes {item}!",
|
|
32
|
+
'wearing_shown': "{You} {show} {viewer} that {you're} wearing {item}."
|
|
33
|
+
},
|
|
34
|
+
help: {
|
|
35
|
+
description: 'Show objects to other characters without giving them away.',
|
|
36
|
+
examples: 'show badge to guard, show merchant the gem, display painting to curator',
|
|
37
|
+
summary: 'SHOW TO - Show objects to other characters. Example: SHOW BADGE TO GUARD'
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=showing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showing.js","sourceRoot":"","sources":["../../src/actions/showing.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAE,mBAAmB;IAE7B,QAAQ,EAAE;QACR,+BAA+B;QAC/B,4BAA4B;QAC5B,kCAAkC;QAClC,iCAAiC;QACjC,kCAAkC;KACnC;IAED,QAAQ,EAAE;QACR,iBAAiB;QACjB,SAAS,EAAE,YAAY;QACvB,WAAW,EAAE,kBAAkB;QAC/B,cAAc,EAAE,+BAA+B;QAC/C,oBAAoB,EAAE,6BAA6B;QACnD,gBAAgB,EAAE,0CAA0C;QAC5D,WAAW,EAAE,uCAAuC;QACpD,MAAM,EAAE,iCAAiC;QAEzC,mBAAmB;QACnB,OAAO,EAAE,kCAAkC;QAC3C,iBAAiB,EAAE,qCAAqC;QACxD,aAAa,EAAE,gBAAgB;QAC/B,kBAAkB,EAAE,2BAA2B;QAC/C,oBAAoB,EAAE,6BAA6B;QACnD,mBAAmB,EAAE,6BAA6B;QAClD,eAAe,EAAE,qDAAqD;KACvE;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,4DAA4D;QACzE,QAAQ,EAAE,yEAAyE;QACnF,OAAO,EAAE,0EAA0E;KACpF;CACF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for sleeping action
|
|
3
|
+
*/
|
|
4
|
+
export declare const sleepingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
slept: string;
|
|
9
|
+
dozed_off: string;
|
|
10
|
+
fell_asleep: string;
|
|
11
|
+
brief_nap: string;
|
|
12
|
+
deep_sleep: string;
|
|
13
|
+
slept_fitfully: string;
|
|
14
|
+
cant_sleep_here: string;
|
|
15
|
+
too_dangerous_to_sleep: string;
|
|
16
|
+
already_well_rested: string;
|
|
17
|
+
woke_refreshed: string;
|
|
18
|
+
disturbed_sleep: string;
|
|
19
|
+
nightmares: string;
|
|
20
|
+
peaceful_sleep: string;
|
|
21
|
+
};
|
|
22
|
+
help: {
|
|
23
|
+
description: string;
|
|
24
|
+
examples: string;
|
|
25
|
+
summary: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=sleeping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sleeping.d.ts","sourceRoot":"","sources":["../../src/actions/sleeping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAsC5B,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for sleeping action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.sleepingLanguage = void 0;
|
|
7
|
+
exports.sleepingLanguage = {
|
|
8
|
+
actionId: 'if.action.sleeping',
|
|
9
|
+
patterns: [
|
|
10
|
+
'sleep',
|
|
11
|
+
'nap',
|
|
12
|
+
'doze',
|
|
13
|
+
'rest',
|
|
14
|
+
'slumber',
|
|
15
|
+
'z'
|
|
16
|
+
],
|
|
17
|
+
messages: {
|
|
18
|
+
// Success messages
|
|
19
|
+
'slept': "{You} {sleep} for a while.",
|
|
20
|
+
'dozed_off': "{You} {doze} off for a bit.",
|
|
21
|
+
'fell_asleep': "{You} {fall} into a deep sleep.",
|
|
22
|
+
'brief_nap': "{You} {take} a brief nap.",
|
|
23
|
+
'deep_sleep': "{You} {fall} into a deep, restful sleep.",
|
|
24
|
+
'slept_fitfully': "{You} {sleep} fitfully.",
|
|
25
|
+
// Failure messages
|
|
26
|
+
'cant_sleep_here': "{You} {can't} sleep in {location}.",
|
|
27
|
+
'too_dangerous_to_sleep': "It's too dangerous to sleep in {location}.",
|
|
28
|
+
'already_well_rested': "{You're} already well-rested and don't feel tired.",
|
|
29
|
+
// Quality of sleep
|
|
30
|
+
'woke_refreshed': "{You} {wake} feeling refreshed.",
|
|
31
|
+
'disturbed_sleep': "{Your} sleep is disturbed.",
|
|
32
|
+
'nightmares': "{You} {have} unsettling dreams.",
|
|
33
|
+
'peaceful_sleep': "{You} {enjoy} a peaceful sleep."
|
|
34
|
+
},
|
|
35
|
+
help: {
|
|
36
|
+
description: 'Sleep or take a nap to pass time.',
|
|
37
|
+
examples: 'sleep, nap, doze, rest',
|
|
38
|
+
summary: 'SLEEP/NAP - Sleep or take a nap to pass time. May have different effects depending on location and circumstances. Example: SLEEP'
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=sleeping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sleeping.js","sourceRoot":"","sources":["../../src/actions/sleeping.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,oBAAoB;IAE9B,QAAQ,EAAE;QACR,OAAO;QACP,KAAK;QACL,MAAM;QACN,MAAM;QACN,SAAS;QACT,GAAG;KACJ;IAED,QAAQ,EAAE;QACR,mBAAmB;QACnB,OAAO,EAAE,4BAA4B;QACrC,WAAW,EAAE,6BAA6B;QAC1C,aAAa,EAAE,iCAAiC;QAChD,WAAW,EAAE,2BAA2B;QACxC,YAAY,EAAE,0CAA0C;QACxD,gBAAgB,EAAE,yBAAyB;QAE3C,mBAAmB;QACnB,iBAAiB,EAAE,oCAAoC;QACvD,wBAAwB,EAAE,4CAA4C;QACtE,qBAAqB,EAAE,oDAAoD;QAE3E,mBAAmB;QACnB,gBAAgB,EAAE,iCAAiC;QACnD,iBAAiB,EAAE,4BAA4B;QAC/C,YAAY,EAAE,iCAAiC;QAC/C,gBAAgB,EAAE,iCAAiC;KACpD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,wBAAwB;QAClC,OAAO,EAAE,kIAAkI;KAC5I;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for smelling action
|
|
3
|
+
*/
|
|
4
|
+
export declare const smellingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
not_visible: string;
|
|
9
|
+
too_far: string;
|
|
10
|
+
no_scent: string;
|
|
11
|
+
room_scents: string;
|
|
12
|
+
food_nearby: string;
|
|
13
|
+
smoke_detected: string;
|
|
14
|
+
no_particular_scent: string;
|
|
15
|
+
food_scent: string;
|
|
16
|
+
drink_scent: string;
|
|
17
|
+
burning_scent: string;
|
|
18
|
+
container_food_scent: string;
|
|
19
|
+
musty_scent: string;
|
|
20
|
+
fresh_scent: string;
|
|
21
|
+
smelled: string;
|
|
22
|
+
smelled_environment: string;
|
|
23
|
+
};
|
|
24
|
+
help: {
|
|
25
|
+
description: string;
|
|
26
|
+
examples: string;
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=smelling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smelling.d.ts","sourceRoot":"","sources":["../../src/actions/smelling.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;CAyC5B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for smelling action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.smellingLanguage = void 0;
|
|
7
|
+
exports.smellingLanguage = {
|
|
8
|
+
actionId: 'if.action.smelling',
|
|
9
|
+
patterns: [
|
|
10
|
+
'smell',
|
|
11
|
+
'smell [something]',
|
|
12
|
+
'sniff [something]',
|
|
13
|
+
'sniff',
|
|
14
|
+
'inhale'
|
|
15
|
+
],
|
|
16
|
+
messages: {
|
|
17
|
+
// Error messages
|
|
18
|
+
'not_visible': "{You} {can't} see {target} to smell it.",
|
|
19
|
+
'too_far': "{target} is too far away to smell.",
|
|
20
|
+
// Success messages - environment
|
|
21
|
+
'no_scent': "{You} {don't} smell anything unusual.",
|
|
22
|
+
'room_scents': "The air carries various scents.",
|
|
23
|
+
'food_nearby': "{You} {smell} food nearby.",
|
|
24
|
+
'smoke_detected': "{You} {detect} a faint smell of smoke.",
|
|
25
|
+
// Success messages - specific targets
|
|
26
|
+
'no_particular_scent': "{target} has no particular smell.",
|
|
27
|
+
'food_scent': "{target} smells delicious.",
|
|
28
|
+
'drink_scent': "{target} has a pleasant aroma.",
|
|
29
|
+
'burning_scent': "{target} gives off a smoky smell.",
|
|
30
|
+
'container_food_scent': "{You} {smell} food inside {target}.",
|
|
31
|
+
'musty_scent': "{target} smells a bit musty.",
|
|
32
|
+
'fresh_scent': "{target} smells fresh and clean.",
|
|
33
|
+
// Generic smelling
|
|
34
|
+
'smelled': "{You} {smell} {target}.",
|
|
35
|
+
'smelled_environment': "{You} {sniff} the air."
|
|
36
|
+
},
|
|
37
|
+
help: {
|
|
38
|
+
description: 'Smell objects or detect scents in your current location.',
|
|
39
|
+
examples: 'smell, smell flower, sniff wine, inhale',
|
|
40
|
+
summary: 'SMELL/SNIFF - Smell objects or detect scents in your current location. Example: SMELL FLOWER'
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=smelling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smelling.js","sourceRoot":"","sources":["../../src/actions/smelling.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,oBAAoB;IAE9B,QAAQ,EAAE;QACR,OAAO;QACP,mBAAmB;QACnB,mBAAmB;QACnB,OAAO;QACP,QAAQ;KACT;IAED,QAAQ,EAAE;QACR,iBAAiB;QACjB,aAAa,EAAE,yCAAyC;QACxD,SAAS,EAAE,oCAAoC;QAE/C,iCAAiC;QACjC,UAAU,EAAE,uCAAuC;QACnD,aAAa,EAAE,iCAAiC;QAChD,aAAa,EAAE,4BAA4B;QAC3C,gBAAgB,EAAE,wCAAwC;QAE1D,sCAAsC;QACtC,qBAAqB,EAAE,mCAAmC;QAC1D,YAAY,EAAE,4BAA4B;QAC1C,aAAa,EAAE,gCAAgC;QAC/C,eAAe,EAAE,mCAAmC;QACpD,sBAAsB,EAAE,qCAAqC;QAC7D,aAAa,EAAE,8BAA8B;QAC7C,aAAa,EAAE,kCAAkC;QAEjD,mBAAmB;QACnB,SAAS,EAAE,yBAAyB;QACpC,qBAAqB,EAAE,wBAAwB;KAChD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,0DAA0D;QACvE,QAAQ,EAAE,yCAAyC;QACnD,OAAO,EAAE,8FAA8F;KACxG;CACF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for switching off action
|
|
3
|
+
*/
|
|
4
|
+
export declare const switchingOffLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
no_target: string;
|
|
9
|
+
not_visible: string;
|
|
10
|
+
not_reachable: string;
|
|
11
|
+
not_switchable: string;
|
|
12
|
+
already_off: string;
|
|
13
|
+
switched_off: string;
|
|
14
|
+
light_off: string;
|
|
15
|
+
light_off_still_lit: string;
|
|
16
|
+
device_stops: string;
|
|
17
|
+
silence_falls: string;
|
|
18
|
+
with_sound: string;
|
|
19
|
+
door_closes: string;
|
|
20
|
+
was_temporary: string;
|
|
21
|
+
};
|
|
22
|
+
help: {
|
|
23
|
+
description: string;
|
|
24
|
+
examples: string;
|
|
25
|
+
summary: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=switching-off.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switching-off.d.ts","sourceRoot":"","sources":["../../src/actions/switching-off.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;CAsChC,CAAC"}
|