mevzu bahis item, oyunda yaratılıyor;
fakat menunun açılması için item'a çift tıkladığımda client göçüyor.
Sphere 0.55i
[itemdef i_boyalan]
id=i_tub_water
type=t_eq_script
name Create Tub
RESOURCES=60 i_log, 2 i_dye_tub, 1 i_barrel_open, 2 i_dyes
SKILLMAKE=tinkering 100.0, Carpentry 100.0, t_carpentry
ON=@create
color=084f
ON=@click
message= <name>
return 1
ON=@dclick
IF !(<topobj.uid> == <src.uid>)
src.sysmessage= Sadece cantanizdayken kullanabilirsiniz !
elseif !(<SRC.RESTEST 50 i_log, 2 i_dye_tub, 2 i_dyes>)
src.sysmessage= Cantanizdaki malzemeler tam olmadan calistiramazsiniz ... ( 50 log , 2 boya kutusu , 2 boya tupu )
elseif !(<src.tinkering> == 100.0) && !(<src.tailoring> == 100.0)
src.sysmessage= Kullanabilmek icin 100.0 tinkering ve 100.0 tailoring skilline ihtiyaciniz var
else
src.dialog d_boyalanin_menusu
endif
return 1
[dialog d_boyalanin_menusu]
150,50
nomove
page 1
resizepic 0 0 5120 350 340
resizepic 12 10 3000 330 320
//resizepic 12 35 3000 330 4
text 18 15 330 20 0 0
text 120 60 210 190 0 0
resizepic 110 50 3000 220 200
resizepic 20 50 3000 80 60
tilepic 50 60 4011
button 30 65 210 211 0 2 1
text 35 90 80 20 0 0
resizepic 20 120 3000 80 60
tilepic 50 130 4011
button 30 135 210 211 0 3 2
text 35 160 80 20 0 0
resizepic 20 190 3000 80 60
tilepic 50 200 4011
button 30 205 210 211 0 4 3
text 35 230 80 20 0 0
resizepic 20 260 3000 80 60
tilepic 50 270 4011
button 30 275 210 211 0 5 4
text 35 300 80 20 0 0
Page 2
resizepic 0 0 5120 350 340
resizepic 12 10 3000 330 320
//resizepic 12 35 3000 330 4
text 18 15 330 20 0 0
text 120 60 200 70 0 0
resizepic 110 50 3000 220 200
text 120 185 200 70 0 0
resizepic 20 50 3000 80 60
tilepic 50 60 4011
button 30 65 211 211 0 2 1
text 35 90 80 20 0 0
resizepic 20 120 3000 80 60
tilepic 50 130 4011
button 30 135 210 211 0 3 2
text 35 160 80 20 0 0
resizepic 20 190 3000 80 60
tilepic 50 200 4011
button 30 205 210 211 0 4 3
text 35 230 80 20 0 0
resizepic 20 260 3000 80 60
tilepic 50 270 4011
button 30 275 210 211 0 5 4
text 35 300 80 20 0 0
button 120 130 210 211 50 0 50
text 145 130 120 20 0 0
button 120 150 210 211 51 0 51
text 145 150 120 20 0 0
page 3
resizepic 0 0 5120 350 340
resizepic 12 10 3000 330 320
//resizepic 12 35 3000 330 4
text 18 15 330 20 0 0
text 120 60 200 70 0 0
resizepic 110 50 3000 220 200
text 120 185 200 70 0 0
resizepic 20 50 3000 80 60
tilepic 50 60 4011
button 30 65 210 211 0 2 1
text 35 90 80 20 0 0
resizepic 20 120 3000 80 60
tilepic 50 130 4011
button 30 135 211 211 0 3 2
text 35 160 80 20 0 0
resizepic 20 190 3000 80 60
tilepic 50 200 4011
button 30 205 210 211 0 4 3
text 35 230 80 20 0 0
resizepic 20 260 3000 80 60
tilepic 50 270 4011
button 30 275 210 211 0 5 4
text 35 300 80 20 0 0
button 120 130 210 211 52 0 52
text 145 130 120 20 0 0
button 120 150 210 211 51 0 51
text 145 150 120 20 0 0
page 4
resizepic 0 0 5120 350 340
resizepic 12 10 3000 330 320
//resizepic 12 35 3000 330 4
text 18 15 330 20 0 0
text 120 60 200 70 0 0
resizepic 110 50 3000 220 200
text 120 185 200 70 0 0
resizepic 20 50 3000 80 60
tilepic 50 60 4011
button 30 65 210 211 0 2 1
text 35 90 80 20 0 0
resizepic 20 120 3000 80 60
tilepic 50 130 4011
button 30 135 210 211 0 3 2
text 35 160 80 20 0 0
resizepic 20 190 3000 80 60
tilepic 50 200 4011
button 30 205 211 211 0 4 3
text 35 230 80 20 0 0
resizepic 20 260 3000 80 60
tilepic 50 270 4011
button 30 275 210 211 0 5 4
text 35 300 80 20 0 0
button 120 130 210 211 53 0 53
text 145 130 120 20 0 0
button 120 150 210 211 51 0 51
text 145 150 120 20 0 0
page 5
resizepic 0 0 5120 350 340
resizepic 12 10 3000 330 320
//resizepic 12 35 3000 330 4
text 18 15 330 20 0 0
text 120 60 200 70 0 0
resizepic 110 50 3000 220 210
text 120 185 200 70 0 0
resizepic 20 50 3000 80 60
tilepic 50 60 4011
button 30 65 210 211 0 2 1
text 35 90 80 20 0 0
resizepic 20 120 3000 80 60
tilepic 50 130 4011
button 30 135 210 211 0 3 2
text 35 160 80 20 0 0
resizepic 20 190 3000 80 60
tilepic 50 200 4011
button 30 205 210 211 0 4 3
text 35 230 80 20 0 0
resizepic 20 260 3000 80 60
tilepic 50 270 4011
button 30 275 211 211 0 5 4
text 35 300 80 20 0 0
button 120 130 210 211 54 0 54
text 145 130 120 20 0 0
button 120 150 210 211 51 0 51
text 145 150 120 20 0 0
[dialog d_boyalanin_menusu TEXT]
SosariaSU Craft Dye Menu
Yapmak istediginiz boya turunun yanindaki buttona tiklayarak boyayi yapabilirsiniz
Rare Dye
Furniture Dye
Leather Dye
Sentetik Dye
SosariaSU Craft Dye Menu
Rare Dye Her turlu elbiseyi boyayabildiginiz farkli renklere sahip boya ...
Yapmak icin gerekli olan malzemeler 150 Log , 2 Dye tub ve 2 adet dyes tir ...
Rare Dye
Furniture Dye
Leather Dye
Sentetik Dye
Boyayi yap
Menuyu kapat
SosariaSU Craft Dye Menu
Furniture Dye Her turlu mobilyayi boyayabildiginiz nitelikte boya ...
Yapmak icin gerekli olan malzemeler 200 Log , 4 Dye tub ve 12 adet stool dur ...
Rare Dye
Furniture Dye
Leather Dye
Sentetik Dye
Boyayi yap
Menuyu kapat
SosariaSU Craft Dye Menu
Leather Dye Her turlu deri esyayi boyayabildiginiz nitelikte boya ...
Yapmak icin gerekli olan malzemeler 200 Log , 4 Dye tub ve 30 adet hides tir ...
Rare Dye
Furniture Dye
Leather Dye
Sentetik Dye
Boyayi yap
Menuyu kapat
SosariaSU Craft Dye Menu
Sentetik Dye Her turlu kumas esyayi boyayabildiginiz nitelikte boya ...
Yapmak icin gerekli olan malzemeler 100 Log , 1 Dye tub ve 150 adet cloth ve 1 adet rare dye dir ...
Rare Dye
Furniture Dye
Leather Dye
Sentetik Dye
Boyayi yap
Menuyu kapat
[dialog d_boyalanin_menusu BUTTON]
ON=0
src.sysmessage=@39 Kapattiniz ...
onbutton=50
makeitem=i_dye_tub_rare
src.tag.makelast=i_dye_tub_rare
if ( <src.tinkering> < 100.0 ) && ( <src.carpentry> < 100.0 ) && ( <src.lumberjacking> < 100.0 )
SRC.SYSMESSAGE=@39 Yeterli beceriye sahip degilsiniz. (100.0) Tinker , Carpenter ve Lumberjack
return 1
elseif !(<src.restest 150 i_log, 2 i_dye_tub, 2 i_dyes>)
SRC.SYSMESSAGE Bunu yapmak icin 150 log 2 Dye tub 2 Dyes'a ihtiyaciniz var.
return 1
endif
src.sysmessage=@0492 Rare dye yapiliyor .
src.sysmessage=@0481 [ Renk random ... ]
anim 9
anim 12
sfx 78
onbutton=52
makeitem=i_dye_tub_furniture
src.tag.makelast=i_dye_tub_furny
if ( <src.tinkering> < 100.0 ) && ( <src.carpentry> < 100.0 ) && ( <src.lumberjacking> < 100.0 )
SRC.SYSMESSAGE=@39 Yeterli beceriye sahip degilsiniz. (100.0) Tinker , Carpenter ve Lumberjack
return 1
elseif !(<src.restest 200 i_log, 4 i_dye_tub, 12 i_chair_stool>)
SRC.SYSMESSAGE=@39 Bunu yapmak icin 200 log ,4 Dye tub ,12 stool'a ihtiyaciniz var.
return 1
endif
src.sysmessage=@0492 Furniture dye yapiliyor .
anim 9
anim 12
sfx 78
onbutton=53
makeitem=i_dye_tub_leather
if ( <src.tinkering> < 100.0 ) && ( <src.carpentry> < 100.0 ) && ( <src.lumberjacking> < 100.0 )
SRC.SYSMESSAGE=@39 Yeterli beceriye sahip degilsiniz. (100.0) Tinker , Carpenter ve Lumberjack
return 1
elseif !(<src.restest 200 i_log, 4 i_dye_tub, 30 i_hide>)
SRC.SYSMESSAGE=@39 Bunu yapmak icin 200 log ,4 Dye tub ,30 hides'a ihtiyaciniz var.
return 1
endif
src.sysmessage=@0492 Leather dye yapiliyor .
src.sysmessage=@0481 [ Renk random ... ]
anim 9
anim 12
sfx 78
onbutton=54
makeitem=i_dye_tub_sentetik
if ( <src.tinkering> < 100.0 ) && ( <src.carpentry> < 100.0 ) && ( <src.lumberjacking> < 100.0 )
SRC.SYSMESSAGE=@39 Yeterli beceriye sahip degilsiniz. (100.0) Tinker , Carpenter ve Lumberjack
return 1
elseif !(<src.restest 100 i_log, 1 i_dye_tub, 150 i_cloth, 1 i_dye_tub_rare>)
SRC.SYSMESSAGE=@39 Bunu yapmak icin 100 log ,1 Dye tub ,150 cloth'a ve 1 rare dye a ihtiyaciniz var.
return 1
endif
src.sysmessage=@0492 Synthetic dye yapiliyor .
src.sysmessage=@0481 [ Renk random ... ]
anim 9
anim 12
sfx 78
//RARE YENI //PROXI
//-----
[ITEMDEF i_dye_tub_rare]
//Dying Tub
ID=i_dye_tub
NAME=Rare dye tub
TYPE=T_DYE_VAT
WEIGHT=10
CATEGORY=Items by Professions
SUBSECTION=Tailor
DESCRIPTION=Rare Dying Tub
RESOURCES=150 i_log, 2 i_dye_tub, 2 i_dyes
SKILLMAKE=TINKERING 100.0, CARPENTRY 100.0, t_carpentry
on=@create
//morez 60
dorand 26
color=084b
color=0543
color=066d
color=0845
color=096c
color=051a
color=04df
color=08a1
color=059e
color=0770
color=07d1
color=0479
color=0515
color=0421
color=0455
color=0900
color=0852
color=096d
color=08aa
color=005a5
color=052f
color=0652
color=08ab
color=07d6
color=090b
color=0583
enddo
on=@click
//message <morez> kez daha kullanabilirsiniz
message <name>
return 1
On=@DClick
target
return 1
On=@TargOn_Char
src.sysmessage Canli varliklari boyayamazsiniz.
return 1
On=@TargOn_Item
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage Boyayacaginiz esya uzerinizde olmali.
elseif !((<src.targ.type> = t_clothing)
src.sysmessage Bunu boyayamazsiniz.
else
src.targ.color <color>
src.targ.update
src.targ.unequip
src.sysmessage <src.targ.name>'iniz boyandi . Boyadiginiz <src.targ.name> cantaniza dustu ...
//morez=<morez>+(-1)
endif
return 1
on=@Targon_ground
src.sysmessage Zemini boyayamazsiniz.
return 1
//FURNITUR
[itemdef i_dye_tub_furny]
id i_dye_tub
name=Furniture dye tub
On=@Create
On=@click
message= Cift tiklayin
message= <name>
message= [ bu boya eski ]
return 1
On=@DClick
remove
src.newitem=i_dye_tub_furniture
src.act.equip
src.sysmessage= Boyaniz yenilendi ...
return 1
//Yeni furniture dye
[itemdef i_dye_tub_furniture]
id i_dye_tub
name=Furniture dye tub
type t_dye_vat
weight 10
RESOURCES=200 i_log, 4 i_dye_tub, 12 i_chair_stool
SKILLMAKE=TINKERING 100.0, CARPENTRY 100.0, t_carpentry
On=@Create
type t_dye_vat
dorand 16
color=084b
color=0543
color=066d
color=0845
color=096c
color=51a
color=04df
color=08a1
color=059e
color=0770
color=07d1
color=0479
color=0515
color=0421
color=0455
color=0900
enddo
On=@click
message= <name>
return 1
On=@DClick
target
return 1
On=@TargOn_Char
return 1
On=@TargOn_Item
if !(<src.targ.topobj.uid> == <src.uid>)
src.sysmessage Boyayacaginiz esya cantanizda olmali.
elseif !((<src.targ.type> == t_table) || (<src.targ.type> == t_chair) || (<src.targ.baseid> == i_bookcase_full) || (<src.targ.baseid> == i_crate_small) || (<src.targ.baseid> == i_crate_md) || (<src.targ.baseid> == i_crate_lg) || (<src.targ.baseid> == i_box_wood) || (<src.targ.baseid> == i_chest_wooden_brass) || (<src.targ.baseid> == i_bureau_2) || (<src.targ.baseid> == i_armoir_lt) || (<src.targ.baseid> == i_armoir_dk) || (<src.targ.baseid> == i_bookcase) || (<src.targ.baseid> == i_bar_piece))
src.sysmessage Sadece mobilyalari boyayabilirsiniz.
else
src.targ.color <color>
src.targ.update
endif
return 1
craft edilecek olan boyalarda sorun yok; kendim yaratıp boyayabiliorum sağı solu.
Ne olur yardım