Code:
- Author: Dabrit
- Script last updated: 02/28/2014
- Language: English
[ITEMDEF i_skill_pot_blacksmithing]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Blacksmithing +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.BLACKSMITHING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.BLACKSMITHING=<SRC.BLACKSMITHING>+1.0
remove
return 1
[ITEMDEF i_skill_pot_mining]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Mining +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MINING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.Mining=<SRC.Mining>+1.0
remove
return 1
[ITEMDEF i_skill_pot_alchemy]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Alchemy +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ALCHEMY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.ALCHEMY=<SRC.ALCHEMY>+1.0
remove
return 1
[ITEMDEF i_skill_pot_anatomy]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Anatomy +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ANATOMY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.Anatomy=<SRC.Anatomy>+1.0
remove
return 1
[ITEMDEF i_skill_pot_taming]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Animal Taming +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TAMING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.taming=<SRC.taming>+1.0
remove
return 1
[ITEMDEF i_skill_pot_animallore]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Animallore +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ANIMALLORE>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.Animallore=<SRC.Animallore>+1.0
remove
return 1
[ITEMDEF i_skill_pot_archery]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Archery +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ARCHERY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.Archery=<SRC.Archery>+1.0
remove
return 1
[ITEMDEF i_skill_pot_armslore]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Armslore +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ARMSLORE>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.Armslore=<SRC.Armslore>+1.0
remove
return 1
[ITEMDEF i_skill_pot_begging]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Begging +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.BEGGING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.begging=<SRC.begging>+1.0
remove
return 1
[ITEMDEF i_skill_pot_bowcraft]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Bowcraft +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.BOWCRAFT>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.bowcraft=<SRC.bowcraft>+1.0
remove
return 1
[ITEMDEF i_skill_pot_camping]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Camping +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.CAMPING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.camping=<SRC.camping>+1.0
remove
return 1
[ITEMDEF i_skill_pot_carpentry]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Carpentry +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.CARPENTRY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.carpentry=<SRC.carpentry>+1.0
remove
return 1
[ITEMDEF i_skill_pot_CARTOGRAPHY]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Cartography +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.CARTOGRAPHY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.CARTOGRAPHY=<SRC.CARTOGRAPHY>+1.0
remove
return 1
[ITEMDEF i_skill_pot_Cooking]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Cooking +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.COOKING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.cooking=<SRC.cooking>+1.0
remove
return 1
[ITEMDEF i_skill_pot_detectinghidden]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Detecting Hidden +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.DETECTINGHIDDEN>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.DETECTINGHIDDEN=<SRC.DETECTINGHIDDEN>+1.0
remove
return 1
[ITEMDEF i_skill_pot_enticement]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Enticement +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ENTICEMENT>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.enticement=<SRC.enticement>+1.0
remove
return 1
[ITEMDEF i_skill_pot_EvaluatingIntel]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Evaluating Intel +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.EVALUATINGINTEL>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.EvaluatingIntel=<SRC.EvaluatingIntel>+1.0
remove
return 1
[ITEMDEF i_skill_pot_fishing]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Fishing +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.FISHING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.fishing=<SRC.fishing>+1.0
remove
return 1
[ITEMDEF i_skill_pot_forensics]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Forensics +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.FORENSICS>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.forensics=<SRC.forensics>+1.0
remove
return 1
[ITEMDEF i_skill_pot_healing]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Healing +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.HEALING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.healing=<SRC.healing>+1.0
remove
return 1
[ITEMDEF i_skill_pot_herding]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Herding +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.HERDING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.herding=<SRC.herding>+1.0
remove
return 1
[ITEMDEF i_skill_pot_hiding]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Hiding +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.HIDING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.hiding=<SRC.hiding>+1.0
remove
return 1
[ITEMDEF i_skill_pot_inscription]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Inscription +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.INSCRIPTION>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.inscription=<SRC.inscription>+1.0
remove
return 1
[ITEMDEF i_skill_pot_itemid]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Item Id +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.ITEMID>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.itemid=<SRC.itemid>+1.0
remove
return 1
[ITEMDEF i_skill_pot_lockpicking]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Lockpicking +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.LOCKPICKING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.lockpicking=<SRC.lockpicking>+1.0
remove
return 1
[ITEMDEF i_skill_pot_lumberjacking]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Lumberjacking +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.LUMBERJACKING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.lumberjacking=<SRC.lumberjacking>+1.0
remove
return 1
[ITEMDEF i_skill_pot_macefighting]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Macefighting +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MACEFIGHTING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.macefighting=<SRC.macefighting>+1.0
remove
return 1
[ITEMDEF i_skill_pot_magery]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Magery +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MAGERY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.magery=<SRC.magery>+1.0
remove
return 1
[ITEMDEF i_skill_pot_magicresistance]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Magic Resistance +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MAGICRESISTANCE>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.magicresistance=<SRC.magicresistance>+1.0
remove
return 1
[ITEMDEF i_skill_pot_meditation]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Meditation +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MEDITATION>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.meditation=<SRC.meditation>+1.0
remove
return 1
[ITEMDEF i_skill_pot_musicianship]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Musicianship +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.MUSICIANSHIP>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.musicianship=<SRC.musicianship>+1.0
remove
return 1
[ITEMDEF i_skill_pot_parrying]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Parrying +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.PARRYING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.parrying=<SRC.parrying>+1.0
remove
return 1
[ITEMDEF i_skill_pot_peacemaking]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [peacemaking +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.PEACEMAKING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.peacemaking=<SRC.peacemaking>+1.0
remove
return 1
[ITEMDEF i_skill_pot_poisoning]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Poisoning +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.POISONING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.poisoning=<SRC.poisoning>+1.0
remove
return 1
[ITEMDEF i_skill_pot_provocation]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Provocation +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.PROVOCATION>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.provocation=<SRC.provocation>+1.0
remove
return 1
[ITEMDEF i_skill_pot_removetrap]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Remove Trap +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.REMOVETRAP>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.removetrap=<SRC.removetrap>+1.0
remove
return 1
[ITEMDEF i_skill_pot_snooping]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Snooping +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.SNOOPING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.snooping=<SRC.snooping>+1.0
remove
return 1
[ITEMDEF i_skill_pot_spiritspeak]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Spirit Speak +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.SPIRITSPEAK>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.spiritspeak=<SRC.spiritspeak>+1.0
remove
return 1
[ITEMDEF i_skill_pot_stealing]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Stealing +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.STEALING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.stealing=<SRC.stealing>+1.0
remove
return 1
[ITEMDEF i_skill_pot_stealth]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Stealth +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.STEALTH>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.stealth=<SRC.stealth>+1.0
remove
return 1
[ITEMDEF i_skill_pot_swordsmanship]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Swordsmanship +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.SWORDSMANSHIP>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.swordsmanship=<SRC.swordsmanship>+1.0
remove
return 1
[ITEMDEF i_skill_pot_wrestling]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Wrestling +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.WRESTLING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.wrestling=<SRC.wrestling>+1.0
remove
return 1
[ITEMDEF i_skill_pot_veterinary]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Veterinery +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.VETERINERY>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.veterinary=<SRC.veterinary>+1.0
remove
return 1
[ITEMDEF i_skill_pot_tactics]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Tactics +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TACTICS>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.tactics=<SRC.tactics>+1.0
remove
return 1
[ITEMDEF i_skill_pot_tailoring]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Tailoring +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TAILORING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.tailoring=<SRC.tailoring>+1.0
remove
return 1
[ITEMDEF i_skill_pot_tasteid]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Taste Id +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TASTEID>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.tasteid=<SRC.tasteid>+1.0
remove
return 1
[ITEMDEF i_skill_pot_tinkering]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Tinkering +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TINKERING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.tinkering=<SRC.tinkering>+1.0
remove
return 1
[ITEMDEF i_skill_pot_tracking]
DEFNAME=i_skill_pot
ID=I_bottle
Name=Skill Pot
On=@create
Color=02
ON=@CLICK
MESSAGE @0487 [Tracking +1]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
IF (<SRC.TRACKING>> >= 100.0)
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
return 1
else
SRC.EMOTE feel a bit wiser
SRC.tracking=<SRC.tracking>+1.0
remove
return 1
[EOF]
Code:
[ITEMDEF i_skill_pot_1]
ID=I_bottle
Name=Skill Pot
On=@create
tag0.skill=<eval {1 52}>
Color=02
ON=@CLICK
MESSAGE @0487 [<serv.skill.<dtag0.skill>.key>]
MESSAGE @0481 <NAME>
RETURN 1
On=@dclick
SRC.EMOTE feel a bit wiser
SRC.<tag0.skill> += 10
consume
IF <SRC.<tag0.skill>> >= 1000
SRC.MESSAGE @0481 You are at maximum skill and cannot consume this!
src.<tag.skill> = 1000
endif
return 1