From d61deda8706929b5326be6cd416ff9b6c350cbd3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 17 Jul 2018 02:15:52 -0300 Subject: Replace Paxel :3 --- .../016-1_NewPaxel.forum.deserthelmet.txt | 144 -------------------- npc/00000SAVE/016-1_NewPaxel.forum.txt | 149 +++++++++++++++++++++ npc/00000SAVE/016-1_paxel.txt | 73 ---------- 3 files changed, 149 insertions(+), 217 deletions(-) delete mode 100644 npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt create mode 100644 npc/00000SAVE/016-1_NewPaxel.forum.txt delete mode 100644 npc/00000SAVE/016-1_paxel.txt (limited to 'npc/00000SAVE') diff --git a/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt b/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt deleted file mode 100644 index a5ee35f70..000000000 --- a/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt +++ /dev/null @@ -1,144 +0,0 @@ -// This is to replace Paxel -//---------------------------------------------------- -// Desert Helmet quest -// Create Quest: Darlord (Depredador) -//---------------------------------------------------- - -012-1.gat,122,115,0 script Paxel 126,{ - if(QUEST_Warrior1 == 2) goto L_Done1; - if(QUEST_Warrior1 == 1) goto L_Ask2; - - if (BaseLevel >= 60 && countitem(IronIngot) > 0) goto L_Ask1; - - mesn; - mes "\"Hello! Calm wind today!\""; - menu - "Yes, but I like windy days.", L_Wind, - "Hmm... sorry but gotta go...", L_Go; - close; - -L_Go: - mesn; - mes "\"Ok, good trip then.\""; - close; - -L_Wind: - mesn; - mes "\"I don't like them, i can't fly straight.\""; - close; - -// ---------------------------------------------------- -// Desert Helmet quest start -// ---------------------------------------------------- -L_Ask1: - mesn; - mes "\"Hello "+ strcharinfo(0) + "! I see you have some [Iron Ore] with you!\""; - - menu - "Yes... right... what about [Iron Ore]?", L_Quest1, - "Yes, but i have grown attached to [Iron Ore]...", L_No, - "Right, but now i have business in other places.", L_Rude; - close; - -L_Quest1: - mesn; - mes "\"Iron Ore is a really special item. People without helmets can't understand [Iron Ore] real power, anyway if you could give me some of them you would understand why they are so special.\""; - - menu - "Certainly, you can have all my [Iron Ore]", L_Check1, - "Sorry but i am not interested in that.", L_No; - close; - -L_No: - mesn; - mes "\"Ok, come back me when you want to know [Iron Ore] real power\""; - close; - -L_Rude: - mesn; - mes "\"Well, good luck with your business.\""; - close; - -L_Check1: - if (countitem(IronIngot) > 11) - goto L_Progress1; - goto L_More_Needed1; - -L_More_Needed1: - mesn; - mes "\"Your [Iron Ore] are not enough, please look for more.\""; - close; - -// ---------------------------------------------------- -// Got Iron Ores -// ---------------------------------------------------- -L_Progress1: - delitem IronIngot, 12; - getexp 10000, 0; - set QUEST_Warrior1, 1; - mes "[Angel]"; - mes "\"Perfect! you have enough Iron Ore, i will take them for now but i need other items in order to bring them to life.\""; - -L_Ask2: - mesn; - mes "\"I need a two Infantry Helmet to enchant them, one Warlord Helmet to make them full of vitality and a lot of Terranite Ore to make it more magical.\""; - - menu - "Please have a look, i have what you asked", L_Check2, - "On my way to get what you need.", -; - close; - - -L_Check2: - if (countitem(InfantryHelmet) > 0 && countitem(WarlordHelmet) > 0 && countitem(TerraniteOre) > 0) - goto L_Progress2; - goto L_More_Needed2; - - -L_More_Needed2: - mesn; - mes "\"I am sorry but i can see that you don't have all that i asked you.\""; - next; - mesn; - mes "\"Please bring me that or i won't be able to make something really special for you.\""; - close; - -// ---------------------------------------------------- -// Got Desert -// ---------------------------------------------------- -L_Progress2: - if (@inventorylist_count == 100) goto L_noRoom; - delitem InfantryHelmet, 1; - delitem WarlordHelmet, 1; - delitem TerraniteOre, 20; - getexp 60000, 0; - getitem PrsmHelmet, 1; - set QUEST_Warrior1, 2; - mesn; - mes "\"There you go a special Desert Helmet!.\""; - close; -L_noRoom: - mesn; - mes "\"You don't have enough room left for helmet... Please do spring cleaning in your inventory.\""; - close; - -L_Done1: - mesn; - mes "\"Hello winged friend! How is the wind today?\""; - - menu - "Calm, perfect for a fly!", L_Fly, - "Gale, not good to fly.", L_Wind2; - close; - -L_Fly: - mesn; - mes "\"Haha yes, you are right!\""; - close; - -L_Wind2: - mesn; - mes "\"Yep, i never fly in these days.\""; - close; - -} diff --git a/npc/00000SAVE/016-1_NewPaxel.forum.txt b/npc/00000SAVE/016-1_NewPaxel.forum.txt new file mode 100644 index 000000000..b0408fcd9 --- /dev/null +++ b/npc/00000SAVE/016-1_NewPaxel.forum.txt @@ -0,0 +1,149 @@ +// This is from LoF, to replace LoF Paxel +//---------------------------------------------------- +// PRSM Helmet quest +// Create Quest: Darlord (Depredador) +//---------------------------------------------------- + +// Old Paxel turned Raw Coal in Coal... But we don't have Raw Coal. +// He probably used the nice furnace NPC too... We will need another NPC to use that... + +//012-1.gat,122,115,0 script Paxel 126,{ +016-1,40,39,0 script Paxel NPC141,{ + if(QUEST_Warrior1 == 2) goto L_Done1; + if(QUEST_Warrior1 == 1) goto L_Ask2; + + if (BaseLevel >= 60 && countitem(IronIngot) > 0) goto L_Ask1; + + mesn; + mes "\"Hello! Calm wind today!\""; + menu + "Yes, but I like windy days.", L_Wind, + "Hmm... sorry but gotta go...", L_Go; + close; + +L_Go: + mesn; + mes "\"Ok, good trip then.\""; + close; + +L_Wind: + mesn; + mes "\"I don't like them, i can't fly straight.\""; + close; + +// ---------------------------------------------------- +// Desert Helmet quest start +// ---------------------------------------------------- +L_Ask1: + mesn; + mes "\"Hello "+ strcharinfo(0) + "! I see you have some [Iron Ore] with you!\""; + + menu + "Yes... right... what about [Iron Ore]?", L_Quest1, + "Yes, but i have grown attached to [Iron Ore]...", L_No, + "Right, but now i have business in other places.", L_Rude; + close; + +L_Quest1: + mesn; + mes "\"Iron Ore is a really special item. People without helmets can't understand [Iron Ore] real power, anyway if you could give me some of them you would understand why they are so special.\""; + + menu + "Certainly, you can have all my [Iron Ore]", L_Check1, + "Sorry but i am not interested in that.", L_No; + close; + +L_No: + mesn; + mes "\"Ok, come back me when you want to know [Iron Ore] real power\""; + close; + +L_Rude: + mesn; + mes "\"Well, good luck with your business.\""; + close; + +L_Check1: + if (countitem(IronIngot) > 11) + goto L_Progress1; + goto L_More_Needed1; + +L_More_Needed1: + mesn; + mes "\"Your [Iron Ore] are not enough, please look for more.\""; + close; + +// ---------------------------------------------------- +// Got Iron Ores +// ---------------------------------------------------- +L_Progress1: + delitem IronIngot, 12; + getexp 10000, 0; + set QUEST_Warrior1, 1; + mes "[Angel]"; + mes "\"Perfect! you have enough Iron Ore, i will take them for now but i need other items in order to bring them to life.\""; + +L_Ask2: + mesn; + mes "\"I need a two Infantry Helmet to enchant them, one Warlord Helmet to make them full of vitality and a lot of Terranite Ore to make it more magical. And 10000 GP.\""; + + menu + "Please have a look, i have what you asked", L_Check2, + "On my way to get what you need.", -; + close; + + +L_Check2: + if (countitem(InfantryHelmet) < 2 || countitem(WarlordHelmet) < 1 || countitem(TerraniteOre) < 6) + goto L_More_Needed2; + if (Zeny < 10000) { + mesn; + mes "\"You can't afford that much work! Do some odd jobs and come back.\""; + close; + } + goto L_Progress2; + + +L_More_Needed2: + mesn; + mes "\"I am sorry but i can see that you don't have all that i asked you.\""; + next; + mesn; + mes "\"Please bring me that or i won't be able to make something really special for you.\""; + close; + +// ---------------------------------------------------- +// Got Desert +// ---------------------------------------------------- +L_Progress2: + inventoryplace PrsmHelmet, 1; + delitem InfantryHelmet, 2; + delitem WarlordHelmet, 1; + delitem TerraniteOre, 20; + getexp 60000, 0; + getitem PrsmHelmet, 1; + set QUEST_Warrior1, 2; + mesn; + mes "\"There you go a special Desert Helmet!.\""; + close; + +L_Done1: + mesn; + mes "\"Hello winged friend! How is the wind today?\""; + + menu + "Calm, perfect for a fly!", L_Fly, + "Gale, not good to fly.", L_Wind2; + close; + +L_Fly: + mesn; + mes "\"Haha yes, you are right!\""; + close; + +L_Wind2: + mesn; + mes "\"Yep, i never fly in these days.\""; + close; + +} diff --git a/npc/00000SAVE/016-1_paxel.txt b/npc/00000SAVE/016-1_paxel.txt deleted file mode 100644 index e3675fc09..000000000 --- a/npc/00000SAVE/016-1_paxel.txt +++ /dev/null @@ -1,73 +0,0 @@ -// TODO IMPORTANT: We don't use raw coal, so this NPC need to change a bit - -016-1,40,39,0 script Paxel NPC141,{ - @Cost_With_Logs = 2000; - @Cost_Without_Logs = 3000; - @Logs_Needed = 5; - @Coal_Per = 5; - - mes "[Paxel]"; - mes "\"Hello traveler! I've been studying how to refine raw coal with pressure and heat from a wood firepit."; - mes "\"For " + @Cost_With_Logs + " gold, I can refine " + @Coal_Per + " Coal from a lump of Raw Coal and " + @Logs_Needed + " Raw Logs."; - mes "If you don't have any logs to spare, I can use my logs; but that will cost you " + @Cost_Without_Logs + " gold.\""; - - menu - "I'd like you to use my logs.", L_Logs_Provided, - "Use your logs, please.", L_No_Logs_Provided, - "I don't want to refine any coal today.", L_close; - -L_Logs_Provided: - @Log_Mult = @Logs_Needed; - @Cost_Mult = @Cost_With_Logs; - goto L_Check_Items; - -L_No_Logs_Provided: - @Log_Mult = 0; - @Cost_Mult = @Cost_Without_Logs; - goto L_Check_Items; - -L_Check_Items: - mes "[Paxel]"; - mes "\"How many lumps of Raw Coal do you want refined?\""; - - input @refine_count; - - if (@refine_count == 0) goto L_Bye; - if (@refine_count > countitem("RawCoal") || @refine_count * @Log_Mult > countitem("RawLog")) goto L_MissingItems; - if (@refine_count * @Cost_Mult > Zeny) goto L_NoMoney; - getinventorylist; - if (@inventorylist_count == 100 && countitem("Coal") == 0) goto L_NoSpace; - - delitem "RawCoal", @refine_count; - delitem "RawLog", @refine_count * @Log_Mult; - Zeny = Zeny - (@refine_count * @Cost_Mult); - - getitem "Coal", @refine_count * @Coal_Per; - goto L_Bye; - - -L_MissingItems: - mes "[Paxel]"; - mes "\"You are missing some of the raw materials.\""; - goto L_close; - -L_NoMoney: - mes "[Paxel]"; - mes "\"You can't afford that much work! Do some odd jobs and come back.\""; - goto L_close; - - -L_NoSpace: - mes "[Paxel]"; - mes "\"You won't have enough space for the refined Coal. Better come back later.\""; - goto L_close; - - -L_Bye: - mes "[Paxel]"; - mes "\"Have a good day and come again soon!\""; - goto L_close; - -L_close: - close; -} -- cgit v1.2.3-70-g09d2