Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Main
- {
- questname "Snakes"
- version 1.0
- }
- state Begin
- {
- desc "Speaking with jake"
- action AddNpcText(1, "Hello [name] do you think you could help me?");
- action AddNpcInput(1,1,"With what?");
- rule InputNpc(1) goto withwhat
- }
- state withwhat
- {
- desc "Speaking with jake"
- action AddNpcText(1, "These pesky snakes are invading my feild and tearing up all the grass!");
- action AddNpcText(1, "Can you please get rid of them for me? I'll pay you greatly.");
- action AddNpcInput(1,1,"Yes");
- action AddNpcInput(1,2,"Not");
- rule InputNpc(1) goto Yes
- rule InputNpc(2) goto No
- }
- state No
- {
- desc "Speaking with jake"
- action AddNpcText(1, "It's a shame you won't help me.");
- action Reset();
- }
- state Yes
- {
- desc "Speaking with jake"
- action AddNpcText(1, "Great! Please go kill 20 snakes and come back to me when you're finished");
- rule KilledNpcs(6,20) goto Next
- }
- state Next
- {
- action ShowHint("You've killed 20 snakes, return to Jake");
- action AddNpcText(1, "Thank you so much, here is your reward");
- action GiveItem(1,500);
- action GiveItem(4,30);
- action End();
- }
Advertisement
Add Comment
Please, Sign In to add comment