@sharpee/lang-en-us 0.9.62-beta → 0.9.66-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/README.md +0 -0
- package/package.json +15 -27
- package/LICENSE +0 -21
- package/dist-npm/actions/about.d.ts +0 -35
- package/dist-npm/actions/about.d.ts.map +0 -1
- package/dist-npm/actions/about.js +0 -50
- package/dist-npm/actions/about.js.map +0 -1
- package/dist-npm/actions/again.d.ts +0 -16
- package/dist-npm/actions/again.d.ts.map +0 -1
- package/dist-npm/actions/again.js +0 -23
- package/dist-npm/actions/again.js.map +0 -1
- package/dist-npm/actions/answering.d.ts +0 -29
- package/dist-npm/actions/answering.d.ts.map +0 -1
- package/dist-npm/actions/answering.js +0 -44
- package/dist-npm/actions/answering.js.map +0 -1
- package/dist-npm/actions/asking.d.ts +0 -31
- package/dist-npm/actions/asking.d.ts.map +0 -1
- package/dist-npm/actions/asking.js +0 -44
- package/dist-npm/actions/asking.js.map +0 -1
- package/dist-npm/actions/attacking.d.ts +0 -82
- package/dist-npm/actions/attacking.d.ts.map +0 -1
- package/dist-npm/actions/attacking.js +0 -111
- package/dist-npm/actions/attacking.js.map +0 -1
- package/dist-npm/actions/climbing.d.ts +0 -27
- package/dist-npm/actions/climbing.d.ts.map +0 -1
- package/dist-npm/actions/climbing.js +0 -48
- package/dist-npm/actions/climbing.js.map +0 -1
- package/dist-npm/actions/closing.d.ts +0 -21
- package/dist-npm/actions/closing.d.ts.map +0 -1
- package/dist-npm/actions/closing.js +0 -27
- package/dist-npm/actions/closing.js.map +0 -1
- package/dist-npm/actions/drinking.d.ts +0 -40
- package/dist-npm/actions/drinking.d.ts.map +0 -1
- package/dist-npm/actions/drinking.js +0 -57
- package/dist-npm/actions/drinking.js.map +0 -1
- package/dist-npm/actions/dropping.d.ts +0 -22
- package/dist-npm/actions/dropping.d.ts.map +0 -1
- package/dist-npm/actions/dropping.js +0 -31
- package/dist-npm/actions/dropping.js.map +0 -1
- package/dist-npm/actions/eating.d.ts +0 -37
- package/dist-npm/actions/eating.d.ts.map +0 -1
- package/dist-npm/actions/eating.js +0 -54
- package/dist-npm/actions/eating.js.map +0 -1
- package/dist-npm/actions/entering.d.ts +0 -26
- package/dist-npm/actions/entering.d.ts.map +0 -1
- package/dist-npm/actions/entering.js +0 -49
- package/dist-npm/actions/entering.js.map +0 -1
- package/dist-npm/actions/examining.d.ts +0 -37
- package/dist-npm/actions/examining.d.ts.map +0 -1
- package/dist-npm/actions/examining.js +0 -50
- package/dist-npm/actions/examining.js.map +0 -1
- package/dist-npm/actions/exiting.d.ts +0 -23
- package/dist-npm/actions/exiting.d.ts.map +0 -1
- package/dist-npm/actions/exiting.js +0 -40
- package/dist-npm/actions/exiting.js.map +0 -1
- package/dist-npm/actions/giving.d.ts +0 -30
- package/dist-npm/actions/giving.d.ts.map +0 -1
- package/dist-npm/actions/giving.js +0 -45
- package/dist-npm/actions/giving.js.map +0 -1
- package/dist-npm/actions/going.d.ts +0 -35
- package/dist-npm/actions/going.d.ts.map +0 -1
- package/dist-npm/actions/going.js +0 -45
- package/dist-npm/actions/going.js.map +0 -1
- package/dist-npm/actions/help.d.ts +0 -26
- package/dist-npm/actions/help.d.ts.map +0 -1
- package/dist-npm/actions/help.js +0 -44
- package/dist-npm/actions/help.js.map +0 -1
- package/dist-npm/actions/index.d.ts +0 -1327
- package/dist-npm/actions/index.d.ts.map +0 -1
- package/dist-npm/actions/index.js +0 -208
- package/dist-npm/actions/index.js.map +0 -1
- package/dist-npm/actions/inserting.d.ts +0 -25
- package/dist-npm/actions/inserting.d.ts.map +0 -1
- package/dist-npm/actions/inserting.js +0 -33
- package/dist-npm/actions/inserting.js.map +0 -1
- package/dist-npm/actions/inventory.d.ts +0 -32
- package/dist-npm/actions/inventory.d.ts.map +0 -1
- package/dist-npm/actions/inventory.js +0 -41
- package/dist-npm/actions/inventory.js.map +0 -1
- package/dist-npm/actions/listening.d.ts +0 -26
- package/dist-npm/actions/listening.d.ts.map +0 -1
- package/dist-npm/actions/listening.js +0 -37
- package/dist-npm/actions/listening.js.map +0 -1
- package/dist-npm/actions/locking.d.ts +0 -25
- package/dist-npm/actions/locking.d.ts.map +0 -1
- package/dist-npm/actions/locking.js +0 -33
- package/dist-npm/actions/locking.js.map +0 -1
- package/dist-npm/actions/looking.d.ts +0 -23
- package/dist-npm/actions/looking.d.ts.map +0 -1
- package/dist-npm/actions/looking.js +0 -34
- package/dist-npm/actions/looking.js.map +0 -1
- package/dist-npm/actions/lowering.d.ts +0 -22
- package/dist-npm/actions/lowering.d.ts.map +0 -1
- package/dist-npm/actions/lowering.js +0 -29
- package/dist-npm/actions/lowering.js.map +0 -1
- package/dist-npm/actions/opening.d.ts +0 -23
- package/dist-npm/actions/opening.d.ts.map +0 -1
- package/dist-npm/actions/opening.js +0 -30
- package/dist-npm/actions/opening.js.map +0 -1
- package/dist-npm/actions/pulling.d.ts +0 -35
- package/dist-npm/actions/pulling.d.ts.map +0 -1
- package/dist-npm/actions/pulling.js +0 -53
- package/dist-npm/actions/pulling.js.map +0 -1
- package/dist-npm/actions/pushing.d.ts +0 -30
- package/dist-npm/actions/pushing.d.ts.map +0 -1
- package/dist-npm/actions/pushing.js +0 -45
- package/dist-npm/actions/pushing.js.map +0 -1
- package/dist-npm/actions/putting.d.ts +0 -28
- package/dist-npm/actions/putting.d.ts.map +0 -1
- package/dist-npm/actions/putting.js +0 -40
- package/dist-npm/actions/putting.js.map +0 -1
- package/dist-npm/actions/quitting.d.ts +0 -31
- package/dist-npm/actions/quitting.d.ts.map +0 -1
- package/dist-npm/actions/quitting.js +0 -47
- package/dist-npm/actions/quitting.js.map +0 -1
- package/dist-npm/actions/raising.d.ts +0 -22
- package/dist-npm/actions/raising.d.ts.map +0 -1
- package/dist-npm/actions/raising.js +0 -30
- package/dist-npm/actions/raising.js.map +0 -1
- package/dist-npm/actions/reading.d.ts +0 -23
- package/dist-npm/actions/reading.d.ts.map +0 -1
- package/dist-npm/actions/reading.js +0 -32
- package/dist-npm/actions/reading.js.map +0 -1
- package/dist-npm/actions/removing.d.ts +0 -25
- package/dist-npm/actions/removing.d.ts.map +0 -1
- package/dist-npm/actions/removing.js +0 -34
- package/dist-npm/actions/removing.js.map +0 -1
- package/dist-npm/actions/restoring.d.ts +0 -35
- package/dist-npm/actions/restoring.d.ts.map +0 -1
- package/dist-npm/actions/restoring.js +0 -51
- package/dist-npm/actions/restoring.js.map +0 -1
- package/dist-npm/actions/saving.d.ts +0 -33
- package/dist-npm/actions/saving.d.ts.map +0 -1
- package/dist-npm/actions/saving.js +0 -48
- package/dist-npm/actions/saving.js.map +0 -1
- package/dist-npm/actions/scoring.d.ts +0 -42
- package/dist-npm/actions/scoring.d.ts.map +0 -1
- package/dist-npm/actions/scoring.js +0 -70
- package/dist-npm/actions/scoring.js.map +0 -1
- package/dist-npm/actions/searching.d.ts +0 -26
- package/dist-npm/actions/searching.d.ts.map +0 -1
- package/dist-npm/actions/searching.js +0 -40
- package/dist-npm/actions/searching.js.map +0 -1
- package/dist-npm/actions/showing.d.ts +0 -29
- package/dist-npm/actions/showing.d.ts.map +0 -1
- package/dist-npm/actions/showing.js +0 -40
- package/dist-npm/actions/showing.js.map +0 -1
- package/dist-npm/actions/sleeping.d.ts +0 -28
- package/dist-npm/actions/sleeping.d.ts.map +0 -1
- package/dist-npm/actions/sleeping.js +0 -41
- package/dist-npm/actions/sleeping.js.map +0 -1
- package/dist-npm/actions/smelling.d.ts +0 -30
- package/dist-npm/actions/smelling.d.ts.map +0 -1
- package/dist-npm/actions/smelling.js +0 -43
- package/dist-npm/actions/smelling.js.map +0 -1
- package/dist-npm/actions/switching-off.d.ts +0 -28
- package/dist-npm/actions/switching-off.d.ts.map +0 -1
- package/dist-npm/actions/switching-off.js +0 -42
- package/dist-npm/actions/switching-off.js.map +0 -1
- package/dist-npm/actions/switching-on.d.ts +0 -28
- package/dist-npm/actions/switching-on.d.ts.map +0 -1
- package/dist-npm/actions/switching-on.js +0 -42
- package/dist-npm/actions/switching-on.js.map +0 -1
- package/dist-npm/actions/taking-off.d.ts +0 -20
- package/dist-npm/actions/taking-off.d.ts.map +0 -1
- package/dist-npm/actions/taking-off.js +0 -28
- package/dist-npm/actions/taking-off.js.map +0 -1
- package/dist-npm/actions/taking.d.ts +0 -26
- package/dist-npm/actions/taking.d.ts.map +0 -1
- package/dist-npm/actions/taking.js +0 -36
- package/dist-npm/actions/taking.js.map +0 -1
- package/dist-npm/actions/talking.d.ts +0 -33
- package/dist-npm/actions/talking.d.ts.map +0 -1
- package/dist-npm/actions/talking.js +0 -49
- package/dist-npm/actions/talking.js.map +0 -1
- package/dist-npm/actions/telling.d.ts +0 -30
- package/dist-npm/actions/telling.d.ts.map +0 -1
- package/dist-npm/actions/telling.js +0 -42
- package/dist-npm/actions/telling.js.map +0 -1
- package/dist-npm/actions/throwing.d.ts +0 -39
- package/dist-npm/actions/throwing.d.ts.map +0 -1
- package/dist-npm/actions/throwing.js +0 -60
- package/dist-npm/actions/throwing.js.map +0 -1
- package/dist-npm/actions/touching.d.ts +0 -36
- package/dist-npm/actions/touching.d.ts.map +0 -1
- package/dist-npm/actions/touching.js +0 -50
- package/dist-npm/actions/touching.js.map +0 -1
- package/dist-npm/actions/turning.d.ts +0 -40
- package/dist-npm/actions/turning.d.ts.map +0 -1
- package/dist-npm/actions/turning.js +0 -62
- package/dist-npm/actions/turning.js.map +0 -1
- package/dist-npm/actions/undoing.d.ts +0 -19
- package/dist-npm/actions/undoing.d.ts.map +0 -1
- package/dist-npm/actions/undoing.js +0 -26
- package/dist-npm/actions/undoing.js.map +0 -1
- package/dist-npm/actions/unlocking.d.ts +0 -25
- package/dist-npm/actions/unlocking.d.ts.map +0 -1
- package/dist-npm/actions/unlocking.js +0 -32
- package/dist-npm/actions/unlocking.js.map +0 -1
- package/dist-npm/actions/using.d.ts +0 -43
- package/dist-npm/actions/using.d.ts.map +0 -1
- package/dist-npm/actions/using.js +0 -61
- package/dist-npm/actions/using.js.map +0 -1
- package/dist-npm/actions/version.d.ts +0 -18
- package/dist-npm/actions/version.d.ts.map +0 -1
- package/dist-npm/actions/version.js +0 -26
- package/dist-npm/actions/version.js.map +0 -1
- package/dist-npm/actions/waiting.d.ts +0 -27
- package/dist-npm/actions/waiting.d.ts.map +0 -1
- package/dist-npm/actions/waiting.js +0 -36
- package/dist-npm/actions/waiting.js.map +0 -1
- package/dist-npm/actions/wearing.d.ts +0 -22
- package/dist-npm/actions/wearing.d.ts.map +0 -1
- package/dist-npm/actions/wearing.js +0 -30
- package/dist-npm/actions/wearing.js.map +0 -1
- package/dist-npm/data/events.d.ts +0 -134
- package/dist-npm/data/events.d.ts.map +0 -1
- package/dist-npm/data/events.js +0 -301
- package/dist-npm/data/events.js.map +0 -1
- package/dist-npm/data/messages.d.ts +0 -141
- package/dist-npm/data/messages.d.ts.map +0 -1
- package/dist-npm/data/messages.js +0 -300
- package/dist-npm/data/messages.js.map +0 -1
- package/dist-npm/data/templates.d.ts +0 -257
- package/dist-npm/data/templates.d.ts.map +0 -1
- package/dist-npm/data/templates.js +0 -289
- package/dist-npm/data/templates.js.map +0 -1
- package/dist-npm/data/verbs.d.ts +0 -68
- package/dist-npm/data/verbs.d.ts.map +0 -1
- package/dist-npm/data/verbs.js +0 -324
- package/dist-npm/data/verbs.js.map +0 -1
- package/dist-npm/data/words.d.ts +0 -79
- package/dist-npm/data/words.d.ts.map +0 -1
- package/dist-npm/data/words.js +0 -218
- package/dist-npm/data/words.js.map +0 -1
- package/dist-npm/formatters/article.d.ts +0 -41
- package/dist-npm/formatters/article.d.ts.map +0 -1
- package/dist-npm/formatters/article.js +0 -143
- package/dist-npm/formatters/article.js.map +0 -1
- package/dist-npm/formatters/index.d.ts +0 -18
- package/dist-npm/formatters/index.d.ts.map +0 -1
- package/dist-npm/formatters/index.js +0 -38
- package/dist-npm/formatters/index.js.map +0 -1
- package/dist-npm/formatters/list.d.ts +0 -38
- package/dist-npm/formatters/list.d.ts.map +0 -1
- package/dist-npm/formatters/list.js +0 -94
- package/dist-npm/formatters/list.js.map +0 -1
- package/dist-npm/formatters/registry.d.ts +0 -48
- package/dist-npm/formatters/registry.d.ts.map +0 -1
- package/dist-npm/formatters/registry.js +0 -128
- package/dist-npm/formatters/registry.js.map +0 -1
- package/dist-npm/formatters/text.d.ts +0 -33
- package/dist-npm/formatters/text.d.ts.map +0 -1
- package/dist-npm/formatters/text.js +0 -80
- package/dist-npm/formatters/text.js.map +0 -1
- package/dist-npm/formatters/types.d.ts +0 -41
- package/dist-npm/formatters/types.d.ts.map +0 -1
- package/dist-npm/formatters/types.js +0 -14
- package/dist-npm/formatters/types.js.map +0 -1
- package/dist-npm/grammar.d.ts +0 -189
- package/dist-npm/grammar.d.ts.map +0 -1
- package/dist-npm/grammar.js +0 -203
- package/dist-npm/grammar.js.map +0 -1
- package/dist-npm/index.d.ts +0 -22
- package/dist-npm/index.d.ts.map +0 -1
- package/dist-npm/index.js +0 -59
- package/dist-npm/index.js.map +0 -1
- package/dist-npm/language-provider.d.ts +0 -159
- package/dist-npm/language-provider.d.ts.map +0 -1
- package/dist-npm/language-provider.js +0 -527
- package/dist-npm/language-provider.js.map +0 -1
- package/dist-npm/npc/index.d.ts +0 -5
- package/dist-npm/npc/index.d.ts.map +0 -1
- package/dist-npm/npc/index.js +0 -21
- package/dist-npm/npc/index.js.map +0 -1
- package/dist-npm/npc/npc.d.ts +0 -43
- package/dist-npm/npc/npc.d.ts.map +0 -1
- package/dist-npm/npc/npc.js +0 -55
- package/dist-npm/npc/npc.js.map +0 -1
- package/dist-npm/perspective/index.d.ts +0 -5
- package/dist-npm/perspective/index.d.ts.map +0 -1
- package/dist-npm/perspective/index.js +0 -12
- package/dist-npm/perspective/index.js.map +0 -1
- package/dist-npm/perspective/placeholder-resolver.d.ts +0 -102
- package/dist-npm/perspective/placeholder-resolver.d.ts.map +0 -1
- package/dist-npm/perspective/placeholder-resolver.js +0 -275
- package/dist-npm/perspective/placeholder-resolver.js.map +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"giving.d.ts","sourceRoot":"","sources":["../../src/actions/giving.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;CA0C1B,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"going.d.ts","sourceRoot":"","sources":["../../src/actions/going.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/actions/help.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;CA+CxB,CAAC"}
|
package/dist-npm/actions/help.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|