when the NPC will get the last items, if there is any missing, it does not appear the msg, he returns to the main menu, so you can choose what to do again!
gonryun,37,22,0 script Valkyrie Crafter 811,{mes "[Valkyrie Crafter]";mes "Oh! A visitor. That's so rare!";mes "Welcome to the portal to God's";mes "Relm. I'm the guardian of this place.";next;mes "[Wings Collector]";mes "What are you seeking stranger? The";mes "words of God himself?";mes "Or are you interested in my special";mes "crafting abilities?";next;switch(select("Yeah, I'd like to hear God's voice:So, what can you craft axactly?:That's very interesting but I have to go.")){ case 1: mes "[Valkyrie Crafter]"; mes "Oh, so you want to hear God's"; mes "voice."; mes "Well, only angels can hear him. Are"; mes "you an angel?"; next; mes "[Valkyrie Crafter]"; mes "Mmm, no. You don't seem to"; mes "propagate any Holy Waves of the Angels."; mes "I'm sorry buy you won't be able to"; mes "hear him today."; mes "Maybe if you become an angel one"; mes "day."; next; mes "[Valkyrie Crafter]"; mes "In this case, I wish you a good day"; mes "traveler!"; close; case 2: mes "[Valkyrie Crafter]"; mes "I'm the finest crafter of heaven."; mes "I can make wings that are completely"; mes "out of this world."; next; mes "[Valkyrie Crafter]"; mes "My Finest work consist of crafting"; mes "elemental wings from normal wings."; mes "It's like refining existing wings"; mes "if you prefer."; mes "You simply need to hand me the"; mes "elements that i need to do them."; next; mes "[Valkyrie Crafter]"; mes "Oh! There is however a little"; mes "special request I would have to ask"; mes "you before starting doing any"; mes "crafting."; next; mes "[Valkyrie Crafter]"; mes "I'm a big lover of rare precious"; mes "stones. They're a real source of"; mes "inspiration to me!"; mes "So, for any wings you want me to"; mes "craft, could you please bring me at"; mes "least 10 of each of those ores:"; next; mes "[Valkyrie Crafter]"; mes "10 Ruby"; mes "10 Sapphire"; mes "10 Topaz"; mes "10 Opal"; mes "10 Emerald"; mes "10 Amethyst"; mes "10 Aquamarine"; Main: { next; mes "[Valkyrie Crafter]"; mes "So what wings would you like me to"; mes "craft for you ?"; next; switch(select("Artic wings:Nothing for now, thank you.")){ case 1: mes "[Valkyrie Crafter]"; mes "Those water element wings are said"; mes "to provide extra knowledge about"; mes "the world we live in."; mes "Ok, i'll need the following:"; next; mes "[Valkyrie Crafter]"; mes "1x Angel Wings"; mes "25x Mystic Frozen"; mes "10x Frozen Rose"; mes "50x Ice Cubic"; mes "And 100 gold for the crafting"; mes "services"; next; mes "[Valkyrie Crafter]"; mes "So, do you want me to make them now?"; switch(select("Sure,I got all the items!:Mm, can I choose another wings?:No, I don't have all the items yet...")){ case 1: { if(countitem(8002) < 1 && countitem(995) < 25 && countitem(749) < 10 && countitem(7066) < 50 && countitem(969) < 100) { mes "[Valkyrie Crafter]"; mes "Mm, I'm sorry. It seems that some"; mes "items are missing"; mes "Please, feel free to come again"; mes "when you have everything."; close; } if(countitem(719) < 10 && countitem(720) < 10 && countitem(721) < 10 && countitem(723) < 10 && countitem(726) < 10 && countitem(727) < 10 && countitem(728) < 10) { mes "[Valkyrie Crafter]"; mes "Oh! It seems that you didn't do the"; mes "most important task: that's to"; mes "bring to me all the precious stones"; mes "I requested."; mes "They are my source of inspiration"; mes "and motivation. Without them,"; mes "I can't do your wings."; next; mes "[Valkyrie Crafter]"; mes "Come back when you have them please!"; close; } if(countitem(8002) >= 1 && countitem(995) >= 25 && countitem(749) >= 10 && countitem(7066) >= 50 && countitem(969) < 100 && countitem(719) >= 10 && countitem(720) >= 10 && countitem(721) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(727) >= 10 && countitem(728) >= 10) { mes "[Valkyrie Crafter]"; mes "It looks like you are missing some Gold."; mes "Come back again, when you have 10 or more Gold."; close; } if(countitem(8002) >= 1 && countitem(995) >= 25 && countitem(749) >= 10 && countitem(7066) >= 50 && countitem(969) >= 100 && countitem(719) >= 10 && countitem(720) >= 10 && countitem(721) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(727) >= 10 && countitem(728) >= 10) { mes "[Valkyrie Crafter]"; mes "Great! I'll start making them right now. Ok, just wait a few minutes please."; next; mes "[Valkyrie Crafter]"; mes "*waiting impatiently for the wings*"; next; mes "[Valkyrie Crafter]"; mes "(15 minutes later)"; next; mes "[Valkyrie Crafter]"; mes "Holy God! That's some great work I"; mes "just did! Here you go young"; mes "traveler."; mes "Those are your Gargoyle Wings."; delitem 719,10; delitem 720,10; delitem 721,10; delitem 723,10; delitem 726,10; delitem 727,10; delitem 728,10; delitem 8002,1; delitem 995,25; delitem 749,10; delitem 7066,50; delitem 969,100; next; getitem 8005,1; mes "[Valkyrie Crafter]"; mes "Bye and don't hesitate to come"; mes "back! Enjoy your new wings ^^"; close; } } case 2: {goto Main;} case 3: { mes "[Valkyrie Crafter]"; mes "Very well. Good bye traveler and"; mes "please come back again!"; close; } } case 2: mes "[Valkyrie Crafter]"; mes "Very well. Good bye traveler and"; mes "please come back again!"; close; } } case 3: mes "[Valkyrie Crafter]"; mes "Very well. Good bye traveler and"; mes "please come back again!"; close; }}
Edited by Mhalicot Title has been modified. Please avoid posting on all caps. Read forum rules for more info.
when the NPC will get the last items, if there is any missing, it does not appear the msg, he returns to the main menu, so you can choose what to do again!
Title has been modified. Please avoid posting on all caps. Read forum rules for more info.
Share this post
Link to post
Share on other sites