Share
View previous topicGo downView next topic
Posts : 3
Eternal Gold : 8
Reputation : 1
Join date : 2017-07-18
View user profile

Lens Of Magic quest

on Mon Jul 24, 2017 5:43 pm
Message reputation : 100% (1 vote)
I created this quest to add this weapon to the game.

Code:
// 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
}
First time I edit quest, then review, be sure to change where you have "//"
Moan, her status is your job, I thought of making her focused on tp and regenerating it, for members who want to pair together using the buff str.
Admin
Posts : 5
Eternal Gold : 8
Reputation : 0
Join date : 2017-07-18
View user profilehttp://eternal-online.forumotion.com

Re: Lens Of Magic quest

on Mon Jul 24, 2017 6:19 pm
Honestly, it seems like a good quest too use, but we don't have a "Lens of Magic" just Lens of truth, where you can get that from "Truth Quest" from Serf in the Swamps near Aeven port.

But I'll give you a thumbs up for effort.
Posts : 3
Eternal Gold : 8
Reputation : 1
Join date : 2017-07-18
View user profile

Re: Lens Of Magic quest

on Mon Jul 24, 2017 6:36 pm
Link lens of magic : tinyurl.com/lens-of-magic
Sponsored content

Re: Lens Of Magic quest

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum