Anasayfa
UO Sunucular
Forumlar
Profilim
UO-Developer.COM
1. kuluçka deprem büyüsünden etkilenirken 2. kuluçka etkilenmez. Üzerinden geçerseniz yumurtayı kırarsınız.

//eggs system
//6 ocak 2008

[itemdef i_kulucka]
name kulucka
defname i_kulucka_empty
id 01ad5
type t_eq_script

on=@create
more1 1

on=@click
if (<more1> = 2)
morex (<timer> / 60)
morey (<morex> / 60)
if (<timer> < 0)
message olgunlasmis
else
if (<morey> < 1)
message <eval <morex> +1> dakika
else
message <eval <morey> +1> saat
endif
endif
endif

on=@dclick
if (<more1> = 2) && (<timer> > 0)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid 01ad5
more1 1
update
elseif (<cont.uid>)
src.sysmessage  @55 Kulucka yerde olmali.
elseif (<more1> = 2) && (<timer> < 1)
if (<more2> = 0)
try src.newnpc c_cow_brown
elseif (<more2> = 1)
try src.newnpc c_ostard_desert
elseif (<more2> = 2)
try src.newnpc c_ostard_forest
elseif (<more2> = 3)
try src.newnpc c_ostard_zostrich
endif
link <src.act.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 <src.uid>
link.act.cont <link.uid>
link.flags <link.flags>&statf_pet
link.update
more1 1
more2 0
dispid 01ad5
update
else
target @55 Kuluckaya koyacaginiz yumurtayi secin.
endif
return 1

on=@targon_item
if (<src.targ.baseid> = i_ostard_egg) && (<src.targ.more1> = 1) && (<more1> = 1)
more1 2
more2 <src.targ.more2>
src.targ.remove
dispid i_nest_with_eggs
update
timer 60*60*72
endif
return 1

on=@pickup_ground
if (<more1> = 2)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid 01ad5
more1 1
update
endif

on=@timer
return 1

on=@step
if (<more1> = 2)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid 01ad5
more1 1
update
endif

on=@spelleffect
if (<argn> = 57)
dispid 01ad5
more1 1
update
endif

[itemdef i_kulucka_sepet]
name sepet kulucka
defname i_kulucka_sepet
id i_toolkit_empty
type t_eq_script

on=@create
more1 1

on=@click
if (<more1> = 2)
morex (<timer> / 60)
morey (<morex> / 60)
if (<timer> < 0)
message olgunlasmis
else
if (<morey> < 1)
message <eval <morex> +1> dakika
else
message <eval <morey> +1> saat
endif
endif
endif

on=@dclick
if (<more1> = 2) && (<timer> > 0)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid i_toolkit_empty
more1 1
update
elseif (<cont.uid>)
src.sysmessage  @55 Kulucka yerde olmali.
elseif (<more1> = 2) && (<timer> < 1)
if (<more2> = 0)
try src.newnpc c_cow_brown
elseif (<more2> = 1)
try src.newnpc c_ostard_desert
elseif (<more2> = 2)
try src.newnpc c_ostard_forest
elseif (<more2> = 3)
try src.newnpc c_ostard_zostrich
endif
link <src.act.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 <src.uid>
link.act.cont <link.uid>
link.flags <link.flags>&statf_pet
link.update
more1 1
more2 0
dispid i_toolkit_empty
update
else
target @55 Kuluckaya koyacaginiz yumurtayi secin.
endif
return 1

on=@targon_item
if (<src.targ.baseid> = i_ostard_egg) && (<src.targ.more1> = 1) && (<more1> = 1)
more1 2
more2 <src.targ.more2>
src.targ.remove
dispid i_toolkit
update
timer 60*60*48
endif
return 1

on=@pickup_ground
if (<more1> = 2)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid i_toolkit_empty
more1 1
update
endif

on=@step
if (<more1> = 2)
src.sysmessage @55 Yumurtayi catlattiniz.
dispid i_toolkit_empty
more1 1
update
endif

on=@timer
return 1


[itemdef i_ostard_egg]
name ostard egg
defname i_ostard_egg
id i_fruit_coconut
type t_script
value 50000

on=@create
dorand 3
more2 1
more2 2
more2 3
enddo
more1 1

on=@click
if (<more1> = 2)
message [catlak]
else
message [saglam]
endif

on=@dclick
if (<more1> = 1)
src.sysmessage @55 Yumurtayi catlattiniz.
more1 2
endif
return 1

[EOF]

UO-Dev SPONSOR

Paylaş

XFacebook

Faydalı mı?

Bu içerik size yardımcı oldu mu?

UO-Dev SPONSOR

Henüz yorum yapılmamış. Yorum yazabilmek için giriş yapmanız gerekir.

Üyelerin oylama ortalaması (10 dışında) :

1.00

Oylar: 1 den itibaren 07-05-2014 15:27

Paylaş

XFacebook

Faydalı mı?

Bu içerik size yardımcı oldu mu?