Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Main
- {
- questname "Skywonder Rescue"
- version 1.0
- }
- State Begin
- {
- desc "Talk to Jessica"
- action AddNpcText(13, "Hello, as you can see I live peacefully with the blobsies in the wonderful sky, then one day the wolfman and the foxes got into a fight and all the foxes moved to here");
- rule TalkedToNpc(13) goto TalkToWolfLeader
- }
- State TalkToWolfLeader
- {
- desc "Talk to the Wolf Leader"
- action AddNpcText(13, "Go talk to the wolfman first im sure he\'s willing to compromise so we can all live in peace again.");
- action AddNpcText( 14, "Hello there, i see Jessica sent you, what do you want?");
- action AddNpcInput( 14, 1, "I come in peace");
- action AddNpcInput( 14, 2, "Nothing, bye");
- rule InputNpc(1) goto GetBirdFeathers
- }
- State GetBirdFeathers
- {
- desc "Find 10 bird feathers"
- action AddNpcText( 14, "We are currently at war with the birdmans on the other mountain. I am currently too busy to talk about peace with the foxes.");
- action AddNpcText( 14, "You know i hate those annoying birdmans, if you help us fight the birdmans and bring me 10 bird feathers I will think about your offer." );
- rule GotItems(299,10) goto GiveFeathers
- }
- State GiveFeathers
- {
- desc "Give 10 bird feathers"
- action AddNpcText(14, "Hi again, i can see you have been fighting with the birdmans, your help is greatly appreciated!");
- action AddNpcText(14, "Will you give me those bird feathers?");
- action AddNpcInput(14, 2, "Ok, here you are");
- action AddNpcInput(14, 1, "No, these are mine");
- rule InputNpc(2) goto TalkToJessica
- rule LostItems(299,10) goto GetBirdFeathers
- }
- State TalkToJessica
- {
- desc "Go see Jessica for your reward"
- action RemoveItem(299,10);
- action AddNpcText(14, "Go tell Jessica we shall make peace with the Foxes");
- action AddNpcText(13, "Thank you so much for your help, please accept this reward");
- rule TalkedToNpc(13) goto Reward
- }
- State Reward
- {
- action ShowHint("You gained 500 exp and 500 gold.");
- action GiveExp(500);
- action AddSpell(7,0);
- action GiveItem(1, 500);
- action End();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement