Main
{
questname "Class Master"
version 1.0
}
State begin
{
desc "Talk to Wise Man"
ã
action AddNpcText(8,
"Hey there [name] the prophecy spoke of your name.");
action AddNpcText(8,
"I'm here to unlock your true power. First you must decide the path you want to take");
action AddNpcText(8,
"Choose Wisely for once you choosen you can never undo whats been done");
action AddNpcInput(8,
1, "Choose Path");
ã
rule InputNpc(1)
goto class
}
State class
{
desc "Talk to Wise Man"
ã
action AddNpcInput(8,
1, "Make me a Druid");
action AddNpcInput(8,
2, "Make me a Defender");
action AddNpcInput(8,
3, "Make me a Hunter");
action AddNpcInput(8,
4, "Make me a Knight");
ã
rule InputNpc(1)
goto druid
rule InputNpc(2)
goto defender
rule InputNpc(3)
goto hunter
rule InputNpc(4)
goto knight
}
State druid
{
action AddNpcText(8,
"A Druid is a magicial being thats at his strongest when is filled with magic spells");
action AddNpcText(8,
" Druid stats are 3(int) = att, 3(wis) = agi,eva 4(con)= def/hp");
action SetClass(1);
action End();
ã
rule TalkedToNpc(8)
goto defender
}
State defender
{
action AddNpcText(8,
"A Defender is one who faith lies within great defence, For whom can get on massive damage an live to tell his tale");
action AddNpcText(8, "Defenders
stats are 3(str) = att 4(agi) = acc 3(agi) = eva 2 (con) = def/hp
action SetClass(2);
action End();
ã
rule TalkedToNpc(8)
goto hunter
}
State hunter
{
action AddNpcText(8,
"A Hunter is one who is cunning with his speed, accuracy, and evasion");
action AddNpcText(8,
"A Hunter's stats are 3(int) = att 2(agi)= acc 3(agi) = eva 4(con) = def/hp");
action SetClass(3);
action End();
ã
rule TalkedToNpc(8)
goto knight
}
State knight
{
ã
action AddNpcText(8,
"A Knight is oine who fights with honor among all absolute power lies in strength an discipline, and is one with his blade at hand");
action AddNpcText(8,
" A Knights stats are 2(str) = att 3(agi)= acc 4(agi) = eva 3(con) = def/hp");
action SetClass(4);
action End();
ã
rule TalkedToNpc(8)
goto end
}
State end
{
ã
action End();
}