… | |
… | |
100 | |
100 | |
101 | =head3 apply (object who -- applytype) |
101 | =head3 apply (object who -- applytype) |
102 | |
102 | |
103 | Invoked whenever the object is being applied in some way. The applytype is one of: |
103 | Invoked whenever the object is being applied in some way. The applytype is one of: |
104 | |
104 | |
|
|
105 | =head3 auto_apply (object) |
|
|
106 | |
|
|
107 | Invoked whenever the object is automatically applied (as for example shop tiles |
|
|
108 | are on map instantiation). See also the 'auto_apply' flag to enforce auto apply on |
|
|
109 | any object. |
|
|
110 | |
105 | =over 4 |
111 | =over 4 |
106 | |
112 | |
107 | =item B<0> player or monster can't apply objects of that type |
113 | =item B<0> player or monster can't apply objects of that type |
108 | |
114 | |
109 | =item B<1> has been applied, or there was an error applying the object |
115 | =item B<1> has been applied, or there was an error applying the object |