// By Maximus
[itemdef i_chest_combination]
id i_chest_metal_brass
name Metal and Brass Chest
type t_container
on @create
color = 0
// attr |= attr_static
on @dclick
if (<src.isgm>)||(<src.tag0.puzzle_comp>==1)
return 0
else
for 1 30
try tag0.button_<eval <dlocal._for>> = 0
endfor
f_reset_combination
dialog d_combination
return 1
endif
on @click
if (<src.isgm>)
for 1 30
if (<tag0.combo.<eval <dlocal._for>>> == 1)
src.sysmessage @0481 <eval <dlocal._for>>
endif
endfor
endif
[function f_reset_combination]
for 1 30
try tag0.combo.<eval <dlocal._for>> = 0
endfor
try tag0.combo.<eval {1 6}> = 1
try tag0.combo.<eval {7 12}> = 1
try tag0.combo.<eval {13 18}> = 1
try tag0.combo.<eval {19 24}> = 1
try tag0.combo.<eval {25 30}> = 1
[dialog d_combination]
0,0
//noclose
page 1
gumppictiled 32 29 519 341 2624
gumppic 137 158 1416
gumppic 265 158 1416
resizepic 62 60 9200 453 279
gumppictiled 537 38 23 326 2625
gumppictiled 21 36 13 328 2623
gumppictiled 39 20 502 12 2621
gumppictiled 38 361 502 18 2627
gumppic 21 361 2626
gumppic 539 20 2622
gumppic 539 361 2628
gumppic 21 20 2620
//button 520 30 2152 2151 1 0 1
//dtext 445 32 05 Menu yu kapat
dtext 45 33 0481 Kutuyu açmak için doğru kombinasyonu bulun!
//dtext 45 345 0481 İpucu:Her sütunda bir buton basılmak zorundadır.
local.x = 80
for 1 6
dtext 80 <eval <local.x>+25> 0481 <eval <dlocal._for>>
button 70 <local.x> <qval <tag0.button_<eval <dlocal._for>>>==1 ? 9724 9721:9721 9724> 1 0 <eval <dlocal._for>>
local.x += 43
endfor
local.x = 80
for 7 12
dtext 180 <eval <local.x>+25> 0481 <eval <dlocal._for>>
button 170 <local.x> <qval <tag0.button_<eval <dlocal._for>>>==1 ? 9724 9721:9721 9724> 1 0 <eval <dlocal._for>>
local.x += 43
endfor
local.x = 80
for 13 18
dtext 280 <eval <local.x>+25> 0481 <eval <dlocal._for>>
button 270 <local.x> <qval <tag0.button_<eval <dlocal._for>>>==1 ? 9724 9721:9721 9724> 1 0 <eval <dlocal._for>>
local.x += 43
endfor
local.x = 80
for 19 24
dtext 380 <eval <local.x>+25> 0481 <eval <dlocal._for>>
button 370 <local.x> <qval <tag0.button_<eval <dlocal._for>>>==1 ? 9724 9721:9721 9724> 1 0 <eval <dlocal._for>>
local.x += 43
endfor
local.x = 80
for 25 30
dtext 480 <eval <local.x>+25> 0481 <eval <dlocal._for>>
button 470 <local.x> <qval <tag0.button_<eval <dlocal._for>>>==1 ? 9724 9721:9721 9724> 1 0 <eval <dlocal._for>>
local.x += 43
endfor
[dialog d_combination BUTTON]
on=0 // close dialog
src.sysmessage @0481 Kasayı açamadınız.
return 1
on=1,30
if (<tag0.button_<eval <argn>>>==1)
try tag0.button_<eval <argn>> = 0
dialog d_combination
else
try tag0.button_<eval <argn>> = 1
dialog d_combination
endif
for 1 30
if (<tag0.button_<eval <dlocal._for>>> == <tag0.combo.<eval <dlocal._for>>>)
local.z = <eval 0<local.z>+1>
endif
endfor
if (<local.z>==30)
dialogclose d_combination
src.tag0.puzzle_comp = 1
use
src.sysmessage @0481 Kasayı açtınız!
src.tag0.puzzle_comp = 0
f_reset_combination
endif
Total votes: 0
Ultima Online 1 gün önce
Sunucular 3 gün önce
Sunucular 3 gün önce
Ultima Online 2 hafta önce
Counter-Strike 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sohbet & Geyik 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)