[itemdef i_yumurta]
id 6868
name Yumurta
type t_eq_script
weight 18
ON=@click
if (<topobj.uid> != <src.uid>)
else
src.sysmessage @0bb7 Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
endif
if (<attr> == 010)
if (<morex> = 02)
spell_say Yumurta Catlak
timer -1
elseif (<morex> = 05)
if (<timer> > 0)
if (<timer> = 0)
remove
elseif (<timer> < 8000)
spell_say Yumurtanin Bozulmasina Kalan zaman : <timer> saniye
elseif (<timer> < 3601)
src.tag.spawndurum2 ((<timer> / 60)+1)
spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum2 ((<timer> / 60) /60)
spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> saat
else
src.tag.spawndurum (((<timer> / 60) /60) /24)
spell_say Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum>> gun
endif
endif
else
if (<timer> > 0)
if (<timer> < 8000)
spell_say Kalan zaman : <timer> saniye
elseif (<timer> < 3601)
src.tag.spawndurum2 ((<timer> / 60)+1)
spell_say Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum2 ((<timer> / 60) /60)
spell_say Kalan zaman : <eval <src.tag.spawndurum2>> saat
else
src.tag.spawndurum (((<timer> / 60) /60) /24)
spell_say Kalan zaman : <eval <src.tag.spawndurum>> gun
endif
else
if (<morex> = 01)
spell_say Yumurta Hazir
morex 5
timer 172800
elseif (<morex> = 02)
spell_say Yumurta catlak
timer -1
elseif (<morex> = 05)
else
src.sysmessage @0bb7 Bu yumurta halen kuluckaya birakilmamis
endif
endif
endif
else
src.sysmessage @0bb7 Bu yumurta evinize sabitlenmemis
endif
ON=@dclick
if (<topobj.uid> != <src.uid>)
else
src.sysmessage @0bb7 Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
endif
if (<timer> == -1)
if (<morex> = 00)
if (<attr> == 010)
if (<src.veterinary> < 98.0)
src.sysmessage @0810 Veterinary Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya yerlestiremediniz...(Gerekli Skill 98.0)
return 1
elseif (<src.veterinary> < 250)
timer=432000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 300)
timer=388800
link=<src.uid>
morex 1
elseif (<src.veterinary> < 350)
timer=345600
link=<src.uid>
morex 1
elseif (<src.veterinary> < 400)
timer=302400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 450)
timer=259200
link=<src.uid>
morex 1
elseif (<src.veterinary> < 500)
timer=216000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 550)
timer=172800
link=<src.uid>
morex 1
elseif (<src.veterinary> < 600)
timer=129600
link=<src.uid>
morex 1
elseif (<src.veterinary> < 650)
timer=86400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 700)
timer=43200
link=<src.uid>
morex 1
elseif (<src.veterinary> < 750)
timer=36000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 800)
timer=32400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 850)
timer=27000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 900)
timer=23400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 950)
timer=15000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 1000)
timer=10000
link=<src.uid>
morex 1
elseif (<src.src.veterinary> = 1000)
timer=8000
link=<src.uid>
morex 1
endif
if (<src.taming> < 98.0)
src.sysmessage @0810 Animal Taming Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya yerlestiremediniz...(Gerekli Skill 98.0)
timer=-1
return 1
elseif (<src.taming> < 250)
timer=<timer>+216000
link=<src.uid>
morex 1
elseif (<src.taming> < 300)
timer=(<timer>+194400)
link=<src.uid>
morex 1
elseif (<src.taming> < 350)
timer=(<timer>+172800)
link=<src.uid>
morex 1
elseif (<src.taming> < 400)
timer=(<timer>+151200)
link=<src.uid>
morex 1
elseif (<src.taming> < 450)
timer=(<timer>+129600)
link=<src.uid>
morex 1
elseif (<src.taming> < 500)
timer=(<timer>+108000)
link=<src.uid>
morex 1
elseif (<src.taming> < 550)
timer=(<timer>+86400)
link=<src.uid>
morex 1
elseif (<src.taming> < 600)
timer=(<timer>+64800)
link=<src.uid>
morex 1
elseif (<src.taming> < 650)
timer=(<timer>+43200)
link=<src.uid>
morex 1
elseif (<src.taming> < 700)
timer=(<timer>+21600)
link=<src.uid>
morex 1
elseif (<src.taming> < 750)
timer=(<timer>+18000)
link=<src.uid>
morex 1
elseif (<src.taming> < 800)
timer=(<timer>+16200)
link=<src.uid>
morex 1
elseif (<src.taming> < 850)
timer=(<timer>+13500)
link=<src.uid>
morex 1
elseif (<src.taming> < 900)
timer=(<timer>+11700)
link=<src.uid>
morex 1
elseif (<src.taming> < 950)
timer=(<timer>+9000)
link=<src.uid>
morex 1
elseif (<src.taming> < 1000)
timer=(<timer>+7200)
link=<src.uid>
morex 1
elseif (<src.taming> = 1000)
timer=(<timer>+4500)
link=<src.uid>
morex 1
endif
//-----------------------------------------veterinary
if (<src.animallore> < 98.0)
src.sysmessage @0810 Animal Lore hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya yerlestiremediniz...(Gerekli Skill 98.0)
timer=-1
return 1
elseif (<src.animallore> < 250)
timer=<timer>+216000
link=<src.uid>
morex 1
elseif (<src.animallore> < 300)
timer=(<timer>+194400)
link=<src.uid>
morex 1
elseif (<src.animallore> < 350)
timer=(<timer>+172800)
link=<src.uid>
morex 1
elseif (<src.animallore> < 400)
timer=(<timer>+151200)
link=<src.uid>
morex 1
elseif (<src.animallore> < 450)
timer=(<timer>+129600)
link=<src.uid>
morex 1
elseif (<src.animallore> < 500)
timer=(<timer>+108000)
link=<src.uid>
morex 1
elseif (<src.animallore> < 550)
timer=(<timer>+86400)
link=<src.uid>
morex 1
elseif (<src.animallore> < 600)
timer=(<timer>+64800)
link=<src.uid>
morex 1
elseif (<src.animallore> < 650)
timer=(<timer>+43200)
link=<src.uid>
morex 1
elseif (<src.animallore> < 700)
timer=(<timer>+21600)
link=<src.uid>
morex 1
elseif (<src.animallore> < 750)
timer=(<timer>+18000)
link=<src.uid>
morex 1
elseif (<src.animallore> < 800)
timer=(<timer>+16200)
link=<src.uid>
morex 1
elseif (<src.animallore> < 850)
timer=(<timer>+13500)
link=<src.uid>
morex 1
elseif (<src.animallore> < 900)
timer=(<timer>+11700)
link=<src.uid>
morex 1
elseif (<src.animallore> < 950)
timer=(<timer>+9000)
link=<src.uid>
morex 1
elseif (<src.animallore> < 1000)
timer=(<timer>+7200)
link=<src.uid>
morex 1
elseif (<src.animallore> = 1000)
timer=(<timer>+4500)
link=<src.uid>
morex 1
endif
else
src.sysmessage @0810 Ilk once yumurtalari evinize sabitleyiniz...
endif
elseif (<morex> = 01)
if (<link> = <src.uid>)
src.newitem i_sahip
src.act.equip
src.tag.hayvanid <more>
remove
else
src.sysmessage @0810 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
endif
elseif (<morex> = 05)
if (<link> = <src.uid>)
src.newitem i_sahip
src.act.equip
src.tag.hayvanid <more>
remove
else
src.sysmessage @0810 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
endif
else
remove
endif
elseif (<timer> > 0)
if (<timer>)
if (<morex> = 05)
if (<link> = <src.uid>)
src.newitem i_sahip
src.act.equip
src.tag.hayvanid <more>
remove
else
src.sysmessage @0810 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
endif
else
//src.sysmessage @0810 Bu yumurta kuluckaya birakilmis
endif
endif
endif
ON=@step
if (<src.account.plevel> < 2)
if (<morex> < 2)
if (<src.findid.i_yumurtadan>)
else
morex 2
src.newitem i_yumurtadan
src.act.equip
endif
endif
endif
[itemdef i_yumurtadan]
id i_memory
name Yumurtadan
type t_eq_script
ON=@create
attr attr_invis
ON=@equip
src.spell_say * Yumurtayi Kirar *
timer 1
ON=@step
src.spell_say @0810 * Yumartayi Kirar *
ON=@timer
remove
[itemdef i_sahip]
id i_memory
name sahip ol
type t_eq_script
ON=@create
attr attr_invis
ON=@equip
timer 1
ON=@timer
try cont.newnpc <cont.tag.hayvanid>
link <cont.act.uid>
link.oskin <link.color>
link.memorydel <cont.uid>
link.newitem i_memory
link.act.attr 04
link.act.more1 04
link.act.more2 <serv.time>
link.act.morep <link.p>
link.act.color memory_ipet
link.act.timer -1
link.act.link <cont.uid>
link.act.cont <link.uid>
link.flags <link.flags>&statf_pet
link.update
link.anim 5
link.bark 3
remove
[itemdef i_spawn_yumurta]
id i_fruit_coconut
name Yumurta
type t_script
weight 50
ON=@create
color 0481
on=@dclick
target @0810 Kuluckayi seciniz...
ON=@targon_char
src.sysmessage @0810 Lutfen kuluckayi seciniz!!!
return 1
ON=@targon_item
if (strmatch('<src.targ.baseid>','i_kulucka'))
src.targ.remove
id i_yumurta
color 0
fix
else
src.sysmessage @0810 Lutfen yumurtayi koymak icin kuluckayi seciniz!!!
endif
[itemdef i_kulucka]
id 6869
name Kulucka
type t_script
weight 2
RESOURCES=2 i_log,5 i_fur_light
SKILLMAKE=CARPENTRY 100.0, t_carpentry
[eof]
Beyler merhaba.Şimdi yumurta sisteminde herşeyi yaptım.Yumurtaya çift tıklayınca (Kullanmak için bir yol bulamadınız diyor fakat yumurtayı kuruyor.)Ben baya bi ara vermiştim.İstedigim konu çift tıklayınca yumurta kurulacak.
ON=dclick mi nasıl olacak:S
Ayrıca yumurta hazır oluyor cift tıklayınca yumurta sılınıyor 5 sn sonra ölü bir şekilde c_man cıkıyor.Ben Forest,Desert,Mid,Zostrich cıkmasını ıstıyorum.Her türlü yardımlarınız için teşekkürler.