UO-Dev Arama


Eşyaların satılabileceği bir npc

Yazar: Bilinmiyor
Tarih: 28-07-2009 18:12


Paylaş : Paylaş

Kod:
[speech sat]
on=sell
src.newitem i_sat
src.act.equip

[itemdef i_sat]
id i_gold
type t_eq_Script

on=@equip
target Satacaginiz Esyayi Secin ?

on=@targon_cancel
remove
return 1

on=@targon_char
src.message Bu Itemi Satamazsiniz.
remove
return 1

on=@targon_item
IF <SRC.TARG.TOPOBJ.UID> != <SRC.UID>
SRC.message Bu Item Cantanizda Olmasi Lazim..
RETURN 1
ENDIF

IF ( <SRC.TARG.TYPE> == t_gold )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.TYPE> == t_container )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.TYPE> == t_sign_gump )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.BASEID> == i_ticket_reward )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.DISPID> == i_shield_order )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.DISPID> == i_shield_chaos )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.DISPID> == i_robe_gm )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.DISPID> == i_bag )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.ID> == i_kindling )
SRC.MESSAGE Bunu satamazsiniz
RETURN 1
ENDIF

IF ( <SRC.TARG.BASEID> == i_runebook )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.BASEID> == i_spellbook )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

IF ( <SRC.TARG.BASEID> == i_deed )
SRC.MESSAGE You can't sell this.
RETURN 1
ENDIF

src.newitem i_gold
src.act.amount (<src.targ.value>*<src.targ.amount>)
src.act.bounce
src.targ.remove
target
return 1



[CHARDEF 0245]
DEFNAME=C_H_buy
NAME=#NAMES_HUMANMALE the Full Seller
ID=C_woman
AVERSIONS=t_TRAP,t_eerie_stuff
DESIRES=i_gold,e_notoriety

TSPEECH=sat

TEVENTS=e_Human_HearUnk
TEVENTS=e_Human_ConvInit
TEVENTS=e_Human_Needs
TEVENTS=e_Human_Greet
TEVENTS=e_Human_Space
TEVENTS=e_Human_Refuse
TEVENTS=e_Human_Environ

on=@dclick
SRC.say @0481,4 Sell yazarsan Itemini Satarsin..
return 1

ON=@Click
name Full Buyer

ON=@Create
name Buyer Seller
NPC=brain_vendor
COLOR=colors_skin
NEED=i_gold

STR={66 80}
DEX=90
INT={66 80}

FENCING={15.0 38.0}
PARRYING={45.0 68.0}
SWORDSMANSHIP={15.0 38.0}
WRESTLING={15.0 38.0}
MACEFIGHTING={15.0 38.0}
MAGICRESISTANCE={45.0 68.0}
TACTICS={45.0 68.0}

ITEMNEWBIE=i_lantern
ITEMNEWBIE=random_male_hair
COLOR=colors_hair
ITEMNEWBIE=random_facial_hair
COLOR=match_hair
ITEM=i_shirt_plain
COLOR=colors_all
ITEM=random_pants
COLOR=colors_all
ITEM=random_shoes
COLOR=colors_neutral
ITEM=random_coin_purse

CATEGORY=Civilized
SUBSECTION=Tradesmen
DESCRIPTION=herseyialan vendor



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Ev Vendor Sistemi0TheRaskol15-05-2010
Vendor Rental Gumps0Rowall01-09-2009
Vendor Inventory Gump0Rowall01-09-2009
Reclaim Vendor Gump0Rowall01-09-2009
Player Vendor Gumps0Rowall01-09-2009


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,