… | |
… | |
1370 | my ($self) = @_; |
1370 | my ($self) = @_; |
1371 | |
1371 | |
1372 | $MAPWIDGET->clr_commands; |
1372 | $MAPWIDGET->clr_commands; |
1373 | |
1373 | |
1374 | for my $skill (values %{$self->{skill_info}}) { |
1374 | for my $skill (values %{$self->{skill_info}}) { |
1375 | $MAPWIDGET->add_command ("ready_\\skill $skill", "Ready the skill '$skill'"); |
1375 | $MAPWIDGET->add_command ("ready_skill $skill", "Ready the skill '$skill'"); |
1376 | $MAPWIDGET->add_command ("use_\\skill $skill", "Immediately use the skill '$skill'"); |
1376 | $MAPWIDGET->add_command ("use_skill $skill", "Immediately use the skill '$skill'"); |
1377 | } |
1377 | } |
1378 | |
1378 | |
1379 | $MAPWIDGET->add_command ("pet\\mode defend", "Tell pets to stay close to you and defend you"); |
1379 | $MAPWIDGET->add_command ("petmode defend", "Tell pets to stay close to you and defend you"); |
1380 | $MAPWIDGET->add_command ("pet\\mode arena", "Same as petmode sad, but also attack other players"); |
1380 | $MAPWIDGET->add_command ("petmode arena", "Same as petmode sad, but also attack other players"); |
1381 | $MAPWIDGET->add_command ("pet\\mode sad", "Search & Destroy - tell pets to roam about and attack enemies"); |
1381 | $MAPWIDGET->add_command ("petmode sad", "Search & Destroy - tell pets to roam about and attack enemies"); |
1382 | $MAPWIDGET->add_command ("kill\\pets", "Kill your pets"); |
1382 | $MAPWIDGET->add_command ("killpets", "Kill your pets"); |
1383 | $MAPWIDGET->add_command ("chat", "chat TEXT\nChat with all other players"); |
1383 | $MAPWIDGET->add_command ("chat", "chat TEXT\nChat with all other players"); |
1384 | $MAPWIDGET->add_command ("shout", "shout TEXT\nShout loudly, used for emergencies"); |
1384 | $MAPWIDGET->add_command ("shout", "shout TEXT\nShout loudly, used for emergencies"); |
1385 | $MAPWIDGET->add_command ("tell", "tell USERNAME TEXT\nPrivately tell a specific player"); |
1385 | $MAPWIDGET->add_command ("tell", "tell USERNAME TEXT\nPrivately tell a specific player"); |
1386 | |
1386 | |
1387 | # TODO: add documentation on these |
1387 | # TODO: add documentation on these |
1388 | for (qw( |
1388 | for (qw( |
1389 | afk |
1389 | afk |
1390 | apply |
1390 | apply |
1391 | applymode |
|
|
1392 | body |
1391 | body |
1393 | bowmode |
1392 | bowmode |
1394 | brace |
1393 | brace |
1395 | build |
1394 | build |
1396 | disarm |
1395 | disarm |