… | |
… | |
27 | |
27 | |
28 | "B<$name>\n\n" |
28 | "B<$name>\n\n" |
29 | . ($skill ? $skill->msg : "You don't know anything about this skill.") |
29 | . ($skill ? $skill->msg : "You don't know anything about this skill.") |
30 | }; |
30 | }; |
31 | |
31 | |
|
|
32 | our $SPELL_HANDLER = ext::doclet::register spell => sub { |
|
|
33 | my ($pl, $category, $name) = @_; |
|
|
34 | |
|
|
35 | my $skill = $pl->ob->find_spell ($name); |
|
|
36 | |
|
|
37 | "B<$name>\n\n" |
|
|
38 | . ($skill ? $skill->msg : "You don't know anything about this spell.") |
|
|
39 | }; |
|
|
40 | |
32 | cf::register_async_exticmd doclet => sub { |
41 | cf::register_async_exticmd doclet => sub { |
33 | my ($ns, $reply, $category, $item) = @_; |
42 | my ($ns, $reply, $category, $item) = @_; |
34 | |
43 | |
35 | $ns->async (sub { |
44 | $ns->async (sub { |
36 | my $cfpod; |
45 | my $cfpod; |