File: triggers.html

package info (click to toggle)
aime-doc 0.60-1.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 508 kB
  • ctags: 174
  • sloc: makefile: 44; sh: 1
file content (556 lines) | stat: -rw-r--r-- 13,002 bytes parent folder | download | duplicates (2)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
<html>
<head>
<title>Special Triggers List</title>
</head>

<!--COLOR-->
<BODY BGCOLOR="#668699" TEXT="#000000" 
LINK="#1D4B99" VLINK="#99038F" 
BACKGROUND="brick041gif7.gif">

<!--HEAD-->

<h1><center>Special Triggers List</center></h1>
<br><br><br>


<!--BODY-->


<br><br>
<table border=1>

<tr valign=top><td><h3> Trigger  <td><h3> Attributes Passed In  <td><h3> Description  </h4>

<tr valign=top><td><h4>pre_say  
<td> 
   this: The object with the special attached<br> 
   primary: the player speaking<br>
   secondary: --
<td> Before the player does a say

<tr valign=top><td><h4>post_say  
<td> 
   this: The object with the special attached<br> 
   primary: the player speaking<br>
   secondary: --
<td> After the player does a say

<tr valign=top><td><h4>pre_get
<td> 
   this: The object gotten<br> 
   primary: --<br>
   secondary: --
<td> Before the object is picked up

<tr valign=top><td><h4>post_get  
<td> 
   this: The object gotten<br> 
   primary: --<br>
   secondary: --
<td> After the object is picked up

<tr valign=top>
<td><h4>pre_north<br>
pre_south<br>
pre_east<br>
pre_west<br>
pre_up<br>
pre_down<br>
pre_northeast<br>
pre_northwest<br>
pre_southeast<br>
pre_southwest<br>  
<td> 
   this: Current Location<br> 
   primary: The player<br>
   secondary: Next location
<td> Before the player moves in a specific direction.  This is only
good for specials attached to mobiles

<tr valign=top><td><h4>pre_move  
<td> 
   this: Current Location<br> 
   primary: The player<br>
   secondary: Next location
<td> Before a player moves from a room

<tr valign=top><td><h4>onentry
<td> 
   this: The player<br> 
   primary: The New location<br>
   secondary: --
<td> When a player enters the room

<tr valign=top><td><h4>pre_look
<td> 
   this: The location<br> 
   primary: -- <br>
   secondary: --
<td> Before the location is displayed to the user

<tr valign=top><td><h4>post_look
<td> 
   this: The location<br> 
   primary: -- <br>
   secondary: --
<td> After the location is displayed to the user

<tr valign=top><td><h4>pre_examine
<td> 
   this: The object examined<br> 
   primary: -- <br>
   secondary: --
<td> Before an object's description or contents are displayed to the player

<tr valign=top><td><h4>post_examine
<td> 
   this: The object examined<br> 
   primary: -- <br>
   secondary: --
<td> After an object's description or contents are displayed to the player

<tr valign=top><td><h4>pre_open
<td> 
   this: The object opened<br> 
   primary: -- <br>
   secondary: --
<td> Before the player opens an object

<tr valign=top><td><h4>post_open
<td> 
   this: The object opened<br> 
   primary: -- <br>
   secondary: --
<td> After the player opens an object

<tr valign=top><td><h4>pre_close
<td> 
   this: The object closed<br> 
   primary: -- <br>
   secondary: --
<td> Before the player closes an object

<tr valign=top><td><h4>post_close
<td> 
   this: The object closed<br> 
   primary: -- <br>
   secondary: --
<td> After the player closes an object

<tr valign=top><td><h4>pre_tie
<td> 
   this: The door tied to<br> 
   primary: The rope tied<br>
   secondary: --
<td> Before the player ties a rope to a rope door

<tr valign=top><td><h4>post_tie
<td> 
   this: The door tied to<br> 
   primary: The rope tied<br>
   secondary: --
<td> After the player ties a rope to a rope door

<tr valign=top><td><h4>pre_untie
<td> 
   this: The door tied to<br> 
   primary: The rope tied<br>
   secondary: --
<td> Before the player unties a rope from a rope door

<tr valign=top><td><h4>post_untie
<td> 
   this: The door tied to<br> 
   primary: The rope tied<br>
   secondary: --
<td> After the player unties a rope from a rope door

<tr valign=top><td><h4>pre_read
<td> 
   this: The book being read<br> 
   primary: --<br>
   secondary: --
<td> Before the player reads a book

<tr valign=top><td><h4>post_read
<td> 
   this: The book being read<br> 
   primary: --<br>
   secondary: --
<td> After the player reads a book

<tr valign=top><td><h4>pre_inventory
<td> 
   this: The player doing the inventory<br> 
   primary: --<br>
   secondary: --
<td> Before the inventory is displayed to the player

<tr valign=top><td><h4>post_inventory
<td> 
   this: The player doing the inventory<br> 
   primary: --<br>
   secondary: --
<td> After the inventory is displayed to the player

<tr valign=top><td><h4>pre_drop
<td> 
   this: The object dropped<br> 
   primary: --<br>
   secondary: --
<td> Before a specific object is dropped

<tr valign=top><td><h4>post_drop
<td> 
   this: The object dropped<br> 
   primary: --<br>
   secondary: --
<td> After a specific object is dropped

<tr valign=top><td><h4>pre_lock
<td> 
   this: The object being locked<br> 
   primary: The key<br>
   secondary: --
<td> Before an object is locked

<tr valign=top><td><h4>post_lock
<td> 
   this: The object being locked<br> 
   primary: The key<br>
   secondary: --
<td> After an object is locked

<tr valign=top><td><h4>pre_unlock
<td> 
   this: The object being unlocked<br> 
   primary: The key<br>
   secondary: --
<td> Before an object is unlocked

<tr valign=top><td><h4>post_unlock
<td> 
   this: The object being unlocked<br> 
   primary: The key<br>
   secondary: --
<td> After an object is unlocked

<tr valign=top><td><h4>pre_tell
<td> 
   this: The individual being told<br> 
   primary: --<br>
   secondary: --
<td> Before an individual is told something

<tr valign=top><td><h4>post_tell
<td> 
   this: The individual being told<br> 
   primary: --<br>
   secondary: --
<td> After an individual is told something

<tr valign=top><td><h4>premove
<td> 
   this: The object being moved<br> 
   primary: --<br>
   secondary: --
<td> When a player tries to move an object.  The move command only works with specials and unless there is a special attached, always gives the "it wont budge" message.

<tr valign=top><td><h4>pre_give
<td> 
   this: The object being given<br> 
   primary: The target individual<br>
   secondary: --
<td> Before an object is given to a target individual

<tr valign=top><td><h4>post_give
<td> 
   this: The object being given<br> 
   primary: The target individual<br>
   secondary: --
<td> After an object is given to a target individual

<tr valign=top><td><h4>pre_wield
<td> 
   this: The object being wielded<br> 
   primary: --<br>
   secondary: --
<td> Before an object is wielded by an individual

<tr valign=top><td><h4>post_wield
<td> 
   this: The object wielded<br> 
   primary: --<br>
   secondary: --
<td> After an object is wielded by an individual

<tr valign=top><td><h4>pre_unwield
<td> 
   this: The object being unwielded<br> 
   primary: --<br>
   secondary: --
<td> Before an object is unwielded by an individual

<tr valign=top><td><h4>post_unwield
<td> 
   this: The object unwielded<br> 
   primary: --<br>
   secondary: --
<td> After an object is unwielded by an individual

<tr valign=top><td><h4>preput_target
<td> 
   this: The object being put<br> 
   primary: The receptacle for the object being put<br>
   secondary: --
<td> Before an object is put into another object

<tr valign=top><td><h4>preput_receptacle
<td> 
   this: The receptacle for the object being put<br>
   primary: The object being put<br> 
   secondary: --
<td> Before an object is put into another object

<tr valign=top><td><h4>postput_target
<td> 
   this: The object being put<br> 
   primary: The receptacle for the object being put<br>
   secondary: --
<td> After an object is put into another object

<tr valign=top><td><h4>postput_receptacle
<td> 
   this: The receptacle for the object being put<br>
   primary: The object being put<br> 
   secondary: --
<td> After an object is put into another object

<tr valign=top><td><h4>pre_wear
<td> 
   this: The object being worn<br> 
   primary: --<br>
   secondary: --
<td> Before an object is worn by a player

<tr valign=top><td><h4>post_wear
<td> 
   this: The object being worn<br> 
   primary: --<br>
   secondary: --
<td> After an object is worn by a player

<tr valign=top><td><h4>pre_remove
<td> 
   this: The object being removed<br> 
   primary: --<br>
   secondary: --
<td> Before a wearable is removed by a player

<tr valign=top><td><h4>post_remove
<td> 
   this: The object being removed<br> 
   primary: --<br>
   secondary: --
<td> After a wearable is removed by a player

<tr valign=top><td><h4>pre_eat
<td> 
   this: The object being consumed<br> 
   primary: --<br>
   secondary: --
<td> Before food is consumed by a player

<tr valign=top><td><h4>post_eat
<td> 
   this: The object consumed<br> 
   primary: --<br>
   secondary: --
<td> After food is consumed by a player

<tr valign=top><td><h4>pre_light
<td> 
   this: The object being lit<br> 
   primary: The object doing the lighting<br>
   secondary: --
<td> Before an object is lit by another object

<tr valign=top><td><h4>pre_light
<td> 
   this: The object lit<br> 
   primary: The object that did the lighting<br>
   secondary: --
<td> After an object is lit by another object

<tr valign=top><td><h4>pre_extinguish
<td> 
   this: The object being extinguished<br> 
   primary: -- <br>
   secondary: --
<td> Before a lit object is extinguished

<tr valign=top><td><h4>post_extinguish
<td> 
   this: The object extinguished<br> 
   primary: -- <br>
   secondary: --
<td> After a lit object is extinguished

<tr valign=top><td><h4>pre_kill
<td> 
   this: The target we are attacking<br> 
   primary: The player doing the attacking<br>
   secondary: --
<td> Before the attack occurs

<tr valign=top><td><h4>post_kill
<td> 
   this: The target we are attacking<br> 
   primary: The player doing the attacking<br>
   secondary: --
<td> After the attack occurs

<tr valign=top><td><h4>on_hit
<td> 
   this: The weapon used<br> 
   primary: The target being attacked<br>
   secondary: The attacker
<td> When a blow is landed in battle

<tr valign=top><td><h4>on_death
<td> 
   this: The dying one<br> 
   primary: The one dealing the death blow<br>
   secondary: --
<td> When an individual dies in battle

<tr valign=top><td><h4>pre_cast
<td> 
   this: The player doing the casting<br> 
   primary: --<br>
   secondary: --
<td> Before the cast occurs but after the magic drain

<tr valign=top><td><h4>pre_perform
<td> 
   this: The player doing the performing<br> 
   primary: --<br>
   secondary: --
<td> Before the cast occurs but after the endurance drain

<tr valign=top><td><h4>pre_sit
<td> 
   this: The player sitting<br> 
   primary: --<br>
   secondary: --
<td> Before the player sits

<tr valign=top><td><h4>post_sit
<td> 
   this: After the player sits<br> 
   primary: --<br>
   secondary: --
<td> After the player sits

<tr valign=top><td><h4>pre_sleep
<td> 
   this: The player sleeping<br> 
   primary: --<br>
   secondary: --
<td> Before the player sleeps

<tr valign=top><td><h4>post_sleep
<td> 
   this: After the player sleeps<br> 
   primary: --<br>
   secondary: --
<td> After the player sleeps

<tr valign=top><td><h4>pre_stand
<td> 
   this: The player standing<br> 
   primary: --<br>
   secondary: --
<td> Before the player stands

<tr valign=top><td><h4>post_stand
<td> 
   this: After the player stands<br> 
   primary: --<br>
   secondary: --
<td> After the player stands

<tr valign=top><td><h4>pre_play
<td> 
   this: The object being played<br> 
   primary: --<br>
   secondary: --
<td> When a player tries to play an object.  The play command only works with specials and unless there is a special attached, always gives the "it produces no sound" message.

<tr valign=top><td><h4>pre_enter
<td> 
   this: The item being entered<br> 
   primary: --<br>
   secondary: --
<td> Before the player enters an object

<tr valign=top><td><h4>post_enter
<td> 
   this: The item entered<br> 
   primary: --<br>
   secondary: --
<td> After the player enters an object

<tr valign=top><td><h4>pre_leave
<td> 
   this: The item being exited<br> 
   primary: --<br>
   secondary: --
<td> Before the player exits an object

<tr valign=top><td><h4>post_leave
<td> 
   this: The item exited<br> 
   primary: --<br>
   secondary: --
<td> After the player exits an object

<tr valign=top><td><h4>ondig
<td> 
   this: The player doing the digging<br> 
   primary: --<br>
   secondary: --
<td> When a player tries to dig.  The dig command only works with specials and unless there is a special attached, always gives the "You find nothing of interest" message.

<tr valign=top><td><h4>pre_listen
<td> 
   this: The location listened to<br> 
   primary: --<br>
   secondary: --
<td> Before the player listens to the location

<tr valign=top><td><h4>post_listen
<td> 
   this: The location listened to<br> 
   primary: --<br>
   secondary: --
<td> After the player listens to the location

<tr valign=top><td><h4>pre_smell
<td> 
   this: The location smelled<br> 
   primary: --<br>
   secondary: --
<td> Before the player smells the air

<tr valign=top><td><h4>post_smell
<td> 
   this: The location smelled<br> 
   primary: --<br>
   secondary: --
<td> After the player smells the air

</table>
</BODY>
</HTML>