[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Apr 15 06:02:06 CDT 2012


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2012/04/15 06:02
User        : ryo
Edit Summary: update

@@ -122,8 +122,9 @@
  ==== Throw ====
  Archetype: event_throw
  
  Generated when the object is thrown. The object is still in the thrower's inventory, and can be removed to abort being thrown.
+ 
  
  
  ==== Trigger ====
  Archetype: event_trigger
@@ -132,8 +133,9 @@
  
    * for a scroll/book/tome, generated when player writes into the item. ''op'' is the item, ''activator'' is the player, ''message'' is what player is trying to write. Return non zero to prevent writing. Event is generated before length is checked for overflow.
    * for a magical scroll, generated when player inscribes a spell in the item. ''op'' is the item, ''activator'' is the player, ''third'' is the spell being inscribed. Return non zero to prevent writing. Event is generated after all checks are done (player can really write the scroll, he didn't read it accidentally) but before sp/gr are decreased.
    * for teleporters (type 41), exits (type 66), directors (type 112), check inventory (type 64), swamps (type 138) called when something moves on the spot ; process can be aborted by returning a non zero value
+   * for doors (type 23) and locked_door (type 20), called before a lockpicking is attempted ; no check (blocked or not, can be picked or not) was yet done, except that the item is a (locked) door ; process can be aborted by returning a non-zero value. ''op'' is the door, ''activator'' the player, and ''third'' the lockpicking skill
  
  ==== Timer ====
  Archetype: event_timer
  


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1320599037
New Revision: http://wiki.metalforge.net/doku.php/server_plugin

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list