--- deliantra/server/pod/events.pod 2010/04/08 17:36:54 1.38 +++ deliantra/server/pod/events.pod 2012/10/01 01:43:39 1.41 @@ -228,6 +228,13 @@ Used whenever a book gets inscribed with a message. +=head3 infect (victim disease_type disease -- ) + +Invoked whenever an object is diseased. The disease object is already +inserted in object (the template disease object is C), +but no messages have been generated. If overriden, no messages will be +generated. + =head3 trigger (object who -- ) Invoked whenever a lever-like B has been activated/triggered in some @@ -386,10 +393,12 @@ Invoked whenever the player uses the B, B or B command, before it gets processed. -=head3 build (player builder map x y --) +=head3 build (player builder map x y checkok --) -Players tries to build using C at (map+x+y). Is invoked after the -usual sanity checks, so the coordinates are valid. +Players tries to build using C at (map+x+y). Is invoked after +the usual map sanity checks, so the coordinates are valid. The boolean +C is true only if the build code thinks it is "ok" to build at +that space, and normally you should only build when it is true. =head2 MAP EVENTS @@ -443,8 +452,8 @@ =head3 connect (client -- ) -Called as soon as a new connection to the server is established. Should -not be overriden. +Called as soon as a new connection to the server is established and the +socket has been configured. =head3 version (client string -- )