|
[ITEMDEF i_ostard_egg]
ID=i_fruit_coconut
NAME=Ostard Egg
TYPE=t_eq_script
ON=@Create
color 0482
ON=@CLICK
message @1153,,1 <amount> <name>
return 1
ON=@DCLICK
if !(<cont.uid> == <src.findlayer.21.uid>)
src.sysh_trk Yumuratyı sadece çantanızda kullanabilirsiniz.
return 1
endif
if (<src.veterinary> >= 98.0) && (<src.animallore> >= 98.0)
target
src.sys_trk Lütfen boş bir kuluçka seçiniz.
return 1
else
src.sysh_trk Yumurtayı kullanabilmek için en az 98.0 Veterinary ve 98.0 Animal Lore'ye ihtiyacınız vardır.
return 1
endif
ON=@TARGON_ITEM
if !(<src.targ.baseid> == i_kulucka)
src.sysh_trk Bu boş bir kuluçka değil.
return 1
elseif (<src.targ.link> == 04fffffff) || (<src.targ.link> == 0fffffff)
src.sysh_trk Kuluçkayı eve sabitlemelisiniz.
return 1
elseif !((<UID.<UID.<SRC.REGION.UID>.MORE2>.ISOWNER <SRC>>) || (<UID.<UID.<SRC.REGION.UID>.MORE2>.ISCOOWNER <SRC>>))
src.sysh_trk Sadece sahibi veya ortağı olduğunuz evlerde bu işlemi yapabilirsiniz.
return 1
endif
src.sys_trk Yumurtayı kuluçkaya koydunuz.
src.targ.id i_kulucka_egg
src.targ.more <src.uid>
src.targ.timer <eval (3600*24*5) - (<src.veterinary>*173)>
src.consume 1 i_ostard_egg
src.region.allclients update
return 1
ON=@TIMER
return 1
[itemdef i_yumurta]
id 6868
name Ostard Egg
type t_eq_script
weight 18
on=@create
attr=attr_decay
ON=@click
if (<attr> == 010)
if (<morex> = 02)
message @0800 Yumurta Catlak
timer -1
elseif (<morex> = 05)
if (<timer> > 0)
if (<timer> = 0)
src.sysmessage @07a1,,1 Yumurta acilmadigi icin silindi.
link.tag.yumurtadedi <eval <src.tag0.yumurtadedi>-1>
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 @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 Ostard Egg
return 1
ON=@dclick
if (<timer> == -1)
if (<morex> = 00)
if (<attr> == 010)
if (<src.taming> < 1000) || (<src.animallore> < 1000) || (<src.veterinary> < 1000) || (<src.tag0.yumurtadedi> > 4)
src.sysmessage @0800 Gereken skillere sahip degilsiniz yada 5 yumurta hakkiniz dolmus. 100 Animalore, Taming,Veterinary
src.sysmessage @80 Sizin <eval <src.tag0.yumurtadedi>> kadar kurulu yumurtaniz mevcut
return 1
elseif (<src.taming> > 999) && (<src.veterinary> > 999) && (<src.tag0.yumurtadedi> < 5)
timer=352000
link=<src.uid>
morex 1
src.tag.yumurtadedi <eval <src.tag0.yumurtadedi>+1>
src.sysmessage @60 Tebrikler yumurtayi kurdunuz <eval <timer> /3600> saat vakti var
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>
src.tag.yumurtadedi <eval <src.tag0.yumurtadedi>-1>
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>
src.tag.yumurtadedi <eval <src.tag0.yumurtadedi>-1>
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>
src.tag.yumurtadedi <eval <src.tag0.yumurtadedi>-1>
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=@timer
if (<morex> = 05)
link.tag0.yumurtadedi <eval <link.tag0.yumurtadedi>-1>
remove
endif
[itemdef i_yumurtadan]
id i_memory
name Yumurtadan
type t_eq_script
ON=@create
attr attr_invis
attr attr_decay
ON=@equip
src.sayua 0481,6,6,6 * Yumurtayi Kirar *
timer 1
ON=@timer
remove
return 1
[itemdef i_sahip]
id i_memory
name sahip ol
type t_eq_script
ON=@create
attr attr_invis&attr_decay
ON=@equip
dorand 4 // Bu bölüme sizdeki bineklerin id lerini yazin
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
timer 1
ON=@timer
remove
return 1
[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=20 i_log
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]
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Random Spawn sistemi yardım
Son cevap: 02-09 16:44 · Son yazan: Stark35 · Mesaj: 12 · Görüntü: 6138
|
Derleme Scriptler | 02-09 16:44 | 12 | 6138 | |
|
|
Server Açma Konusunda Yardım
Son cevap: 20-02 18:37 · Son yazan: Daedhelon · Mesaj: 14 · Görüntü: 7485
|
UO Yardım Alanı | 20-02 18:37 | 14 | 7485 | |
|
|
Debug hata yardım.
Son cevap: 28-09 18:30 · Son yazan: Gokku · Mesaj: 3 · Görüntü: 2405
|
Konsol Hataları | 28-09 18:30 | 3 | 2405 | |
|
|
Duello Hata Girmiyor Yardım
Son cevap: 01-05 21:18 · Son yazan: Eren19944 · Mesaj: 5 · Görüntü: 2438
|
Script Yardımı | 01-05 21:18 | 5 | 2438 | |
|
|
arcane ostard poison sorun
Son cevap: 01-12 13:21 · Son yazan: RasmuS · Mesaj: 2 · Görüntü: 1745
|
NPC Script Yardımı | 01-12 13:21 | 2 | 1745 |