Kod:
[Defname alchemy_hamit]
alchemy_items_0=Less,Normal,Great,Super,Other
alchemy_items_1=i_potion_explosionless,i_potion_poisonless,i_potion_healless,i_potion_cureless,i_potion_bleedless
alchemy_items_2=i_potion_agility,i_potion_refresh,i_potion_explosion,i_potion_poison,i_potion_heal,i_potion_cure,i_potion_strength,i_potion_nightsight,i_potion_bleed
alchemy_items_3=i_potion_agilitygreat,i_potion_explosiongreat,i_potion_poisongreat,i_potion_healgreat,i_potion_curegreat,i_potion_strengthgreat,i_potion_bleedgreat
alchemy_items_4=i_potion_refreshtotal,i_potion_explosionsuper,i_potion_poisondeadly
alchemy_items_5=i_potion_invisibility,i_potion_shrink,i_potion_rare
alchemy_items_all=i_potion_explosionless,i_potion_poisonless,i_potion_healless,i_potion_cureless,i_potion_bleedless,i_potion_agility,i_potion_refresh,i_potion_explosion,i_potion_poison,i_potion_heal,i_potion_cure,i_potion_strength,i_potion_nightsight,i_potion_bleed,i_potion_agilitygreat,i_potion_explosiongreat,i_potion_poisongreat,i_potion_healgreat,i_potion_curegreat,i_potion_strengthgreat,i_potion_bleedgreat,i_potion_refreshtotal,i_potion_explosionsuper,i_potion_poisondeadly,i_potion_invisibility,i_potion_shrink,i_potion_rare
alchemy_areas_x=200,345,490,200,345,490,200,345,490,200,345,490
alchemy_areas_y=82,82,82,182,182,182,282,282,282,382,382,382
[DIALOG d_menu_alchemy]
0,0
NOMOVE
resizepic 0 0 5054 650 450
dtext 20 15 250 <serv.name> Alchemy Menu
resizepic 10 40 3000 150 400
resizepic 165 40 3000 475 400
dtext 50 48 00 Categories
local.t 70
for 1 <f_moonsep 0,<def.alchemy_items_0>>
dtext 55 <eval <dlocal.t> + 2> 00 <f_moonsep <dlocal._for>,<def.alchemy_items_0>>
button 20 <dlocal.t> 4005 4006 0 <dlocal._for>
local.t +=30
endfor
PAGE 1 // Less
src.ctag.button 1
for 1 <f_moonsep 0,<def.alchemy_items_1>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_1>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 2 // Normal
for 1 <f_moonsep 0,<def.alchemy_items_2>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_2>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 3 // Great
for 1 <f_moonsep 0,<def.alchemy_items_3>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_3>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 4 // Super
for 1 <f_moonsep 0,<def.alchemy_items_4>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_4>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 5 // Other
for 1 <f_moonsep 0,<def.alchemy_items_5>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_5>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
src.ctag.button
[DIALOG d_menu_alchemy BUTTON]
on=0
src.dikkat Sayfayı kapattınız.
return 1
on=1 99
src.hata <dargn>
src.ctag.makelast <f_moonsep <dargn>,<def.alchemy_items_all>>
src.f_makelast
[Function dikkat]
sysmessage @095,,1 <args>
[Function icat]
serv.allclients sysmessage @0481,,1 <args>
[Function makelast]
src.f_makelast
[Function tekraryap]
src.f_makelast
[Function f_makelast]
if !(<src.ctag0.makelast> == 0)
for 1 <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
if (<src.restest <SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.val><SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.key>>)
if (<dlocal._for> == <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>)
src.makeitem <src.ctag0.makelast>
endif
else
for 1 <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
src.ctag.makelast_error <qval (<src.ctag0.makelast_error>) ? <src.ctag.makelast_error>,> <SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.val><SERV.ITEMDEF.<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.key>.NAME>
if <dlocal._for> == <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
src.hata Bunu yapabilmek için çantanızda <src.ctag.makelast_error> olması gereklidir.
src.ctag.makelast_error
endif
endfor
endif
endfor
else
src.hata Herhangi bir eşya yapmadınız.
return 1
endif
[function f_moonsep]
if <argv[0]> == 0
return <eval <argv> - 1>
else
return <argv[<argv[0]>]>
endif
[Function hata]
sysmessage @026,,1 <args>
[EOF]
alchemy_items_0=Less,Normal,Great,Super,Other
alchemy_items_1=i_potion_explosionless,i_potion_poisonless,i_potion_healless,i_potion_cureless,i_potion_bleedless
alchemy_items_2=i_potion_agility,i_potion_refresh,i_potion_explosion,i_potion_poison,i_potion_heal,i_potion_cure,i_potion_strength,i_potion_nightsight,i_potion_bleed
alchemy_items_3=i_potion_agilitygreat,i_potion_explosiongreat,i_potion_poisongreat,i_potion_healgreat,i_potion_curegreat,i_potion_strengthgreat,i_potion_bleedgreat
alchemy_items_4=i_potion_refreshtotal,i_potion_explosionsuper,i_potion_poisondeadly
alchemy_items_5=i_potion_invisibility,i_potion_shrink,i_potion_rare
alchemy_items_all=i_potion_explosionless,i_potion_poisonless,i_potion_healless,i_potion_cureless,i_potion_bleedless,i_potion_agility,i_potion_refresh,i_potion_explosion,i_potion_poison,i_potion_heal,i_potion_cure,i_potion_strength,i_potion_nightsight,i_potion_bleed,i_potion_agilitygreat,i_potion_explosiongreat,i_potion_poisongreat,i_potion_healgreat,i_potion_curegreat,i_potion_strengthgreat,i_potion_bleedgreat,i_potion_refreshtotal,i_potion_explosionsuper,i_potion_poisondeadly,i_potion_invisibility,i_potion_shrink,i_potion_rare
alchemy_areas_x=200,345,490,200,345,490,200,345,490,200,345,490
alchemy_areas_y=82,82,82,182,182,182,282,282,282,382,382,382
[DIALOG d_menu_alchemy]
0,0
NOMOVE
resizepic 0 0 5054 650 450
dtext 20 15 250 <serv.name> Alchemy Menu
resizepic 10 40 3000 150 400
resizepic 165 40 3000 475 400
dtext 50 48 00 Categories
local.t 70
for 1 <f_moonsep 0,<def.alchemy_items_0>>
dtext 55 <eval <dlocal.t> + 2> 00 <f_moonsep <dlocal._for>,<def.alchemy_items_0>>
button 20 <dlocal.t> 4005 4006 0 <dlocal._for>
local.t +=30
endfor
PAGE 1 // Less
src.ctag.button 1
for 1 <f_moonsep 0,<def.alchemy_items_1>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_1>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 2 // Normal
for 1 <f_moonsep 0,<def.alchemy_items_2>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_2>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 3 // Great
for 1 <f_moonsep 0,<def.alchemy_items_3>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_3>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 4 // Super
for 1 <f_moonsep 0,<def.alchemy_items_4>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_4>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
PAGE 5 // Other
for 1 <f_moonsep 0,<def.alchemy_items_5>>
tilepic <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> + 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> - 20> 0f0e
dtext <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> 00 <serv.itemdef.<f_moonsep <dlocal._for>,<def.alchemy_items_5>>.name>
button <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_x>> - 20> <eval <f_moonsep <dlocal._for>,<def.alchemy_areas_y>> + 2> 2511 2510 1 0 <src.ctag0.button>
src.ctag.button=<src.ctag0.button>+1
endfor
src.ctag.button
[DIALOG d_menu_alchemy BUTTON]
on=0
src.dikkat Sayfayı kapattınız.
return 1
on=1 99
src.hata <dargn>
src.ctag.makelast <f_moonsep <dargn>,<def.alchemy_items_all>>
src.f_makelast
[Function dikkat]
sysmessage @095,,1 <args>
[Function icat]
serv.allclients sysmessage @0481,,1 <args>
[Function makelast]
src.f_makelast
[Function tekraryap]
src.f_makelast
[Function f_makelast]
if !(<src.ctag0.makelast> == 0)
for 1 <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
if (<src.restest <SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.val><SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.key>>)
if (<dlocal._for> == <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>)
src.makeitem <src.ctag0.makelast>
endif
else
for 1 <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
src.ctag.makelast_error <qval (<src.ctag0.makelast_error>) ? <src.ctag.makelast_error>,> <SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.val><SERV.ITEMDEF.<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES.<dlocal._for>.key>.NAME>
if <dlocal._for> == <f_moonsep 0,<SERV.ITEMDEF.<src.ctag0.makelast>.RESOURCES>>
src.hata Bunu yapabilmek için çantanızda <src.ctag.makelast_error> olması gereklidir.
src.ctag.makelast_error
endif
endfor
endif
endfor
else
src.hata Herhangi bir eşya yapmadınız.
return 1
endif
[function f_moonsep]
if <argv[0]> == 0
return <eval <argv> - 1>
else
return <argv[<argv[0]>]>
endif
[Function hata]
sysmessage @026,,1 <args>
[EOF]
Yorumlar
Henüz yorum yapılmamıştır.
|
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |
| Regs Dialog | 0 | xwerswoodx | 23-01-2012 |
| Yarışma Dialog | 0 | tyr10 | 13-08-2010 |
| Dialog Yazılımı ve Terimleri | 0 | Qnd | 06-06-2010 |
| Help Dialog | 0 | Tiffany | 03-05-2010 |
| Paladin Dialog | 0 | basic | 30-01-2010 |







