@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,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* English language content for the exiting action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.exitingLanguage = void 0;
|
|
7
|
+
exports.exitingLanguage = {
|
|
8
|
+
actionId: 'if.action.exiting',
|
|
9
|
+
patterns: [
|
|
10
|
+
'exit',
|
|
11
|
+
'get out',
|
|
12
|
+
'get off',
|
|
13
|
+
'go out',
|
|
14
|
+
'go outside',
|
|
15
|
+
'leave',
|
|
16
|
+
'dismount',
|
|
17
|
+
'stand',
|
|
18
|
+
'stand up',
|
|
19
|
+
'climb out',
|
|
20
|
+
'climb off',
|
|
21
|
+
'disembark',
|
|
22
|
+
'alight'
|
|
23
|
+
],
|
|
24
|
+
messages: {
|
|
25
|
+
'already_outside': "{You're} not inside anything.",
|
|
26
|
+
'container_closed': "{container} is closed.",
|
|
27
|
+
'cant_exit': "{You} {can't} exit {place}.",
|
|
28
|
+
'exited': "{You} {get} out of {place}.",
|
|
29
|
+
'exited_from': "{You} {get} {preposition} {place}.",
|
|
30
|
+
'nowhere_to_go': "There's nowhere to go from here.",
|
|
31
|
+
'exit_blocked': "The way out is blocked.",
|
|
32
|
+
'must_stand_first': "{You}'ll need to stand up first."
|
|
33
|
+
},
|
|
34
|
+
help: {
|
|
35
|
+
description: 'Exit from containers, vehicles, or furniture you are inside.',
|
|
36
|
+
examples: 'exit, get out, leave, stand up',
|
|
37
|
+
summary: 'EXIT/LEAVE/GET OUT - Exit from containers, vehicles, or furniture you are inside. Example: EXIT'
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=exiting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exiting.js","sourceRoot":"","sources":["../../src/actions/exiting.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAE,mBAAmB;IAE7B,QAAQ,EAAE;QACR,MAAM;QACN,SAAS;QACT,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,OAAO;QACP,UAAU;QACV,OAAO;QACP,UAAU;QACV,WAAW;QACX,WAAW;QACX,WAAW;QACX,QAAQ;KACT;IAED,QAAQ,EAAE;QACR,iBAAiB,EAAE,+BAA+B;QAClD,kBAAkB,EAAE,wBAAwB;QAC5C,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,6BAA6B;QACvC,aAAa,EAAE,oCAAoC;QACnD,eAAe,EAAE,kCAAkC;QACnD,cAAc,EAAE,yBAAyB;QACzC,kBAAkB,EAAE,kCAAkC;KACvD;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,8DAA8D;QAC3E,QAAQ,EAAE,gCAAgC;QAC1C,OAAO,EAAE,iGAAiG;KAC3G;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for giving action
|
|
3
|
+
*/
|
|
4
|
+
export declare const givingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
no_item: string;
|
|
9
|
+
no_recipient: string;
|
|
10
|
+
not_holding: string;
|
|
11
|
+
recipient_not_visible: string;
|
|
12
|
+
recipient_not_reachable: string;
|
|
13
|
+
not_actor: string;
|
|
14
|
+
self: string;
|
|
15
|
+
inventory_full: string;
|
|
16
|
+
too_heavy: string;
|
|
17
|
+
not_interested: string;
|
|
18
|
+
refuses: string;
|
|
19
|
+
given: string;
|
|
20
|
+
accepts: string;
|
|
21
|
+
gratefully_accepts: string;
|
|
22
|
+
reluctantly_accepts: string;
|
|
23
|
+
};
|
|
24
|
+
help: {
|
|
25
|
+
description: string;
|
|
26
|
+
examples: string;
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=giving.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"giving.d.ts","sourceRoot":"","sources":["../../src/actions/giving.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;CA0C1B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for giving action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.givingLanguage = void 0;
|
|
7
|
+
exports.givingLanguage = {
|
|
8
|
+
actionId: 'if.action.giving',
|
|
9
|
+
patterns: [
|
|
10
|
+
'give [something] to [someone]',
|
|
11
|
+
'give [someone] [something]',
|
|
12
|
+
'offer [something] to [someone]',
|
|
13
|
+
'offer [someone] [something]',
|
|
14
|
+
'hand [something] to [someone]',
|
|
15
|
+
'hand [someone] [something]',
|
|
16
|
+
'present [something] to [someone]',
|
|
17
|
+
'present [someone] [something]'
|
|
18
|
+
],
|
|
19
|
+
messages: {
|
|
20
|
+
// Error messages
|
|
21
|
+
'no_item': "Give what?",
|
|
22
|
+
'no_recipient': "Give it to whom?",
|
|
23
|
+
'not_holding': "{You} aren't holding {item}.",
|
|
24
|
+
'recipient_not_visible': "{You} {can't} see {recipient}.",
|
|
25
|
+
'recipient_not_reachable': "{recipient} is too far away.",
|
|
26
|
+
'not_actor': "{You} can only give things to people.",
|
|
27
|
+
'self': "{You} already {have} {item}!",
|
|
28
|
+
// Refusal messages
|
|
29
|
+
'inventory_full': "{recipient} says, \"I can't carry any more.\"",
|
|
30
|
+
'too_heavy': "{recipient} says, \"That's too heavy for me.\"",
|
|
31
|
+
'not_interested': "{recipient} doesn't seem interested in {item}.",
|
|
32
|
+
'refuses': "{recipient} politely declines.",
|
|
33
|
+
// Success messages
|
|
34
|
+
'given': "{You} {give} {item} to {recipient}.",
|
|
35
|
+
'accepts': "{recipient} accepts {item}.",
|
|
36
|
+
'gratefully_accepts': "{recipient} gratefully accepts {item}.",
|
|
37
|
+
'reluctantly_accepts': "{recipient} reluctantly takes {item}."
|
|
38
|
+
},
|
|
39
|
+
help: {
|
|
40
|
+
description: 'Give objects to other characters.',
|
|
41
|
+
examples: 'give sword to knight, give Bob the key, offer flower to princess',
|
|
42
|
+
summary: 'GIVE TO - Give objects to other characters. Example: GIVE FLOWER TO ALICE'
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=giving.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"giving.js","sourceRoot":"","sources":["../../src/actions/giving.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,kBAAkB;IAE5B,QAAQ,EAAE;QACR,+BAA+B;QAC/B,4BAA4B;QAC5B,gCAAgC;QAChC,6BAA6B;QAC7B,+BAA+B;QAC/B,4BAA4B;QAC5B,kCAAkC;QAClC,+BAA+B;KAChC;IAED,QAAQ,EAAE;QACR,iBAAiB;QACjB,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,kBAAkB;QAClC,aAAa,EAAE,8BAA8B;QAC7C,uBAAuB,EAAE,gCAAgC;QACzD,yBAAyB,EAAE,8BAA8B;QACzD,WAAW,EAAE,uCAAuC;QACpD,MAAM,EAAE,8BAA8B;QAEtC,mBAAmB;QACnB,gBAAgB,EAAE,+CAA+C;QACjE,WAAW,EAAE,gDAAgD;QAC7D,gBAAgB,EAAE,gDAAgD;QAClE,SAAS,EAAE,gCAAgC;QAE3C,mBAAmB;QACnB,OAAO,EAAE,qCAAqC;QAC9C,SAAS,EAAE,6BAA6B;QACxC,oBAAoB,EAAE,wCAAwC;QAC9D,qBAAqB,EAAE,uCAAuC;KAC/D;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,kEAAkE;QAC5E,OAAO,EAAE,2EAA2E;KACrF;CACF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English language content for the going action
|
|
3
|
+
*/
|
|
4
|
+
export declare const goingLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
room_description: string;
|
|
9
|
+
contents_list: string;
|
|
10
|
+
no_exit: string;
|
|
11
|
+
no_exit_that_way: string;
|
|
12
|
+
door_closed: string;
|
|
13
|
+
door_locked: string;
|
|
14
|
+
too_dark: string;
|
|
15
|
+
moved: string;
|
|
16
|
+
cant_go_through: string;
|
|
17
|
+
already_there: string;
|
|
18
|
+
nowhere_to_go: string;
|
|
19
|
+
no_direction: string;
|
|
20
|
+
not_in_room: string;
|
|
21
|
+
no_exits: string;
|
|
22
|
+
movement_blocked: string;
|
|
23
|
+
destination_not_found: string;
|
|
24
|
+
need_light: string;
|
|
25
|
+
went: string;
|
|
26
|
+
arrived: string;
|
|
27
|
+
cant_go: string;
|
|
28
|
+
};
|
|
29
|
+
help: {
|
|
30
|
+
description: string;
|
|
31
|
+
examples: string;
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=going.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"going.d.ts","sourceRoot":"","sources":["../../src/actions/going.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* English language content for the going action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.goingLanguage = void 0;
|
|
7
|
+
exports.goingLanguage = {
|
|
8
|
+
actionId: 'if.action.going',
|
|
9
|
+
patterns: [
|
|
10
|
+
'go [direction]',
|
|
11
|
+
'[direction]',
|
|
12
|
+
'walk [direction]',
|
|
13
|
+
'head [direction]',
|
|
14
|
+
'move [direction]',
|
|
15
|
+
'travel [direction]'
|
|
16
|
+
],
|
|
17
|
+
messages: {
|
|
18
|
+
'room_description': "{name}\n{description}",
|
|
19
|
+
'contents_list': "{You} can {see} {items} here.",
|
|
20
|
+
'no_exit': "{You} {can't} go that way.",
|
|
21
|
+
'no_exit_that_way': "{You} {can't} go that way.",
|
|
22
|
+
'door_closed': "The {door} is closed.",
|
|
23
|
+
'door_locked': "The {door} is locked.",
|
|
24
|
+
'too_dark': "It is pitch dark. You are likely to be eaten by a grue.",
|
|
25
|
+
'moved': "{You} {go} {direction}.",
|
|
26
|
+
'cant_go_through': "{You} {can't} go through {obstacle}.",
|
|
27
|
+
'already_there': "{You're} already there.",
|
|
28
|
+
'nowhere_to_go': "{You}'ll have to say which compass direction to go in.",
|
|
29
|
+
'no_direction': "{You}'ll have to say which direction to go.",
|
|
30
|
+
'not_in_room': "{You're} not in a place where {you} can go anywhere.",
|
|
31
|
+
'no_exits': "There are no obvious exits.",
|
|
32
|
+
'movement_blocked': "{message}",
|
|
33
|
+
'destination_not_found': "{You} {can't} go that way.",
|
|
34
|
+
'need_light': "It's too dark to go that way safely.",
|
|
35
|
+
'went': "{You} {go} {direction}.",
|
|
36
|
+
'arrived': "{You} {arrive}.",
|
|
37
|
+
'cant_go': "{You} {can't} go that way."
|
|
38
|
+
},
|
|
39
|
+
help: {
|
|
40
|
+
description: 'Move in compass directions or to connected locations.',
|
|
41
|
+
examples: 'go north, n, walk east, head south, go upstairs',
|
|
42
|
+
summary: 'GO/N/S/E/W - Move in compass directions or to connected locations. Example: GO NORTH or N'
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=going.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"going.js","sourceRoot":"","sources":["../../src/actions/going.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE,iBAAiB;IAE3B,QAAQ,EAAE;QACR,gBAAgB;QAChB,aAAa;QACb,kBAAkB;QAClB,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB;KACrB;IAED,QAAQ,EAAE;QACR,kBAAkB,EAAE,uBAAuB;QAC3C,eAAe,EAAE,+BAA+B;QAChD,SAAS,EAAE,4BAA4B;QACvC,kBAAkB,EAAE,4BAA4B;QAChD,aAAa,EAAE,uBAAuB;QACtC,aAAa,EAAE,uBAAuB;QACtC,UAAU,EAAE,yDAAyD;QACrE,OAAO,EAAE,yBAAyB;QAClC,iBAAiB,EAAE,sCAAsC;QACzD,eAAe,EAAE,yBAAyB;QAC1C,eAAe,EAAE,wDAAwD;QACzE,cAAc,EAAE,6CAA6C;QAC7D,aAAa,EAAE,sDAAsD;QACrE,UAAU,EAAE,6BAA6B;QACzC,kBAAkB,EAAE,WAAW;QAC/B,uBAAuB,EAAE,4BAA4B;QACrD,YAAY,EAAE,sCAAsC;QACpD,MAAM,EAAE,yBAAyB;QACjC,SAAS,EAAE,iBAAiB;QAC5B,SAAS,EAAE,4BAA4B;KACxC;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,uDAAuD;QACpE,QAAQ,EAAE,iDAAiD;QAC3D,OAAO,EAAE,2FAA2F;KACrG;CACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language content for help action
|
|
3
|
+
*/
|
|
4
|
+
export declare const helpLanguage: {
|
|
5
|
+
actionId: string;
|
|
6
|
+
patterns: string[];
|
|
7
|
+
messages: {
|
|
8
|
+
general_help: string;
|
|
9
|
+
help_topic: string;
|
|
10
|
+
unknown_topic: string;
|
|
11
|
+
help_movement: string;
|
|
12
|
+
help_objects: string;
|
|
13
|
+
help_special: string;
|
|
14
|
+
first_time_help: string;
|
|
15
|
+
hints_available: string;
|
|
16
|
+
hints_disabled: string;
|
|
17
|
+
stuck_help: string;
|
|
18
|
+
help_footer: string;
|
|
19
|
+
};
|
|
20
|
+
help: {
|
|
21
|
+
description: string;
|
|
22
|
+
examples: string;
|
|
23
|
+
summary: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=help.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/actions/help.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;CA+CxB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language content for help action
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.helpLanguage = void 0;
|
|
7
|
+
exports.helpLanguage = {
|
|
8
|
+
actionId: 'if.action.help',
|
|
9
|
+
patterns: [
|
|
10
|
+
'help',
|
|
11
|
+
'help [topic]',
|
|
12
|
+
'?',
|
|
13
|
+
'commands',
|
|
14
|
+
'h'
|
|
15
|
+
],
|
|
16
|
+
messages: {
|
|
17
|
+
// General help
|
|
18
|
+
'general_help': "Welcome to Interactive Fiction!\n\nBasic commands:\n- LOOK (L): Examine your surroundings\n- INVENTORY (I): List what you're carrying\n- EXAMINE (X) [object]: Look at something closely\n- TAKE/DROP [object]: Pick up or put down items\n- GO [direction] or just [direction]: Move around\n\nFor more help on a specific topic, type HELP [topic].",
|
|
19
|
+
// Topic help headers
|
|
20
|
+
'help_topic': "Help on {topic}:",
|
|
21
|
+
'unknown_topic': "No help available on '{topic}'. Type HELP for general help.",
|
|
22
|
+
// Movement help
|
|
23
|
+
'help_movement': "Movement commands:\n- GO NORTH/SOUTH/EAST/WEST (or just N/S/E/W)\n- UP/DOWN (U/D)\n- IN/OUT\n- ENTER [place]\n- EXIT",
|
|
24
|
+
// Object help
|
|
25
|
+
'help_objects': "Object commands:\n- TAKE/GET [object]\n- DROP [object]\n- EXAMINE/LOOK AT [object]\n- OPEN/CLOSE [object]\n- PUT [object] IN/ON [container]\n- WEAR/REMOVE [clothing]",
|
|
26
|
+
// Special commands help
|
|
27
|
+
'help_special': "Special commands:\n- SAVE/RESTORE: Save and load your game\n- SCORE: Check your progress\n- WAIT (Z): Let time pass\n- AGAIN (G): Repeat last command\n- QUIT: Exit the game",
|
|
28
|
+
// First time help
|
|
29
|
+
'first_time_help': "New to Interactive Fiction? Try these commands to get started:\n- LOOK to see where you are\n- INVENTORY to see what you're carrying\n- EXAMINE interesting objects\n- Go in compass directions (NORTH, SOUTH, etc.)",
|
|
30
|
+
// Hints availability
|
|
31
|
+
'hints_available': "Hints are available. Type HINTS to see them.",
|
|
32
|
+
'hints_disabled': "Hints are not available in this game.",
|
|
33
|
+
// Context-sensitive help
|
|
34
|
+
'stuck_help': "If you're stuck, try:\n- LOOK around carefully\n- EXAMINE everything\n- Check your INVENTORY\n- Try different verbs with objects",
|
|
35
|
+
// Help footer
|
|
36
|
+
'help_footer': "For a complete list of commands, consult the game documentation."
|
|
37
|
+
},
|
|
38
|
+
help: {
|
|
39
|
+
description: 'Get help on game commands and topics.',
|
|
40
|
+
examples: 'help, ?, help movement, help take, commands',
|
|
41
|
+
summary: 'HELP - Get help on game commands and topics. Example: HELP MOVEMENT'
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=help.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/actions/help.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEU,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,gBAAgB;IAE1B,QAAQ,EAAE;QACR,MAAM;QACN,cAAc;QACd,GAAG;QACH,UAAU;QACV,GAAG;KACJ;IAED,QAAQ,EAAE;QACR,eAAe;QACf,cAAc,EAAE,uVAAuV;QAEvW,qBAAqB;QACrB,YAAY,EAAE,kBAAkB;QAChC,eAAe,EAAE,6DAA6D;QAE9E,gBAAgB;QAChB,eAAe,EAAE,sHAAsH;QAEvI,cAAc;QACd,cAAc,EAAE,uKAAuK;QAEvL,wBAAwB;QACxB,cAAc,EAAE,8KAA8K;QAE9L,kBAAkB;QAClB,iBAAiB,EAAE,sNAAsN;QAEzO,qBAAqB;QACrB,iBAAiB,EAAE,8CAA8C;QACjE,gBAAgB,EAAE,uCAAuC;QAEzD,yBAAyB;QACzB,YAAY,EAAE,kIAAkI;QAEhJ,cAAc;QACd,aAAa,EAAE,kEAAkE;KAClF;IAED,IAAI,EAAE;QACJ,WAAW,EAAE,uCAAuC;QACpD,QAAQ,EAAE,6CAA6C;QACvD,OAAO,EAAE,qEAAqE;KAC/E;CACF,CAAC"}
|