UO-Dev Arama


Yazar: Bilinmiyor
Tarih: 29-07-2009 18:25


Paylaş : Paylaş

Kod:
[itemdef i_pet_dye]
ID=4011
DEFNAME=i_pet_tub //realized my old defname conflited with other dyetubs
TYPE=T_DYE
WEIGHT=10
NAME=Pet Dye Tub
RESOURCES=10 i_log
VALUE=10000

CATEGORY=Dye tubs
SUBSECTION=Dye Tubs
DESCRIPTION=Pet Dying Tub

ON=@CREATE
COLOR=00
MORE2l=20
MORE2h=20

On=@CLICK
NAME=Pet Dye Tub           <more2l>/<more2h> charges

ON=@TARGON_CHAR
IF <more2><1
SRC.SYSMESSAGE This cannot be used. You need to recharge it
RETURN 1
ELSEIF (<SRC.TARG.BODY>==c_man)||(<SRC.TARG.BODY>==c_woman)
SRC.SYSMESSAGE You may only dye pets!
RETURN 1
ELSEIF <src.targ.flags>&statf_conjured
SRC.SYSMESSAGE You may not dye pets that are summoned!
RETURN 1
ELSEIF <SRC.TARG.ISMYPET>&&(<src.targ.body>==c_horse_tan) || (<src.targ.body>==c_horse_gray) ||

(<src.targ.body>==c_horse_brown) || (<src.targ.body>==c_lama)
SRC.SYSMESSAGE You dye <SRC.TARG.NAME>
SRC.TARG.COLOR=<COLOR>
more2=<MORE2> +-1
RETURN 1
ELSEIF (<src.targ.body>!=c_horse_tan) || (<src.targ.body>!=c_horse_gray) || (<src.targ.body>!=c_horse_brown) ||

(<src.targ.body>!=c_lama)
SRC.SYSMESSAGE You may only dye mounts!!
RETURN 1
ELSE
SRC.SYSMESSAGE You do not own <SRC.TARG.NAME>!!
RETURN 1
ENDIF

[itemdef i_pet_dye_refresh]
ID=7888
DEFNAME=i_crystal_red
TYPE=T_COMM_CRYSTAL
WEIGHT=5
NAME=Pet Dyetub Recharger
VALUE=5000

Category=Dye Tubs
Subsection=Dye Tubs
Description=Pet Dying Tub Recharger

ON=@CREATE
COLOR=00
MORE2l=5
MORE2h=5

ON=@CLICK
Name=Glacial Staff Recharger          (<more2l>/<more2h> charges )

ON=@TARGON_ITEM
IF <MORE2l><1
SRC.SYSMESSAGE This item can no longer be used. Please purchase another.
SRC.CONSUME 1 i_pet_dye_refresh
RETURN 1
ELSEIF (<SRC.TARG.ID>==i_pet_dye)
SRC.TARG.MORE2L=<SRC.TARG.MORE2h>
MORE2=<MORE2>+-1
SRC.SYSMESSAGE You recharge the Pet Dye Tub
ELSEIF (<SRC.TARG.MORE2l>==20)
SRC.SYSMESSAGE That item is already recharged!
RETURN 1
ELSE (<SRC.TARG.ID>!=i_pet_dye)
SRC.SYSMESSAGE You cannot use this item on <SRC.TARG.NAME>
RETURN 1
[EOF]



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,