--- deliantra/server/pod/extensions.pod 2006/09/09 23:22:06 1.2 +++ deliantra/server/pod/extensions.pod 2009/01/08 03:03:24 1.4 @@ -1,8 +1,7 @@ -=head1 CROSSFIRE+ EXTENSION INTRODUCTION +=head1 DELIANTRA EXTENSION INTRODUCTION -In Crossfire+ the plugin/extension and event API was completly rewritten -in Perl and C++. Here is a small guide or introduction on how to -use it. +In Deliantra, the plugin/extension and event API was completly rewritten +in Perl and C++. Here is a small guide or introduction on how to use it. If you have any questions don't hesitate to contact the developers, see: http://cf.schmorp.de/contact.shtml @@ -31,7 +30,7 @@ You can also attach a Perl package to the skill like this: cf::attach_to_type cf::SKILL, cf::SK_JEWELER, - package => 'Crossfire::JewelerSkill'; + package => 'ext::JewelerSkill'; cf::attach_to_objects will attach handlers for events on _all_ objects in the game, this is mainly for debugging purposes, as it will produce a @@ -49,7 +48,7 @@ print "CONNECITON TRIGGERED: $connection : $state\n"; - for ($map->get_connection ($connection)) { + for ($map->find_link ($connection)) { print "connected obj: " . $_->name . "\n"; } };