Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

lkjsdf

Main
{
    questname    "Piglet Trouble"
    version        1.0
}
State Begin
{
     desc    "Talk to John"
     action    AddNpcText(1, "Hello, Can you please help me? The piglets have came into the town again");
     action    AddNpcInput( 1, 1, "ok i will");

     rule    InputNpc(1) goto kill15pigs
}
State kill15pigs
{
     desc    "Kill 15 pigs"

     rule    KilledNpcs(230, 15) goto TellJohn
}
State TellJohn
{
     desc    "Tell John"
     action    AddNpcText(1, "Thank you for killing thos pigs");
     action    AddNpcInput(1, 2, "Your welcome");

     rule    InputNpc(2) goto Reward
}
State Reward
{
action    GiveExp(500);
action    End();
}