summaryrefslogtreecommitdiff
path: root/npc/004-1/miner
diff options
context:
space:
mode:
Diffstat (limited to 'npc/004-1/miner')
-rw-r--r--npc/004-1/miner64
1 files changed, 32 insertions, 32 deletions
diff --git a/npc/004-1/miner b/npc/004-1/miner
index cc7a20c32..966ec8b32 100644
--- a/npc/004-1/miner
+++ b/npc/004-1/miner
@@ -5,8 +5,8 @@
// Original review: Lunovox <rui.gravata@gmail.com>; Ernando <ernando.quirino@hotmail.com>; Jesusalva <supremo@brasil.byethost22.com>
// Objective: Train the player and give some experience.
// License: GPL v3
-//
-// CandorQuest_Trainer
+// https://www.idleminertycoon.com/ reference of npc name
+// TulimQuest_Tycoon
// 0: Not started
// 1: Took Maggot Quest
@@ -25,8 +25,8 @@
// 11: Completed Scorpion Quest
// 12: Finished all trainment
-004-,25,29,0 script Miner Master NPC_PLAYER,{
- .@q=getq(CandorQuest_Trainer);
+004-,25,29,0 script Tycoon NPC_PLAYER,{
+ .@q=getq(TulimQuest_Tycoon);
.@b=getq(ShipQuests_Knife); // TODO: We should check if user is with weapon equipped instead
@@ -51,7 +51,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(getq(TulimQuest_Tycoon) < 15, l("I want to be trained!")), L_Trainment,
l("How do I make money?"), L_ExplicaGrama,
l("How I see my items?"), L_ExplicaBagagem,
l("How trade with other players?"), L_ExplicaTrade,
@@ -61,54 +61,54 @@ L_Menu:
l("No, thanks!"), L_Fechar;
L_Trainment:
- .@q=getq(CandorQuest_Trainer);
+ .@q=getq(TulimQuest_Tycoon);
mes "";
if (BaseLevel < 3) goto L_NoLevel;
if (.@b == 0) goto L_NoKnife;
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
mesn;
if (.@q == 0) {
mesq l("Ok, you have some level. Now, let me think on an easy task for you...");
next;
mesq l("Ah! I know. Kill 10 @@. They usually are the crops.", getmonsterlink(Maggot));
- setq CandorQuest_Trainer, 1, 0;
+ setq TulimQuest_Tycoon, 1, 0;
} else if (.@q == 1) {
mesq l("You are killing @@. They are usually at the crops.", getmonsterlink(Maggot));
} else if (.@q == 2) {
mesq l("Good job! Here is your reward! (40 xp 25 gp)");
getexp 40, 0;
set Zeny, Zeny + 25;
- setq CandorQuest_Trainer, 3, 0;
+ setq TulimQuest_Tycoon, 3, 0;
} else if (.@q == 3) {
mesq l("Less maggots means more food to the town. So, this time the monsters will be a little stronger.");
next;
mesq l("In the storehouse, kill 5 @@. They keep respawning and are annoying.", getmonsterlink(HouseMaggot));
- setq CandorQuest_Trainer, 4, 0;
+ setq TulimQuest_Tycoon, 4, 0;
} else if (.@q == 4) {
mesq l("You are killing @@ at the storehouse.", getmonsterlink(HouseMaggot));
} else if (.@q == 5) {
mesq l("Perfect! Here is your reward! (40 xp 25 gp)");
getexp 40, 0;
set Zeny, Zeny + 25;
- setq CandorQuest_Trainer, 6, 0;
+ setq TulimQuest_Tycoon, 6, 0;
} else if (.@q == 6) {
mesq l("As you see, helping others is a good way to level up. You can also sell monster parts for some money.");
next;
mesq l("So, please kill 3 @@, which are usually at beaches. You can sell their stingers.", getmonsterlink(CandorScorpion));
- setq CandorQuest_Trainer, 7, 0;
+ setq TulimQuest_Tycoon, 7, 0;
} else if (.@q == 7) {
mesq l("You are killing @@ at the beach.", getmonsterlink(CandorScorpion));
} else if (.@q == 8) {
mesq l("Managed to drop anything? It requires more luck than skill. Here is your reward. (40 xp 25 gp)");
getexp 40, 0;
set Zeny, Zeny + 25;
- setq CandorQuest_Trainer, 9, 0;
+ setq TulimQuest_Tycoon, 9, 0;
} else if (.@q == 9) {
mesq l("This will be the last task. Besides the @@, the strongest monster on this island worth killing is the @@.", getmonsterlink(ManaBug), getmonsterlink(Scorpion));
next;
mesq l("I'll ask you to kill 2 @@. This will prove your worth. They are northwest of the island.", getmonsterlink(Scorpion));
- setq CandorQuest_Trainer, 10, 0;
+ setq TulimQuest_Tycoon, 10, 0;
} else if (.@q == 10) {
mesq l("You are killing @@ at northwest from the island.", getmonsterlink(Scorpion));
} else if (.@q == 11) {
@@ -116,10 +116,10 @@ L_Trainment:
mesq l("You completed your trainment, so you're getting 50 bonus experience points. If you level up, use your stat points wisely!");
getexp 90, 0;
set Zeny, Zeny + 25;
- setq CandorQuest_Trainer, 12, 0;
+ setq TulimQuest_Tycoon, 12, 0;
} else if (.@q == 12 && BaseLevel >= 9) {
mesq l("You are already fully trained. You should go to Tulimshar, but if you want a bonus task, please kill a @@.", getmonsterlink(ManaBug));
- setq CandorQuest_Trainer, 13, 0;
+ setq TulimQuest_Tycoon, 13, 0;
} else if (.@q == 12 && BaseLevel < 9) {
mesq l("You are already fully trained. You should go to Tulimshar. I may have another task for you later, but you are too weak now, get some levels.");
} else if (.@q == 13) {
@@ -130,7 +130,7 @@ L_Trainment:
inventoryplace CandorHeadBand, 1;
getitem CandorHeadBand, 1;
set Zeny, Zeny + 200;
- setq CandorQuest_Trainer, 15, 0;
+ setq TulimQuest_Tycoon, 15, 0;
}
next;
goto L_PreMenu;
@@ -430,22 +430,22 @@ L_Menu_gap:
function trainer_add_kills
{
- .@qp=getq(CandorQuest_Trainer);
- .@kp=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
- setq CandorQuest_Trainer, .@qp, .@kp+1;
+ .@qp=getq(TulimQuest_Tycoon);
+ .@kp=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
+ setq TulimQuest_Tycoon, .@qp, .@kp+1;
//message strcharinfo(0), l("Set status @@ with @@ kills", .@qp, .@kp);
}
function trainer_max_kills
{
- .@qp=getq(CandorQuest_Trainer);
- setq CandorQuest_Trainer, .@qp+1, 0;
+ .@qp=getq(TulimQuest_Tycoon);
+ setq TulimQuest_Tycoon, .@qp+1, 0;
//message strcharinfo(0), l("End status @@", .@qp);
}
OnKillMaggot:
- .@q=getq(CandorQuest_Trainer);
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@q=getq(TulimQuest_Tycoon);
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
if (.@q == 1) {
if (.@k+1 >= 10) {
trainer_max_kills();
@@ -457,8 +457,8 @@ OnKillMaggot:
}
end;
OnKillHouseMaggot:
- .@q=getq(CandorQuest_Trainer);
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@q=getq(TulimQuest_Tycoon);
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
if (.@q == 4) {
if (.@k+1 >= 5) {
trainer_max_kills();
@@ -473,8 +473,8 @@ OnKillHouseMaggot:
}
end;
OnKillCandorScorpion:
- .@q=getq(CandorQuest_Trainer);
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@q=getq(TulimQuest_Tycoon);
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
if (.@q == 7) {
if (.@k+1 >= 3) {
trainer_max_kills();
@@ -486,8 +486,8 @@ OnKillCandorScorpion:
}
end;
OnKillScorpion:
- .@q=getq(CandorQuest_Trainer);
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@q=getq(TulimQuest_Tycoon);
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
if (.@q == 10) {
if (.@k+1 >= 2) {
trainer_max_kills();
@@ -499,8 +499,8 @@ OnKillScorpion:
}
end;
OnKillManaBug:
- .@q=getq(CandorQuest_Trainer);
- .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2)
+ .@q=getq(TulimQuest_Tycoon);
+ .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2)
if (.@q == 13) {
if (.@k+1 >= 1) {
trainer_max_kills();