[DIALOG d_parali_alisveris]
0,0
NOMOVE
resizepic 10 50 5054 190 325
text 25 68 105 0 0
button 30 100 2714 2715 1 0 1
text 60 100 0 1
button 30 125 2714 2715 1 0 2
text 60 125 0 2
button 30 150 2714 2715 1 0 3
text 60 150 0 3
button 30 175 2714 2715 1 0 4
text 60 175 0 4
button 30 200 2714 2715 1 0 5
text 60 200 0 5
button 30 225 2714 2715 1 0 6
text 60 225 0 6
button 30 250 2714 2715 1 0 7
text 60 250 0 7
button 30 340 2714 2715 1 0 8
text 60 340 0 8


[DIALOG d_parali_alisveris TEXT]

Cr.Parasi Alisveris
Bandage-1k
Reg Cristal-1.5k
Greater Heal-5gp
Cure Heal-5gp
Refresh Total-5gp
Horse Brown-1.25k
Iptal

[DIALOG d_parali_alisveris BUTTON]
ONBUTTON=0
RETURN 1

ONBUTTON=1
if (<src.restest 1000 i_gold>)
SRC.NEWITEM i_bandage,(100)
SRC.ACT.BOUNCE
attr 00004
return 1
src.consume 1000 i_gold
src.sysmessage @080a Bandage&&#35039;niz cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 1k yok.
return 1
endif
SRC.FIX

ONBUTTON=2
if (<src.restest 1500 i_gold>)
SRC.NEWITEM i_magic_reg30
SRC.ACT.BOUNCE
return1
src.consume 1500 i_gold
src.sysmessage @080a Reg cristal cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 1.5k yok.
return 1
endif
SRC.FIX

ONBUTTON=3
if (<src.restest 5 i_gold>)
SRc.NEWITEM i_bottle_yellow
SRC.ACT.BOUNCE
return 1
src.consume 5 i_gold
src.sysmessage @080a Greater Heal cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 5gp yok.
return 1
endif
SRC.FIX

ONBUTTON=4
if (<src.restest 5 i_gold>)
SRC.NEWITEM i_bottle_orange
src.ACT.BOUNCE
return 1
src.consume 5 i_gold
src.sysmessage @080a Greater Cure cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 5gp yok.
return 1
endif
SRC.FIX

ONBUTTON=5
if (<src.restest 5 i_gold>)
SRC.NEWITEM i_bottle_red
SRc.ACT.BOUNCE
return 1
src.consume 5 i_gold
src.sysmessage @080a Greater Refresh Total cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 5gp yok.
return 1
endif
SRC.FIX


ONBUTTON=6
if (<src.restest 1000 i_gold>)
src.NEWITEM i_horse_brown_x
src.ACT.BOUNCE
return 1
src.consume 1000 i_gold
src.sysmessage @080a Horse cantaniza konulmustur. Iyi oyunlar...
return 1
else
src.sysmessage @080a Yaninizda 1k yok.
return 1
endif
SRC.FIX

ONBUTTON=10
RETURN 1

SRC.SYSMESSAGE Yeterince yakin degilsin
ENDİF
SRC.FIX

[ITEMDEF i_palis]
DEFNAME=i_palis
TYPE=t_grave_stone
ID=i_grave_stone
NAME=Para ile Alisveris

On=@create
COLOR=07a5

On=@Click
return 1

On=@Dclick
src.Dialog d_parali_alisveris
return 1
*************************************************************************
[Itemdef i_horse_brown_x]
ID=i_horse_brown_dk
Defname=i_horse_brown_x
Name=<serv.name> Red Horse
Sound=snd_animals_horse1
Icon=i_pet_horse_brown_dk

On@create
Color=color_o_bloodrock
DEX=&&#35123;1 3}
STR=&&#35123;100 100}
INT=&&#35123;0 1}

DAM=15.0
ARMOR=0
RESOURCES=32 i_ribs_raw,10 i_hide

//ALIGMENT=EVIL 
CAN=MT_WALK|MT_RUN 
FOODTYPE=5 t_meat_raw 
SHELTER=r_caves,r_dungeon 
DESIRES=i_gold 
AVERSIONS=r_civilization,r_water 

NPC=brain_monster 

FAME=&&#35123;55 150} 
KARMA=&&#35123;-9000 -10000} 

ON=@NPCRestock 
ITEM=loot_BALRON
//////////////////////////////////////////////


***********************************************
*Owner Franko De Silva Tarafından Yazılmıştır.*
***********************************************

[itemdef i_dieer_stone]
Id=i_grave_stone
type=i_grave_stone
defname i_dieer_stone
name Alis-Veris Stone


On=@create
color=0494

On=@click
src.sysmessage 2 kere tiklayarak acabilirsiniz...Sayin <src.name>
return 1
			
On=@Dclick
src.dialog=d_dieer_stone
return 1
			

[dialog d_dieer_stone]
0,0
NOMOVE
resizepic 10 50 3000 250 350
text 25 68 105 0 0
button 30 100 4006 4007 1 0 1
text 60 100 0492 1
button 30 125 4006 4007 1 0 2
text 60 125 0492 2
button 30 150 4006 4007 1 0 3
text 60 150 0492 3
button 30 175 4006 4007 1 0 4
text 60 175 0492 4
button 30 200 4006 4007 1 0 5
text 60 200 0492 5
button 30 225 4006 4007 1 0 6
text 60 225 0492 6
button 30 250 4006 4007 1 0 7
text 60 250 0492 7

[dialog d_dieer_stone TEXT]
<serv.name> Diger Stone
100 bandaj
100 arrow
10 greater heal
10 greater cure
5  Kucultucu
10 Night Shade
Iptal

[dialog d_dieer_stone BUTTON]
Onbutton=0
src.sysmessage Bisey almadiniz...Sayin <src.name>
return 1

	onbutton=1
	src.newitem i_bandage,(100)
	src.act.bounce
	attr attr_newbie
	return 1

	onbutton=2
	src.newitem i_arrow,(100)
	src.act.bounce
	attr attr_newbie
	return 1

	onbutton=3
	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie
	
	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie
 
	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie
	
	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie
	
	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_yellow
	src.act.bounce
	attr attr_newbie
	return 1
	endif

	onbutton=4
	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_orange
	src.act.bounce
	attr attr_newbie
	return 1

	onbutton=5
	src.newitem i_shrink_deed
	src.act.bounce
	attr attr_newbie
	
	src.newitem i_shrink_deed
	src.act.bounce
	attr attr_newbie

	src.newitem i_shrink_deed
	src.act.bounce
	attr attr_newbie

	src.newitem i_shrink_deed
	src.act.bounce
	attr attr_newbie

	src.newitem i_shrink_deed
	src.act.bounce
	attr attr_newbie
	return 1

	onbutton=6
	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie

	src.newitem i_bottle_black
	src.act.bounce
	attr attr_newbie
	return 1

	Onbutton=7
	src.sysmessage Bisey almadiniz...Sayin <src.name>
	return 1


Şorun Şu bunlara 2 kere tıklıyorum menü açılmıyor!
@dclick altını yanlıs yapmıssın orayı boyle degıstır..

on=@dclick
dialog d_dieer_stone
return 1



src.Dialog d_parali_alisveris

Burayı

on=@dclick
dialog d_parali_alisveris
return 1


Olark Degıstır..
tmm demekki src. -oymuşum farketmedim teşekkürler :D ama hala daha olmadı

Bu konu xwerswoodx tarafından düzenlendi(2008-05-29 19:50, 15 yıl önce)

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.