[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 08a1
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]
[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 Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
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.spawndurum2 ((<timer> / 60)+1)
message @0800 Yumurtanin Bozulmasina Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum2 ((<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 @0481 Kalan zaman : <timer> saniye
elseif (<timer> < 3601)
src.tag.spawndurum2 ((<timer> / 60)+1)
message @0481 Kalan zaman : <eval <src.tag.spawndurum2>> dakika
elseif (<timer> < 86400)
src.tag.spawndurum2 ((<timer> / 60) /60)
message @0481 Kalan zaman : <eval <src.tag.spawndurum2>> saat
else
src.tag.spawndurum (((<timer> / 60) /60) /24)
message @0481 Kalan zaman : <eval <src.tag.spawndurum>> gun
endif
else
if (<morex> = 01)
message @0481 Yumurta Hazir
morex 5
timer 172800
elseif (<morex> = 02)
message @0481 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 @00026 Bu yumurta evinize sabitlenmemis
message @00026 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 Yumurtayi cantaniza aldiginizdan dolayi kirildi!!!
remove
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]
[itemdef 0ec4]
defname i_knife_skinning
type T_WEAPON_FENCE
flip 1
resources 2 i_ingot_iron
skillmake TINKERING 23.3,t_tinker_tools
dam 1,10
skill Swordsmanship
twohands N
weight 7.5
category Provisions - Weapons
subsection Knives & Daggers
description Skinning Knife
dupelist 0ec5
On=@Create
hitpoints {31 40}
on=@targon_item
if (<src.targ.baseid>==i_egg_ostard)
if (<src.targ.distance> >2)
src.sysmessage @0845,1,1 Ostard egg'e yetisemiyorsunuz!
return 1
endif
src.targ.link <src.uid>
src.sysmessage @0845,1,1 Ostard egg'i almak icin ugrasiyorsunuz!
src.targ.more2 1
src.targ.timer 1
return 1
endif
[ITEMDEF i_kuluckar]////////////////Ostard in yumurtasi
DEFNAME=i_kuluckar
NAME kuluckar
value 50000
ID=i_nest
WEIGHT=3
SKILLMAKE=CARPENTRY 70.0
resources 5 i_kindling
CATEGORY=Miscellaneous
SUBSECTION=Kulucka
DESCRIPTION=Kulucka
DUPELIST=01ad5
on=@click
msgua a kuluckar
return 1
ON=@DCLICK
if !((0<src.uid> == <region.tag.owner>) || (0<src.uid> == <region.tag.co1uid>) || (0<src.uid> == <region.tag.co2uid>) || (0<src.uid> == <region.tag.co3uid>) || (0<src.uid> == <region.tag.co4uid>) || (0<src.uid> == <region.tag.co5uid>) || (0<src.uid> == <region.tag.co6uid>) || (0<src.uid> == <region.tag.co7uid>) || (0<src.uid> == <region.tag.co8uid>))
src.sysmessage @0785 Kuluckayi kurabilmek icin ev size ait olmalidir!
return 1
else
if ((<link.tag.kuluckar1>) && (<link.tag.kuluckar2>) && (<link.tag.kuluckar3>))
src.sysmessage @0785 Bir eve 3'ten fazla kulucka yerlestiremezsiniz!
return 1
else
src.sysmessage @0785 Kuluckayi kurabilmek icin ostard egg'e tiklayip kuluckayi secmelisiniz!
return 1
endif
[ITEMDEF i_ostard_egg_kulucka]////////////////Ostard in yumurtasi
DEFNAME=i_ostard_egg_kulucka
ID=i_nest_with_eggs
WEIGHT=3
CATEGORY=Miscellaneous
SUBSECTION=ostard egg
DESCRIPTION=egg
DUPELIST=01ad5
On=@Click
if (<timer> > 3600)
message @0785 Kalan: <eval(<timer>/3600)> Saat
return 1
else
if (<timer> > -1) && (<timer> < 3600)
message @0785 Kalan: <eval(<timer>/60)> Dakika
return 1
else
message @0785 Olgunlasmis Ostard Egg
return 1
endif
On=@dclick
if !((0<src.uid> == <region.tag.owner>) || (0<src.uid> == <region.tag.co1uid>) || (0<src.uid> == <region.tag.co2uid>) || (0<src.uid> == <region.tag.co3uid>) || (0<src.uid> == <region.tag.co4uid>) || (0<src.uid> == <region.tag.co5uid>) || (0<src.uid> == <region.tag.co6uid>) || (0<src.uid> == <region.tag.co7uid>) || (0<src.uid> == <region.tag.co8uid>))
src.sysmessage @0785 Sadece ev sahipleri islem yapabilir!
else
if (<timer> == -1)
src.sysmessage @0785 Kulucka zamani sona ermistir, yumurtayi cantaniza aldiniz.
src.newitem i_egg_ostard_olgun
src.act.bounce
src.targ.remove
link.tag.oskuluc <link.tag.oskuluc> - 1)
return 1
endif
[ITEMDEF i_egg_ostard]
id 01726
type t_script
name ostard egg
value 38654
ON=@CREATE
color 0794
attr 010
ON=@Drop
attr 00008
ON=@DCLICK
if ((<attr> == 010) || (<attr> == 012))
if (<src.targ.baseid>==i_egg_ostard)
if (<src.targ.distance> >2)
src.sysmessage @0785 Ostard egg'e yetisemiyorsunuz!
return 1
endif
src.targ.link <src.uid>
src.sysmessage @0785 Ostard egg'i almak icin ugrasiyorsunuz!
src.targ.more2 1
src.targ.timer 1
return 1
endif
endif
if !(<cont> == <src.findlayer.21.uid>)
src.sysmessage @0785 Ostard egg'in cantanizda olmasi gerekmektedir!
return 1
endif
target
src.sysmessage @0785 Lutfen bos bir kulucka seciniz.
return 1
ON=@TARGON_ITEM
if (<src.targ.baseid> == i_egg_ostard)
src.sysmessage @0785 Ostard egg'i sadece kuluckaya koyabilirsiniz!
return 1
endif
if ((<src.targ.link> == 04fffffff) || !(<src.targ.baseid> == i_kuluckar))
src.sysmessage @0785 Kuluckayi evinize sabitlemelisiniz!
return 1
else
if !((0<src.uid> == <region.tag.owner>) || (0<src.uid> == <region.tag.co1uid>) || (0<src.uid> == <region.tag.co2uid>) || (0<src.uid> == <region.tag.co3uid>) || (0<src.uid> == <region.tag.co4uid>) || (0<src.uid> == <region.tag.co5uid>) || (0<src.uid> == <region.tag.co6uid>) || (0<src.uid> == <region.tag.co7uid>) || (0<src.uid> == <region.tag.co8uid>))
src.sysmessage @0785 Kuluckayi kurabilmek icin ev size ait olmalidir!
return 1
else
if (<src.veterinary> < 40.0)
src.sysmessage @0785 Ostard egg kuluckasi kurmak icin en az 40.0 veterinary gereklidir!
return 1
endif
endif
if (<src.veterinary> > 90.0) && (<src.veterinary> < 100.1)
src.sysmessage @0785 Ostard egg'i kuluckaya koydunuz.
src.targ.id i_ostard_egg_kulucka
tag.kuluckar_sahibi <uid>
src.targ.timer 331200
src.consume 1 i_egg_ostard
src.update
return 1
endif
if (<src.veterinary> > 70.0) && (<src.veterinary> < 90.1)
src.sysmessage @0785 Ostard egg'i kuluckaya koydunuz.
src.targ.id i_ostard_egg_kulucka
tag.kuluckar_sahibi <uid>
src.targ.timer 445200
src.consume 1 i_egg_ostard
src.update
return 1
endif
if (<src.veterinary> > 60.0) && (<src.veterinary> < 70.1)
src.sysmessage @0785 Ostard egg'i kuluckaya koydunuz.
src.targ.id i_ostard_egg_kulucka
tag.kuluckar_sahibi <uid>
src.targ.timer 531200
src.consume 1 i_egg_ostard
src.update
remove
return 1
endif
if (<src.veterinary> >= 40.0) && (<src.veterinary> < 60.1)
src.sysmessage @0785 Ostard egg'i kuluckaya koydunuz.
src.targ.id i_ostard_egg_kulucka
tag.kuluckar_sahibi <uid>
src.targ.timer 731200
src.consume 1 i_egg_ostard
src.update
return 1
endif
on=@timer
if <link.isplayer>
if !(<link.flags>&statf_dead)
if (<more2> == 7)
attr 00008
cont <link.findlayer.21>
update
cont.update
link.sysmessage @0785 Ostard egg'i cantaniza aldiniz.
timer 1000
return 1
else
if (<link.distance <uid>> > 2)
link.sysmessage @0785 Ostard egg'den uzaklastiniz!
timer -1
tag.timer
return 1
endif
more2 = <more2> + 1
timer 1
endif
endif
endif
attr = <attr>&~0002
return 1
[function ostardegg]
serv.newitem 01ea7
new.type 69
new.amount 1
new.more i_egg_ostard
new.more2 0
new.morep <argn> <argn> 0
new.attr 0010
new.attr = <new.attr> | attr_invis
new.p <p>
new.timer 1
[ITEMDEF i_egg_ostard_olgun] //////////Bitmis yumurta
//Ostard Egg
ID=i_fruit_coconut
NAME=olgun ostard egg
CATEGORY=Custom Items
SUBSECTION=ostard egg
DESCRIPTION=Olgun Ostard Egg
on=@create
color 07a0
return 1
ON=@DCLICK
if !(<cont> == <src.findlayer.21.uid>)
src.sysmessage @0785 Bunu kullabilmeniz icin cantanizda olmasi gerekmektedir!
return 1
endif
src.newnpc {c_ostard_desert 1 c_ostard_forest 1 c_ostard_zostrich 1}
src.act.newitem i_memory
src.act.act.attr 04
src.act.act.more1 04
src.act.act.more2 <serv.time>
src.act.act.morep <src.act.p>
src.act.act.color memory_ipet
src.act.act.timer -1
src.act.act.link <src.uid>
src.act.act.cont <src.act.uid>
src.act.flags <src.act.flags>&statf_pet
src.act.update
src.act.anim 6
src.consume i_egg_ostard_olgun
return 1
[eof]