diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-05-16 09:30:14 +0000 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-05-16 09:30:14 +0000 |
commit | 74e8e2b456951060253fafa62672181c458e60f5 (patch) | |
tree | a69681eec3ae315b25cd017111c82e4b0484eb3c | |
parent | c923e7acae53872b12588c8aeed0d930d3b1c0f6 (diff) | |
download | serverdata-74e8e2b456951060253fafa62672181c458e60f5.tar.gz serverdata-74e8e2b456951060253fafa62672181c458e60f5.tar.bz2 serverdata-74e8e2b456951060253fafa62672181c458e60f5.tar.xz serverdata-74e8e2b456951060253fafa62672181c458e60f5.zip |
tycoon done
-rw-r--r-- | npc/004-1/tycoon.txt (renamed from npc/004-1/miner) | 148 |
1 files changed, 70 insertions, 78 deletions
diff --git a/npc/004-1/miner b/npc/004-1/tycoon.txt index 5233cc1c5..37e9720b7 100644 --- a/npc/004-1/miner +++ b/npc/004-1/tycoon.txt @@ -1,34 +1,38 @@ // TMW2 scripts. -// Authors: -// Saulc, jesusava -// Objective: Farm miner cave monster -// License: GPL v3 -// https://www.idleminertycoon.com/ reference of npc name -// TulimQuest_Tycoon +// TMW2 Authors: +// Saulc +// jesusava +// Description: +// Miner leader ask to purge mine +// Variable: +// License: ??? wich one sould i use ? +// Reference: +// npc name from https://www.idleminertycoon.com/ +// Steps: // 0: Not started - +// // 1: Took ratto Quest 10 kills // 2: Completed ratto Quest - 50 EXP 50 GP // 3: Awaiting next quest - +// // 4: Took Cave Maggot Quest 25 kills // 5: Completed Cave Maggot Quest - 200 EXP 150 GP // 6: Awaiting next quest - +// // 7: Took Cave Snake Quest 50 kills // 8: Completed Cave Snake Quest - 1000 EXP 350 GP // 9: Awaiting next quest - +// // 10: Took Red Scorpion Quest 100 kills // 11: Completed Red Scorpion Quest - Miner Hat // 12: Awaiting next quest - +// // 13: Took Black Scorpion Quest 200 kills // 14: Completed Black Scorpion Quest - 12 000 EXP 5 000 GP // 15: Finished all trainment 004-,25,29,0 script Tycoon NPC_PLAYER,{ - .@q=getq(TulimQuest_Tycoon); + .@q=getq(TulimsharQuest_Tycoon); mesn; mesq lg(Hello my friend!"); @@ -50,67 +54,67 @@ L_PreMenu: L_Menu: mesn strcharinfo(0); menu - rif(getq(TulimQuest_Tycoon) < 15, l("I am a brave adventurer! how can i help you ?")), L_Purge, - l("What does miners do in cave ?"), L_ExplicaGrama, - l("can you give me a tip?"), L_ExplicaBagagem, - l("Are you a terrenite?"), L_ExplicaTrade, + rif(getq(TulimsharQuest_Tycoon) < 15, l("I am a brave adventurer! how can i help you ?")), L_Purge, + l("What does miners do in cave ?"), L_CaveMiner, + l("Can you give me a tip?"), L_Tip, + l("Are you a terrenite?"), L_Terranite, l("I dont care about dirty miners problem."), L_Close, l("No, thanks, its not my job!"), L_Close; L_Purge: - .@q=getq(TulimQuest_Tycoon); + .@q=getq(TulimsharQuest_Tycoon); mes ""; if (BaseLevel < 15) goto L_NoLevel; - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) mesn; if (.@q == 0) { mesq l("Ok, you look strong enough. Now, let me think on an easy task for you..."); next; mesq l("Ah! I know. Kill 10 @@. They usually are near the refectory.", getmonsterlink(Ratto)); - setq TulimQuest_Tycoon, 1, 0; + setq TulimsharQuest_Tycoon, 1, 0; } else if (.@q == 1) { mesq l("You are killing @@. They usually are near the refectory.", getmonsterlink(Ratto)); } else if (.@q == 2) { mesq l("Good job! Here is your reward! (50 xp 50 gp)"); getexp 50, 0; set Zeny, Zeny + 50; - setq TulimQuest_Tycoon, 3, 0; + setq TulimsharQuest_Tycoon, 3, 0; } else if (.@q == 3 && BaseLevel >= 19) { mesq l("Less rattos means more food. So, this time the monsters will be a little stronger."); next; mesq l("Ok now i want you to purge cave of Maggot, kill 25 @@. They keep respawning and annoy miners team.", getmonsterlink(CaveMaggot)); - setq TulimQuest_Tycoon, 4, 0; + setq TulimsharQuest_Tycoon, 4, 0; } else if (.@q == 3 && BaseLevel < 19) { - mesq l("You are already too weak for my last task, please come back later with some levels."); + mesq l("You are already too weak for my task, please come back later with some levels."); } else if (.@q == 4) { mesq l("You are killing @@ at the cave. Good progress", getmonsterlink(CaveMaggot)); } else if (.@q == 5) { mesq l("Perfect! Here is your reward! (200 xp 150 gp)"); getexp 200, 0; set Zeny, Zeny + 150; - setq TulimQuest_Tycoon, 6, 0; + setq TulimsharQuest_Tycoon, 6, 0; } else if (.@q == 6 && BaseLevel >= 24) { mesq l("As you see, That was fast. You can also sell monster parts to inn keeper for some extra money."); next; mesq l("So, please kill 50 @@, Try to collect some lamps in the same time, that could be useful later.", getmonsterlink(CaveSnake)); - setq TulimQuest_Tycoon, 7, 0; + setq TulimsharQuest_Tycoon, 7, 0; } else if (.@q == 6 && BaseLevel < 24) { - mesq l("You are already too weak for my last task, please come back later with some levels."); + mesq l("You are already too weak for my task, please come back later with some levels."); } else if (.@q == 7) { mesq l("You are killing @@ at the cave.", getmonsterlink(CaveSnake)); } else if (.@q == 8) { mesq l("I hope you get some lamps or maybe a short if you re lucky. By the way here is your reward. (1000 xp 350 gp)"); getexp 1000, 0; set Zeny, Zeny + 350; - setq TulimQuest_Tycoon, 9, 0; + setq TulimsharQuest_Tycoon, 9, 0; } else if (.@q == 9 && BaseLevel >= 29) { mesq l("Ok now you are near to be a real miner if you succes this hard part i will reward you as a @@.", getitemlink(MinerHat)); next; mesq l("I'll ask you to kill 100 @@. This will prove your worth. Good luck.", getmonsterlink(RedScorpion)); - setq TulimQuest_Tycoon, 10, 0; + setq TulimsharQuest_Tycoon, 10, 0; } else if (.@q == 9 && BaseLevel < 29) { - mesq l("You are already too weak for my last task, please come back later with some levels."); + mesq l("You are already too weak for my task, please come back later with some levels."); } else if (.@q == 10) { mesq l("You are killing @@ it's still in progress.", getmonsterlink(RedScorpion)); } else if (.@q == 11) { @@ -118,22 +122,22 @@ L_Purge: mesq l("We done nice progress thank a lot my friend you re nwo part of the Tulimshar miner crew!"); inventoryplace MinerHat, 1; getitem MinerHat, 1; - setq TulimQuest_Tycoon, 12, 0; + setq TulimsharQuest_Tycoon, 12, 0; } else if (.@q == 12 && BaseLevel >= 34) { mesq l("Last task i can give you it's to exterminate @@ They actually lock miners progress in the mine.", getmonsterlink(BlackScorpion)); - setq TulimQuest_Tycoon, 13, 0; + setq TulimsharQuest_Tycoon, 13, 0; } else if (.@q == 12 && BaseLevel < 34) { mesq l("You are already too weak for my last task, please come back later with some levels."); } else if (.@q == 13) { mesq l("You are killing @@ at the cave.", getmonsterlink(BlackScorpion)); } else if (.@q == 14) { mesq l("Wow! You did it! I do not think anyone else could have done that."); - mesq l("Here, take this @@ - you deserve it! And here is 5000 GP and 12.000 XP", getitemlink(Ruby)); + mesq l("Here, take this @@ - you deserve it! And here is 5.000 GP and 12.000 XP", getitemlink(Ruby)); inventoryplace Ruby, 1; getitem CandorHeadBand, 1; getexp 12000, 0; set Zeny, Zeny + 5000; - setq TulimQuest_Tycoon, 15, 0; + setq TulimsharQuest_Tycoon, 15, 0; } next; goto L_PreMenu; @@ -143,64 +147,52 @@ L_NoLevel: mesq l("Ah, yes... You see, there is just no task I can give to you right now. ##BYou are too weak to fight these monsters.##b"); next; mesn; - mesq l("come back stronger and i will give you tast"); + mesq l("come back stronger and i will give you task"); next; goto L_Close; -// Anything below this line is copy-pasted from SG:ManaBird, a TMW-BR clone -// Do not attention to it, unless you need to. Translated by Google. - -L_ExplicaGrama: +L_CaveMiner: mes ""; mesn; - mesq l("Merchants like to buy body parts of killed monsters and animals because they can make items and equipment."); + mesq l("Tulimshar miners mainly try to optain gems."); next; - mesq l("Some others also like to buy them to keep as trophies. Either way, you can make some money with that."); + mesq l("In this cave we easily found Coal, Iron ore, and sometime @@.", getitemlink(Ruby)); // maybe add link for coal and iron ? next; - goto L_PreMenu; + goto L_Menu; -L_ExplicaBagagem: +L_Tip: mes ""; mesn; - mesq l("If you fight Black scorpion ."); + mesq l("If you fight Black scorpion or others dangerous monster you should run how to 'run and hit'."); next; mesn; - mesq l("To equip or unequip an item, select it and press the 'Equip' or 'Unequip' button. You can not 'Equip' or 'Unequip' when talking to someone."); + mesq l("To do this you need to disable auto move to target in 'yellow bar'."); next; mesn; - mesq l("Dress up! Do not walk without clothes! Always wear your items! They leave you less vulnerable to attacks and stronger to defeat your opponents."); + mesq l("To open yellow Bar you need to right clic on your health bar and active status bar also called yellow bar or you can press '8' on numeric keypad"); next; mesn; - mesq l("To discard an item you no longer want, select it and press the 'Discard' button. Generic items can be discarded or sold. But equipment can only be sold."); - next; - goto L_PreMenu; - -L_ExplicaTrade: - mes ""; - mesn; - mesq l("Press the 'R' key to ignore or accept business proposals. You and the other citizen who want to negotiate need to be in the configuration that accepts negotiations. if your configuration is 'Ignoring business proposals', then you will not receive the warning from any citizen wanting to negotiate with you, and you will not be able to initiate negotiations."); - next; - mesn; - mesq l("To negotiate with other citizens, you should click the second mouse button on some other citizen who is accepting negotiations, and select the 'Negotiation' option from the menu that will appear."); - next; - mesn; - mesq l("After you have confirmed the negotiation, a window with a vertical split will appear. The left side are the items you intend to offer in trading. The right side are the items that the other citizen intends to offer in trading."); + mesq l("Now you need to fight monster with the maximum range you can to do this do these steps in order: lock enemy, Attack, hit, move backwards of one tile, hit, ETC "); next; mesn; - mesq l("Open your inventory window (F3 key) next to the trading window. Select an item you want to offer, and then press the Add button. To add money to the negotiation, enter the amount you will offer and press the Change button."); + mesq l("With this tip you will be able to fight strong monsters."); next; + goto L_Menu; + +L_Terranite: + mes ""; mesn; - mesq l("When you have added all the items and money you want, press the 'Propose Business' button. The other citizen must also press the 'Propose Business' button."); + mesq l("Haha no im not ! but we found trace of them."); next; mesn; - mesq l("if the proposal is not convenient for you, just close the trading window to cancel the exchange of items and money. But if both press the 'Accept Negotiation' button, then the marketing will be finished."); + mesq l("Terranite probably undermine part of the mine long time ago."); next; mesn; - mesq l("Remember! You're trading things, not lending/borrowing them. You are solely responsible for everything you own."); + mesq l("That can explain why we have difficulties to found rare gams here ."); next; - goto L_PreMenu; + goto L_Menu; L_Close: @@ -209,22 +201,22 @@ L_Close: function tycoon_add_kills { - .@qp=getq(TulimQuest_Tycoon); - .@kp=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) - setq TulimQuest_Tycoon, .@qp, .@kp+1; + .@qp=getq(TulimsharQuest_Tycoon); + .@kp=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) + setq TulimsharQuest_Tycoon, .@qp, .@kp+1; //message strcharinfo(0), l("Set status @@ with @@ kills", .@qp, .@kp); } function tycoon_max_kills { - .@qp=getq(TulimQuest_Tycoon); - setq TulimQuest_Tycoon, .@qp+1, 0; + .@qp=getq(TulimsharQuest_Tycoon); + setq TulimsharQuest_Tycoon, .@qp+1, 0; //message strcharinfo(0), l("End status @@", .@qp); } OnKillRatto: - .@q=getq(TulimQuest_Tycoon); - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@q=getq(TulimsharQuest_Tycoon); + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) if (.@q == 1) { if (.@k+1 >= 10) { tycoon_max_kills(); @@ -236,8 +228,8 @@ OnKillRatto: } end; OnKillCaveMaggot: - .@q=getq(TulimQuest_Tycoon); - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@q=getq(TulimsharQuest_Tycoon); + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) if (.@q == 4) { if (.@k+1 >= 25) { tycoon_max_kills(); @@ -252,8 +244,8 @@ OnKillCaveMaggot: } end; OnKillCaveSnake: - .@q=getq(TulimQuest_Tycoon); - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@q=getq(TulimsharQuest_Tycoon); + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) if (.@q == 7) { if (.@k+1 >= 50) { tycoon_max_kills(); @@ -265,8 +257,8 @@ OnKillCaveSnake: } end; OnKillRedScorpion: - .@q=getq(TulimQuest_Tycoon); - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@q=getq(TulimsharQuest_Tycoon); + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) if (.@q == 10) { if (.@k+1 >= 100) { tycoon_max_kills(); @@ -278,8 +270,8 @@ OnKillRedScorpion: } end; OnKillBlackScorpion: - .@q=getq(TulimQuest_Tycoon); - .@k=getq2(TulimQuest_Tycoon); // Get number of kills (via getq2) + .@q=getq(TulimsharQuest_Tycoon); + .@k=getq2(TulimsharQuest_Tycoon); // Get number of kills (via getq2) if (.@q == 13) { if (.@k+1 >= 200) { tycoon_max_kills(); |