… | |
… | |
384 | =head3 shout (player message --) |
384 | =head3 shout (player message --) |
385 | |
385 | |
386 | Invoked whenever the player uses the B<say>, B<chat> or B<shout> command, |
386 | Invoked whenever the player uses the B<say>, B<chat> or B<shout> command, |
387 | before it gets processed. |
387 | before it gets processed. |
388 | |
388 | |
389 | =head3 build (player builder map x y --) |
389 | =head3 build (player builder map x y checkok --) |
390 | |
390 | |
391 | Players tries to build using C<builder> at (map+x+y). Is invoked after the |
391 | Players tries to build using C<builder> at (map+x+y). Is invoked after |
392 | usual sanity checks, so the coordinates are valid. |
392 | the usual map sanity checks, so the coordinates are valid. The boolean |
|
|
393 | C<checkok> is true only if the build code thinks it is "ok" to build at |
|
|
394 | that space, and normally you should only build when it is true. |
393 | |
395 | |
394 | |
396 | |
395 | =head2 MAP EVENTS |
397 | =head2 MAP EVENTS |
396 | |
398 | |
397 | These events are generally dependent on a map and thus all have a map |
399 | These events are generally dependent on a map and thus all have a map |