[ITEMDEF i_weap_dye]
DEFNAME=i_weap_dye
ID=i_dye_tub
Name=Silah boyasi
On=@Create
tag.morex=10
morex=10
ATTR=02
type t_dye_vat
ON=@CLICK
if (<morex> > 0)
message @0800 [ <morex> Kullanimlik]
message @1936 <name>
return 1
elseif (<tag.morex> == 0)
message @0800 [Bitmis]
message @1936 <name>
return 1
endif
return 1
ON=@DCLICK
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage @038 Dye tub cantanizda olmali
return 1
elseif (<tag.morex> == 0)
src.sysmessage Sarjiniz Bitmis...
return 1
else
TARGET @038 Boyanacak Silahi Seciniz...
endif
RETURN 1
ON=@TARGON_CHAR
src.sysmessage @0713,1,1 Bu bir silah degil.
RETURN 1
on=@targon_item
IF (<src.targ.type>!=t_weapon_fence) || (<src.targ.type>!=t_weapon_sword) || (<src.targ.type>!=t_weapon_mace_staff) || (<src.targ.type>!=t_weapon_mace_smith) || (<src.targ.type>!=t_weapon_mace_smith ) || (<src.targ.type>!=t_weapon_bow) || (<src.targ.type>!=t_weapon_xbow)
src.sysmessage @0791,1,1 SADECE SILAHLARI BOYAYABILIRSIN !!!
RETURN 1
else
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
tag.morex=<tag.morex>-1
morex=<morex> -1
return 1
ENDIF
[ITEMDEF i_weap_dye]
DEFNAME=i_weap_dye
ID=i_dye_tub
Name=Silah boyasi
On=@Create
tag.morex=10
morex=10
ATTR=02
type t_dye_vat
ON=@CLICK
if (<morex> > 0)
message @0800 [ <morex> Kullanimlik]
message @1936 <name>
return 1
elseif (<tag.morex> == 0)
message @0800 [Bitmis]
message @1936 <name>
return 1
endif
return 1
ON=@DCLICK
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage @038 Dye tub cantanizda olmali
return 1
elseif (<tag.morex> == 0)
src.sysmessage Sarjiniz Bitmis...
return 1
else
TARGET @038 Boyanacak Silahi Seciniz...
endif
RETURN 1
ON=@TARGON_CHAR
src.sysmessage @0713,1,1 Bu bir silah degil.
RETURN 1
on=@targon_item
IF (<src.targ.type>!=t_weapon_fence) || (<src.targ.type>!=t_weapon_sword) || (<src.targ.type>!=t_weapon_mace_staff) || (<src.targ.type>!=t_weapon_mace_smith) || (<src.targ.type>!=t_weapon_mace_smith ) || (<src.targ.type>!=t_weapon_bow) || (<src.targ.type>!=t_weapon_xbow)
src.sysmessage @0791,1,1 SADECE SILAHLARI BOYAYABILIRSIN !!!
return 1
else
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
RETURN 1
ENDIF
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
tag.morex=<tag.morex>-1
morex=<morex> -1
return 1
ENDIF
on=@targon_item
IF (<src.targ.type>!=t_weapon_fence) || (<src.targ.type>!=t_weapon_sword) || (<src.targ.type>!=t_weapon_mace_staff) || (<src.targ.type>!=t_weapon_mace_smith) || (<src.targ.type>!=t_weapon_mace_smith ) || (<src.targ.type>!=t_weapon_bow) || (<src.targ.type>!=t_weapon_xbow)
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
tag.morex=<tag.morex>-1
morex=<morex> -1
return 1
else
src.sysmessage @38,1,1 Bu Bir Silah Degildir.
return 1
ENDIF
else
src.targ.color <color>
src.targ.update
tag.morex=<tag.morex>-1
endif
return 1
on=@targon_item
IF (<src.targ.type>=t_weapon_fence) || (<src.targ.type>=t_weapon_sword) || (<src.targ.type>=t_weapon_mace_staff) || (<src.targ.type>=t_weapon_mace_smith) || (<src.targ.type>=t_weapon_mace_smith ) || (<src.targ.type>=t_weapon_bow) || (<src.targ.type>=t_weapon_xbow)
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
tag.morex=<tag.morex>-1
morex=<morex> -1
return 1
else
src.sysmessage @38,1,1 Bu Bir Silah Degildir.
return 1
ENDIF
on=@targon_item
IF (<act.isweapon>)
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023
return 1
else
src.sysmessage @38,1,1 Bu Bir Silah Degildir.
return 1
ENDIF
[ITEMDEF i_weap_dye]
DEFNAME=i_weap_dye
ID=i_dye_tub
Name=Silah boyasi
On=@Create
tag.morex=10
morex=10
ATTR=02
type t_dye_vat
ON=@CLICK
if (<morex> > 0)
message @0800 [ <morex> Kullanimlik]
message @1936 <name>
return 1
elseif (<tag.morex> == 0)
message @0800 [Bitmis]
message @1936 <name>
return 1
endif
return 1
ON=@DCLICK
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage @038 Dye tub cantanizda olmali
return 1
elseif (<tag.morex> == 0)
src.sysmessage Sarjiniz Bitmis...
return 1
else
TARGET @038 Boyanacak Silahi Seciniz...
endif
RETURN 1
ON=@TARGON_CHAR
src.sysmessage @0713,1,1 Bu bir silah degil.
RETURN 1
on=@targon_item
IF (<src.targ.type>!=t_weapon_fence) || (<src.targ.type>!=t_weapon_sword) || (<src.targ.type>!=t_weapon_mace_staff) || (<src.targ.type>!=t_weapon_mace_smith) || (<src.targ.type>!=t_weapon_mace_smith ) || (<src.targ.type>!=t_weapon_bow) || (<src.targ.type>!=t_weapon_xbow)
src.sysmessage @0791,1,1 SADECE SILAHLARI BOYAYABILIRSIN !!!
return 1
else
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
morex -=1
RETURN 1
ENDIF
on=@targon_item
IF (<src.targ.isweapon>)
SRC.TARG.COLOR <COLOR>
src.targ.update
src.sound 023
return 1
else
src.sysmessage @38,1,1 Bu Bir Silah Degildir.
return 1
ENDIF
if !((<src.targ.type> == t_weapon_sword) || (<src.targ.type> == t_weapon_fence) || (<src.targ.type> == t_weapon_mace_smith) || (<src.targ.type> == t_weapon_axe) || (<src.targ.type> == t_weapon_mace_PICK) || (<src.targ.type> == t_weapon_mace_sharp) || (<src.targ.type> == t_weapon_bow) || (<src.targ.type> == t_weapon_xbow) || (<src.targ.type> == t_weapon_mace_staff))
SRC.TARG.COLOR <COLOR>
src.targ.update
src.sound 023
return 1
else
src.sysmessage @1153 bu bir silah deil
return 1
endif
[ITEMDEF i_weap_dye]
DEFNAME=i_weap_dye
ID=i_dye_tub
Name=Silah boyasi
On=@Create
ATTR=02
morez 10
type t_dye_vat
ON=@Click
if (<morez> > 0)
message @0800 [ <morez> Kullanimlik]
message @1936 <name>
return 1
else
message @0800 [Bitmis]
message @1936 <name>
return 1
endif
ON=@DCLICK
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage @038 Dye tub cantanizda olmali
return 1
else
if (<morez>=0)
src.sysmessage @038 Rare dye'inizin sarji bitmis kullanamazsiniz.
return 1
else
target @038 Boyanacak Silahi Seciniz...
return 1
endif
endif
ON=@TARGON_CHAR
src.sysmessage @0713,1,1 Bu bir silah degil.
RETURN 1
on=@targon_item
IF (<src.targ.type> == t_weapon_fence) || (<src.targ.type> == t_weapon_sword) || (<src.targ.type> == t_weapon_mace_staff) || (<src.targ.type> == t_weapon_mace_smith) || (<src.targ.type> == t_weapon_mace_smith ) || (<src.targ.type> == t_weapon_bow) || (<src.targ.type> == t_weapon_xbow)
SRC.TARG.COLOR=<COLOR>
src.targ.update
src.sound 023e
morez=<morez>+(-1)
return 1
else
src.sysmessage @0791,1,1 SADECE SILAHLARI BOYAYABILIRSIN !!!
return 1
endif