… | |
… | |
110 | |
110 | |
111 | =item B<2> objects of that type can't be applied if not in inventory |
111 | =item B<2> objects of that type can't be applied if not in inventory |
112 | |
112 | |
113 | =back |
113 | =back |
114 | |
114 | |
|
|
115 | =head3 reset (object) |
|
|
116 | |
|
|
117 | Invoked whenever the object is initialised on a map after it was |
|
|
118 | loaded. This can be used to emulate shop-floor behaviour for example. |
|
|
119 | |
115 | =head3 throw (object thrower) |
120 | =head3 throw (object thrower) |
116 | |
121 | |
117 | Invoked when an B<object> is thrown by B<thrower>. |
122 | Invoked when an B<object> is thrown by B<thrower>. |
118 | |
123 | |
119 | =head3 stop (object -- ) |
124 | =head3 stop (object -- ) |
… | |
… | |
372 | =head3 leave (map player -- ) |
377 | =head3 leave (map player -- ) |
373 | |
378 | |
374 | Invoked whenever a player tries to leave the B<map>. Overriding means the |
379 | Invoked whenever a player tries to leave the B<map>. Overriding means the |
375 | player won't be able to leave. |
380 | player won't be able to leave. |
376 | |
381 | |
377 | =head3 trigger (map connection state -- ) |
382 | =head3 trigger (map connection state what? who? -- ) |
378 | |
383 | |
379 | Invoked whenever something activates a B<connection> on the B<map>. If B<state> |
384 | Invoked whenever something activates a B<connection> on the B<map>. If B<state> |
380 | is true the connection was 'state' and if false it is 'released'. |
385 | is true the connection was 'state' and if false it is 'released'. |
381 | |
386 | |
382 | |
387 | |