// NOTE: This is loaded 2nd after SPHERE.INI watch out for order of dependancies! (keyword DEFNAME)

VERSION=0.54

// 18.12.2001, Eidolon: loot in gz bug fixed
// 08.12.2001, Eidolon: syntax error
// 05.12.2001, Eidolon: keys checking

// 27.11.2001, Nika: Britain and Trinsic newbie-spawn points enable

// 21.11.2001, Eidolon: Poison checking changed, poison self on fail; stealing gain on fails enabled

// 19.11.2001, MoNK: try to disable Britain and Trinsic newbie-spawn points

// 12.11.2001, MoNK: client verison checking
// 31.10.2001, MoNK: change stats limits
// 28.10.2001, MoNK: disable skill gain at fails (return 1); turn off poisoning checking; checking of link before pick up item
// 26.09.2001, MoNK: increase speed of raise BC
// 26.08.2001, MoNK: stop jailing for poisoning and forensics bugs
// 01.08.2001, MoNK: stealing, provocation and poisoning advance rate decreased
// 19.05.2001, MoNK: stealing advance rate halfed
// 12.05.2001, MoNK: Forensics bug added
// 03.05.2001, MoNK: Meditation delay increased (old value is 1.0)

[RESOURCES]
// sphere.ini and spheretable.scp are automatic.

// All the other scripts we want to load.
spherebook.scp
spherechar.scp
sphereevents.scp
spherechar_human.scp
spherechar_evil.scp
spherechar_anim.scp
//spherechar_dragons.scp
spheredefs.scp
spheredialog.scp
spherehelp.scp
sphereresources.scp
sphereitemb1.scp
sphereitemb2.scp
sphereitemb3.scp
sphereitemb4.scp
sphereitemb5.scp
sphereitemb6.scp
sphereitemb7.scp
sphereitem_potions.scp
sphereitem_multis.scp
sphereitem_x.scp
sphereitem_deed.scp
sphereregion.scp
spheremap.scp
spheremenu.scp
spherename.scp
spherenewb.scp
sphereskill.scp
spheretable_x.scp
spheretemplate.scp
spheretemp_loot.scp
spheretemp_vend.scp
spheretrig.scp
Vjaka_1.scp

[RESOURCES]
// speech and events files.
c:/Oskom/Speech/

[OBSCENE]
*fuck*
*shit
shit*
nigger*
*nigger
nigga
cunt*
cock
cocksucker
//ass
asshole
asswipe
tits
whore
jigaboo
chigaboo
wop
kyke
kike
tit
spic
prick
piss
lezbo
lesbo
felatio
dyke
dildo
chinc
chink
cunniling*
cum
clitor*
clit
penis
klit
kunt
jiz
jism
jerkoff
jackoff
goddamn
fag
blowjob
bitch
//dick
//pussy
snatch
twat

[BLOCKEMAIL]
// List of some of the free email services.
@hotmail.com
@juno.com
@yahoo.com
@netscape.com
@geocities.com
@angelfire.com
@beer.com
@email.com
@excite.com
@hotpop.com
@rocketmail.com
@bigfoot.com
@mailexcite.com
@garfield.com
@bemail.org
//@mail.ru
//@pisem.net
//@newmail.ru
//@nm.ru
//@rambler.ru
//@index.ru
//@list.ru
//@mafia.ru

[NOTOTITLES] // NotoTitles[5*11]
// highest karma
Trustworthy
Estimable
Great
Glorious
Glorious

Honest
Commendable
Famed
Illustrious
Illustrious

Good
Honorable
Admirable
Noble
Noble

Kind
Respectable
Proper
Eminent
Eminent

Fair
Upstanding
Reputable
Distinguished
Distinguished

<none>
Notable
Prominent
Renowned
Renowned

Rude
Disreputable
Notorious
Imfamous
Dishonored

Unsavory
Dishonorable
Ignoble
Sinister
Sinister

Scoundrel
Malicious
Vile
Villainous
Dark

Despicable
Dastardly
Wicked
Evil
Evil

Outcast
Wretched
Nefarious
Dread
Dread

[PLEVEL 1]
SYNC
RESYNC
PASSWORD
DETAIL
//HelpPage

[PLEVEL 2]
FLIP
XFLIP
HELP
RESEND
UNDERWEAR
BARK
WHERE
HUNGRY
TELE
PAGE
INFO
PROPS
TWEAK

[PLEVEL 3]
INVIS
INVUL
SET
REMOVE
JAIL
FORGIVE
FIX
CLIENTS
ADMIN
CAST
GO
XGO
GOUID
GOCHAR
CHARLIST
AFK
ANIM
SLEEP
SELF
LAST
SUICIDE
PARDON

[PLEVEL 4]
ADD
XINVIS
XINVUL
SAVE
LINK
TILE
NUKE
GOTYPE
GONAME
EMAIL

[PLEVEL 5]
GOCLI
GOSOCK
TOME
DIALOG

[PLEVEL 6]
SETPRIV
PRIVSET
BLOCKIP
EXTRACT
UNEXTRACT
EXPORT
IMPORT

[ADVANCE]
STR=10000,4000,600
INT=10000,4000,600
DEX=10000,4000,600

[STARTS]	// new client
Yew
The Sturdy Bow
567,978,0
Minoc
The Barnacle Tavern
2477,407,15
Britain
Sweet Dreams Inn
1496,1629,10
Moonglow
The Scholars Inn
4404,1169,0
Trinsic
The Traveller's Inn
1844,2745,0
Magincia
The Great Horns Tavern
3738,2223,20
Jhelom
The Morning Star Inn
1378,3817,0
Skara Brae
The Falconers Inn
594,2227,0
Vesper
The Ironwood Inn
2771,977,0

[RUNES]
An
Bet
Corp
Des
Ex
Flam
Grav
Hur
In
Jux
Kal
Lor
Mani
Nox
Ort
Por
Quas
Rel
Sanct
Tym
Uus
Vas
Wis
Xen
Ylem
Zan

// ADV_RATE=800.0,200.0,10.0 = 800.0 successes at 100% to gain .1 skill, 200.0 successes at 50% to gain .1, 10.0 successes at 0% to gain .1

[SKILL 0]
DEFNAME=SKILL_ALCHEMY
KEY=Alchemy
TITLE=Alchemist
PROMPT_MSG=
DELAY=4.0
STAT_STR=10
STAT_INT=70
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
SKILL_STAT=90
ADV_RATE=800.0,200.0,100.0
VALUES=100,20,1

On=@Fail
	src.sysmessage You toss the failed mixture from the mortar, unable to create a potion from it.

[SKILL 1]
DEFNAME=SKILL_ANATOMY
KEY=Anatomy
TITLE=Scholar
PROMPT_MSG=Whom shall I examine?
DELAY=1.0
STAT_STR=15
STAT_INT=70
STAT_DEX=15
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You can't think of anything about this creature
	return 1

[SKILL 2]
DEFNAME=SKILL_ANIMAL_LORE
KEY=AnimalLore
TITLE=Scholar
PROMPT_MSG=What animal should I look at?
DELAY=1.0
STAT_STR=0
STAT_INT=50
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You can't think of anything off hand
	return 1

[SKILL 3]
DEFNAME=SKILL_APPRAISE
KEY=ItemID
TITLE=Merchant
PROMPT_MSG=What do you wish to appraise and identify?
DELAY=1.0
STAT_STR=0
STAT_INT=85
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You can't think of anything off hand
	return 1

[SKILL 4]
DEFNAME=SKILL_ARMSLORE
KEY=ArmsLore
TITLE=Arms%s
PROMPT_MSG=What would you like to evaluate?
DELAY=1.0
STAT_STR=10
STAT_INT=50
STAT_DEX=15
BONUS_STR=33
BONUS_DEX=33
BONUS_INT=34
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You are uncertain about this item
	return 1
	
[SKILL 5]
DEFNAME=SKILL_Parrying
KEY=Parrying
TITLE=Shieldfighter
PROMPT_MSG=
STAT_STR=75
STAT_INT=15
STAT_DEX=25
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=800.0,800.0,800.0

[SKILL 6]
DEFNAME=SKILL_Begging
KEY=Begging
TITLE=Beggar
PROMPT_MSG=To whom do you wish to grovel?
DELAY=2.0
STAT_STR=5
STAT_INT=55
STAT_DEX=25
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
SKILL_STAT=90
ADV_RATE=200.0,50.0,2.5

[SKILL 7]
DEFNAME=SKILL_Blacksmith
KEY=Blacksmithing
TITLE=Blacksmith
PROMPT_MSG=
DELAY=1.0
STAT_STR=95
STAT_INT=15
STAT_DEX=25
BONUS_STR=75
BONUS_DEX=20
BONUS_INT=5
SKILL_STAT=90
ADV_RATE=200.0,50.0,2.5
VALUES=200,30,1

On=@Fail
	src.sysmessage You have failed to make anything

[SKILL 8]
DEFNAME=Skill_Bowcraft
KEY=Bowcraft
TITLE=Bowyer
PROMPT_MSG=
DELAY=1.0
STAT_STR=40
STAT_INT=45
STAT_DEX=70
BONUS_STR=15
BONUS_DEX=70
BONUS_INT=15
SKILL_STAT=80
ADV_RATE=200.0,50.0,2.5
VALUES=200,30,1

On=@Fail
	src.sysmessage You fail to create the item

[SKILL 9]
DEFNAME=SKILL_PEACEMAKING
KEY=Peacemaking
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=0
STAT_INT=70
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
SKILL_STAT=95
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You attempt to calm everyone, but fail.
	return 1

[SKILL 10]
DEFNAME=Skill_Camping
KEY=Camping
TITLE=Camper
PROMPT_MSG=
STAT_STR=30
STAT_INT=30
STAT_DEX=30
BONUS_STR=33
BONUS_DEX=33
BONUS_INT=34
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You fail to ignite the campfire.

[SKILL 11]
DEFNAME=Skill_Carpentry
KEY=Carpentry
TITLE=Carpenter
PROMPT_MSG=
DELAY=1.0
STAT_STR=60
STAT_INT=40
STAT_DEX=30
BONUS_STR=50
BONUS_DEX=30
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5
VALUES=100,20,1

On=@Fail
	src.sysmessage You fail to create the item

[SKILL 12]
DEFNAME=SKILL_CARTOGRAPHY
KEY=Cartography
TITLE=Cartographer
PROMPT_MSG=
DELAY=2.0
STAT_STR=15
STAT_INT=70
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
SKILL_STAT=85
ADV_RATE=200.0,50.0,2.5
VALUES=80,20,1

On=@Fail
	src.sysmessage Thy trembling hand results in an unusable map.

[SKILL 13]
DEFNAME=Skill_Cooking
KEY=Cooking
TITLE=Chef
PROMPT_MSG=What would you like to cook?
DELAY=2.0
STAT_STR=25
STAT_INT=45
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=40
BONUS_INT=60
SKILL_STAT=50
ADV_RATE=400.0,100.0,5.0
VALUES=80,20,1

On=@Fail
	src.sysmessage You burn the food to a crisp! It's ruined.

[SKILL 14]
DEFNAME=Skill_DetectHidden
KEY=DetectingHidden
TITLE=Detective
PROMPT_MSG=
DELAY=1.0
STAT_STR=15
STAT_INT=60
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	if <src.detectinghidden> == 1.6
		src.detectinghidden = 1.7
	endif
	src.sysmessage You can see nothing hidden there.
	return 1

[SKILL 15]
DEFNAME=Skill_Enticement
KEY=Enticement
TITLE=Bard
PROMPT_MSG=Never use this skill in guarded zone! Whom do you wish to entice?
DELAY=2.0
STAT_STR=15
STAT_INT=70
STAT_DEX=50
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
SKILL_STAT=95
ADV_RATE=200.0,50.0,2.5

On=@Fail
	if ((<src.region.flags> | <src.targ.region.flags>) & 04000)
		src.criminal
	endif
	src.sysmessage Your music fails to attract them.
	return 1

[SKILL 16]
DEFNAME=Skill_EvalInt
KEY=EvaluatingIntel
TITLE=Scholar
PROMPT_MSG=Select char to inspect.
DELAY=1.0
STAT_STR=5
STAT_INT=60
STAT_DEX=10
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You cannot seem to judge the creature correctly.
	return 1

[SKILL 17]
DEFNAME=Skill_Healing
KEY=Healing
TITLE=Healer
PROMPT_MSG=Who will you use the bandages on?
DELAY=20.0
STAT_STR=10
STAT_INT=90
STAT_DEX=10
BONUS_STR=0
BONUS_DEX=30
BONUS_INT=70
SKILL_STAT=80
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage You apply the bandages, but they barely help.

[SKILL 18]
DEFNAME=Skill_Fishing
KEY=Fishing
TITLE=Fisher%s
PROMPT_MSG=What water do you want to fish in?
DELAY=2.0
STAT_STR=40
STAT_INT=30
STAT_DEX=40
BONUS_STR=10
BONUS_DEX=90
BONUS_INT=0
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5
VALUES=200,30,1

On=@Fail
	src.sysmessage You fish a while, but fail to catch anything.

[SKILL 19]
DEFNAME=Skill_Forensics
KEY=Forensics
TITLE=Scholar
PROMPT_MSG=What corpse would you like to examine?
DELAY=1.0
STAT_STR=10
STAT_INT=60
STAT_DEX=25
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You can tell nothing about the corpse.
	if (<src.targ.type>!=t_corpse) && (<src.forensics> < 100.0)
		if <src.restest 3 i_forensics_bug>
			src.title Forensics bug
			src.emote was penetrate for bug exploiting.
			src.forensics = 0
			src.fix
		else
			src.newitem i_forensics_bug
			src.act.equip
			src.message If you'll try to use this skill on items which is NOT corpse, you will be penetrated.
		endif
	endif
	return 1

[SKILL 20]
DEFNAME=Skill_Herding
KEY=Herding
TITLE=Shepherd
PROMPT_MSG=
DELAY=2.0
STAT_STR=50
STAT_INT=50
STAT_DEX=50
BONUS_STR=25
BONUS_DEX=45
BONUS_INT=30
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You don't seem to be able to persuade that to move.

[SKILL 21]
DEFNAME=Skill_Hiding
KEY=Hiding
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You can't seem to hide here.
	return 1

[SKILL 22]
DEFNAME=SKILL_PROVOCATION
KEY=Provocation
TITLE=Bard
PROMPT_MSG=Never use this skill in guarded zone! Whom do you wish to incite?
DELAY=2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=90
BONUS_INT=10
SKILL_STAT=95
ADV_RATE=400.0,100.0,2.5

On=@Fail
	if ((<src.region.flags> | <src.targ.region.flags>) & 04000)
		src.criminal
	endif
	src.sysmessage Your music fails to incite enough anger.
	return 1

[SKILL 23]
DEFNAME=Skill_Inscription
KEY=Inscription
TITLE=Scribe
PROMPT_MSG=
DELAY=3.0
STAT_STR=15
STAT_INT=100
STAT_DEX=15
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=90
ADV_RATE=800.0,200.0,10.0
VALUES=200,30,1

On=@Fail
	src.sysmessage You fail to inscribe the scroll, and the scroll is ruined.

[SKILL 24]
DEFNAME=Skill_LockPick
KEY=LockPicking
TITLE=Locksmith
PROMPT_MSG=What do you want to pick?
DELAY=3.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage You are unable to pick the lock.

[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
PROMPT_MSG=
STAT_STR=20
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=85
ADV_RATE=800.0,200.0,10.0
VALUES=80,20,1

On=@Fail
	src.sysmessage The spell fizzles.

[SKILL 26]
DEFNAME=Skill_MagicResist
KEY=MagicResistance
TITLE=Resistor
PROMPT_MSG=
STAT_STR=40
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=50
ADV_RATE=800.0,200.0,10.0

[SKILL 27]
DEFNAME=Skill_Tactics
KEY=Tactics
TITLE=Warrior
PROMPT_MSG=
STAT_STR=60
STAT_INT=40
STAT_DEX=70
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=800.0,250.0,10.0

[SKILL 28]
DEFNAME=Skill_Snooping
KEY=Snooping
TITLE=Pickpocket
PROMPT_MSG=
DELAY=2.0
STAT_STR=30
STAT_INT=50
STAT_DEX=60
BONUS_STR=0
BONUS_DEX=100
BONUS_INT=0
SKILL_STAT=75
ADV_RATE=400.0,50.0,2.5

On=@Fail
	src.sysmessage You fail to peek into the container.

[SKILL 29]
DEFNAME=Skill_Musicianship
KEY=Musicianship
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=50
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
SKILL_STAT=90
ADV_RATE=400.0,100.0,2.5

On=@Fail
	src.sysmessage You play poorly, and there is no effect.
	return 1

[SKILL 30]
DEFNAME=SKILL_POISONING
KEY=Poisoning
TITLE=Assassin
PROMPT_MSG=To what do you wish to apply the poison?
DELAY=3.0
STAT_STR=15
STAT_INT=40
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
SKILL_STAT=80
ADV_RATE=100.0,25.0,2.5
VALUES=200,30,1

On=@Fail
	src.sysmessage You fail to apply a sufficient dose of poison to it.
	if (<src.targ.type>!=t_weapon_sword) && (<src.targ.type>!=t_weapon_fence) && (<src.targ.type>!=t_food)
		src.sysmessage Incorrect using of skill! First target must be weapon, next target - some kind of poison.
		return 1
	endif
	if (<src.act.baseid>!=i_potion_poisondeadly) && (<src.act.baseid>!=i_potion_poisongreat) && (<src.act.baseid>!=i_potion_poison) && (<src.act.baseid>!=i_potion_poisonless) && (<src.act.baseid>!=i_bottle_green) 
		src.sysmessage Incorrect using of skill! First target must be weapon, next target - some kind of poison.
		return 1
	endif
	src.spelleffect s_poison <src.act.more2>
	src.act.remove
	return 1

[SKILL 31]
DEFNAME=Skill_Archery
KEY=Archery
TITLE=Archer
PROMPT_MSG=
STAT_STR=40
STAT_INT=30
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=95
BONUS_INT=5
SKILL_STAT=90
ADV_RATE=400.0,100.0,5.0

[SKILL 32]
DEFNAME=SKILL_SPIRITSPEAK
KEY=SpiritSpeak
TITLE=Medium
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=70
STAT_DEX=30
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You fail your attempt at contacting the netherworld.
	return 1

[SKILL 33]
DEFNAME=Skill_Stealing
KEY=Stealing
TITLE=Thief
PROMPT_MSG=Which item will you attempt to steal?
DELAY=2.5
STAT_STR=40
STAT_INT=50
STAT_DEX=100
BONUS_STR=0
BONUS_DEX=100
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=200.0,50.0,2.5

//
//
// on=@SkillStart 
//	if (<src.ACTION>==Skill_Stealing) 
//		if <src.targ.cont.type>==t_eq_trade_window 
//			src.emote *Bug user*
//			src.title Stealing bug
//			src.action=+-1
//			return 1 
//		endif 
//	endif
//
//

On=@Fail
//	src.sysmessage You fail to steal the item.
//	return 1

//if <src.restest 1 i_test>
//src.sysmessage Testing stealing...
if (<src.stealing> < 100.0)&&(30.0 <= <src.stealing>)&&(!<src.timer>)&&(!<src.targ.ischar>)&&(<src.targ.topobj.ischar>)&&(!(<src.targ.attr> & 08014))&&(<src.targ.weight> < <eval((<src.weightmax>-<src.weight>)/10)>)
	if <src.stealing> < 65.0
		if rand(<eval(<src.stealing> / 7)>)==0
			src.stealing=<src.stealing>+0.1
			if <src.findlayer(21)>
				act.cont=<src.findlayer(21).serial>
				act.update
			else
				act.bounce
			endif
			return 1
		endif
	else
		if rand(<eval(<src.stealing> / 15)>)==0
			src.stealing=<src.stealing>+0.1
			if <src.findlayer(21)>
				act.cont=<src.findlayer(21).serial>
				act.update
			else
				act.bounce
			endif
			return 1
		endif
	endif	
endif
//endif
src.sysmessage You fail to steal the item.
if rand(5)==0
	src.criminal // :))))
	act.topobj.sysmessage You notice <src.name> failed to steal your <act.name>!
endif


[SKILL 34]
DEFNAME=Skill_Tailoring
KEY=Tailoring
TITLE=Tailor
PROMPT_MSG=
DELAY=3.0
STAT_STR=30
STAT_INT=30
STAT_DEX=60
BONUS_STR=5
BONUS_DEX=75
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=800.0,200.0,10.0
VALUES=80,20,1

On=@Fail
	src.sysmessage Tailoring failed. Some of the cloth is ruined.

[SKILL 35]
DEFNAME=Skill_Taming
KEY=Taming
TITLE=Animal Tamer
PROMPT_MSG=Tame which animal?
DELAY=2.0
STAT_STR=30
STAT_INT=40
STAT_DEX=60
BONUS_STR=30
BONUS_DEX=10
BONUS_INT=60
SKILL_STAT=80
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You fail to tame the creature.

[SKILL 36]
DEFNAME=skill_tasteid
KEY=TasteID
TITLE=Food Taster
PROMPT_MSG=What would you like to taste?
DELAY=1.0
STAT_STR=25
STAT_INT=50
STAT_DEX=15
BONUS_STR=20
BONUS_DEX=0
BONUS_INT=80
SKILL_STAT=50
ADV_RATE=200.0,50.0,2.5

On=@Fail
	src.sysmessage You cannot discern anything about this substance.
	return 1

[SKILL 37]
DEFNAME=Skill_Tinkering
KEY=Tinkering
TITLE=Tinker
PROMPT_MSG=
DELAY=3.0
STAT_STR=30
STAT_INT=100
STAT_DEX=50
BONUS_STR=20
BONUS_DEX=20
BONUS_INT=60
SKILL_STAT=90
ADV_RATE=400.0,100.0,5.0
VALUES=80,20,1

On=@Fail
	src.sysmessage Tinkering failed.

[SKILL 38]
DEFNAME=Skill_Tracking
KEY=Tracking
TITLE=Ranger
PROMPT_MSG=
DELAY=4.0
STAT_STR=25
STAT_INT=50
STAT_DEX=50
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
SKILL_STAT=75
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage Tracking failed.
	return 1

[SKILL 39]
DEFNAME=Skill_Vet
KEY=Veterinary
TITLE=Veterinarian
PROMPT_MSG=What animal would you like to heal?
DELAY=20.0
STAT_STR=30
STAT_INT=50
STAT_DEX=40
BONUS_STR=20
BONUS_DEX=20
BONUS_INT=60
SKILL_STAT=80
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage You apply the bandages, but they barely help.

[SKILL 40]
DEFNAME=Skill_Swordsmanship
KEY=Swordsmanship
TITLE=Swords%s
PROMPT_MSG=
STAT_STR=75
STAT_INT=40
STAT_DEX=75
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=400.0,100.0,5.0

[SKILL 41]
DEFNAME=Skill_Macefighting
KEY=Macefighting
TITLE=Macefighter
PROMPT_MSG=
STAT_STR=100
STAT_INT=35
STAT_DEX=55
BONUS_STR=80
BONUS_DEX=20
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=400.0,100.0,5.0

[SKILL 42]
DEFNAME=Skill_Fencing
KEY=Fencing
TITLE=Fencer
PROMPT_MSG=
STAT_STR=55
STAT_INT=60
STAT_DEX=95
BONUS_STR=20
BONUS_DEX=80
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=400.0,100.0,5.0

[SKILL 43]
DEFNAME=Skill_Wrestling
KEY=Wrestling
TITLE=Wrestler
PROMPT_MSG=
STAT_STR=100
STAT_INT=30
STAT_DEX=75
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
SKILL_STAT=90
ADV_RATE=800.0,200.0,10.0

[SKILL 44]
DEFNAME=SKILL_LUMBERJACK
KEY=Lumberjacking
TITLE=Lumberjack
PROMPT_MSG=
DELAY=1.0
STAT_STR=85
STAT_INT=30
STAT_DEX=45
BONUS_STR=90
BONUS_DEX=10
BONUS_INT=0
SKILL_STAT=80
ADV_RATE=200.0,50.0,2.5
VALUES=50,10,1

On=@Fail
	src.sysmessage You hack at the tree for a while, but fail to produce any useable wood.

[SKILL 45]
DEFNAME=SKILL_MINING
KEY=Mining
TITLE=Miner
PROMPT_MSG=Where would you like to mine?
DELAY=1.0
STAT_STR=85
STAT_INT=30
STAT_DEX=45
BONUS_STR=70
BONUS_DEX=30
BONUS_INT=0
SKILL_STAT=80
ADV_RATE=200.0,50.0,2.5
VALUES=80,10,1

On=@Fail
	src.sysmessage You loosen some rocks but fail to find any useable ore.

[SKILL 46]
DEFNAME=SKILL_MEDITATION
KEY=Meditation
TITLE=Stoic
PROMPT_MSG=
DELAY=1.0
STAT_STR=10
STAT_INT=100
STAT_DEX=10
BONUS_STR=5
BONUS_DEX=90
BONUS_INT=5
SKILL_STAT=80
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage You lose your concentration

[SKILL 47]
DEFNAME=SKILL_STEALTH
KEY=Stealth
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=800.0,200.0,10.0

On=@Fail
	src.sysmessage You can't seem to hide here.

[SKILL 48]
DEFNAME=SKILL_REMOVE_TRAP
KEY=RemoveTrap
TITLE=Jack
PROMPT_MSG=Select the trap to disarm
DELAY=3.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
SKILL_STAT=75
ADV_RATE=200.0,50.0,2.5

[SKILL 49]
DEFNAME=SKILL_Necromancy
KEY=Necromancy
TITLE=Necromancer
PROMPT_MSG=
STAT_STR=20
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
SKILL_STAT=85
ADV_RATE=800.0,200.0,10.0
VALUES=80,10,1

On=@Fail
	src.sysmessage The spell fizzles.

[SKILLCLASS 0]
// undeclared class.
// max skills for players of this skill class. 
// might want this to be all 50.0 to make people declare a class?
DEFNAME=Class_undeclared
NAME=undeclared
//EVENTS=e_ClassUndeclared
STATSUM=350
SKILLSUM=5100.0
STR=100
INT=100
DEX=100
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0

On=@Death
	findlayer(21).removefromview

On=@itemTIMER_UNUSED //@itemTargon_item
	if <act.type>==t_key
		if (<targ.type>==t_door) || (<targ.type>==t_door_locked) || (<targ.type>==t_ship_side) || (<targ.type>==t_ship_side_locked)
			if <targ.more> != <act.more>
				Src.sysmessage The key does not match the lock.
				return 1
			endif
		elseif (<targ.type>==t_container) || (<targ.type>==t_container_locked)
			if (<targ.more> != <act.more>) && (((<targ.link.type>==t_multi) || (<targ.link.type>==t_ship)) && (<act.more> != <targ.link>))
				Src.sysmessage The key does not match the lock.
				return 1
			else
				return 0
			endif
		elseif ((<targ.link.type>==t_multi) || (<targ.link.type>==t_ship)) && (<act.more> != <targ.link>) && (<targ.type>!=t_container) && (<targ.type>!=t_container_locked) && (<targ.type>!=t_key) && (<targ.type>==t_house_brass_sign) && (<targ.type>==t_ship_tiller)
			Src.sysmessage The key does not match the lock.
			return 1
		endif
	elseif <act.type>==t_keyring
		if (<targ.type>==t_door) || (<targ.type>==t_door_locked) || (<targ.type>==t_ship_side) || (<targ.type>==t_ship_side_locked)
			f_keyffffffff_fix <targ.more>
		elseif (<targ.type>==t_container) || (<targ.type>==t_container_locked)
			f_keyffffffff_fix <targ.more>
			if (<targ.link.type>==t_multi) || (<targ.link.type>==t_ship)
				f_keyffffffff_fix <targ.link>
			endif
		elseif (<targ.link.type>==t_multi) || (<targ.link.type>==t_ship)
			f_keyffffffff_fix <targ.link>
		else
			src.f_match_key
			return 0
		endif
		if (!<src.restest 1 t_key_match>)			
			src.sysmessage You don't have a key for this.
			return 1
		endif
		src.f_match_key

	endif

On=@itemPickup_Pack	// @itemPickup_Ground
	if (<act.link.type> == t_multi) && (!(<isgm>))
		return 1
	endif

On=@EnvironChange
	
	if (<src.flags> & statf_polymorph) || (<src.findlayer(layer_spell_stats)>) || <isgm> || <src.brain>
		return 0
	endif
	if <src.str> > 170
		src.str = (<src.str> - 1)
	endif
	if <src.dex> > 170
		src.dex = (<src.dex> - 1)
	endif
	if <src.int> > 170
		src.int = (<src.int> - 1)
	endif

[EOF]