summaryrefslogtreecommitdiff
path: root/npc/005-7/trainer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-7/trainer.txt')
-rw-r--r--npc/005-7/trainer.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt
index 1e5d420ab..609c37109 100644
--- a/npc/005-7/trainer.txt
+++ b/npc/005-7/trainer.txt
@@ -26,8 +26,13 @@
// 12: Finished all trainment
005-7,25,29,0 script Trainer NPC_PLAYER,{
+ goto L_Begin;
+
+OnRemoteHelp:
+L_Begin:
.@q=getq(CandorQuest_Trainer);
.@b=getq(ShipQuests_Knife); // TODO: We should check if user is with weapon equipped instead
+ .@map$=getmap();
mesn;
mesq lg("Hello my friend! Need my help?");
next;
@@ -43,7 +48,7 @@ L_Menu:
mesn strcharinfo(0);
menu
l("How can you help me?"), L_ExplicaSiProprio,
- rif(getq(CandorQuest_Trainer) < 15, l("I want to be trained!")), L_Trainment,
+ rif(.@map$ == "005-7" && getq(CandorQuest_Trainer) < 15, l("I want to be trained!")), L_Trainment,
l("I wanted info about how to play."), L_Manaplus_gap,
l("How do I make money?"), L_ExplicaGrama,
l("Monsters."), L_Monstros,
@@ -410,6 +415,9 @@ L_Comandos:
mes l("@discord allows you to setup Discord integration settings.");
mes l("@ucp allows you to manage your account, eg. recover lost email.");
next;
+ mes l("@resyncall is the more powerful version of @resync. It'll reload everything, even the clouds if needed.");
+ mes l("@info and @tutorial will, using Jesusalva's powers, allow you to contact me anywhere for info.");
+ next;
goto L_Manaplus;
L_Status:
@@ -600,6 +608,9 @@ OnKillManaBug:
end;
OnInit:
+ bindatcmd "info", "Trainer::OnRemoteHelp", 0, 0, 0;
+ bindatcmd "tutorial", "Trainer::OnRemoteHelp", 0, 0, 0;
+
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, LeatherShirt);
setunitdata(.@npcId, UDT_HEADMIDDLE, CottonTrousers);