Item Quest upgrade unique items (Para,Pro ect..)

Play Now

MythRohan

LOMCN Veteran
Veteran
Nov 18, 2011
2,147
82
135
Northant's Town : Serious Gamer
i sat up for long writing this out.

what it does is upgrade an unique item such a ProtectionRing but you will "HAVE" to create the new ring/s in your
"DATABASE"
just copy and past the rings you require.change there name and obviously the Stats would like
to place on each item ...Then bobs ya uncle :P there u have a kool npc that creates kool upgrade rings of your choice

could be a cool addition to servers :)
i was going to use flags and stuff but it worked out kool as it is :

1st Quest npc

[HIGHLIGHT]
Code:
[@Main]
#SAY
Hello there <$USERNAME>, and welcome to <$SERVERNAME>.\
Your current stats are:\
Level:<$LEVEL> Experience: <$EXP>/<$MAXEXP>\
AC:<$AC>/<$MAXAC> AMC:<$MAC>/<$MAXMAC>\
DC:<$DC>/<$MAXDC> MC:<$MC>/<$MAXMC> SC:<$SC>/<$MAXSC>\
GamePoints:<$GAMEPOINT> GameGold:<$GAMEGOLD> GamerScore:<$CREDITPOINT>\
You may increase these stats by gaining <Experience Points/@exp1>\
from monsters around M2H TGA, also by doing various tasks for\
Npcs around the world.<Like what?/@quest1>.\
<Thank you./@exit>


[@exp1]
#SAY
Experience Points are the units required to increase your\
character level. By increasing your level, you will gain\
access to new items, new quests and the ability to vanquish\
other monsters or bosses you may have encountered previously\
but at the time were unable to kill.\ \
<Back/@main>\
<Exit/@exit>


[@quest1]
#SAY
There is a man named Farmer situated in Bichon-Prov.Farmer is\
an important citizen of Anunaki Tribe as he\
ensures that no person starves and makes sure everybody has a home.\
Unfortunately, he is extremely busy 24/7\
and therefore cannot be distracted from his work,\
this is where you come in - if you would be so kind\
as to <go see the Farmer/@go1> and find out if he requires\
any help. It would be greatly appreciated.\ \
<Certainly./@exit>


[@go1]
#ACT
MAPMOVE 0_000m3 25 25
[/HIGHLIGHT]


then i added a NPC to go with the teleport of the quest :

NPC 2:

Code:
[@main]
#SAY
Hello young <$USERNAME>...\
This is a long place away from home! what brings you here..?\
<Required Help?/@help> <Nothing Much/@nout> <Nothing sir/@exit>


[@help]
#SAY
Ahh i see .. so Tarik has sent you to check what supplies i need..\
<Well i need/FCOLOR=22>\ <1 "Diamond"/FCOLOR=250> , <10 "UpgradeGem's"/FCOLOR=250>\
And a <"Special Ring"/FCOLOR=22> to finish my project.\
Either one of the following: <Para, Pro, Tele, flame, Clear, Recovery or a Rev ring/FCOLOR=250>.\
If you could find these supplys id be very thankfull,\
I just dont have the time as im fully booked in "Meetings" all week!\
Can you help?
<Sure/@sure> <No thanks/@exit>


[@sure]
#SAY
Thank you kind Hero.\
With these items i can create a super item!\
<"Meaning"/FCOLOR=22>: The Ring you pass me,\
I will create an upgrade for you to have for using\
your time to aquire these items.\
yo didnt think i was going to give u nothing did you!?\
Please return with the required items to recieve an upgrade.\
<Ok i will/@nout>\
<I have the items/@items> <I will think about it/@think>


[@items]
#SAY
What Ring would you like to upgrade? \ \
<Protection/@pro> <Paralysis/@para> <Tele/@tele> <Revival/@rev>\
<Flame/@flame> <Recovery/@recovery> <Clear/@clear>


[@Clear]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM ClearRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take ClearRing 1
Give ClearPlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@tele]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM TeleportRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take TeleportRing 1
Give TelePlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@recovery]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM RecoveryRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take RecoveryRing 1
Give RecoveryPlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@Flame]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM FlameRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take FlameRing 1
Give FlamePlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@rev]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM RevivalRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take RevivalRing 1
Give RevivalPlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@para]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM ParalysisRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take ParalysisRing 1
Give ParaPlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@pro]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
CHECKITEM ProtectionRing 1
#ACT
take Diamond 1
take UpgradeGem 10
take ProtectionRing 1
Give ProPlus+ 1
#SAY
I see you have all the required items needed to create\
The magnificent ring's of our "Ansister's"\
thank you and here is your prize :) enjoy.\ \ \
<Thanks/@exit>
#ELSESAY
You don't have what im asking for.. why do you lie to me!?.\
GET OUT AND FIND THEM!! \ \
<Back/@main>\
<Exit/@exit>


[@nout]
#SAY
Oh well good luck and tell Tarik im doing fine\
And please do not worrie IM FINE! tell the poor lad\
everything is great thanks\
<close/@exit>


[@think]
#SAY
Whats to think about lad?\
just get the stuff and come back..\
its not hard son.\
<ok ill go look/@close> <bye/@exit>

Hope this helps

regards
mythrohan


p.s i havent been sleep yet so mind my spelling :)

---------- Post added at 11:11 PM ---------- Previous post was at 05:18 AM ----------

edit: sorted spelling :)


 
Last edited:

MythRohan

LOMCN Veteran
Veteran
Nov 18, 2011
2,147
82
135
Northant's Town : Serious Gamer
it doesnt seem to do anything just that on its own with my bits inside :

[TakeOn7]
#IF
CHECKITEMW ProtectionRing
#ACT
goto @ItemCheck1
break

[TakeOn8]
#IF
CHECKITEMW ProtectionRing
#ACT
goto @ItemCheck2
break

[@ItemCheck1]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
#ACT
TAKE Diamond 1
TAKE UpgradeGem 10
TAKEW ProtectionRing
GIVE ProPlus+
TAKEONITEM ProPlus+ 7
break

[@ItemCheck2]
#IF
CHECKITEM Diamond 1
CHECKITEM UpgradeGem 10
#ACT
TAKE Diamond 1
TAKE UpgradeGem 10
TAKEW ProtectionRing
GIVE ProPlus+
TAKEONITEM ProPlus+ 8
break

maybe i need to put somit with it
 
Upvote 0

Breezer

Legend
Legendary
Jul 16, 2004
3,684
845
345
Could be that it needs to be used as a CALL script....


Qfunction
Code:
[TakeOn7]
#CALL [\\TakeOn\Upgrade\ProtectionRing.txt] @ProUpgrade
break

[TakeOn8]
#CALL [\\TakeOn\Upgrade\ProtectionRing2.txt] @ProUpgrade2
break

QuestDairy -> TakeOn -> Upgrade

ProtectionRing.txt
Code:
[@ProUpgrade]
{
#IF
CHECKITEMW ItemName
CHECKITEM CraftingItem1 1
CHECKITEM CraftingItem2 1
#ACT
TAKE CraftingItem1
TAKE CraftingItem2 
TAKEW ItemName 
GIVE ItemName2
TAKEONITEM ItemName2 7
break
}

ProtectionRing2.txt
Code:
[@ProUpgrade2]
{
#IF
CHECKITEMW ItemName
CHECKITEM CraftingItem1 1
CHECKITEM CraftingItem2 1
#ACT
TAKE CraftingItem1
TAKE CraftingItem2 
TAKEW ItemName 
GIVE ItemName2
TAKEONITEM ItemName2 8
break
}
 
Last edited:
  • Like
Reactions: MythRohan
Upvote 0

Breezer

Legend
Legendary
Jul 16, 2004
3,684
845
345
lol cool stuff , i neatened it up abit with the call script etc ...so hopefully it still works lol
 
Upvote 0