//--------------------------------------------------
// Son Güncelleme : 1 Ekim 2004
// Sunucu : Myth UO
// Yazan : Erdem MİNDİVANLI (LeroX)
//--------------------------------------------------
[itemdef i_yumurta]
id 6868
name Yumurta
type t_eq_script
weight 18
ON=@click
if (<topobj.uid> != <src.uid>)
else
src.sysmessage 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> < 300)
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> < 300)
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 Bu yumurta halen kuluckaya birakilmamis
endif
endif
endif
else
src.sysmessage Bu yumurta evinize sabitlenmemis
endif
ON=@dclick
if (<topobj.uid> != <src.uid>)
else
src.sysmessage Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
endif
if (<timer> == -1)
if (<morex> = 00)
if (<attr> == 010)
if (<src.taming> < 240)
src.sysmessage Animallore Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
return 1
elseif (<src.taming> < 250)
timer=432000
link=<src.uid>
morex 1
elseif (<src.taming> < 300)
timer=388800
link=<src.uid>
morex 1
elseif (<src.taming> < 350)
timer=345600
link=<src.uid>
morex 1
elseif (<src.taming> < 400)
timer=302400
link=<src.uid>
morex 1
elseif (<src.taming> < 450)
timer=259200
link=<src.uid>
morex 1
elseif (<src.taming> < 500)
timer=216000
link=<src.uid>
morex 1
elseif (<src.taming> < 550)
timer=172800
link=<src.uid>
morex 1
elseif (<src.taming> < 600)
timer=129600
link=<src.uid>
morex 1
elseif (<src.taming> < 650)
timer=86400
link=<src.uid>
morex 1
elseif (<src.taming> < 700)
timer=43200
link=<src.uid>
morex 1
elseif (<src.taming> < 750)
timer=36000
link=<src.uid>
morex 1
elseif (<src.taming> < 800)
timer=32400
link=<src.uid>
morex 1
elseif (<src.taming> < 850)
timer=27000
link=<src.uid>
morex 1
elseif (<src.taming> < 900)
timer=23400
link=<src.uid>
morex 1
elseif (<src.taming> < 950)
timer=18000
link=<src.uid>
morex 1
elseif (<src.taming> < 1000)
timer=14400
link=<src.uid>
morex 1
elseif (<src.src.taming> = 1000)
timer=9000
link=<src.uid>
morex 1
endif
if (<src.animallore> < 240)
src.sysmessage Animallore Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
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
//------------------------------------------veterinary
if (<src.veterinary> < 240)
src.sysmessage Veterinary Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
timer=-1
return 1
elseif (<src.veterinary> < 250)
timer=<timer>+216000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 300)
timer=(<timer>+194400)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 350)
timer=(<timer>+172800)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 400)
timer=(<timer>+151200)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 450)
timer=(<timer>+129600)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 500)
timer=(<timer>+108000)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 550)
timer=(<timer>+86400)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 600)
timer=(<timer>+64800)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 650)
timer=(<timer>+43200)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 700)
timer=(<timer>+21600)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 750)
timer=(<timer>+18000)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 800)
timer=(<timer>+16200)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 850)
timer=(<timer>+13500)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 900)
timer=(<timer>+11700)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 950)
timer=(<timer>+9000)
link=<src.uid>
morex 1
elseif (<src.veterinary> < 1000)
timer=(<timer>+7200)
link=<src.uid>
morex 1
elseif (<src.veterinary> = 1000)
timer=(<timer>+4500)
link=<src.uid>
morex 1
endif
else
src.sysmessage 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 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 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 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan&裟a sahip olabilir...
endif
else
//src.sysmessage 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=@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 6255
name Yumurta
type t_script
weight 50
ON=@create
color 0481
on=@dclick
target Kuluckayi seciniz...
ON=@targon_char
src.sysmessage 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 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]
src.sysmessage Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
endif
else
//src.sysmessage Bu yumurta kuluckaya birakilmis
endif
endif
endif
//Kullanısı: kuluckayı evin içinde yere koyun yumurtayla //beraber sonra yerdekı yumurtaya 2 kere tıklayıp //kulucayı secın sonra yenı olusan kuluckayı ev ıcın de //sabitleyip yukarıya kaldırın kırılmaması ıcın iyi oyunlar
[itemdef i_yumurta]
id 6868
name Ostard Egg
type t_eq_script
weight 18
ON=@click
if !(<topobj.uid> == <src.uid>)
else
src.sysmessage @0800 Bunu Eve Sabitleyiniz
src.sysmessage @0800 Sabitledikten Sonra Cift Tiklayip Yumurtanizin Aktif Hale Gecemesini Saglayin...
return 1
endif
if (<attr> == 010)
if (<morex> = 02)
message @0800 Yumurta Catlak
timer -1
elseif (<morex> = 05)
if (<timer> > 0)
if (<timer> = 0)
remove
elseif (<timer> < 300)
message @0800 Yumurtanin Bozulmasina Kalan zaman : <timer> saniye
elseif (<timer> < 3601)
src.tag.spawndurum ((<timer> / 60)+1)
message @0800 Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum ((<timer> / 60) /60)
message @0800 Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> saat
else
src.tag.spawndurum (((<timer> / 60) /60) /24)
message @0800 Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum>> gun
endif
endif
else
if (<timer> > 0)
if (<timer> < 300)
message @0800 Kalan zaman : <timer> saniye
elseif (<timer> < 3601)
src.tag.spawndurum2 ((<timer> / 60)+1)
message @0800 Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum2 ((<timer> / 60) /60)
message @0800 Kalan zaman : <eval <src.tag.spawndurum2>> saat
else
src.tag.spawndurum (((<timer> / 60) /60) /24)
message @0800 Kalan zaman : <eval <src.tag.spawndurum>> gun
endif
else
if (<morex> = 01)
message @0800 Yumurta Hazir
morex 5
timer 172800
elseif (<morex> = 02)
message @0800 Yumurta catlak
timer -1
elseif (<morex> = 05)
else
src.sysmessage @0800 Bu yumurta halen kuluckaya birakilmamis
message @55 <name>
return 1
endif
endif
endif
else
src.sysmessage @0800 Bu yumurta evinize sabitlenmemis
message @0800 Once Sabitleyin
message @55 <name>
return 1
endif
message @55 <name>
return 1
ON=@dclick
if (<topobj.uid> != <src.uid>)
else
src.sysmessage @0800 Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
return 1
endif
if (<timer> == -1)
if (<morex> = 00)
if (<attr> == 010)
if (<src.taming> < 240)
src.sysmessage @0800 Animal Taming Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
return 1
elseif (<src.taming> < 250)
timer=442000
link=<src.uid>
morex 1
elseif (<src.taming> < 300)
timer=408800
link=<src.uid>
morex 1
elseif (<src.taming> < 350)
timer=385600
link=<src.uid>
morex 1
elseif (<src.taming> < 400)
timer=362400
link=<src.uid>
morex 1
elseif (<src.taming> < 450)
timer=339200
link=<src.uid>
morex 1
elseif (<src.taming> < 500)
timer=306000
link=<src.uid>
morex 1
elseif (<src.taming> < 550)
timer=282800
link=<src.uid>
morex 1
elseif (<src.taming> < 600)
timer=269600
link=<src.uid>
morex 1
elseif (<src.taming> < 650)
timer=206400
link=<src.uid>
morex 1
elseif (<src.taming> < 700)
timer=163200
link=<src.uid>
morex 1
elseif (<src.taming> < 750)
timer=136000
link=<src.uid>
morex 1
elseif (<src.taming> < 800)
timer=102400
link=<src.uid>
morex 1
elseif (<src.taming> < 850)
timer=87000
link=<src.uid>
morex 1
elseif (<src.taming> < 900)
timer=73400
link=<src.uid>
morex 1
elseif (<src.taming> < 950)
timer=58000
link=<src.uid>
morex 1
elseif (<src.taming> < 1000)
timer=34400
link=<src.uid>
morex 1
elseif (<src.taming> = 1000)
timer=32000
link=<src.uid>
morex 1
endif
if (<src.animallore> < 240)
src.sysmessage @0800 Animallore Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
return 1
elseif (<src.animallore> < 250)
timer=442000
link=<src.uid>
morex 1
elseif (<src.animallore> < 300)
timer=408800
link=<src.uid>
morex 1
elseif (<src.animallore> < 350)
timer=385600
link=<src.uid>
morex 1
elseif (<src.animallore> < 400)
timer=362400
link=<src.uid>
morex 1
elseif (<src.animallore> < 450)
timer=339200
link=<src.uid>
morex 1
elseif (<src.animallore> < 500)
timer=306000
link=<src.uid>
morex 1
elseif (<src.animallore> < 550)
timer=282800
link=<src.uid>
morex 1
elseif (<src.animallore> < 600)
timer=269600
link=<src.uid>
morex 1
elseif (<src.animallore> < 650)
timer=206400
link=<src.uid>
morex 1
elseif (<src.animallore> < 700)
timer=163200
link=<src.uid>
morex 1
elseif (<src.animallore> < 750)
timer=136000
link=<src.uid>
morex 1
elseif (<src.animallore> < 800)
timer=102400
link=<src.uid>
morex 1
elseif (<src.animallore> < 850)
timer=87000
link=<src.uid>
morex 1
elseif (<src.animallore> < 900)
timer=73400
link=<src.uid>
morex 1
elseif (<src.animallore> < 950)
timer=58000
link=<src.uid>
morex 1
elseif (<src.animallore> < 1000)
timer=34400
link=<src.uid>
morex 1
elseif (<src.animallore> = 1000)
timer=32000
link=<src.uid>
morex 1
endif
//------------------------------------------veterinary
if (<src.veterinary> < 240)
src.sysmessage @0800 Veterinary Hakkinda yeterli bilginiz bulunmadigindan dolayi yumurtayi kuluckaya birakmazsiniz...
return 1
elseif (<src.veterinary> < 250)
timer=442000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 300)
timer=408800
link=<src.uid>
morex 1
elseif (<src.veterinary> < 350)
timer=385600
link=<src.uid>
morex 1
elseif (<src.veterinary> < 400)
timer=362400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 450)
timer=339200
link=<src.uid>
morex 1
elseif (<src.veterinary> < 500)
timer=306000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 550)
timer=282800
link=<src.uid>
morex 1
elseif (<src.veterinary> < 600)
timer=269600
link=<src.uid>
morex 1
elseif (<src.veterinary> < 650)
timer=206400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 700)
timer=163200
link=<src.uid>
morex 1
elseif (<src.veterinary> < 750)
timer=136000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 800)
timer=102400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 850)
timer=87000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 900)
timer=73400
link=<src.uid>
morex 1
elseif (<src.veterinary> < 950)
timer=58000
link=<src.uid>
morex 1
elseif (<src.veterinary> < 1000)
timer=34400
link=<src.uid>
morex 1
elseif (<src.veterinary> = 1000)
timer=32000
link=<src.uid>
morex 1
endif
else
src.sysmessage @0800 Ilk once yumurtalari evinize sabitleyiniz...
return 1
endif
elseif (<morex> = 01)
if (<link> = <src.uid>)
src.newitem i_sahip
src.act.equip
src.tag.hayvanid <more>
remove
else
src.sysmessage @0800 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
return 1
endif
elseif (<morex> = 05)
if (<link> = <src.uid>)
src.newitem i_sahip
src.act.equip
src.tag.hayvanid <more>
remove
else
src.sysmessage @0800 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
return 1
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 @0800 Sadece bu yumurtayi kuluckaya birakan kisi yumurtadaki hayvan'a sahip olabilir...
return 1
endif
else
return 1
endif
endif
endif
return 1
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
remove
endif
endif
endif
endif
[itemdef i_yumurtadan]
id i_memory
name Yumurtadan
type t_eq_script
ON=@create
attr attr_invis
ON=@equip
src.sayua 0481,6,6,6 * Yumurtayi Kirar *
timer 1
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
dorand 4 // Bu bölüme sizdeki bineklerin id lerini yazın
try cont.newnpc c_ostard_desert
try cont.newnpc c_ostard_forest
try cont.newnpc c_ostard_zostrich
try cont.newnpc c_ostard_mid
enddo
[itemdef i_spawn_yumurta]
defname i_spawn_yumurta
id i_fruit_coconut
name Ostard Egg
type t_script
weight 50
ON=@create
color 0481
on=@click
if !(<topobj.uid> == <src.uid>)
else
src.sysmessage @0800 Kurulmamis Yumurta
src.sysmessage @0800 Yumurtayi En Yakin Zamanda Kurunuz
return 1
endif
message @55 <name>
return 1
on=@dclick
target @0800 Kuluckayi seciniz...
return 1
ON=@targon_char
src.sysmessage @0800 Lutfen kuluckayi seciniz!!!
return 1
ON=@targon_item
if (strmatch('<src.targ.baseid>','i_kulucka'))
src.targ.remove
id i_yumurta
color 0
fix
return 1
else
src.sysmessage @0800 Lutfen yumurtayi koymak icin kuluckayi seciniz!!!
return 1
endif
ON=@targon_ground
src.sysmessage @0800 Lutfen kuluckayi seciniz!!!
return 1
CATEGORY=Animals
SUBSECTION=Ostard
DESCRIPTION=Ostard Egg
[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
value 8696
on=@click
message @0800 <name>
return 1
on=@dclick
src.sysmessage @0800 Once Ostard Egg Bulmaniz Gerekiyor.
return 1
[eof]