Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Created by Princessbr
- Main
- {
- questname "The Lens of Magic"
- version 1.0
- }
- state Begin
- {
- desc "Talk to Lens Specialist"
- action AddNpcText(129, "Hello there fellow citizen, how are you today?");
- action AddNpcInput(129,1, "Go away");
- action AddNpcInput(129,2, "Exploring");
- rule InputNpc(1)goto Reset
- rule InputNpc(2)goto Talk1
- }
- state Talk1
- {
- desc "Talk to Lens Specialist"
- action AddNpcText(129, "Well, that's great i used to be a guard for the imperial castle in aeven..");
- action AddNpcText(129, " But I was obsessed with the Lens of Magic ");
- action AddNpcText(129, " I tried to take hundreds of her, but I only got one ");
- action AddNpcText(129, "I have an idea actually..");
- action AddNpcText(129, " If you give me what I need to get another one of her, and a few more things, I'll give you ");
- action AddNpcText(129, " IF.. you can kill some Hell Guardians for me ");
- action AddNpcInput(129,1, "No way!");
- action AddNpcInput(129,2, "I'm on it!");
- rule InputNpc(1)goto Reset
- rule InputNpc(2)goto Kill
- }
- state Kill
- {
- desc "Kill 50 Hell Guardians"
- action ShowHint("Quest Reward: 50000 exp, and a Lens of Magic!")
- action AddNpcText(129, "Wonderful, now get hunting!");
- rule KilledNpcs(129,50)goto Specialist
- }
- state Specialist
- {
- desc "Talk to Lens Specialist"
- action ShowHint("Return to the Lens Specialist!")
- action AddNpcText(129, "Wasn't hard was it? heh.");
- action AddNpcText(129, "Now collect 100 imp stings for me");
- action AddNpcInput(129,1, "I give up");
- action AddNpcInput(129,2, "I'm on it!");
- rule InputNpc(1)goto Reset
- rule InputNpc(2)goto Stings
- }
- state Stings
- {
- desc "Collect Imp Stings"
- rule GotItems(400,100)goto Specialist2
- }
- state Specialist2
- {
- desc "Talk to Lens Specialist"
- action ShowHint("You got the stings, return to the Lens Specialist!")
- action AddNpcText(129, "Now collect 3 chaos wings for me");
- action AddNpcInput(129,1, "I give up");
- action AddNpcInput(129,2, "I'm on it!");
- action RemoveItem(400,100);
- rule InputNpc(1)goto Reset
- rule InputNpc(2)goto Wings
- }
- state Wings
- {
- desc "Collect Chaos Wings"
- rule GotItems(IDK,3)goto Specialist3 // Put the ID Chaos Wing here
- }
- state Specialist3
- {
- desc "Talk to Lens Specialist"
- action ShowHint("You got the Wings, return to the Lens Specialist!")
- action AddNpcText(129, " Now I just need a lens of truth.");
- action AddNpcText(129, " Talk to Serf in the swamp and give me the Lens of Truth.");
- action AddNpcInput(129,1, "I give up");
- action AddNpcInput(129,2, " I'll give you the lens of truth.");
- action RemoveItem(IDK,3); //Put the ID Chaos Wing here
- rule InputNpc(1)goto Reset
- rule InputNpc(2)goto Lens
- }
- state Lens
- {
- desc "Take the lens of truth."
- rule GotItems(421,1)goto Specialist4
- }
- state Specialist4
- {
- desc "Talk to Lens Specialist."
- action ShowHint("You got the Lens, return to the Lens Specialist!")
- action AddNpcText(129, "You are an Official Lens Specialist!");
- action AddNpcInput(129,1, "Thank You");
- rule InputNpc(1)goto GetReward
- }
- state GetReward
- {
- action ShowHint("You gained 50000 exp and a Lens of Magic!")
- action GiveItem(IDK,1); // Put the ID Lens of Magic here
- action GiveExp(50000);
- action RemoveItem(421,1);
- action PlaySound(17);
- action End();
- }
- state Reset
- {
- action ShowHint("The Specialist Lens quest aborted..")
- action Reset(); // requires to talk
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement