-
Notifications
You must be signed in to change notification settings - Fork 0
/
moninform.pas
81 lines (66 loc) · 1.35 KB
/
moninform.pas
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
[INHERIT ('monconst', 'montype')]
MODULE MonInform(OUTPUT);
%include 'headers.txt'
[GLOBAL]
PROCEDURE Inform_Destroy(S : String);
BEGIN
Writeln('The '+s+' was destroyed.');
END;
[GLOBAL]
PROCEDURE Inform_NoGo;
BEGIN
Writeln('You can''t go that way.');
END;
[GLOBAL]
PROCEDURE Inform_NoPrivs(Name : String);
BEGIN
Writeln('Sorry, ',Name,', but that requires "Privs". Maybe next year.');
END;
[GLOBAL]
FUNCTION CheckPrivs(Privd : BYTE_BOOL; Name : String) : BYTE_BOOL;
BEGIN
CheckPrivs := Privd;
IF NOT Privd THEN
Inform_NoPrivs(Name);
END;
[GLOBAL]
PROCEDURE Inform_NoRoom;
BEGIN
Writeln('There is not enough room here.');
END;
[GLOBAL]
PROCEDURE Inform_Contact(S : String);
BEGIN
Writeln(S,' notify ',CONTACT_USERID,'.');
END;
[GLOBAL]
PROCEDURE Inform_BadCmd;
BEGIN
Writeln('Bad command. Type help for a list of commands.');
END;
[GLOBAL]
PROCEDURE Inform_BadAttrib;
BEGIN
Writeln('Bad attribute. Use ? for more help.');
END;
[GLOBAL]
PROCEDURE Inform_NotHolding;
BEGIN
Writeln('You''re not holding that. To see what you''re holding, type INV.');
END;
[GLOBAL]
PROCEDURE Inform_Sticky(S: String);
BEGIN
Writeln('The '+ S +' is sticky.');
END;
[GLOBAL]
PROCEDURE Inform_NoFight;
BEGIN
Writeln('You cannot fight here.');
END;
[GLOBAL]
PROCEDURE Inform_NoAlterExit;
BEGIN
Writeln('You are not allowed to alter that exit.');
END;
END.