Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Main
- {
- questname "Allergy Cure"
- version 1.0
- }
- state Begin
- {
- desc "Talk to Marble"
- action AddNpcText(1, "A-a-a-aaaaaa..... choooooo");
- action AddNpcText(1, "oh, sorry, I am very allergic ");
- action AddNpcText(1, "I see you are very strong, and you look like you got guts.");
- action AddNpcText(1, "You know, I would reward you if you could please exterminate those stingers");
- action AddNpcInput(1,1,"Don\´t touch me! I don\´t wanna die!");
- action AddNpcInput(2,2,"ok!");
- rule InputNpc(1) goto Coward
- rule InputNpc(2) goto KillStingers
- }
- state KillStingers
- {
- desc "Kill 10 Stingers"
- rule KilledNpcs(80,10) goto OneMoreThing
- }
- state OneMoreThing
- {
- desc "Talk to Marble"
- action AddNpcText(1, "Oh Thanks to you, that Stingers won´t cause me any allergy");
- action AddNpcText(1, "But I still need to take my medicine");
- action AddNpcText(1, "Could you arrange a Health Potion?");
- action AddNpcInput(1,1,"Dude, You are too Lazy!");
- action AddNpcInput(1,2,"No Worries, I will get it for you.");
- rule InputNpc(1) goto Coward
- rule InputNpc(2) goto FetchHealthPotion
- }
- state FetchHealthPotion
- {
- desc "Fetch 1 Health Potion for Marble"
- rule GotItems(4,1) goto TalkToMarble
- }
- state TalkToMarble
- {
- desc "Talk To Marble"
- action GiveItem(4,1);
- action AddNpcText(1, "Thank-You So much!");
- action AddNpcText(1, "*Glup, Glup*");
- rule TalkedToNpc(1) goto Reward
- }
- state Reward
- {
- action GiveExp(5500);
- action End();
- }
- state Coward
- {
- action AddNpcText(1, "Oh Alright, go live your boring adventure...");
- action Reset();
- }
Add Comment
Please, Sign In to add comment