-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlib_messages.i
135 lines (122 loc) · 3.99 KB
/
lib_messages.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
-- ALAN Standard Library v2.1
-- Messages (file name: 'lib_messages.i')
-- All runtime messages are listed below.
-- Many of these messages are not in their default ("built-in") form as described
-- in the ALAN language manual, but have been slightly edited for this library.
MESSAGE
AFTER_BUT: "You must give at least one object after '$1'."
AGAIN: ""
BUT_ALL: "You can only use '$1' AFTER '$2'."
CAN_NOT_CONTAIN: "$+1 can not contain $+2."
CANT0: "You can't do that."
-- note that the fifth token in CANT0 is a zero, not an 'o'.
CARRIES:
IF parameter1 IS NOT plural
THEN "$+1 is carrying"
ELSE "$+1 are carrying"
END IF.
CONTAINMENT_LOOP:
"Putting $+1 in"
IF parameter1 IS NOT plural
THEN "itself"
ELSE "themselves"
END IF.
"is impossible."
CONTAINMENT_LOOP2: "Putting $+1 in $+2 is impossible since $+2 already"
IF parameter2 IS NOT plural
THEN "is"
ELSE "are"
END IF.
"inside $+1."
'CONTAINS':
IF parameter1 IS NOT plural
THEN "$+1 contains"
ELSE "$+1 contain"
END IF.
CONTAINS_COMMA: "$01"
IF parameter1 ISA CLOTHING
THEN
-- the following snippet adds "(being worn)" after all
-- pieces of clothing worn by an NPC, at 'x [actor]'
IF parameter1 IS donned
THEN
IF parameter1 NOT IN worn
THEN "(being worn)"
END IF.
END IF.
END IF.
"$$,"
CONTAINS_AND: "$01"
IF parameter1 ISA CLOTHING
THEN
-- the following snippet adds "(being worn)" after all
-- pieces of clothing worn by an NPC, after 'x [actor]'
IF parameter1 IS donned
THEN
IF parameter1 NOT IN worn
THEN "(being worn)"
END IF.
END IF.
END IF.
"and"
CONTAINS_END: "$01"
IF parameter1 ISA CLOTHING
THEN
-- the following snippet adds "(being worn)" after all
-- pieces of clothing worn by an NPC, after 'x [actor]'
IF parameter1 IS donned
THEN
IF parameter1 NOT IN worn
THEN "(being worn)"
END IF.
END IF.
END IF.
"."
EMPTY_HANDED:
IF parameter1 IS NOT plural
THEN "$+1 is empty-handed."
ELSE "$+1 are empty-handed."
END IF.
HAVE_SCORED: "You have scored $1 points out of $2."
IMPOSSIBLE_WITH: "That's impossible with $+1."
IS_EMPTY:
IF parameter1 IS NOT plural
THEN "$+1 is empty."
ELSE "$+1 are empty."
END IF.
MORE: "<More>"
MULTIPLE: "You can't refer to multiple objects with '$v'."
NO_SUCH: "You can't see any $1 here."
NO_WAY: "You can't go that way."
NOT_MUCH: "That doesn't leave much to $v!"
NOUN: "You must supply a noun."
NOT_A_SAVEFILE: "That file does not seem to be an Alan game save file."
QUIT_ACTION: "Do you want to RESTART, RESTORE, QUIT or UNDO? "
-- these four alternatives are hardwired to the interpreter and cannot be changed.
REALLY: "Are you sure (press ENTER to confirm)?"
RESTORE_FROM: "Enter file name to restore from"
SAVE_FAILED: "Sorry, save failed."
SAVE_MISSING: "Sorry, could not open the save file."
SAVE_NAME: "Sorry, the save file did not contain a save for this adventure."
SAVE_OVERWRITE: "That file already exists, overwrite (y)?"
SAVE_VERSION: "Sorry, the save file was created by a different version."
SAVE_WHERE: "Enter file name to save in"
SEE_START:
IF parameter1 IS NOT plural
THEN "There is $01"
ELSE "There are $01"
END IF.
SEE_COMMA: ", $01"
SEE_AND: "and $01"
SEE_END: "here."
NO_UNDO: "No further undo available."
UNDONE: "'$1' undone."
UNKNOWN_WORD: "I don't know the word '$1'."
WHAT: "That was not understood."
WHAT_WORD: "It is not clear what you mean by '$1'."
WHICH_PRONOUN_START: "It is not clear if you by '$1'"
WHICH_PRONOUN_FIRST: "mean $+1"
WHICH_START: "It is not clear if you mean $+1"
WHICH_COMMA: ", $+1"
WHICH_OR: "or $+1."
-- end of file.