# File: object.txt
#
# This file is used to initialize the "object kind" information for Angband.
# Modifying this file when you don't know what you're doing may be harmful 
# to you or your character's health.  It could possibly be considered cheating 
# under some circumstances, too. :)

# === Understanding object.txt ===

# name: & object name~
# graphics: symbol : color
# type: tval 
# properties: depth : weight : cost
# combat: base armor class : base damage : plus to-hit : plus to-dam :
# plus to-armor class
# alloc: commonness : min " to " max
# charges: charges
# pile: chance of being generated in a pile : dice for number of items
# power: power of the effect for object power eveluations
# msg: message on using the object
# effect: effect when used : parameter (maybe) : paramater (maybe)
# param:parameter:parameter (if needed)
# dice:dice string
# expr:dice expression
# flags: flag | flag | etc.
# values: label[value] | label[value] | etc.
# pval: pval
# desc: description

# Some fields accept randomized numbers of the form "10+2d3M4" where
# 10 is the non-variable base, 2d3 is a standard die roll, and
# M4 uses the m_bonus function to generate a number between 0 and
# 4 according to a normal distribution.  All three components are
# optional, and the number of dice is optional and assumed to be 1
# when not specified.  10+2d3M4 has the range 12-20.  10+M4 has the
# range 10-14.  10+2d3 has the range 12-16.  10+d3 has the range 11-13.
# 2d3, d3, M4, 2d3M4, and d3M4 are all acceptable as well.

# 'name' indicates the beginning of an entry. The '&' and '~' symbols are use to
# include articles and pluralization as necessary to ensure
# grammatical correctness in object descriptions.
#
# For non-English and irregular plurals, the '|' symbol may be used
# instead, as in "|singular|plural|". The part between the first and
# second | symbol is used for singular, and the part between the second
# and third | for plural.  The number of | symbols in the name must
# always be a multiple of 3.

# 'graphics' is for symbol and color. There are 27 colors, as
# follows:

# D - Dark Gray    w - White          s - Gray          o - Orange
# r - Red          g - Green          b - Blue          u - Umber
# W - Light Gray   P - Light Purple   y - Yellow        R - Light Red
# G - Light Green  B - Light Blue     U - Light Umber   p - Purple
# v - Violet       t - Teal           m - Mud           Y - Light Yellow
# i - Magenta-Pink T - Light Teal     V - Light Violet  I - Light Pink
# M - Mustard      z - Blue Slate     Z - Deep Light Blue

# Another color, "d", is used for "flavoured" items.

# 'type' is for the base type of item, from object_base.txt.

# 'properties' is for level, weight and cost. Level defines how "advanced"
# the object is, when determining how easy it is to use a wand, staff or rod;
# weight is in tenth-pounds; cost is the item's base value.

# 'combat' is for combat information. The items base armor class, its base
# damage and pluses to-hit, to-dam and to-ac.  The latter three numbers
# accept randomized values.

# 'alloc' is for allocation - depth and rarity, in pairs. It is used to
# ensure that certain vital items such as food and recall scrolls
# are found throughout the dungeon. The "allocation" depth need not
# match the depth as specified in the "properties:" line.

# 'charges' is for charges (wands and staves only).  This field accepts
# randomized values.

# 'pile' is for piling behaviour - how likely the item is to be found in a
# pile, and how many (random value) objects in such a pile.  Objects
# without a pile line appear singly.

# 'flags' is for flags, which can be either object flags (as found in
# src/list-object-flags.h) or kind flags (src/list-kind-flags.h).  As many
# flags: lines may be used as are needed to specify all the flags, and
# flags are separated by the '|' symbol.

# 'values' is for object modifiers which take a value - stats, slays, brands,
# resistances and so on.  An example is SLAY_UNDEAD[3], which denotes that
# the weapon concerned has a basic 3x slay against undead creatures.  Like
# flags, values are separated by '|' and as many values: lines as needed
# can be used.

# 'power' is used in calculating the power of the object for pricing and 
# generating random artifacts.  It reflects the power of the effect of the
# object; other properties are taken into account separately in power
# calculation.

# 'msg' is any message printed on using the object.

# 'effect' is for the effect when an object is eaten, activated or whatever.
# Fields are the name of the effect (as found in src/list-effects.h) and
# possibly one or two parameters to the effect.

# 'param' is for an extra to an effect if necessary

# 'dice' provides a random value to be used by an effect (for damage,
# healing, etc).  As well as the normal random value fields described above,
# it can contain expressions like $B, which refer forward to an 'expr' line.

# 'expr' provides an expression for use in effect dice.  It consists of a
# code letter (eg B) for the expression, a base function to use (for example
# PLAYER_LEVEL), and a sequence of operations to perform on that base.

# 'msg' provides a message to give when the object is used.

# 'time' gives a random value to be used as the time to recharge for a rod or
# activatable item.

# 'pval' is for pval - an auxiliary value that can mean food value, launcher
# multiplier or turns of light. A pval can take a random value.

# 'desc' is for description. As many desc: lines may be used as are needed
# to describe the object. Note that lines will need spaces at their
# ends or the beginning of the next line to prevent words from running
# together.





##### Non-kind (things treated like objects) #####

name:<pile>
type:none
graphics:&:w

name:<unknown item>
type:none
graphics:*:r

name:<unknown treasure>
type:none
graphics:*:o

name:<curse object>
type:none
graphics:*:v

##### Lights #####

name:& Wooden Torch~
type:light
graphics:~:u
properties:1:22:2
alloc:70:1 to 40
combat:0:1d1:0:0:0
flags:BURNS_OUT | LIGHT_1 | EASY_KNOW

name:& Lantern~
type:light
graphics:~:U
properties:3:50:35
alloc:70:5 to 100
combat:0:1d1:0:0:0
flags:TAKES_FUEL | EASY_KNOW | LIGHT_2 | IGNORE_FIRE

name:& Flask~ of oil
type:flask
graphics:!:y
properties:1:20:3
alloc:50:1 to 100
combat:0:1d4:0:0:0
pval:7500
flags:EXPLODE
desc:It can be used to fuel a lantern with 7500 turns of light, up to
desc: a maximum of 15000 turns of light.
desc:  When thrown, it is considered lit, so it does more than nominal
desc: damage (which occurs even against creatures resistant to fire).

##### Food #####

### Normal Food ###

name:& Ration~ of Food
type:food
graphics:,:U
properties:0:8:3
alloc:40:0 to 50
pile:100:1d5
power:0
msg:That tastes good.
effect:NOURISH
dice:6000
desc:This nutritious but fairly bland food is familiar to anyone contemplating
desc: long journeys.

name:& Slime Mold~
type:food
graphics:,:g
properties:1:2:2
alloc:40:5 to 60
pile:100:2d3
power:0
msg:That tastes good.
effect:NOURISH
dice:2500
desc:A strange fungal growth, prone to moving if not observed.  Not very tasty
desc: but quite filling.

name:& Piece~ of Elvish Waybread
type:food
graphics:,:B
properties:5:3:10
alloc:40:30 to 100
pile:10:1d3
power:4
msg:That tastes good.
effect:NOURISH
dice:7500
effect:CURE:POISONED
effect:HEAL_HP
dice:20
desc:Food of the elves is always good; their waybread is no exception.  These
desc: thin cakes are wrapped in leaves and keep their tastiness for months.

name:& Hard Biscuit~
type:food
graphics:,:U
properties:0:2:1
power:0
effect:NOURISH
dice:500
effect:CRUNCH
desc:A filling if tooth-breaking biscuit made mostly of rye.

name:& Flask~ of Whisky
type:food
graphics:,:y
properties:0:5:1
power:0
msg:That tastes great!
effect:NOURISH
dice:250
effect:TIMED_INC:CONFUSED
dice:-1+1d5
desc:It raises your spirits.

name:& Pint~ of Fine Wine
type:food
graphics:,:r
properties:0:10:2
power:0
msg:That tastes great!  A fine vintage.
effect:NOURISH
dice:250
effect:TIMED_INC:BOLD
dice:79+1d41
desc:A fine way to wash down some otherwise unappetising rations.

### The shrooms, an interesting collection ###

name:Second Sight
type:mushroom
graphics:,:d
properties:0:1:200
alloc:10:5 to 100
pile:70:1d4
power:10
effect:CURE:BLIND
effect:TIMED_INC:TELEPATHY
dice:50+7d7
effect:NOURISH
dice:500

name:Fast Recovery
type:mushroom
graphics:,:d
properties:0:1:200
alloc:10:5 to 40
pile:70:1d4
power:7
effect:HEAL_HP
dice:30
effect:CURE:STUN
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:BLIND
effect:NOURISH
dice:500

name:Vigor
type:mushroom
graphics:,:d
properties:0:1:200
alloc:25:20 to 100
pile:13:1d3
power:15
effect:RESTORE_STAT:STR
param:1
effect:RESTORE_STAT:INT
param:1
effect:RESTORE_STAT:WIS
param:1
effect:RESTORE_STAT:DEX
param:1
effect:RESTORE_STAT:CON
param:1
effect:NOURISH
dice:500

name:Clear Mind
type:mushroom
graphics:,:d
properties:0:1:200
alloc:10:5 to 40
pile:70:1d4
power:8
effect:RESTORE_MANA
dice:20
effect:CURE:CONFUSED
effect:CURE:AFRAID
effect:CURE:IMAGE
effect:TIMED_INC:OPP_CONF
dice:50+7d7
effect:NOURISH
dice:500

name:Emergency
type:mushroom
graphics:,:d
properties:0:1:60
alloc:10:5 to 100
pile:70:1d4
power:7
effect:TIMED_INC:IMAGE
dice:25+5d5
effect:TIMED_INC:OPP_FIRE
dice:25+5d5
effect:TIMED_INC:OPP_COLD
dice:25+5d5
effect:HEAL_HP
dice:200
effect:NOURISH
dice:500

name:Terror
type:mushroom
graphics:,:d
properties:0:1:60
alloc:10:5 to 40
pile:70:1d4
power:5
effect:TIMED_SET:TERROR
dice:25+5d5
effect:NOURISH
dice:500
desc:It allows you to run for your life.

name:Stoneskin
type:mushroom
graphics:,:d
properties:0:1:60
alloc:10:10 to 40
pile:70:1d4
power:5
effect:TIMED_SET:STONESKIN
dice:50+7d7
effect:NOURISH
dice:500
desc:Its poison turns your skin to stone, albeit briefly.

name:Turbulence
type:mushroom
graphics:,:d
properties:0:1:60
#alloc:10:5 to 100
pile:70:1d4
#E:SHROOM_TURB
pval:500

name:Debility
type:mushroom
graphics:,:d
properties:0:1:20
alloc:10:10 to 40
pile:70:1d4
power:5
effect:RESTORE_MANA
effect:NOURISH
dice:500
effect:RANDOM
dice:2
effect:DRAIN_STAT:STR
effect:DRAIN_STAT:CON

name:Sprinting
type:mushroom
graphics:,:d
properties:0:1:100
alloc:1:15 to 100
pile:70:1d4
power:5
effect:TIMED_INC:SPRINT
dice:100
effect:NOURISH
dice:500
desc:It hastes you for a while, but then makes you slower for a while afterward.

name:Purging
type:mushroom
graphics:,:d
properties:0:1:60
alloc:1:15 to 100
pile:70:1d4
power:5
effect:SET_NOURISH
dice:$B
expr:B:FOOD_FAINT:- 1
effect:RESTORE_STAT:STR
effect:RESTORE_STAT:CON
effect:CURE:POISONED
desc:It makes you very hungry but otherwise healthy.


##### Weapons #####

### Swords ###

name:& Dagger~
type:sword
graphics:|:W
properties:0:12:30
alloc:20:0 to 100
combat:0:1d4:0:0:0
desc:A short two-edged blade perfect for thrusting.

name:& Main Gauche~
type:sword
graphics:|:W
properties:3:30:45
alloc:20:3 to 100
combat:0:1d5:0:0:0

name:& Rapier~
type:sword
graphics:|:W
properties:5:40:70
alloc:20:5 to 100
combat:0:1d6:0:0:0

name:& Short Sword~
type:sword
graphics:|:W
properties:5:80:90
alloc:20:5 to 100
combat:0:1d7:0:0:0

name:& Cutlass~
type:sword
graphics:|:W
properties:5:110:120
alloc:20:5 to 100
combat:0:1d8:0:0:0
desc:A thicker and slightly longer dagger, the cutlass is a slashing sword.  It
desc: possesses a slight curve and only one side is sharp.

name:& Tulwar~
type:sword
graphics:|:W
properties:5:100:170
alloc:20:5 to 100
combat:0:2d4:0:0:0
desc:A wider-bladed cousin of the shamshir, with less of a curve.

name:& Scimitar~
type:sword
graphics:|:W
properties:10:150:300
alloc:20:10 to 100
combat:0:4d2:0:0:0
desc:A long sabre with an extreme curve to the blade.

name:& Long Sword~
type:sword
graphics:|:W
properties:10:130:300
alloc:20:10 to 100
combat:0:2d5:0:0:0

name:& Broad Sword~
type:sword
graphics:|:W
properties:10:150:300
alloc:20:10 to 100
combat:0:2d5:0:0:0

name:& Bastard Sword~
type:sword
graphics:|:W
properties:15:140:400
alloc:20:15 to 100
combat:0:3d4:0:0:0

name:& Katana~
type:sword
graphics:|:W
properties:20:120:600
alloc:20:20 to 100
combat:0:3d5:0:0:0

name:& Zweihander~
type:sword
graphics:|:W
properties:30:200:700
alloc:20:30 to 100
combat:0:3d6:0:0:0
desc:A sword designed for two hands.

name:& Executioner's Sword~
type:sword
graphics:|:r
properties:40:260:850
alloc:20:40 to 100
combat:0:4d5:0:0:0

name:& Blade~ of Chaos
type:sword
graphics:|:v
properties:70:180:4000
alloc:10:70 to 100
combat:0:6d5:0:0:0
values:RES_CHAOS[1]



### Whips ###

name:& Whip~
type:hafted
graphics:\:D
properties:3:30:30
alloc:20:3 to 100
combat:0:1d3:0:0:0

name:& Ball-and-Chain~
type:hafted
graphics:\:D
properties:20:150:200
alloc:20:20 to 100
combat:0:2d4:0:0:0

name:& Morning Star~
type:hafted
graphics:\:D
properties:10:150:396
alloc:20:10 to 100
combat:0:2d6:0:0:0

name:& Flail~
type:hafted
graphics:\:D
properties:10:150:353
alloc:20:10 to 100
combat:0:2d6:0:0:0

name:& Two-Handed Great Flail~
type:hafted
graphics:\:y
properties:45:280:590
alloc:20:45 to 100
combat:0:3d6:0:0:0


### Clubs ###

name:& Mace~
type:hafted
graphics:\:D
properties:5:120:130
alloc:20:5 to 100
combat:0:2d4:0:0:0

name:& Lead-Filled Mace~
type:hafted
graphics:\:D
properties:15:180:502
alloc:20:15 to 100
combat:0:4d3:0:0:0

name:& Quarterstaff~
type:hafted
graphics:\:U
properties:10:150:200
alloc:20:10 to 100
combat:0:1d9:0:0:0

name:& War Hammer~
type:hafted
graphics:\:D
properties:5:120:225
alloc:20:5 to 100
combat:0:3d3:0:0:0

name:& Maul~
type:hafted
graphics:\:D
properties:5:200:130
alloc:20:5 to 100
combat:0:4d4:0:0:0

name:& Great Hammer~
type:hafted
graphics:\:D
properties:5:180:500
alloc:20:20 to 100
combat:0:8d1:0:0:0

name:& Mace~ of Disruption
type:hafted
graphics:\:v
properties:80:400:4300
alloc:10:80 to 100
combat:0:5d8:0:0:0
slay:UNDEAD_3



### Spears ###

name:& Spear~
type:polearm
graphics:/:s
properties:5:50:36
alloc:20:5 to 100
combat:0:1d6:0:0:0

name:& Awl-Pike~
type:polearm
graphics:/:s
properties:10:160:340
alloc:20:10 to 100
combat:0:1d8:0:0:0

name:& Trident~
type:polearm
graphics:/:y
properties:5:70:120
alloc:20:5 to 100
combat:0:1d10:0:0:0

name:& Halberd~
type:polearm
graphics:/:s
properties:25:190:430
alloc:20:25 to 100
combat:0:3d5:0:0:0

name:& Pike~
type:polearm
graphics:/:s
properties:15:160:358
alloc:20:15 to 100
combat:0:2d5:0:0:0


### Axes ###

name:& Beaked Axe~
type:polearm
graphics:/:s
properties:15:180:408
alloc:20:15 to 100
combat:0:2d6:0:0:0

name:& Broad Axe~
type:polearm
graphics:/:s
properties:15:160:304
alloc:20:15 to 100
combat:0:2d6:0:0:0

name:& Battle Axe~
type:polearm
graphics:/:s
properties:15:170:334
alloc:20:15 to 100
combat:0:2d8:0:0:0

name:& Lochaber Axe~
type:polearm
graphics:/:D
properties:45:250:750
alloc:20:45 to 100
combat:0:3d8:0:0:0

name:& Great Axe~
type:polearm
graphics:/:s
properties:40:230:500
alloc:20:40 to 100
combat:0:4d4:0:0:0


### Other misc polearms ###

name:& Scythe~
type:polearm
graphics:/:s
properties:45:250:800
alloc:20:45 to 100
combat:0:5d3:0:0:0

name:& Glaive~
type:polearm
graphics:/:s
properties:20:190:363
alloc:20:20 to 100
combat:0:2d6:0:0:0

name:& Lance~
type:polearm
graphics:/:s
properties:10:300:230
alloc:20:10 to 100
combat:0:2d8:0:0:0

name:& Scythe~ of Slicing
type:polearm
graphics:/:r
properties:60:250:3500
alloc:10:60 to 100
combat:0:8d4:0:0:0

name:& Lucerne Hammer~
type:polearm
graphics:/:B
properties:10:120:376
alloc:20:10 to 100
combat:0:2d5:0:0:0



##### Bows, Crossbows, Slings #####

name:& Sling~
type:bow
graphics:}:u
properties:1:5:5
alloc:20:1 to 100
flags:SHOOTS_SHOTS
pval:2

name:& Short Bow~
type:bow
graphics:}:U
properties:3:30:50
alloc:20:3 to 100
flags:SHOOTS_ARROWS
pval:2

name:& Long Bow~
type:bow
graphics:}:U
properties:10:40:120
alloc:20:10 to 100
flags:SHOOTS_ARROWS
pval:3

name:& Light Crossbow~
type:bow
graphics:}:s
properties:15:110:140
alloc:20:15 to 100
flags:SHOOTS_BOLTS
pval:3

name:& Heavy Crossbow~
type:bow
graphics:}:s
properties:30:200:300
alloc:20:30 to 100
flags:SHOOTS_BOLTS
pval:4


##### Missiles #####

name:& Arrow~
type:arrow
graphics:{:U
properties:3:2:1
pile:100:7d7
alloc:30:3 to 100
combat:0:1d4:0:0:0
desc:It can be shot with a bow.

name:& Seeker Arrow~
type:arrow
graphics:{:G
properties:55:2:20
alloc:25:55 to 100
pile:100:7d7
combat:0:4d4:0:0:0
desc:It can be shot with a bow.

name:& Mithril Arrow~
type:arrow
graphics:{:B
properties:55:2:25
pile:100:7d7
alloc:20:50 to 100
combat:0:3d4:0:0:0
flags:IGNORE_ACID | IGNORE_FIRE
desc:It can be shot with a bow.


name:& Bolt~
type:bolt
graphics:{:s
properties:3:3:2
pile:100:5d7
alloc:30:3 to 100
combat:0:1d5:0:0:0
desc:It can be shot with a crossbow.

name:& Seeker Bolt~
type:bolt
graphics:{:g
properties:65:3:25
pile:100:5d7
alloc:25:65 to 100
combat:0:4d5:0:0:0
desc:It can be shot with a crossbow.

name:& Mithril Bolt~
type:bolt
graphics:{:B
properties:50:2:30
pile:100:5d7
alloc:20:60 to 100
combat:0:3d5:0:0:0
flags:IGNORE_ACID
desc:It can be shot with a crossbow.


name:& Rounded Pebble~
type:shot
graphics:{:s
properties:0:4:1
pile:100:5d7
alloc:30:0 to 100
combat:0:1d2:0:0:0
desc:It can be shot with a sling.

name:& Iron Shot~
type:shot
graphics:{:s
properties:3:5:2
pile:100:5d7
alloc:25:3 to 100
combat:0:1d4:0:0:0
desc:It can be shot with a sling.

name:& Mithril Shot~
type:shot
graphics:{:B
properties:40:4:20
pile:100:5d7
alloc:20:40 to 100
combat:0:2d4:5:5:0
flags:IGNORE_ACID
desc:It can be shot with a sling.


##### Digging Tools #####

name:& Shovel~
type:digger
graphics:\:s
properties:1:60:10
alloc:20:5 to 100
combat:0:1d2:0:0:0
flags:DIG_1

name:& Pick~
type:digger
graphics:\:g
properties:30:180:300
alloc:20:30 to 100
combat:0:1d3:0:0:0
flags:DIG_2

name:& Mattock~
type:digger
graphics:\:D
properties:50:250:700
alloc:20:50 to 100
combat:0:1d8:0:0:0
flags:DIG_3


##### Armor #####

##### Boots #####

name:& Pair~ of Leather Sandals
type:boots
graphics:]:U
properties:0:15:4
alloc:20:1 to 100
combat:1:1d1:0:0:0
desc:A set of open-topped footgear with soft calfskin lacings and a sturdy 
desc:cured leather base.

name:& Pair~ of Leather Boots
type:boots
graphics:]:U
properties:3:20:7
alloc:20:3 to 100
combat:2:1d1:0:0:0

name:& Pair~ of Iron Shod Boots
type:boots
graphics:]:U
properties:5:35:12
alloc:20:5 to 100
combat:4:1d1:0:0:0
flags:IGNORE_FIRE

name:& Pair~ of Steel Shod Boots
type:boots
graphics:]:s
properties:20:60:50
alloc:20:20 to 100
combat:7:1d1:0:0:0
flags:IGNORE_FIRE

name:& Pair~ of Mithril Shod Boots
type:boots
graphics:]:B
properties:60:40:500
alloc:20:60 to 100
combat:8:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_FIRE

name:& Pair~ of Ethereal Slippers
type:boots
graphics:]:U
properties:0:0:4
alloc:10:30 to 100
combat:0:0d0:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD 



### Headgear ###

name:& Hard Leather Cap~
type:helm
graphics:]:u
properties:3:20:12
alloc:20:3 to 100
combat:2:0d0:0:0:0

name:& Metal Cap~
type:helm
graphics:]:s
properties:10:25:30
alloc:20:10 to 100
combat:3:1d1:0:0:0

name:& Iron Helm~
type:helm
graphics:]:s
properties:20:50:75
alloc:20:20 to 100
combat:7:1d3:0:0:0

name:& Steel Helm~
type:helm
graphics:]:W
properties:40:60:200
alloc:20:40 to 100
combat:9:1d3:0:0:0

name:& Iron Crown~
type:crown
graphics:]:s
properties:45:20:500
alloc:20:45 to 100
combat:0:1d1:0:0:0

name:& Golden Crown~
type:crown
graphics:]:y
properties:45:30:1000
alloc:10:45 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID

name:& Jewel Encrusted Crown~
type:crown
graphics:]:v
properties:50:40:2000
alloc:10:50 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID


### Body armours ###

name:& Robe~
type:soft armor
graphics:(:b
properties:1:20:4
alloc:20:1 to 100
combat:2:0d0:0:0:0

name:Soft Leather Armour~
type:soft armor
graphics:(:U
properties:3:80:20
alloc:20:3 to 100
combat:8:0d0:0:0:0

name:Studded Leather Armour~
type:soft armor
graphics:(:U
properties:10:100:100
alloc:20:5 to 100
combat:12:1d1:-1:0:0

name:Hard Leather Armour~
type:soft armor
graphics:(:U
properties:5:120:150
alloc:20:10 to 100
combat:16:1d2:-1:0:0

name:Leather Scale Mail~
type:soft armor
graphics:(:U
properties:15:140:370
alloc:20:15 to 100
combat:20:1d1:-1:0:0

name:Metal Scale Mail~
type:hard armor
graphics:[:s
properties:25:250:550
alloc:20:25 to 100
combat:38:1d4:-2:0:0

name:Chain Mail~
type:hard armor
graphics:[:s
properties:25:220:750
alloc:20:20 to 100
combat:32:1d4:-2:0:0

name:Augmented Chain Mail~
type:hard armor
graphics:[:s
properties:30:270:900
alloc:20:35 to 100
combat:42:1d4:-2:0:0

name:Bar Chain Mail~
type:hard armor
graphics:[:s
properties:35:280:950
alloc:20:40 to 100
combat:45:1d4:-2:0:0

name:Metal Brigandine Armour~
type:hard armor
graphics:[:s
properties:35:290:1100
alloc:20:45 to 100
combat:48:1d4:-3:0:0

name:Partial Plate Armour~
type:hard armor
graphics:[:W
properties:45:260:1200
alloc:20:30 to 100
combat:40:1d6:-3:0:0

name:Metal Lamellar Armour~
type:hard armor
graphics:[:W
properties:45:340:1250
alloc:20:50 to 100
combat:58:1d6:-3:0:0

name:Full Plate Armour~
type:hard armor
graphics:[:W
properties:45:360:1350
alloc:15:55 to 100
combat:62:2d4:-3:0:0

name:Ribbed Plate Armour~
type:hard armor
graphics:[:W
properties:50:380:1500
alloc:15:60 to 100
combat:66:2d4:-3:0:0

name:Mithril Chain Mail~
type:hard armor
graphics:[:B
properties:55:150:7000
alloc:10:55 to 100
combat:28:1d4:-1:0:0
flags:IGNORE_ACID

name:Mithril Plate Mail~
type:hard armor
graphics:[:B
properties:60:300:15000
alloc:10:65 to 100
combat:60:2d4:-3:0:0
flags:IGNORE_ACID

name:Adamantite Plate Mail~
type:hard armor
graphics:[:G
properties:75:420:20000
alloc:10:75 to 100
combat:80:2d4:-4:0:0
flags:IGNORE_ACID

### Cloaks ###

name:& Cloak~
type:cloak
graphics:(:g
properties:1:10:3
alloc:20:1 to 100
combat:1:0d0:0:0:0
desc:A traveller's sturdy outer garment.

name:& Fur Cloak~
type:cloak
graphics:(:o
properties:1:25:600
alloc:20:20 to 100
combat:3:0d0:0:0:0
desc:A heavy cloak made from fur and lined with leather; a luxury.

name:& Elven Cloak~
type:cloak
graphics:(:D
properties:60:5:2000
alloc:8:40 to 100
combat:6:0d0:0:0:0
values:STEALTH[1] | SPEED[1]
desc:A mantle made of curious silken material by the Galadrim that wondrously 
desc:takes on the hues and shapes of its surroundings.

name:& Ethereal Cloak~
type:cloak
graphics:(:W
properties:50:0:4500
alloc:10:70 to 100
combat:0:0d0:0:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD 
desc:This unearthly, completely transparent body mantle folds and drapes in 
desc:iridescent patterns around you.  It weighs absolutely nothing.


### Gloves ###

name:& Set~ of Leather Gloves
type:gloves
graphics:]:U
properties:0:10:5
alloc:20:1 to 100
combat:1:0d0:0:0:0

name:& Set~ of Gauntlets
type:gloves
graphics:]:s
properties:0:25:45
alloc:20:10 to 100
combat:3:1d1:0:0:0

name:& Set~ of Mithril Gauntlets
type:gloves
graphics:]:B
properties:0:25:700
alloc:20:40 to 100
combat:6:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_FIRE

name:& Set~ of Caestus
type:gloves
graphics:]:U
properties:0:40:100
alloc:10:20 to 100
combat:5:1d1:0:3:0
desc:An ancient battle glove designed for hand-to-hand fighting.  Its layered
desc: leather thongs are enhanced for combat by bloody-looking spikes.

name:& Set~ of Alchemist's Gloves
type:gloves
graphics:]:R
properties:0:5:500
alloc:10:50 to 100
combat:0:1d1:0:0:2
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
flags:SPELLS_OK
desc:Highly protective gloves designed for an alchemist's elemental magics.

#N:179:& Set~ of Mining Gloves
#G:]:U
#I:gloves
#W:0:0:5:500 
#A:10:50 to 100
#P:0:1d1:0:0:2
#V:TUNNEL[1d3]


### Shields ###

#N:180:& Buckler~
#G:):U
#I:shield
#W:3:0:20:30
#A:100:3 to 100
#P:1:1d1:0:0:0
#D:A small round shield designed to be useful in deflecting enemy swords.

name:& Wicker Shield~
type:shield
graphics:):U
properties:1:30:20
alloc:20:1 to 100
combat:2:1d1:0:0:0
desc:A light circular frame of wood surrounding fine-grained wickerwork.

name:& Small Metal Shield~
type:shield
graphics:):s
properties:10:60:80
alloc:20:15 to 100
combat:5:1d2:0:0:0

name:& Leather Shield~
type:shield
graphics:):U
properties:15:90:200
alloc:20:10 to 100
combat:8:1d3:0:0:0

name:& Large Metal Shield~
type:shield
graphics:):s
properties:30:120:500
alloc:20:30 to 100
combat:12:1d5:0:0:0

name:& Mithril Shield~
type:shield
graphics:):B
properties:70:100:10000
alloc:10:70 to 100
combat:16:1d4:0:0:10
flags:IGNORE_ACID




##### Rings #####

### Stat rings ###

name:Strength
type:ring
graphics:=:d
properties:30:2:500
alloc:50:30 to 100
flags:SUST_STR | 
values:STR[1+M5]

name:Intelligence
type:ring
graphics:=:d
properties:30:2:500
alloc:50:30 to 100
flags:SUST_INT | 
values:INT[1+M5]

name:Dexterity
type:ring
graphics:=:d
properties:30:2:500
alloc:50:30 to 100
flags:SUST_DEX | 
values:DEX[1+M5]

name:Constitution
type:ring
graphics:=:d
properties:30:2:500
alloc:50:30 to 100
flags:SUST_CON | 
values:CON[1+M5]

name:Speed
type:ring
graphics:=:d
properties:75:2:100000
alloc:40:75 to 100
flags:GOOD
values:SPEED[4+M6]

name:Searching
type:ring
graphics:=:d
properties:5:2:250
alloc:20:5 to 90
values:SEARCH[d4M2]

### Stat sustain rings ###

name:Bodykeeping
type:ring
graphics:=:d
properties:30:2:750
alloc:20:30 to 100
flags:SUST_STR | SUST_DEX | SUST_CON | EASY_KNOW

name:Soulkeeping
type:ring
graphics:=:d
properties:30:2:600
alloc:20:30 to 100
flags:SUST_STR | SUST_INT | SUST_WIS | EASY_KNOW


### Resistance rings ###

name:Resist Poison
type:ring
graphics:=:d
properties:40:2:16000
alloc:50:40 to 100
flags:EASY_KNOW
values:RES_POIS[1]

name:Resist Fire and Cold
type:ring
graphics:=:d
properties:10:2:250
alloc:50:10 to 50
flags:IGNORE_COLD | IGNORE_FIRE | EASY_KNOW
values:RES_FIRE[1] | RES_COLD[1]

### Elemental rings ###

name:Light
type:ring
graphics:=:d
properties:0:2:400
alloc:20:25 to 100
values:SEARCH[1+M5] | LIGHT[1] | RES_LIGHT[1]

name:Flames
type:ring
graphics:=:d
properties:50:2:500
alloc:20:20 to 100
combat:0:0d0:0:0:5+d5M10
flags:IGNORE_FIRE
values:RES_FIRE[1]
power:11
effect:BALL:FIRE:2
dice:80
effect:TIMED_INC:OPP_FIRE
dice:20+1d20
time:50+d50

name:Acid
type:ring
graphics:=:d
properties:50:2:500
alloc:20:20 to 100
combat:0:0d0:0:0:5+d5M10
flags:IGNORE_ACID
values:RES_ACID[1]
power:11
effect:BALL:ACID:2
dice:70
effect:TIMED_INC:OPP_ACID
dice:20+1d20
time:50+d50

name:Ice
type:ring
graphics:=:d
properties:50:2:500
alloc:20:20 to 100
combat:0:0d0:0:0:5+d5M10
flags:IGNORE_COLD
values:RES_COLD[1]
power:11
effect:BALL:COLD:2
dice:75
effect:TIMED_INC:OPP_COLD
dice:20+1d20
time:50+d50

name:Lightning
type:ring
graphics:=:d
properties:50:2:500
alloc:20:20 to 100
combat:0:0d0:0:0:5+d5M10
flags:IGNORE_ELEC
values:RES_ELEC[1]
power:11
effect:BALL:ELEC:2
dice:85
effect:TIMED_INC:OPP_ELEC
dice:20+1d20
time:50+d50

### Combat rings ###

name:Damage
type:ring
graphics:=:d
properties:20:2:500
alloc:30:20 to 100
combat:0:0d0:0:5+d3M7:0
desc:It boosts your to-dam value.

name:Accuracy
type:ring
graphics:=:d
properties:20:2:500
alloc:30:20 to 100
combat:0:0d0:10+d6M7:0:0
desc:It boosts your to-hit value.

name:Slaying
type:ring
graphics:=:d
properties:40:2:1000
alloc:20:40 to 100
combat:0:0d0:d10M10:d5M5:0
desc:It boosts your to-hit and to-dam values.

name:Protection
type:ring
graphics:=:d
properties:10:2:500
alloc:50:10 to 40
combat:0:0d0:0:0:5+d5M10
desc:It increases your armor class.


### Mixed blessings ###

name:Teleportation
type:ring
graphics:=:d
properties:5:2:1000
alloc:20:10 to 50
flags:EASY_KNOW
curse:teleportation:100
values:SPEED[2]

name:Reckless Attacks
type:ring
graphics:=:d
properties:0:2:200
alloc:30:10 to 50
combat:0:0d0:2+d3:2+d3:-8+4d3

name:Open Wounds
type:ring
graphics:=:d
properties:0:2:700
alloc:20:10 to 50
flags:IMPAIR_HP | EASY_KNOW
power:6
effect:HEAL_HP
dice:40
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:CONFUSED
time:10+5d8

name:Escaping
type:ring
graphics:=:d
properties:30:2:4000
alloc:50:15 to 80
flags:AFRAID | EASY_KNOW
values:SPEED[4]

name:the Mouse
type:ring
graphics:=:d
properties:30:2:100
alloc:50:10 to 50
combat:0:0d0:0:-3d5:0
values:DEX[d4] | STEALTH[d4]

name:the Dog
type:ring
graphics:=:d
properties:0:2:100
alloc:50:10 to 50
flags:PROT_FEAR | EASY_KNOW
values:STEALTH[-2]

### Misc rings ###

name:Slow Digestion
type:ring
graphics:=:d
properties:5:2:250
alloc:30:10 to 50
flags:SLOW_DIGEST | EASY_KNOW

name:Feather Falling
type:ring
graphics:=:d
properties:5:2:200
alloc:20:10 to 50
flags:FEATHER | EASY_KNOW

name:Free Action
type:ring
graphics:=:d
properties:20:2:1500
alloc:50:20 to 100
flags:FREE_ACT | EASY_KNOW

name:See Invisible
type:ring
graphics:=:d
properties:30:2:340
alloc:50:30 to 100
flags:SEE_INVIS | EASY_KNOW

name:Digging
type:ring
graphics:=:d
properties:0:2:800
alloc:20:10 to 50
values:TUNNEL[2+d3]
power:6
effect:LINE:KILL_WALL
dice:20+1d30
time:15+2d10



##### Amulets #####

### Stat boosts ###

name:Wisdom
type:amulet
graphics:":d
properties:30:3:500
alloc:50:20 to 90
flags:SUST_WIS | 
values:WIS[1+M5]

### Resistances ###

name:Resist Lightning
type:amulet
graphics:":d
properties:10:3:300
alloc:50:10 to 50
flags:IGNORE_ELEC | EASY_KNOW
values:RES_ELEC[1]

name:Resist Acid
type:amulet
graphics:":d
properties:10:3:300
alloc:50:10 to 50
flags:IGNORE_ACID | EASY_KNOW
values:RES_ACID[1]

name:Resistance
type:amulet
graphics:":d
properties:60:3:20000
alloc:10:60 to 100
flags:EASY_KNOW
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_FIRE[1] | RES_ACID[1] | RES_ELEC[1] | RES_COLD[1]

### JLE amulets ###

name:Sustenance
type:amulet
graphics:":d
properties:60:3:20000
alloc:10:60 to 100
flags:SUST_STR | SUST_INT | SUST_WIS | SUST_DEX | SUST_CON |
flags:HOLD_LIFE | SLOW_DIGEST | EASY_KNOW | 
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD

name:the Magi
type:amulet
graphics:":d
properties:70:3:30000
alloc:10:70 to 100
combat:0:0d0:0:0:d5M5
flags:FREE_ACT | SEE_INVIS | SUST_INT | PROT_BLIND | GOOD
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:SEARCH[1+M3] | INT[1+M3]

name:ESP
type:amulet
graphics:":d
properties:50:3:25000
alloc:10:60 to 100
flags:TELEPATHY
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | 

name:Devotion
type:amulet
graphics:":d
properties:70:3:30000
alloc:10:70 to 100
flags:HOLD_LIFE | SUST_WIS | GOOD
values:WIS[1+M3] | LIGHT[1] | RES_DARK[1] | RES_LIGHT[1] | RES_FIRE[1]

name:Weaponmastery
type:amulet
graphics:":d
properties:70:3:30000
alloc:10:70 to 100
combat:0:0d0:1+M4:1+M4:0
flags:SUST_STR | SUST_CON | FREE_ACT | PROT_FEAR | GOOD
values:STR[1+M2] | RES_DISEN[1]

name:Trickery
type:amulet
graphics:":d
properties:70:3:30000
alloc:10:70 to 100
flags:SUST_DEX | GOOD
values:DEX[1+M4] | SPEED[1+M2] | STEALTH[1+M2] | SEARCH[1+d3M3] | INFRA[1+d3M3]
values:RES_NEXUS[1] | RES_POIS[1]

### Ability boosts ###

name:Regeneration
type:amulet
graphics:":d
properties:30:3:600
alloc:20:30 to 100
flags:REGEN | EASY_KNOW

name:Infravision
type:amulet
graphics:":d
properties:10:3:200
alloc:30:10 to 70
values:INFRA[1+M5]

name:Searching
type:amulet
graphics:":d
properties:15:3:600
alloc:20:10 to 40
values:SEARCH[d5M5]

### Powers ###

name:Teleportation
type:amulet
graphics:":d
properties:10:3:10
alloc:20:10 to 40
flags:EASY_KNOW
curse:teleportation:100

name:Slow Digestion
type:amulet
graphics:":d
properties:15:3:200
alloc:20:15 to 40
flags:SLOW_DIGEST | EASY_KNOW

name:Adornment
type:amulet
graphics:":d
properties:10:3:0
alloc:20:10 to 40
flags:EASY_KNOW


### Mixed ###

name:Inertia
type:amulet
graphics:":d
properties:15:3:10
alloc:20:15 to 40
flags:FREE_ACT
values:SPEED[-3+1d2]




##### Scrolls #####

### Teleportation ###

name:Phase Door
type:scroll
graphics:?:w
properties:1:5:15
alloc:50:1 to 100
pile:100:1d3
power:5
effect:TELEPORT
dice:10

name:Teleportation
type:scroll
graphics:?:w
properties:10:5:40
alloc:40:10 to 100
pile:25:2
power:6
effect:TELEPORT
dice:100

name:Teleport Level
type:scroll
graphics:?:w
properties:20:5:800
alloc:16:20 to 100
pile:10:2
power:15
effect:TELEPORT_LEVEL


### Detection ###

name:Magic Mapping
type:scroll
graphics:?:w
properties:5:5:65
alloc:50:5 to 100
pile:70:1d3
power:10
effect:MAP_AREA
dice:22d40

name:Treasure Detection
type:scroll
graphics:?:w
properties:0:5:70
alloc:50:0 to 70
pile:40:1d5
power:6
effect:DETECT_GOLD
dice:22d40
effect:SENSE_OBJECTS
dice:22d40

name:Detect Invisible
type:scroll
graphics:?:w
properties:1:5:15
alloc:50:1 to 70
pile:70:1d3
power:6
effect:DETECT_INVISIBLE_MONSTERS
dice:22d40

name:Identify Rune
type:scroll
graphics:?:w
properties:1:5:200
alloc:50:5 to 100
pile:70:1d4
power:6
effect:IDENTIFY

### Enchantments ###

name:Enchant Weapon To-Hit
type:scroll
graphics:?:w
properties:15:5:125
alloc:40:15 to 70
pile:25:2
power:15
effect:ENCHANT:TOHIT
dice:1

name:Enchant Weapon To-Dam
type:scroll
graphics:?:w
properties:15:5:125
alloc:40:15 to 70
pile:25:2
power:20
effect:ENCHANT:TODAM
dice:1

name:Enchant Armour
type:scroll
graphics:?:w
properties:15:5:125
alloc:40:15 to 70
pile:25:2
power:12
effect:ENCHANT:TOAC
dice:1

name:*Enchant Weapon*
type:scroll
graphics:?:w
properties:50:5:500
alloc:40:50 to 100
pile:25:2
power:22
effect:ENCHANT:TOBOTH
dice:1d3


name:*Enchant Armour*
type:scroll
graphics:?:w
properties:50:5:500
alloc:40:50 to 100
pile:25:2
power:15
effect:ENCHANT:TOAC
dice:2+1d3


name:Remove Curse
type:scroll
graphics:?:w
properties:10:5:100
alloc:16:10 to 100
pile:25:2
power:8
effect:REMOVE_CURSE
dice:20+d20


name:*Remove Curse*
type:scroll
graphics:?:w
properties:50:5:8000
alloc:16:50 to 100
pile:25:2
power:20
effect:REMOVE_CURSE
dice:50+d50

### Summoning ###

name:Summon Monster
type:scroll
graphics:?:w
properties:1:5:0
alloc:10:1 to 100
pile:70:1d3
power:0
effect:SUMMON
dice:1d3

name:Summon Undead
type:scroll
graphics:?:w
properties:15:5:0
alloc:10:15 to 100
pile:70:1d3
power:0
effect:SUMMON:UNDEAD
dice:1d3

name:Acquirement
type:scroll
graphics:?:w
properties:20:5:5000
alloc:10:20 to 100
power:20000
effect:ACQUIRE
dice:1

name:*Acquirement*
type:scroll
graphics:?:w
properties:60:5:10000
alloc:5:60 to 100
power:20000
effect:ACQUIRE
dice:1+1d2


### Killing scrolls ###

name:Dispel Undead
type:scroll
graphics:?:w
properties:40:5:200
alloc:40:40 to 100
pile:25:2
power:9
effect:PROJECT_LOS:DISP_UNDEAD:1
dice:60

name:Banishment
type:scroll
graphics:?:w
properties:40:5:2500
alloc:25:40 to 100
power:20
effect:BANISH

name:Mass Banishment
type:scroll
graphics:?:w
properties:50:5:3000
alloc:20:50 to 100
power:25
effect:MASS_BANISH


### Utility ###

name:Satisfy Hunger
type:scroll
graphics:?:w
properties:5:5:10
alloc:60:5 to 100
pile:100:2d3
power:7
effect:SET_NOURISH
dice:16999

name:Light
type:scroll
graphics:?:w
properties:0:5:15
alloc:50:0 to 60
pile:35:2d3
power:4
effect:LIGHT_AREA
param:2
dice:2d8

name:Word of Recall
type:scroll
graphics:?:w
properties:5:5:125
alloc:50:5 to 100
pile:35:2d3
power:15
effect:RECALL

name:Recharging
type:scroll
graphics:?:w
properties:40:5:200
alloc:40:40 to 100
pile:12:2d3
power:11
effect:RECHARGE
dice:60

name:Door Destruction
type:scroll
graphics:?:w
properties:10:5:50
alloc:40:10 to 60
pile:25:2d3
power:6
effect:TOUCH:KILL_DOOR

name:Deep Descent
type:scroll
graphics:?:w
properties:10:5:250
alloc:20:1 to 100
pile:20:2
power:19
effect:DEEP_DESCENT


### "Holy" spells ###

name:Blessing
type:scroll
graphics:?:w
properties:1:5:15
alloc:50:1 to 50
pile:70:1d3
power:6
effect:TIMED_INC:BLESSED
dice:6+1d12

name:Holy Chant
type:scroll
graphics:?:w
properties:10:5:40
alloc:40:10 to 70
pile:25:2
power:7
effect:TIMED_INC:BLESSED
dice:12+1d24

name:Holy Prayer
type:scroll
graphics:?:w
properties:25:5:80
alloc:40:50 to 100
pile:25:2
power:8
effect:TIMED_INC:BLESSED
dice:24+1d48

name:Protection from Evil
type:scroll
graphics:?:w
properties:30:5:50
alloc:40:30 to 100
pile:25:2
power:6
effect:TIMED_INC:PROTEVIL
dice:$B+1d25
expr:B:PLAYER_LEVEL:* 3


### Misc. ###

name:Monster Confusion
type:scroll
graphics:?:w
properties:5:5:30
alloc:16:5 to 60
pile:25:2
power:8
effect:CONFUSING

name:Rune of Protection
type:scroll
graphics:?:w
properties:60:5:500
alloc:30:70 to 100
power:20
effect:RUNE

name:*Destruction*
type:scroll
graphics:?:w
properties:40:5:1000
alloc:30:40 to 100
power:12
effect:DESTRUCTION
param:15

### Bad scrolls ###

name:Aggravate Monster
type:scroll
graphics:?:w
properties:5:5:0
alloc:10:5 to 70
pile:70:1d3
power:0
msg:There is a high pitched humming noise.
effect:WAKE
effect:PROJECT_LOS:MON_SPEED
dice:25

name:Curse Weapon
type:scroll
graphics:?:w
properties:50:5:0
#A:10:50 to 100
pile:70:1d3
power:0
effect:CURSE_WEAPON

name:Curse Armour
type:scroll
graphics:?:w
properties:50:5:0
#A:10:50 to 100
pile:70:1d3
power:0
effect:CURSE_ARMOR

name:Darkness
type:scroll
graphics:?:w
properties:1:5:0
alloc:10:1 to 70
pile:70:1d3
power:0
effect:DARKEN_AREA
param:3
dice:10

name:Trap Creation
type:scroll
graphics:?:w
properties:10:5:0
alloc:10:10 to 70
pile:70:1d3
power:0
msg:You hear a low-pitched whistling sound.
effect:TOUCH:MAKE_TRAP:3




##### Potions #####

### Statgain ###

name:Strength
type:potion
graphics:!:d
properties:30:4:8000
alloc:30:30 to 100
pile:10:2
power:20000
effect:RESTORE_STAT:STR
effect:GAIN_STAT:STR

name:Intelligence
type:potion
graphics:!:d
properties:30:4:8000
alloc:30:30 to 100
pile:10:2
power:20000
effect:RESTORE_STAT:INT
effect:GAIN_STAT:INT

name:Wisdom
type:potion
graphics:!:d
properties:30:4:8000
alloc:30:30 to 100
pile:10:2
power:20000
effect:RESTORE_STAT:WIS
effect:GAIN_STAT:WIS

name:Dexterity
type:potion
graphics:!:d
properties:30:4:8000
alloc:30:30 to 100
pile:10:2
power:20000
effect:RESTORE_STAT:DEX
effect:GAIN_STAT:DEX

name:Constitution
type:potion
graphics:!:d
properties:30:4:8000
alloc:30:30 to 100
pile:10:2
power:20000
effect:RESTORE_STAT:CON
effect:GAIN_STAT:CON

name:Augmentation
type:potion
graphics:!:d
properties:40:4:50000
alloc:20:40 to 100
combat:0:1d1:0:0:0
power:20000
effect:RESTORE_STAT:STR
effect:GAIN_STAT:STR
effect:RESTORE_STAT:INT
effect:GAIN_STAT:INT
effect:RESTORE_STAT:WIS
effect:GAIN_STAT:WIS
effect:RESTORE_STAT:DEX
effect:GAIN_STAT:DEX
effect:RESTORE_STAT:CON
effect:GAIN_STAT:CON

name:Experience
type:potion
graphics:!:d
properties:65:4:25000
alloc:50:65 to 100
power:20000
effect:GAIN_EXP
dice:200000

### Healings ###

name:Cure Light Wounds
type:potion
graphics:!:d
properties:0:4:20
alloc:80:1 to 15
pile:90:2d3
power:3
effect:HEAL_HP
dice:20
effect:CURE:BLIND
effect:TIMED_DEC:CUT
dice:20
effect:TIMED_DEC:CONFUSED
dice:20
effect:NOURISH
dice:150

name:Cure Serious Wounds
type:potion
graphics:!:d
properties:3:4:70
alloc:80:5 to 40
pile:80:2d3
power:6
effect:HEAL_HP
dice:40
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:CONFUSED
effect:NOURISH
dice:150

name:Cure Critical Wounds
type:potion
graphics:!:d
properties:5:4:200
alloc:80:12 to 100
pile:70:2d3
power:9
effect:HEAL_HP
dice:60
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:AMNESIA
effect:CURE:CONFUSED
effect:NOURISH
dice:150

name:Healing
type:potion
graphics:!:d
properties:15:4:800
alloc:64:30 to 100
pile:25:2
power:12
effect:HEAL_HP
dice:300+m35
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:AMNESIA
effect:CURE:CONFUSED
effect:NOURISH
dice:200

name:*Healing*
type:potion
graphics:!:d
properties:40:4:1500
alloc:40:40 to 100
combat:0:1d1:0:0:0
power:18
effect:HEAL_HP
dice:1200
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:AMNESIA
effect:CURE:CONFUSED
effect:NOURISH
dice:300

name:Life
type:potion
graphics:!:d
properties:60:4:5000
alloc:20:60 to 100
combat:0:1d1:0:0:0
msg:You feel life flow through your body!
power:21
effect:RESTORE_EXP
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:AMNESIA
effect:CURE:CONFUSED
effect:CURE:IMAGE
effect:RESTORE_STAT:STR
effect:RESTORE_STAT:INT
effect:RESTORE_STAT:WIS
effect:RESTORE_STAT:DEX
effect:RESTORE_STAT:CON
effect:HEAL_HP
dice:5000

name:Neutralize Poison
type:potion
graphics:!:d
properties:5:4:75
alloc:40:1 to 35
pile:25:2
power:1
effect:CURE:POISONED

name:Restore Mana
type:potion
graphics:!:d
properties:25:4:350
alloc:64:15 to 100
pile:25:2
power:20
effect:RESTORE_MANA


### Stat restore ###

# removed: old stat restoration

name:Restore Life Levels
type:potion
graphics:!:d
properties:40:4:400
alloc:40:30 to 100
pile:25:2
power:8
effect:RESTORE_EXP


### Gain one/lose one potions ###

name:Brawn
type:potion
graphics:!:d
properties:3:4:1000
alloc:30:20 to 40
pile:10:2
power:30
effect:RESTORE_STAT:STR
effect:GAIN_STAT:STR
effect:LOSE_RANDOM_STAT:STR

name:Intellect
type:potion
graphics:!:d
properties:20:4:1000
alloc:30:20 to 40
pile:10:2
power:25
effect:RESTORE_STAT:INT
effect:GAIN_STAT:INT
effect:LOSE_RANDOM_STAT:INT

name:Contemplation
type:potion
graphics:!:d
properties:20:4:1000
alloc:30:20 to 40
pile:10:2
power:25
effect:RESTORE_STAT:WIS
effect:GAIN_STAT:WIS
effect:LOSE_RANDOM_STAT:WIS

name:Nimbleness
type:potion
graphics:!:d
properties:5:4:1000
alloc:30:20 to 40
pile:10:2
power:25
effect:RESTORE_STAT:DEX
effect:GAIN_STAT:DEX
effect:LOSE_RANDOM_STAT:DEX

name:Toughness
type:potion
graphics:!:d
properties:10:4:1000
alloc:30:20 to 40
pile:10:2
power:30
effect:RESTORE_STAT:CON
effect:GAIN_STAT:CON
effect:LOSE_RANDOM_STAT:CON


### Knowledge ###

name:Enlightenment
type:potion
graphics:!:d
properties:25:4:800
alloc:40:25 to 100
pile:25:2
power:22
effect:LIGHT_LEVEL
dice:1

name:*Enlightenment*
type:potion
graphics:!:d
properties:70:4:12000
alloc:8:70 to 100
combat:0:1d1:0:0:0
power:20000
effect:LIGHT_LEVEL
dice:1
effect:RESTORE_STAT:INT
effect:GAIN_STAT:INT
effect:RESTORE_STAT:WIS
effect:GAIN_STAT:WIS
effect:DETECT_GOLD
dice:22d40
effect:DETECT_OBJECTS
dice:22d40
effect:DETECT_INVISIBLE_MONSTERS
dice:500d500
effect:DETECT_VISIBLE_MONSTERS
dice:500d500


### Buffs ###

name:Speed
type:potion
graphics:!:d
properties:1:4:75
alloc:40:1 to 100
pile:25:2
power:10
effect:TIMED_INC:FAST:5
dice:20+2d10

name:Heroism
type:potion
graphics:!:d
properties:1:4:25
alloc:40:1 to 100
pile:25:2
power:7
effect:HEAL_HP
dice:10
effect:CURE:AFRAID
effect:TIMED_INC:HERO
dice:25+1d25

name:Berserk Strength
type:potion
graphics:!:d
properties:3:4:100
alloc:40:3 to 100
pile:25:2
power:9
effect:HEAL_HP
dice:30
effect:CURE:AFRAID
effect:TIMED_INC:SHERO
dice:25+1d25

name:Boldness
type:potion
graphics:!:d
properties:1:4:8
alloc:40:1 to 90
pile:25:2
power:2
effect:CURE:AFRAID

name:Resist Heat
type:potion
graphics:!:d
properties:1:4:30
alloc:40:1 to 100
pile:25:2
power:4
effect:TIMED_INC:OPP_FIRE
dice:10+1d10

name:Resist Cold
type:potion
graphics:!:d
properties:1:4:30
alloc:40:1 to 100
pile:25:2
power:4
effect:TIMED_INC:OPP_COLD
dice:10+1d10

name:Resist Poison
type:potion
graphics:!:d
properties:1:4:30
alloc:40:8 to 100
pile:25:2
power:4
effect:TIMED_INC:OPP_POIS
dice:10+1d10
effect:CURE:POISONED

name:True Seeing
type:potion
graphics:!:d
properties:3:4:50
alloc:40:3 to 40
pile:25:2
power:7
effect:CURE:BLIND
effect:TIMED_INC:SINVIS
dice:12+2d6

name:Infravision
type:potion
graphics:!:d
properties:3:4:20
alloc:40:3 to 40
pile:25:2
power:5
effect:TIMED_INC:SINFRA
dice:100+4d25


### Useless buggers ###

name:Slime Mold Juice
type:potion
graphics:!:d
properties:0:4:2
alloc:10:1 to 10
pile:70:2d3
power:0
effect:NOURISH
dice:1000

name:Sleep
type:potion
graphics:!:d
properties:0:4:0
alloc:10:0 to 10
pile:70:2d3
combat:0:3d4:0:0:0
power:0
effect:TIMED_INC:PARALYZED
dice:5+1d5
effect:NOURISH
dice:100

name:Blindness
type:potion
graphics:!:d
properties:0:4:0
alloc:10:0 to 10
pile:70:2d3
combat:0:3d4:0:0:0
power:0
effect:TIMED_INC:BLIND
dice:75+4d25

name:Confusion
type:potion
graphics:!:d
properties:0:4:0
alloc:10:0 to 10
pile:70:2d3
combat:0:3d4:0:0:0
power:0
effect:TIMED_INC:CONFUSED
dice:10+4d5
effect:NOURISH
dice:50

name:Poison
type:potion
graphics:!:d
properties:3:4:0
alloc:10:0 to 10
pile:70:2d3
combat:0:3d4:0:0:0
power:0
effect:TIMED_INC:POISONED
dice:10+2d7

name:Slowness
type:potion
graphics:!:d
properties:1:4:0
alloc:10:0 to 10
pile:70:2d3
combat:0:3d4:0:0:0
power:0
effect:TIMED_INC:SLOW
dice:15+1d25
effect:NOURISH
dice:50

name:Lose Memories
type:potion
graphics:!:d
properties:10:4:0
alloc:10:10 to 15
pile:25:2
power:0
effect:LOSE_EXP

name:Salt Water
type:potion
graphics:!:d
properties:0:4:0
alloc:10:3 to 15
pile:100:1d2
msg:The potion makes you vomit!
power:0
effect:SET_NOURISH
dice:$B
expr:B:FOOD_STARVE:- 1
effect:CURE:POISONED
effect:TIMED_INC_NO_RES:PARALYZED
dice:4


### Weird one ###

name:Dragon Breath
type:potion
graphics:!:d
properties:0:4:100
pile:100:1d2
alloc:20:40 to 100
pile:70:1d3
power:8
effect:RANDOM
dice:2
effect:BREATH:FIRE:20
dice:80
effect:BREATH:COLD:20
dice:80



##### Wands #####

### Bolts ###

name:Magic Missile
type:wand
graphics:-:d
properties:3:10:200
alloc:20:3 to 60
combat:0:1d1:0:0:0
charges:6+d10
power:3
effect:BOLT_OR_BEAM:MISSILE
dice:3d4

name:Lightning Bolts
type:wand
graphics:-:d
properties:15:10:600
alloc:20:15 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:5
effect:BEAM:ELEC
dice:6d6

name:Frost Bolts
type:wand
graphics:-:d
properties:20:10:800
alloc:20:20 to 60
combat:0:1d1:0:0:0
charges:6+d5
power:4
effect:BOLT:COLD
dice:12d8

name:Fire Bolts
type:wand
graphics:-:d
properties:30:10:1000
alloc:20:30 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:7
effect:BOLT_OR_BEAM:FIRE
dice:12d8

name:Acid Bolts
type:wand
graphics:-:d
properties:30:10:950
alloc:20:30 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:6
effect:BOLT_OR_BEAM:ACID
dice:10d8


### Balls ###

name:Stinking Cloud
type:wand
graphics:-:d
properties:5:10:400
alloc:20:5 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:3
effect:BALL:POIS:3
dice:12

name:Lightning Balls
type:wand
graphics:-:d
properties:35:10:1200
alloc:20:35 to 100
combat:0:1d1:0:0:0
charges:4+d8
flags:IGNORE_ELEC
power:9
effect:BALL:ELEC:2
dice:64

name:Cold Balls
type:wand
graphics:-:d
properties:40:10:1500
alloc:20:40 to 100
combat:0:1d1:0:0:0
charges:2+d6
flags:IGNORE_COLD
power:10
effect:BALL:COLD:2
dice:100

name:Fire Balls
type:wand
graphics:-:d
properties:50:10:1800
alloc:20:50 to 100
combat:0:1d1:0:0:0
charges:2+d4
flags:IGNORE_FIRE
power:11
effect:BALL:FIRE:2
dice:144

name:Acid Balls
type:wand
graphics:-:d
properties:50:10:1650
alloc:20:50 to 100
combat:0:1d1:0:0:0
charges:2+d5
flags:IGNORE_ACID
power:11
effect:BALL:ACID:2
dice:120


### Monster status changing ###

name:Slow Monster
type:wand
graphics:-:d
properties:5:10:500
alloc:20:5 to 100
combat:0:1d1:0:0:0
charges:2+d6
power:3
effect:BOLT_AWARE:MON_SLOW
dice:10+1d20

name:Confuse Monster
type:wand
graphics:-:d
properties:5:10:500
alloc:20:5 to 100
combat:0:1d1:0:0:0
charges:2+d6
power:3
effect:BOLT_AWARE:MON_CONF
dice:5+1d5

name:Hold Monster
type:wand
graphics:-:d
properties:5:10:500
alloc:20:5 to 100
combat:0:1d1:0:0:0
charges:2+d6
power:3
effect:BOLT_AWARE:MON_HOLD
dice:3+1d5

name:Stun Monster
type:wand
graphics:-:d
properties:5:10:500
alloc:20:5 to 100
combat:0:1d1:0:0:0
charges:2+d6
power:3
effect:BOLT_AWARE:MON_STUN
dice:5+1d5

name:Scare Monster
type:wand
graphics:-:d
properties:10:10:500
alloc:20:10 to 100
combat:0:1d1:0:0:0
charges:3+d5
power:3
effect:BOLT_AWARE:TURN_ALL
dice:10


### Utility ###

name:Light
type:wand
graphics:-:d
properties:3:10:200
alloc:20:3 to 60
combat:0:1d1:0:0:0
charges:6+d10
msg:A line of shimmering blue light appears.
power:6
effect:LINE:LIGHT_WEAK
dice:6d8

name:Stone to Mud
type:wand
graphics:-:d
properties:10:10:300
alloc:20:10 to 100
combat:0:1d1:0:0:0
charges:3+d4
power:6
effect:LINE:KILL_WALL
dice:20+1d30

name:Polymorph
type:wand
graphics:-:d
properties:20:10:400
alloc:20:20 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:7
effect:BOLT_AWARE:MON_POLY
dice:$B
expr:B:PLAYER_LEVEL:+ 0

name:Door Destruction
type:wand
graphics:-:d
properties:10:10:100
alloc:20:10 to 60
combat:0:1d1:0:0:0
charges:6+d8
power:5
effect:ALTER:KILL_DOOR

name:Clone Monster
type:wand
graphics:-:d
properties:15:10:0
alloc:20:15 to 100
combat:0:1d1:0:0:0
charges:3+d5
power:0
effect:BOLT_STATUS:MON_CLONE

name:Teleport Other
type:wand
graphics:-:d
properties:20:10:3500
alloc:20:20 to 100
combat:0:1d1:0:0:0
charges:6+d5
power:11
effect:BOLT_STATUS:AWAY_ALL
dice:$B
expr:B:MAX_SIGHT:* 5

name:Disable Traps
type:wand
graphics:-:d
properties:20:10:700
alloc:20:20 to 60
combat:0:1d1:0:0:0
charges:4+d5
power:7
effect:ALTER:KILL_TRAP

name:Wonder
type:wand
graphics:-:d
properties:3:10:250
alloc:20:3 to 60
combat:0:1d1:0:0:0
charges:8+d15
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
power:9
effect:WONDER
dice:$B+1d100
expr:B:PLAYER_LEVEL:/ 5



### Dragons' wands ###

name:Dragon's Flame
type:wand
graphics:-:d
properties:50:10:2400
alloc:20:50 to 100
combat:0:1d1:0:0:0
charges:1+d3
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
power:13
effect:BREATH:FIRE:30
dice:200

name:Dragon's Frost
type:wand
graphics:-:d
properties:50:10:2400
alloc:20:50 to 100
combat:0:1d1:0:0:0
charges:1+d3
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
power:12
effect:BREATH:COLD:30
dice:160

name:Dragon's Breath
type:wand
graphics:-:d
properties:60:10:2400
alloc:20:60 to 100
combat:0:1d1:0:0:0
charges:1+d3
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
power:12
effect:RANDOM
dice:5
effect:BREATH:ACID:30
dice:160
effect:BREATH:ELEC:30
dice:160
effect:BREATH:FIRE:30
dice:160
effect:BREATH:COLD:30
dice:160
effect:BREATH:POIS:30
dice:160


### Drain lifes ###

name:Drain Life
type:wand
graphics:-:d
properties:50:10:1200
alloc:50:50 to 100
combat:0:1d1:0:0:0
charges:3+d3
power:11
effect:BOLT_STATUS_DAM:MON_DRAIN
dice:150

name:Annihilation
type:wand
graphics:-:d
properties:60:10:3000
alloc:20:60 to 100
combat:0:1d1:0:0:0
charges:1+d2
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
power:12
effect:BOLT_STATUS_DAM:MON_DRAIN
dice:250


### Rubbish ###

name:Heal Monster
type:wand
graphics:-:d
properties:3:10:0
alloc:10:3 to 40
combat:0:1d1:0:0:0
charges:8+d20
power:0
effect:BOLT_STATUS:MON_HEAL
dice:4d6

name:Haste Monster
type:wand
graphics:-:d
properties:3:10:0
alloc:10:3 to 40
combat:0:1d1:0:0:0
charges:8+d20
power:0
effect:BOLT_STATUS:MON_SPEED
dice:100




##### Staffs #####

### Bad staffs ###

name:Summoning
type:staff
graphics:_:d
properties:10:50:0
alloc:10:10 to 100
combat:0:1d2:0:0:0
charges:2d3
power:0
effect:SUMMON
dice:1d3

name:Haste Monsters
type:staff
graphics:_:d
properties:10:50:0
alloc:10:10 to 40
combat:0:1d2:0:0:0
charges:8+d8
power:0
effect:PROJECT_LOS:MON_SPEED
dice:50

name:Darkness
type:staff
graphics:_:d
properties:5:50:0
alloc:10:5 to 40
combat:0:1d2:0:0:0
charges:8+d8
power:0
effect:DARKEN_AREA
param:3
dice:10

### Destruction ###

name:Earthquakes
type:staff
graphics:_:d
properties:40:50:350
alloc:20:40 to 100
combat:0:1d2:0:0:0
charges:3+d5
power:5
effect:EARTHQUAKE
param:10

name:*Destruction*
type:staff
graphics:_:d
properties:50:50:6000
alloc:20:50 to 100
combat:0:1d2:0:0:0
charges:1+d3
power:12
effect:DESTRUCTION
param:15

### Monster-affecting ###

name:Confuse Monsters
type:staff
graphics:_:d
properties:10:50:800
alloc:20:10 to 100
combat:0:1d2:0:0:0
charges:3+d3
power:10
effect:PROJECT_LOS_AWARE:MON_CONF
dice:5+1d5

name:Slow Monsters
type:staff
graphics:_:d
properties:10:50:800
alloc:20:10 to 100
combat:0:1d2:0:0:0
charges:4+d4
power:7
effect:PROJECT_LOS:MON_SLOW
dice:10+1d10

name:Sleep Monsters
type:staff
graphics:_:d
properties:10:50:700
alloc:20:10 to 100
combat:0:1d2:0:0:0
charges:6+d5
power:8
effect:PROJECT_LOS_AWARE:MON_SLEEP
dice:$B
expr:B:PLAYER_LEVEL:* 10 + 500


### Detect ###

name:Detect Invisible
type:staff
graphics:_:d
properties:5:50:200
alloc:30:5 to 100 
combat:0:1d2:0:0:0
charges:8+d15
power:6
effect:DETECT_INVISIBLE_MONSTERS
dice:22d40

name:Detect Evil
type:staff
graphics:_:d
properties:20:50:350
alloc:30:20 to 100
combat:0:1d2:0:0:0
charges:8+d15
power:6
effect:DETECT_EVIL
dice:22d40

name:Mapping
type:staff
graphics:_:d
properties:20:50:600
alloc:40:10 to 100
combat:0:1d2:0:0:0
charges:5+d5
power:10
effect:MAP_AREA
dice:22d40


### Healing ###

name:Curing
type:staff
graphics:_:d
properties:25:50:500
alloc:30:10 to 100
combat:0:1d2:0:0:0
charges:4+d3
power:9
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:CONFUSED

name:Cure Light Wounds
type:staff
graphics:_:d
properties:5:50:350
alloc:30:5 to 100
combat:0:1d2:0:0:0
charges:6+d5
power:3
effect:HEAL_HP
dice:20
effect:CURE:BLIND
effect:TIMED_DEC:CUT
dice:20
effect:TIMED_DEC:CONFUSED
dice:20

name:Healing
type:staff
graphics:_:d
properties:70:50:5000
alloc:10:70 to 100
combat:0:1d2:0:0:0
charges:1+d2
power:12
effect:HEAL_HP
dice:300+m35
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:AMNESIA
effect:CURE:CONFUSED


### Killing staffs ###

name:Dispel Evil
type:staff
graphics:_:d
properties:50:50:1200
alloc:50:50 to 100
combat:0:1d2:0:0:0
charges:4+d3
power:9
effect:PROJECT_LOS:DISP_EVIL:1
dice:60

name:Banishment
type:staff
graphics:_:d
properties:70:50:5000
alloc:10:70 to 100
combat:0:1d2:0:0:0
charges:1+d2
power:20
effect:BANISH

name:Power
type:staff
graphics:_:d
properties:70:50:4000
alloc:20:70 to 100
combat:0:1d2:0:0:0
charges:1+d3
power:11
effect:PROJECT_LOS:DISP_ALL:1
dice:120

name:Holiness
type:staff
graphics:_:d
properties:70:50:3500
alloc:20:70 to 100
combat:0:1d2:0:0:0
charges:2d2
power:12
effect:PROJECT_LOS:DISP_EVIL:1
dice:120
effect:HEAL_HP
dice:50
effect:TIMED_INC:PROTEVIL
dice:$B+1d25
expr:B:PLAYER_LEVEL:* 3
effect:CURE:POISONED
effect:CURE:TERROR
effect:CURE:AFRAID
effect:CURE:STUN
effect:CURE:CUT
effect:CURE:SLOW
effect:CURE:BLIND
effect:CURE:CONFUSED
effect:CURE:IMAGE
effect:CURE:AMNESIA


### Utility ###

name:Light
type:staff
graphics:_:d
properties:5:50:250
alloc:20:5 to 80
combat:0:1d2:0:0:0
charges:8+d20
power:4
effect:LIGHT_AREA
param:2
dice:2d8

name:Starlight
type:staff
graphics:_:d
properties:20:50:800
alloc:20:20 to 80
combat:0:1d2:0:0:0
charges:6+d5
power:5
effect:STAR:LIGHT_WEAK
dice:6d8

name:Teleportation
type:staff
graphics:_:d
properties:20:50:2000
alloc:50:20 to 100
combat:0:1d2:0:0:0
charges:5+d4
power:6
effect:TELEPORT
dice:100

name:Speed
type:staff
graphics:_:d
properties:40:50:2000
alloc:20:40 to 100
combat:0:1d2:0:0:0
charges:4+d3
power:10
effect:TIMED_INC:FAST:5
dice:20+2d10

name:Remove Curse
type:staff
graphics:_:d
properties:40:50:500
alloc:20:40 to 100
combat:0:1d2:0:0:0
charges:4+d3
power:8
effect:REMOVE_CURSE
dice:20+d20

name:the Magi
type:staff
graphics:_:d
properties:70:50:4500
alloc:10:70 to 100
combat:0:1d2:0:0:0
charges:2+1d2
power:20
effect:RESTORE_STAT:INT
effect:RESTORE_MANA



##### Rods #####

### Detection ###

name:Treasure Location
type:rod
graphics:-:d
properties:5:15:1000
alloc:30:8 to 75
power:6
effect:DETECT_GOLD
dice:22d40
effect:SENSE_OBJECTS
dice:22d40
time:50

name:Detection
type:rod
graphics:-:d
properties:30:15:3000
alloc:30:50 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:10
effect:DETECT_GOLD
dice:22d40
effect:SENSE_OBJECTS
dice:22d40
effect:DETECT_INVISIBLE_MONSTERS
dice:22d40
effect:DETECT_VISIBLE_MONSTERS
dice:22d40
time:100

name:Magic Mapping
type:rod
graphics:-:d
properties:65:15:2000
alloc:30:35 to 100
combat:0:1d1:0:0:0
power:10
effect:MAP_AREA
dice:33d55
time:100

name:Probing
type:rod
graphics:-:d
properties:35:15:1000
alloc:20:35 to 100
combat:0:1d1:0:0:0
power:8
effect:PROBE
time:100


### Bolts ###

name:Fire Bolts
type:rod
graphics:-:d
properties:30:15:3000
alloc:20:30 to 80
combat:0:1d1:0:0:0
power:7
effect:BOLT_OR_BEAM:FIRE
dice:12d8
time:15

name:Frost Bolts
type:rod
graphics:-:d
properties:25:15:2500
alloc:20:25 to 80
combat:0:1d1:0:0:0
power:7
effect:BOLT:COLD
dice:12d8
time:13

name:Lightning Bolts
type:rod
graphics:-:d
properties:20:15:2000
alloc:20:20 to 80
combat:0:1d1:0:0:0
power:5
effect:BEAM:ELEC
dice:6d6
time:11

name:Acid Bolts
type:rod
graphics:-:d
properties:40:15:3500
alloc:20:40 to 80
combat:0:1d1:0:0:0
power:7
effect:BOLT_OR_BEAM:ACID
dice:12d8
time:12


### Balls ###

name:Fire Balls
type:rod
graphics:-:d
properties:75:15:5000
alloc:20:75 to 100
combat:0:1d1:0:0:0
power:11
effect:BALL:FIRE:2
dice:144
time:30

name:Cold Balls
type:rod
graphics:-:d
properties:60:15:4500
alloc:20:60 to 100
combat:0:1d1:0:0:0
power:10
effect:BALL:COLD:2
dice:100
time:25

name:Lightning Balls
type:rod
graphics:-:d
properties:55:15:4000
alloc:20:55 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:9
effect:BALL:ELEC:2
dice:64
time:23

name:Acid Balls
type:rod
graphics:-:d
properties:70:15:5500
alloc:20:70 to 100
combat:0:1d1:0:0:0
power:11
effect:BALL:ACID:2
dice:120
time:27


### Status-affecting ###

name:Slow Monster
type:rod
graphics:-:d
properties:30:15:1500
alloc:20:30 to 100
combat:0:1d1:0:0:0
power:3
effect:BOLT_AWARE:MON_SLOW
dice:10+1d20
time:40

name:Hold Monster
type:rod
graphics:-:d
properties:30:15:1500
alloc:20:30 to 100
combat:0:1d1:0:0:0
power:3
effect:BOLT_AWARE:MON_HOLD
dice:3+1d5
time:40


### Healing ###

name:Curing
type:rod
graphics:-:d
properties:65:15:1000
alloc:20:10 to 80
combat:0:1d1:0:0:0
power:9
effect:CURE:BLIND
effect:CURE:CUT
effect:CURE:POISONED
effect:CURE:STUN
effect:CURE:CONFUSED
time:100

name:Healing
type:rod
graphics:-:d
properties:80:15:20000
alloc:20:80 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:14
effect:HEAL_HP
dice:500
effect:CURE:CUT
effect:CURE:STUN
time:1000

name:Restoration
type:rod
graphics:-:d
properties:80:15:25000
alloc:10:80 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:17
effect:RESTORE_STAT:STR
effect:RESTORE_STAT:INT
effect:RESTORE_STAT:WIS
effect:RESTORE_STAT:DEX
effect:RESTORE_STAT:CON
effect:RESTORE_EXP
time:1000


### Other ###

name:Polymorph
type:rod
graphics:-:d
properties:35:15:1200
alloc:20:35 to 80
combat:0:1d1:0:0:0
power:7
effect:BOLT_STATUS:MON_POLY
dice:$B
expr:B:PLAYER_LEVEL:+ 0
time:25

name:Drain Life
type:rod
graphics:-:d
properties:75:15:3600
alloc:20:75 to 100
combat:0:1d1:0:0:0
power:11
effect:BOLT_STATUS_DAM:MON_DRAIN
dice:150
time:23

name:Teleport Other
type:rod
graphics:-:d
properties:45:15:5000
alloc:20:45 to 100
combat:0:1d1:0:0:0
power:11
effect:BOLT_STATUS:AWAY_ALL
dice:$B
expr:B:MAX_SIGHT:* 5
time:25

name:Disable Traps
type:rod
graphics:-:d
properties:35:15:2100
alloc:10:10 to 100
combat:0:1d1:0:0:0
power:7
effect:ALTER:KILL_TRAP
time:30

name:Light
type:rod
graphics:-:d
properties:10:15:500
alloc:20:8 to 100
combat:0:1d1:0:0:0
msg:A line of shimmering blue light appears.
power:6
effect:LINE:LIGHT_WEAK
dice:6d8
time:9

name:Illumination
type:rod
graphics:-:d
properties:20:15:1000
alloc:20:20 to 100
combat:0:1d1:0:0:0
power:4
effect:LIGHT_AREA
param:2
dice:2d8
time:30

name:Recall
type:rod
graphics:-:d
properties:30:15:4000
alloc:10:30 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:15
effect:RECALL
time:60

name:Speed
type:rod
graphics:-:d
properties:95:15:25000
alloc:10:80 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ELEC
power:10
effect:TIMED_INC:FAST:5
dice:20+2d10
time:100



##### Basic Books #####

name:[Magic for Beginners]
type:magic book
graphics:?:R
properties:1:30:25
alloc:40:1 to 100
combat:0:1d1:0:0:0

name:[Conjurings and Tricks]
type:magic book
graphics:?:R
properties:5:30:100
alloc:40:5 to 100
combat:0:1d1:0:0:0

name:[Incantations and Illusions]
type:magic book
graphics:?:R
properties:10:30:400
alloc:40:10 to 100
combat:0:1d1:0:0:0

name:[Sorcery and Evocations]
type:magic book
graphics:?:R
properties:20:30:800
alloc:40:20 to 100
combat:0:1d1:0:0:0

name:[Beginners Handbook]
type:prayer book
graphics:?:G
properties:1:30:25
alloc:40:1 to 100
combat:0:1d1:0:0:0

name:[Words of Wisdom]
type:prayer book
graphics:?:G
properties:5:30:100
alloc:40:5 to 100
combat:0:1d1:0:0:0

name:[Chants and Blessings]
type:prayer book
graphics:?:G
properties:10:30:400
alloc:40:10 to 100
combat:0:1d1:0:0:0

name:[Exorcism and Dispelling]
type:prayer book
graphics:?:G
properties:40:30:800
alloc:50:20 to 100
combat:0:1d1:0:0:0



##### Special Books (note resistances) #####

name:[Resistances of Scarabtarices]
type:magic book
graphics:?:r
properties:40:30:10000
alloc:15:40 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Raal's Tome of Destruction]
type:magic book
graphics:?:r
properties:50:30:20000
alloc:15:50 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Mordenkainen's Escapes]
type:magic book
graphics:?:r
properties:60:30:30000
alloc:15:60 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Tenser's Transformations]
type:magic book
graphics:?:r
properties:70:30:50000
alloc:15:70 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Kelek's Grimoire of Power]
type:magic book
graphics:?:r
properties:80:30:90000
alloc:10:90 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Ethereal Openings]
type:prayer book
graphics:?:g
properties:40:30:10000
alloc:15:40 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Godly Insights]
type:prayer book
graphics:?:g
properties:50:30:20000
alloc:15:50 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Purifications and Healing]
type:prayer book
graphics:?:g
properties:60:30:30000
alloc:15:60 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Holy Infusions]
type:prayer book
graphics:?:g
properties:70:30:50000
alloc:15:70 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD

name:[Wrath of God]
type:prayer book
graphics:?:g
properties:80:30:90000
alloc:10:90 to 100
combat:0:1d1:0:0:0
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD | GOOD



##### Chests #####

name:& Small wooden chest~
type:chest
graphics:~:s
properties:5:250:20
alloc:5:5 to 100
combat:0:2d3:0:0:0

name:& Large wooden chest~
type:chest
graphics:~:s
properties:15:500:60
alloc:5:15 to 100
combat:0:2d5:0:0:0

name:& Small iron chest~
type:chest
graphics:~:s
properties:25:300:100
alloc:5:25 to 100
combat:0:2d4:0:0:0

name:& Large iron chest~
type:chest
graphics:~:s
properties:35:1000:150
alloc:5:35 to 100
combat:0:2d6:0:0:0

name:& Small steel chest~
type:chest
graphics:~:s
properties:45:500:200
alloc:5:45 to 100
combat:0:2d4:0:0:0

name:& Large steel chest~
type:chest
graphics:~:s
properties:55:1000:250
alloc:5:55 to 100
combat:0:2d6:0:0:0



##### Dragon Scale Mail #####

name:Black Dragon Scale Mail~
type:dragon armor
graphics:[:s
properties:50:120:40000
alloc:8:35 to 100
combat:16:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_ACID[1]
power:11
effect:BREATH:ACID:20
dice:120
time:50

name:Blue Dragon Scale Mail~
type:dragon armor
graphics:[:b
properties:50:100:40000
alloc:8:25 to 100
combat:12:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_ELEC[1]
power:18
effect:BREATH:ELEC:20
dice:150
time:50

name:White Dragon Scale Mail~
type:dragon armor
graphics:[:w
properties:50:110:40000
alloc:8:30 to 100
combat:14:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_COLD[1]
power:10
effect:BREATH:COLD:20
dice:100
time:50

name:Red Dragon Scale Mail~
type:dragon armor
graphics:[:r
properties:50:160:40000
alloc:8:40 to 100
combat:24:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_FIRE[1]
power:20
effect:BREATH:FIRE:20
dice:200
time:50

name:Green Dragon Scale Mail~
type:dragon armor
graphics:[:g
properties:60:140:60000
alloc:8:60 to 100
combat:20:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_POIS[1]
power:19
effect:BREATH:POIS:20
dice:150
time:50

name:Multi-Hued Dragon Scale Mail~
type:dragon armor
graphics:[:v
properties:90:260:150000
alloc:5:75 to 100
combat:45:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_ACID[1] | RES_ELEC[1] | RES_FIRE[1] | RES_COLD[1] | RES_POIS[1]
power:20
effect:RANDOM
dice:5
effect:BREATH:ACID:20
dice:250
effect:BREATH:ELEC:20
dice:250
effect:BREATH:FIRE:20
dice:250
effect:BREATH:COLD:20
dice:250
effect:BREATH:POIS:20
dice:250
time:50

name:Pseudo-Dragon Scale Mail~
type:dragon armor
graphics:[:o
properties:65:200:60000
alloc:6:75 to 100
combat:32:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_LIGHT[1] | RES_DARK[1]
power:21
effect:RANDOM
dice:2
effect:BREATH:LIGHT:20
dice:200
effect:BREATH:DARK:20
dice:200
time:50

name:Law Dragon Scale Mail~
type:dragon armor
graphics:[:B
properties:80:220:80000
alloc:6:80 to 100
combat:36:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_SOUND[1] | RES_SHARD[1]
power:23
effect:RANDOM
dice:2
effect:BREATH:SOUND:20
dice:230
effect:BREATH:SHARD:20
dice:230
time:50

name:Gold Dragon Scale Mail~
type:dragon armor
graphics:[:y
properties:50:180:40000
alloc:8:70 to 100
combat:28:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_SOUND[1]
power:19
effect:BREATH:SOUND:20
dice:150
time:50

name:Chaos Dragon Scale Mail~
type:dragon armor
graphics:[:v
properties:80:240:80000
alloc:5:85 to 100
combat:40:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_CHAOS[1] | RES_DISEN[1]
power:23
effect:RANDOM
dice:2
effect:BREATH:CHAOS:20
dice:220
effect:BREATH:DISEN:20
dice:220
time:50

name:Balance Dragon Scale Mail~
type:dragon armor
graphics:[:v
properties:95:280:100000
alloc:3:95 to 100
combat:50:2d4:-2:0:10
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_SOUND[1] | RES_SHARD[1] | RES_CHAOS[1] | RES_DISEN[1]
power:24
effect:RANDOM
dice:4
effect:BREATH:SOUND:20
dice:250
effect:BREATH:SHARD:20
dice:250
effect:BREATH:CHAOS:20
dice:250
effect:BREATH:DISEN:20
dice:250
time:50

name:Power Dragon Scale Mail~
type:dragon armor
graphics:[:v
properties:100:300:300000
alloc:1:100 to 100
combat:60:2d4:-3:0:15
flags:PROT_CONF
flags:IGNORE_ACID | IGNORE_ELEC | IGNORE_FIRE | IGNORE_COLD
values:RES_ACID[1] | RES_FIRE[1] | RES_COLD[1] | RES_ELEC[1] | RES_POIS[1]
values:RES_DISEN[1] | RES_SOUND[1] | RES_SHARD[1]
values:RES_LIGHT[1] | RES_DARK[1] | RES_CHAOS[1]
power:25
effect:BREATH:MISSILE:20
dice:300
time:50



##### Gold/gems #####

name:copper
type:gold
graphics:$:u

name:silver
type:gold
graphics:$:s

name:garnets
type:gold
graphics:$:r

name:gold
type:gold
graphics:$:y

name:opals
type:gold
graphics:$:W

name:sapphires
type:gold
graphics:$:b

name:rubies
type:gold
graphics:$:r

name:diamonds
type:gold
graphics:$:w

name:emeralds
type:gold
graphics:$:g

name:mithril
type:gold
graphics:$:B

name:adamantite
type:gold
graphics:$:G


##### "Morgoth Artifacts" #####

# These objects are never created without being turned into artifacts.
# This simplifies the code for "killing the winner monster".

name:& Mighty Hammer~
type:hafted
graphics:\:D
properties:15:200:1000
combat:0:3d9:0:0:0
flags:INSTA_ART | QUEST_ART

name:& Massive Iron Crown~
type:crown
graphics:]:D
properties:44:20:1000
combat:0:1d1:0:0:0
flags:INSTA_ART | QUEST_ART


#The "Special Artifacts" are now automatically generated from artifact.txt

