I've made a few quests, and maps that Mason/Monki are welcome to use, just ask if you want downloads, also showing them to you guys. :p
A few quests:
Maps;
A few quests:
- Code:
Main
{
questname "The lost key."
version 1.0
}
state Begin
{
desc "Menu"
action AddNpcText(0, "What do you want?");
action AddNpcInput(0,1,"You seem sad..");
rule InputNpc(1) goto state1
}
state state1
{
desc "Will you find the key?
action AddNpcText(0, "I've been searching for my key for a long time. Earlier I was exploring, my key was in my pocket. I might of dropped it in the castle, when the king scared me away. :/(");
action AddNpcInput(0,2,"I will find it!");
action AddNpcInput(0,3,"Find it yourself.");
rule InputNpc(2) goto state2
rule InputNpc(3) goto state50
}
state state2
{
desc "Find the lost key!"
action AddNpcText(0, "thanks. Remember, i could of dropped it in the castle, but im just not sure");
rule EnterCoord(8, 13, 16) goto state3
}
state state3
{
desc "Talk to Ron"
action ShowHint("You found Rons key!");
action GiveItem(241,1);
rule GotItems(241,1) goto state4
}
state state4
{
desc "Thank you screen"
action AddNpcText(0, "Thank you so much!");
rule GotItems(241,1) goto state5
}
state state5
{
desc "Collect your prize!"
action ShowHint("You were rewarded 25000 gold!");
action GiveItem(1,25000);
action RemoveItem(241,1);
action End();
}
state state50
{
action AddNpcText(0, "Fine then.");
action Reset();
}
- Code:
Main
{
questname "Robot Quest"
version 1.0
}
state Begin
{
desc "Will you help Jim"
action AddNpcChat(0, "Hello. I am Jim, i design and make robots.. Im in the middle of making a robot that can make millions, but I ran out of metal parts to finish it. Could you help me?");
action AddNpcInput(0,1,"Yes");
action AddNpcInput(0,2,"No");
rule InputNpc(1) goto state1
rule InputNpc(2) goto state50
}
state state1
{
desc "Collect 100 Metal Parts."
action AddNpcText(0, "Excellent. I need you to get me 100 metal parts. Come back when you have finished.");
rule GotItems(397,100) goto state2
}
state state2
{
desc "Ty screen"
action AddNpcText(0, "Thank you so much");
rule GotItems(397,100) goto state3
}
state state3
{
desc "Collect your prize"
action RemoveItem(397,100);
action GiveExp(100000);
action GiveItem(1,11000);
action Reset();
}
state state50
{
desc "Reset"
action AddNpcText(0, "If you decide to help me then you can come back.");
action Reset();
}
- Code:
Main
{
questname "Mainstory Chap 1"
version 1.0
}
state Begin
{
desc "Talk to Prince Havoc!"
action AddNpcText(0, "Oh thank God someone is here to save me! Talk to my brother, Prince Havoc");
rule TalkedToNpc(0) goto state1
}
state state1
{
desc "Talk to Prince Havoc"
action SetCoord(550,13, 8);
rule EnterMap(192) goto state2
}
state state2
{
desc "Will you save the goddess"
action AddNpcText(0, "Hi im Prince Havoc, please will you help save my sister, the Goddess from the Ebil Dragon?!");
action AddNpcInput(0,1,"I will!");
rule InputNpc(0) goto state3
}
state state3
{
desc "Kill 30 Crows"
action AddNpcText(0, "Thank you for accepting my cries! But first you must prove your strength if you\'re worthy to save my sister, go kill 30 Crows.");
rule KilledNpcs(1,30) goto state4
}
state state4
{
desc "Kill 30 Rats"
action AddNpcText(0, "Now that\'s just a start, go kill 30 rats.");
rule KilledNpcs(2,30) goto state5
}
state state5
{
desc "Kill 30 Blobs"
action AddNpcText(0, "Ok, now go kill 30 blobs.");
rule KilledNpcs(3,30) goto state6
}
state state6
{
desc "Kill 60 Snakes"
action AddNpcText(0, "Now kill 60 snakes.");
rule KilledNpcs(6,60) goto state7
}
state state7
{
desc "Kill 10 Nutvipers"
action AddNpcText(0, "Good good, now KILL 10 Nutvipers.");
rule KilledNpcs(224,10) goto state8
}
state state8
{
desc "Kill 150 Biters"
action AddNpcText(0, "Now this may be hard, kill 150 biters.");
rule KilledNpcs(171,150) goto state9
}
state state9
{
desc "Kill 15 Dark Magicians"
action AddNpcText(0, "Ok ok, noww kill 15 Dark Magicians.");
rule KilledNpcs(207,15) goto state10
}
state state10
{
desc "Kill 25 Headless Hunters"
action AddNpcText(0, "Very nice. Now kill 25 Headless Hunters");
rule KilledNpcs(138,25) goto state 14
}
state state14
{
desc "Kill 50 Bone Spiders"
action AddNpcText(0, "Alright, Now go and kill fifty bone spiders...");
rule KilledNpcs(183,50) goto state15
}
state state15
{
desc "Kill 10 Onigiris"
action AddNpcText(0, "Go on and kill 10 onigiris");
rule KilledNpcs(228,10) goto state16
}
state state16
{
desc "Kill 25 Batmasos"
action AddNpcText(0, "Great job, now kill 25 batmasos, they are found in the level 60 area.");
rule KilledNpcs(88,25) goto state17
}
state state17
{
desc "Kill 25 Cursed Masks"
action AddNpcText(0, "You must be tired of all this walking! Now go kill 25 Cursed Masks. :)");
rule KilledNpcs(134,25) goto state18
}
state state18
{
desc "Kill 50 Cacadems."
action AddNpcText(0, "Excellent! It is going to start getting harder after this.. go kill 50 cacadems.");
rule KilledNpcs(222,50) goto state 19
}
state state19
{
desc "Kill 40 Reborn Sheep"
action AddNpcText(0, "Now kill 40 Reborn Sheep, found in #warp trial.");
rule KilledNpcs(300,40) goto state20
}
state state20
{
desc "Kill 40 Reborn Phoenix"
action AddNpcText(0, "Ok, now go kill 40 reborn phoenix, found in the 2nd level of the Tower of Trials, you need a mono key to enter the 2nd level, they drop at reborn sheep. ");
rule KilledNpcs(301,40) goto state21
}
state state21
{
desc "Kill 40 Reborn Turtles"
action AddNpcText(0, "Now kill 40 reborn turtles, found in 3rd level of the Tower of Trials.");
rule KilledNpcs(302,40) goto state22
}
state state22
{
desc "Kill the Apozen"
action AddNpcText(0, "Noww kill the Apozen.");
rule KilledNpcs(141,1) goto state23
}
state state23
{
desc "Kill the Octopus"
action AddNpcText(0, "Well then, now kill the octopus.");
rule KilledNpcs(118,1) goto state24
}
state state24
{
desc "Kill the Gnoll"
action AddNpcText(0, "Now kill the Gnoll.");
rule KilledNpcs(182,1) goto state25
}
state state25
{
desc "Kil the Anundo Leader"
action AddNpcText(0, "Now kill the Anundo Leader");
rule KilledNpcs(120,1) goto state26
}
state state26
{
desc "Kill the Lolth"
action AddNpcText(0, "Now kill the Lolth.");
rule KilledNpcs(285,1) goto state27
}
state state27
{
desc "Kill the Yeenoghu"
action AddNpcText(0, "Great, now kill the Yeenoghu");
rule KilledNpcs(286,1) goto state28
}
state state28
{
desc "Kill the Supernova"
action AddNpcText(0, "Now, you must kill the Supernova.");
rule KilledNpcs(313,1) goto state29
}
state state29
{
desc "Talk to Prince Havoc"
action AddNpcText(0, "You have done very well. I think you have proven you are worthy to save my sister and kill the Evil Dragon. Use this scroll as many times as you like until you kill the Evil Dragon. Good luck.");
action GiveItem(628,1);
action ShowHint("You recieved an Evil Dragon Returns scroll")
rule KilledNpcs(344,1) goto state30
}
(
state state30
{
desc "Please collect your reward from Goddess!");
action AddNpcText(0, "How ever will I thank you..!");
action GiveItem(627,1);
action GiveItem(1,15000000);
action GiveExp(50000000);
action ShowHint("You recieved Gold, Exp, and a I saved the Goddess charm!")
action End();
}
Maps;
Last edited by Chasee on Mon Apr 02, 2012 4:54 pm; edited 15 times in total