Monkey Island Quest Help.

Post your quests here!
Acceptsss
Noob
Noob
Posts: 3
Joined: Fri May 08, 2015 3:54 am

Monkey Island Quest Help.

Postby Acceptsss » Sat May 09, 2015 9:16 am

So, i've tried making a Monkey Island quest from scratch, and i failed horribly, so i was wondering if anyone can help me fix, it (as i'm new to quest writing.) It would be appreciated. Here's what i've done.
Main
{
questname "Monkey Island"
version 1.0
}
state Begin
{
desc "Talk to the young pirate"
action AddNpcText(21, "Arrr, I discovered a new isssssland!");
action AddNpcChat(21, "Arrr, I discovered a new isssssland!");
action AddNpcInput(21,1,"Not intrested");
action AddNpcInput(21,2,"Tell me more..");
action AddNpcInput(21,3,"Dont believe you");
rule InputNpc(1) goto Reset
rule InputNpc(2) goto BeginReset
rule InputNpc(3) goto Begin
}
state BeginReset
{
desc "Talk to the young pirate"
action AddNpcText(21, "Arrrr, no its pirate secret!");
rule TalkedToNpc(21) goto Reset
}
state Begin
{
desc "Talk to the young pirate"
action AddNpcText(21, "Arrrr you think im making this up? Well i could show you the island myself matey! But");
action AddNpcText(21, "Are you willing to take the pirate test?");
action AddNpcChat(21, "Arrrr");
action AddNpcInput(21,1,"I will prove it");
action AddNpcInput(21,2,"No thanks");
rule InputNpc(1) goto Begin1
rule InputNpc(2) goto Reset
}
state Begin1
{
desc "Talk to the pirate captain"
action AddNpcText(21, "Ha-ha-ha.. Dont make me laugh now, you are no pirate, you dont look like a pirate");
action AddNpcText(21, "Go talk to the pirate captain, he will teah you how to become a real pirate!");
action AddNpcText(6, "So, arhh pirate test?!.. You want to become a real pirate and take the pirate test, arhhhhhh har har har.. *gulp*");
action AddNpcText(6, "Okay then.. if you can defeat 3 of my elite crew members ill consider it");
action AddNpcInput(6,1,"Maybe piracy is not for me.");
action AddNpcInput(6,2,"Fear me, crew members!");
rule InputNpc(1) goto Lose
rule InputNpc(2) goto Killcrew
}
state Killcrew
{
desc "Defeat 3 pirate crew members"
action ShowHint("Show them whos the boss!");
action AddNpcText(6, "Okay what are you waiting for? get off my boat and defeat three elites of my crew");
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
rule KilledNpcs(128,3) goto Donecrew
}
state Donecrew
{
desc "Talk to the Pirate Captain again"
action ShowHint("Talk to Pirate Captain!");
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Yeah yeah, my crew members are weak anyways...");
action AddNpcText(6, "but that doesnt make you a pirate, in fact");
action AddNpcChat(6, "you will never become one.. Har Har Har");
action AddNpcInput(6,1,"I know about a treasure..");
action AddNpcInput(6,2,"ill report you for software piracy.");
action AddNpcInput(6,3,"Ok, i drink all this fairy soda myself");
rule InputNpc(1) goto Anstreasure
rule InputNpc(2) goto Anssoft
rule InputNpc(3) goto Anssoda
}
state Anstreasure
{
desc "Talk to Pirate Captain again"
action ShowHint("We hope de doesnt find out you dont know about a treasure");
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Huh? err.. you mean the Legendary Monkey Island Treasure?");
action AddNpcInput(6,1,"Monkey Islad trea?");
action AddNpcInput(6,2,"Ya, that treasure");
rule InputNpc(1) goto Piratetest
rule InputNpc(2) goto Piratetest
}
state Anssoft
{
desc "Talk to Pirate Captain again"
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "What! er.. I was kidding, cant you take a joke?");
action AddNpcChat(6, "Of course im going to let you take my brave pirate test");
action AddNpcInput(6,1,"Sure, pal");
action AddNpcInput(6,2,"Im not good at math");
rule InputNpc(1) goto Piratetest
rule InputNpc(2) goto Piratetest
}
state Anssoda
{
desc "Talk to Pirate Captain again"
action ShowHint("Cheers!");
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Huh? You said.. fairy soda?");
action AddNpcChat(6, "Allright maybe your a good pirate after all");
action AddNpcInput(6,1,"He, lets drink matey!");
action AddNpcInput(6,2,"Tell me about the test..");
rule InputNpc(1) goto Piratetest
rule InputNpc(2) goto Piratetest
}
state Piratetest
{
desc "Talk with Pirate Captain"
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Oh well, lets begin the test then.. this is really easy");
action AddNpcText(6, "at least for us pirates Har Har Har");
action AddNpcInput(6,1,"I want to prove my fighting skills");
action AddNpcInput(6,2,"Lets go treasure hunting!");
action AddNpcInput(6,3,"Im good at getting information");
rule InputNpc(1) goto Fightquest
rule InputNpc(2) goto Nottreasure
rule InputNpc(3) goto Infoquest
}
state Nottreasure
{
desc "Talk to Pirate Captain"
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Dont be silly, you cant go treasure hunting without proving your strenght and abilities");
action AddNpcInput(6,1,"ill show you im strong!");
action AddNpcInput(6,InputNumber,"Im the best pirate of the world!");
rule InputNpc(1) goto Fightquest
rule InputNpc(2) goto Infoquest
}

state Fightquest
{
desc "Defeat the octopus"
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Ok then.. You have to find a giant octopus and defeat him");
action AddNpcText(6, "Good luck killing that giant octopus, har har");
action AddNpcInput(6,1,"Isnt there another way to prove it?");
action AddNpcInput(6,2,"Okay, i got it");
rule KilledNpcs(118,1) goto NextTest
rule InputNpc(1) goto Infoquest
}
state Infoquest
{
desc "Got to Atlantis and find its secret"
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Listen, the legend about the monkey island claims that a long time ago, when villagers from Atlantis became aware..");
action AddNpcText(6, "that their city was going to sink, and they burried some of their major treasures at monkey island");
action AddNpcText(6, "Maybe they wrote something about it somewhere.");
action AddNpcText(6, "Good luck finding the secret of atlantis");
action AddNpcInput(6,1,"Isnt there another way to prove it?");
action AddNpcInput(6,2,"Okay, i got it");
rule EnterCoord(251,8, 33) goto NextTest
rule InputNpc(1) goto Fightquest
}
state NextTest
{
desc "Talk to Pirate Captain"
action PlaySound(1 8) ;
action ShowHint("The pirate captain wants to talk to you!");
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Looks like you have some skills son! too bad you are not a real pirate yet..");
action AddNpcText(6, "Look these rats in the port are really a problem. At night they make a terrible noise and i just can't sleep uhrr");
rule TalkedToNpc(6) goto RatTest
}
state RatTest
{
action AddNpcText(21, "Nawh, i will only share this pirate secret with REAL PIRATES");
action AddNpcText(6, "Go kill 30 rats for me, and you will be a real pirate.. whatever");
rule KilledNpcs(2,30) goto RatTest2
}
state RatTest2
{
desc "Talk to the young pirate"
action AddNpcText(6, "Hmm..ow its you, yaya your a real pirate now, now leave me alone.");
action AddNpcText(21, "Hmm so the captain has declared you a real pirate, i can't believe it..");
action AddNpcText(21, "But ok if you can answer this simple PIRATE test, i believe you.");
rule TalkedToNpc(21) goto Quiz1
}
state Quiz1
{
desc "Talk to the young pirate"
action AddNpcText(21, "Whats the special nickname of our skull&bone flag?");
action AddNpcInput(21,1,"Jolly Roger");
action AddNpcInput(21,2,"Dodger Deadly");
action AddNpcInput(21,3,"Black Skull");
rule InputNpc(1) goto Quiz2
rule InputNpc(2) goto QuizLose1
rule InputNpc(3) goto QuizLose1
}
state Quiz2
{
desc "Talk to the young pirate"
action AddNpcText(21, "Pirates always share their looted treasures equally except for captain the pilot, the carpenter and our cook");
action AddNpcText(21, "How much more do they receive?");
action AddNpcInput(21,1,"half of the entire treasure");
action AddNpcInput(21,2,"a double share");
action AddNpcInput(21,3,"a triple share");
rule InputNpc(1) goto QuizLose2
rule InputNpc(2) goto Quiz3
rule InputNpc(3) goto QuizLose2
}
state Quiz3
{
desc "Talk to the young pirate"
action AddNpcText(21, "Is the captain's cabin always open for anyone to use?");
action AddNpcText(21, "How much more do they receive?");
action AddNpcInput(21,1,"Yes, always open");
action AddNpcInput(21,2,"No, its private");
rule InputNpc(1) goto ReadyToGo
rule InputNpc(2) goto QuizLose3
}
state ReadyToGo
{
desc "Talk to the young pirate"
action AddNpcText(21, "Hmm.. okay you proved to be a pirate, maybe not.. Lets just sail to that island now. The captain doesnt believe me and i been anxious to tell anyone ever since..");
action AddNpcText(21, "NpcText goes here");
action AddNpcInput(21,1,"Yes, lets go");
action AddNpcInput(21,2,"No, maybe later");
rule InputNpc(Input1) goto GoIsland
}
state GoIsland
{
desc "Find the shipwreck hut"
action SetCoord(271,38, 14);
action AddNpcText(21, "Do you want to sail to monkey island?");
action AddNpcInput(21,1,"Yes, lets go");
action AddNpcInput(21,2,"No, maybe later");
action AddNpcText(22, "A treasure huh?.. Ya, i been looking for it for years..");
rule TalkedToNpc(22) goto SolveRiddle
rule InputNpc(1) goto GoIsland
}
state SolveRiddle
{
desc "Find 10 fish for the lost pirate"
action AddNpcText(21, "Do you want to sail to monkey island?");
action AddNpcInput(21,1,"Yes, lets go");
action AddNpcInput(21,2,"No, maybe later");
action AddNpcText(22, "Sorry i cant tell you more about the treasure, you see.. i havent ate anything for weeks..");
action AddNpcText(22, "Now if you could bring me 10 fish, i would be willing to share this secret..");
}
state GetFish
{
desc "Get 10 fish for the lost pirate"
rule KilledNpcs(475,10) goto ReturnToLostPirate
action ShowHint("Return to the Lost Pirate");
}
state TheTreasure
{
desc "Find the lost treasure"
action AddNpcText(22, "Mmm, thats good okay the treasure is somewhere on the east side of the island around some shells.");
action AddNpcText(22, "Return it to me, and i'll give ya a reward");
action AddNpcInput(22,1,"Aye aye captain!");
action AddNpcInput(22,2,"No, maybe later");
action SetCoord(271,18, 44);
action GiveItem(314,1);
}
state GoBackToLostPirate
{
desc "Return to the Lost pirate"
action AddNpcText(22, "Ahhh, Atlast, you found the treasure");
action AddNpcText(22, "Here, take this matey!");
rule InputNpc(1) goto Reward
}
state Reward
{
action ShowHint("You have gained 10000 exp!");
action GiveExp(10000);
action GiveItem(452,1);
action End();
}
state EndReset
{
action Reset();
}

Return to “Quests”

Who is online

Users browsing this forum: No registered users and 4 guests