ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/events.pod
(Generate patch)

Comparing deliantra/server/pod/events.pod (file contents):
Revision 1.26 by elmex, Mon Jul 14 10:26:43 2008 UTC vs.
Revision 1.30 by root, Thu Jan 8 03:03:24 2009 UTC

100 100
101=head3 apply (object who -- applytype) 101=head3 apply (object who -- applytype)
102 102
103Invoked whenever the object is being applied in some way. The applytype is one of: 103Invoked whenever the object is being applied in some way. The applytype is one of:
104 104
105=head3 auto_apply (object)
106
107Invoked whenever the object is automatically applied (as for example shop tiles
108are on map instantiation). See also the 'auto_apply' flag to enforce auto apply on
109any object.
110
111=over 4 105=over 4
112 106
113=item B<0> player or monster can't apply objects of that type 107=item B<0> player or monster can't apply objects of that type
114 108
115=item B<1> has been applied, or there was an error applying the object 109=item B<1> has been applied, or there was an error applying the object
116 110
117=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
118 112
119=back 113=back
114
115=head3 reset (object)
116
117Invoked whenever the object is initialised on a map after it was
118loaded. This can be used to emulate shop-floor behaviour for example.
120 119
121=head3 throw (object thrower) 120=head3 throw (object thrower)
122 121
123Invoked when an B<object> is thrown by B<thrower>. 122Invoked when an B<object> is thrown by B<thrower>.
124 123
378=head3 leave (map player -- ) 377=head3 leave (map player -- )
379 378
380Invoked whenever a player tries to leave the B<map>. Overriding means the 379Invoked whenever a player tries to leave the B<map>. Overriding means the
381player won't be able to leave. 380player won't be able to leave.
382 381
383=head3 trigger (map connection state -- ) 382=head3 trigger (map connection state who? -- )
384 383
385Invoked whenever something activates a B<connection> on the B<map>. If B<state> 384Invoked whenever something activates a B<connection> on the B<map>. If B<state>
386is true the connection was 'state' and if false it is 'released'. 385is true the connection was 'state' and if false it is 'released'.
387 386
388 387

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines