Main
{
questname "Save the Kingdom"
version 1.0
}
State Begin
{
desc "Talk to the King"
ãâ¬â¬
action AddNpcText(1,
"Thank God you made it [name]");
action AddNpcText(1,
"Why are you naked wheres your stuff");
action AddNpcInput(1,
1, "Huh? Couldnt tell you");
action AddNpcText(1,
"Well here take these we need you on the front lines.");
rule IsGender(1)
goto if male
rule IsGender(2)
goto if female
}
State male
{
desc "Talk to the King"
ãâ¬â¬
action GiveItem(494,
1);
action GiveItem(490,
1);
action GiveItem(492,
1);
action GiveItem(485,
1);
action GiveItem(387,
1);
action GiveItem(486,
1);
action GiveItem(493,
1);
action GiveItem(408,
1);
action GiveItem(327,
1);
action GiveItem(489,
2);
action GiveItem(491,
2);
action GiveItem(488,
2);
rule InputNpc(3)
goto kill
}
State female
{
desc "Talk to the King"
ãâ¬â¬
action GiveItem(494,
1);
action GiveItem(490,
1);
action GiveItem(492,
1);
action GiveItem(485,
1);
action GiveItem(388,
1);
action GiveItem(486,
1);
action GiveItem(493,
1);
action GiveItem(408,
1);
action GiveItem(366,
1);
action GiveItem(489,
2);
action GiveItem(491,
2);
action GiveItem(488,
2);
}
State kill
{
desc "Talk to the King"
ãâ¬â¬
action AddNpcText(1,
"You all set now ");
action AddNpcInput(1,
1, "Yep i think so");
action AddNpcText(1,
"Now go clear a path slay 250 army of darkness");
rule KilledNpcs(135,
250) goto return
}
State return
{
desc "Talk to the King"
ãâ¬â¬
action AddNpcText(1,
"Great your an artist with that blade");
action AddNpcText(1,
"Now those darkness pets are slaughtering our men go kill them both ");
action AddNpcInput(1,
2, "No mercy");
rule InputNpc(1)
goto kill1
}
State kill1
{
desc "Kill 2 Darkness Pets"
ãâ¬â¬
ãâ¬â¬
action AddNpcText(1,
"You can do it [name] ");
action AddNpcText(1,
"No Mercy! ");
rule KilledNpcs(185,
2) goto return1
}
State return1
{
desc "Kill the Prince"
ãâ¬â¬
action AddNpcText(1,
"Now we can Lauch an full on assualt to the Prince ");
action AddNpcText(1,
"Hit him with all we have CHARGE!!!!!! ");
action AddNpcInput(1,
3, "Let's finish this for Seleant!");
rule KilledNpcs(235,
1) goto return2
}
State return2
{
desc "Talk to the King"
ãâ¬â¬
action AddNpcText(1,
"You have saved Seleant.You truely are a great an mighty Hero");
action AddNpcText(1,
"Now you Need to do one more thing for your king");
action AddNpcInput(1,
4, "Name it");
action AddNpcText(1,
"Wake up ");
action AddNpcInput(1,
5, "Huh?");
action AddNpcText(1,
"Wake up");
rule TalkedToNpc(1)
goto if male1
rule TalkedToNpc(1)
goto if female1
rule TalkedToNpc(1)
goto wakeup
}
State male1
{
action RemoveItem(494,
1);
action RemoveItem(490,
1);
action RemoveItem(492,
1);
action RemoveItem(485,
1);
action RemoveItem(387,
1);
action RemoveItem(486,
1);
action RemoveItem(493,
1);
action RemoveItem(408,
1);
action RemoveItem(327,
1);
action RemoveItem(489,
2);
action RemoveItem(491,2);
action RemoveItem(488,
2);
}
State female1
{
action RemoveItem(494,
1);
action RemoveItem(490,
1);
action RemoveItem(492,
1);
action RemoveItem(485,
1);
action RemoveItem(388,
1);
action RemoveItem(486,
1);
action RemoveItem(493,
1);
action RemoveItem(408,
1);
action RemoveItem(366,
1);
action RemoveItem(489,
2);
action RemoveItem(491,
2);
action RemoveItem(488,
2);
}
State wakeup
{
desc "wakeup"
ãâ¬â¬
action SetCoord(9,1,2);
action End();
action Reset();
}
says line 16 state male