[DEFNAME TREASUREOFTOKUNOSETTINGS]
ToTs_Are_Active 1 //1 on, 0 off
LesserTots {i_leurocians_mempo_of_fortune 1 i_ancient_farmer_kasa 1 i_ancient_samuraido 1 i_arms_tactical_excellence 1 i_black_lotus_hood 1 i_Daimyos_Helm 1 i_Demon_Forks 1 i_Exiler 1 i_Gloves_Sun 1 i_hanzos_bow 1 i_Legs_Stability 1 i_Peasent_Bokuto 1 i_The_Destroyer 1 i_Tome_Enlightenment 1 i_ancient_urn 1 i_chest_heirlooms 1 i_honorable_swords 1}

//////////////////////////////
[ITEMDEF i_ancient_farmer_kasa]
ID=i_kasa
NAME=Ancient Farmer's Kasa
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=t_status_bonus
TAG.STRINCREASE=5
TAG.STAMINCREASE=5
TAG.STAMREGENERATION=5
TAG.SKILLINCREASE=AnimalLore
TAG.SKILLINCREASEVALUE=5.0
TAG.LABELNAME=1070922

ON=@Create
HITPOINTS=255

[ITEMDEF i_ancient_samuraido]
ID=i_platemail_do
NAME=Ancient Samurai Do
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.SKILLINCREASE=Parrying
TAG.SKILLINCREASEVALUE=10.0
TAG.DEXINCREASE=5
TAG.STRINCREASE=3
TAG.LABELNAME=1070926

ON=@Create
HITPOINTS=255

[ITEMDEF i_arms_tactical_excellence]
ID=i_leather_hiro_sode
NAME=Arms of Tactical Excellence
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.SKILLINCREASE=Tactics
TAG.SKILLINCREASEVALUE=12.0
TAG.DEXINCREASE=5
TAG.LABELNAME=1070921

ON=@Create
HITPOINTS=255

[ITEMDEF i_black_lotus_hood]
ID=I_LEATHER_NINJA_HOOD
NAME=Black Lotus Hood
ARMOR=80
TEVENTS=T_PROPRIEDADES
TAG.LOWERMANACOST=6
TAG.SELFREPAIR=5
TAG.HITCHANCEINCREASE=6
TAG.LABELNAME=1070919
TAG.ITEMCOLOR=02be6

ON=@Create
COLOR=02be
HITPOINTS=255

[ITEMDEF i_Daimyos_Helm]
ID=I_PLATEMAIL_KABUTO
NAME=Daimyo's Helm
ARMOR=80
TEVENTS=T_PROPRIEDADES
TAG.LOWERMANACOST=10
TAG.SELFREPAIR=3
TAG.SWINGINCREASE=10
TAG.LABELNAME=1070920
TAG.ITEMCOLOR=0ef

ON=@Create
COLOR=0ef
HITPOINTS=255

[ITEMDEF i_Demon_Forks]
ID=I_sai
NAME=Demon Forks
TEVENTS=T_PROPRIEDADES
TEVENTS=T_DAMAGERETURN
TAG.DAMAGERETURN=10
TAG.DAMINCREASE=35
TAG.HITCHANCEDECREASE=10
TAG.SWINGINCREASE=20
TAG.LABELNAME=1070917

ON=@Create
HITPOINTS=255

[ITEMDEF i_Exiler]
ID=I_tetsubo
NAME=Exiler
TEVENTS=T_PROPRIEDADES
TEVENTS=T_SLAYER_WEAPON
TAG.HITDISPEL=33
TAG.SLAYERGROUP=Daemon
TAG.DAMINCREASE=40
TAG.SWINGINCREASE=20
TAG.LABELNAME=1070913

ON=@Create
HITPOINTS=255

[ITEMDEF i_Gloves_Sun]
ID=I_LEATHER_NINJA_MITTS
NAME=Gloves of the Sun
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.HITSREGENERATION=2
TAG.LOWERMANACOST=5
TAG.LOWERREAGENTCOST=18
TAG.NIGHTSIGHT=1
TAG.LABELNAME=1070924

ON=@Create
HITPOINTS=255

[ITEMDEF i_hanzos_bow]
ID=i_yumi
NAME=Hanzo's Bow
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.LIFELEECH=40
TAG.SELFREPAIR=3
TAG.DAMINCREASE=50
TAG.SKILLINCREASE=Ninjitsu
TAG.SKILLINCREASEVALUE=10.0
TAG.LABELNAME=1070918

ON=@Create
HITPOINTS=255

[ITEMDEF i_Legs_Stability]
ID=I_PLATEMAIL_SUNEATE
NAME=Legs of Stability
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.STAMINCREASE=5
TAG.SELFREPAIR=3
TAG.LOWERREAGENTCOST=20
TAG.LABELNAME=1070925

ON=@Create
HITPOINTS=255

[ITEMDEF i_Peasent_Bokuto]
ID=I_BOKUTO
NAME=Peasant's Bokuto
TEVENTS=T_PROPRIEDADES
TEVENTS=T_SLAYER_WEAPON
TAG.SELFREPAIR=3
TAG.DAMINCREASE=45
TAG.SWINGINCREASE=20
TAG.SLAYERGROUP=Snake
TAG.LABELNAME=1070912

ON=@Create
HITPOINTS=255

[ITEMDEF i_The_Destroyer]
ID=I_NoDachi
NAME=The Destroyer
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.STAMLEECH=40
TAG.STRINCREASE=6
TAG.DAMINCREASE=50
TAG.HITCHANCEINCREASE=10
TAG.LABELNAME=1070915

ON=@Create
HITPOINTS=255

[ITEMDEF i_Tome_Enlightenment]
ID=I_SPELLBOOK
NAME=Tome of Enlightenment
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.INTINCREASE=5
TAG.MAGICDAMINCREASE=10
TAG.FASTERCASTING=1
TAG.LABELNAME=1070934
TAG.ITEMCOLOR=0455

ON=@Create
COLOR=0455

[FUNCTION F_TOT_SET_OWNERNAME]
DORAND 35
TAG.NAME=Akira
TAG.NAME=Avaniaga
TAG.NAME=Aya
TAG.NAME=Chie
TAG.NAME=Emiko
TAG.NAME=Fumiyo
TAG.NAME=Gennai
TAG.NAME=Gennosuke 
TAG.NAME=Genjo
TAG.NAME=Hamato
TAG.NAME=Harumi
TAG.NAME=Ikuyo
TAG.NAME=Juri
TAG.NAME=Kaori
TAG.NAME=Kaoru
TAG.NAME=Kiyomori
TAG.NAME=Mayako
TAG.NAME=Motoki
TAG.NAME=Musashi
TAG.NAME=Nami
TAG.NAME=Nobukazu
TAG.NAME=Roku
TAG.NAME=Romi
TAG.NAME=Ryo
TAG.NAME=Sanzo
TAG.NAME=Sakamae
TAG.NAME=Satoshi
TAG.NAME=Takamori
TAG.NAME=Takuro
TAG.NAME=Teruyo
TAG.NAME=Toshiro
TAG.NAME=Yago
TAG.NAME=Yeijiro
TAG.NAME=Yoshi
TAG.NAME=Zeshin
ENDDO

[ITEMDEF i_ancient_urn]
ID=0241D
NAME=Ancient Urn
TAG.LABELNAME=1071014

ON=@Create
F_TOT_SET_OWNERNAME

ON=@ClientToolTip
SRC.ADDCLILOC 1070935,<TAG.NAME>

[ITEMDEF i_honorable_swords]
ID=02853
NAME=Honorable Swords
WEIGHT=5.0
TAG.LABELNAME=1071015

ON=@Create
F_TOT_SET_OWNERNAME

ON=@ClientToolTip
SRC.ADDCLILOC 1070936,<TAG.NAME>

[ITEMDEF i_chest_heirlooms]
ID=10257
TYPE=T_CONTAINER
NAME=Chest of Heirlooms
TDATA2=042
TAG.LABELNAME=1070937

ON=@DropOn_Ground
TIMER=60*6
ATTR |= attr_decay

[ITEMDEF i_leurocians_mempo_of_fortune]
ID=i_studded_mempo
NAME=Leurocian's Mempo of Fortune
ARMOR=85
TEVENTS=T_LUCK_ITEM
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.LUCK=300
TAG.MANAREGENERATION=1
TAG.LABELNAME=1071460
TAG.ITEMCOLOR=0501

ON=@Create
HITPOINTS=255
COLOR=0501

/////////////////////////////////////////////////////////////////////////
//////////////////Greater ToTs////////////////////////
[ITEMDEF i_darkened_sky]
ID=i_kama
NAME=Darkened Sky
TEVENTS=T_PROPRIEDADES
TAG.HITLIGHTNING=60
TAG.SWINGINCREASE=25
TAG.DAMINCREASE=50
TAG.LABELNAME=1070966

ON=@Create
HITPOINTS=255

[ITEMDEF i_kasa_of_the_Rajin]
ID=i_kasa
NAME=Kasa of the Raj-in
ARMOR=95
TEVENTS=T_PROPRIEDADES
TAG.MAGICDAMINCREASE=12
TAG.DAMINCREASE=12
TAG.LABELNAME=1070969

ON=@Create
HITPOINTS=255
IF (<FLOATVAL 0.1> > <RANDOMDOUBLE>)
ATTR=attr_newbie
ENDIF

[ITEMDEF i_runebeetle_carapace]
ID=i_platemail_do
NAME=Rune Beetle Carapace
ARMOR=80
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.MANAINCREASE=10
TAG.MANAREGENERATION=3
TAG.LOWERMANACOST=15
TAG.LOWERREAGENTCOST=10
TAG.SKILLINCREASE=Magery
TAG.SKILLINCREASEVALUE=5.0
TAG.LABELNAME=1070968

ON=@Create
HITPOINTS=255

[ITEMDEF i_stormgrip]
ID=i_leather_gloves
NAME=Stormgrip
ARMOR=90
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TEVENTS=T_LUCK_ITEM
TAG.DAMINCREASE=25
TAG.LUCK=125
TAG.INTINCREASE=8
TAG.LABELNAME=1070970

ON=@Create
HITPOINTS=255

[ITEMDEF i_SwordOfTheStampede]
ID=i_nodachi
NAME=Sword of the Stampede
TEVENTS=T_PROPRIEDADES
TAG.HITHARM=100
TAG.HITCHANCEINCREASE=10
TAG.DAMINCREASE=60
TAG.LABELNAME=1070964

ON=@Create
HITPOINTS=255

[ITEMDEF i_The_HorseLord]
ID=i_yumi
NAME=The Horselord
TEVENTS=T_SLAYER_WEAPON
TEVENTS=T_LUCK_ITEM
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.LUCK=125
TAG.DEXINCREASE=5
TAG.MANAREGENERATION=1
TAG.DAMINCREASE=50
TAG.SLAYERGROUP=Elemental
TAG.SLAYERGROUP2=Reptile
TAG.LABELNAME=1070967

ON=@Create
HITPOINTS=255

[ITEMDEF i_tome_lostknowledge]
ID=i_spellbook
NAME=Tome of Lost Knowledge
TEVENTS=T_PROPRIEDADES
TEVENTS=T_STATUS_BONUS
TAG.INTINCREASE=8
TAG.LOWERMANACOST=15
TAG.MAGICDAMINCREASE=15
TAG.SKILLINCREASE=Magery
TAG.SKILLINCREASEVALUE=15.0
TAG.LABELNAME=1070971
TAG.ITEMCOLOR=0530

ON=@Create
ATTR=ATTR_NEWBIE
COLOR=0530

[ITEMDEF i_pigments_tokuno]
ID=I_bottle_hair_dye
NAME=Pigments of Tokuno
WEIGHT=2
TYPE=T_NORMAL
DYE=0
TAG.LABELNAME=1070933

ON=@Create
DORAND 10
COLOR=0501
COLOR=0486
COLOR=04F2
COLOR=047E
COLOR=048F
COLOR=0455
COLOR=021
COLOR=058C
COLOR=066C
COLOR=054F
ENDDO
MORE1=8
MORE2=8

ON=@DCLICK
src.sysmessageloc -1,1070929
target
return 1

ON=@ClientToolTip
SRC.ADDCLILOC 1060584,<dMORE1>

ON=@Targon_Char
SRC.SYSMESSAGELOC -1,1070931
RETURN 1

ON=@TARGON_ITEM
IF (<ARGO.CONT.UID> == <SRC.FINDLAYER.layer_pack.UID>) && ((<ARGO.ISARMOR>) || (<ARGO.ISWEAPON>))
MORE1 --
ARGO.COLOR=<COLOR>
SRC.SYSMESSAGELOC -1,1062623
	IF !(<MORE1>)
	SRC.SYSMESSAGELOC -1,502412
	CONSUME 1
	ELSE
	RESENDTOOLTIP 1
	ENDIF
ELIF (<ARGO.CONT.UID> == <SRC.UID>)
SRC.SYSMESSAGELOC -1,1070930
ENDIF
RETURN 1

ON=@Targon_Cancel
SRC.SYSMESSAGELOC -1,501200
RETURN 1

////////////////////////////////////////////////////////////////////////////////////////

[CHARDEF c_IharaSoko]
ID=c_man
NAME=Ihara Soko the Imperial Minister of Trade
CAN=MT_USEHANDS|MT_EQUIP|MT_NONMOVER

ON=@Create
COLOR=08403
FLAGS=statf_invul|statf_paralyzed
STR=1
DEX=1
INT=1
NPC=brain_human
ITEMNEWBIE=i_kamishimo
ITEMNEWBIE=i_stormgrip
ITEMNEWBIE=i_kasa

ON=@NpcSeeNewPlayer
IF (<SRC.ISPLAYER>)
	IF (<SRC.ISONLINE>)
		IF (!(<SRC.ISDIALOGOPEN D_TOT_REDEEM>))
			IF (<SRC.HASLESSERTOT>) && (<SRC.TAG0.TOTSGIVEN> < 10)
			DIALOG D_TOT_REDEEM 2
			ELIF (<SRC.TAG0.TOTSGIVEN> >= 10)
			DIALOG D_TOT_REDEEM 1
			ELSE
			SAY @,,2 1071013
			ENDIF
		ENDIF
	ENDIF
ENDIF

ON=@DClick
TRIGGER @NpcSeeNewPlayer

[EOF]