# This file contains the definitions of unrandarts (and what used to be
# fixed artefacts).  util/art-data.pl translates this file into
# art-data.h, and also updates the enumeration and NUM_UNRANDARTS in
# artefact.h. C/C++ functions which give unrandarts non-standard
# behaviour are in art-func.h; util/art-data.pl scans art-func.h and
# puts the function names found into art-data.h.
#
# Each artefact definition is separated by one or more blank lines.
#
# Each artefact definition must have the NAME, OBJ and COLOUR fields.
#
# The name and appearance of each unrandart must be unique.
#
# Changing the name of an unrand will change its automatically
# generated enumeration, unless its enumeration is forced with ENUM.
#
# "ENUM: FOO" can be used to force the enumeration for an unrand to be
# "UNRAND_FOO", for cases where the automatically generated enumerations
# of different unrandarts conflict.
#
# Add new artefact definitions at the end of the file; doing so should cause
# no problems with save-file compatibility, but for tile builds it will
# cause a shift of remembered tiles (since each new unrandart needs its
# own tiles). Changing the order of the definitions will likely cause
# strange behaviour in games saved previous to the change, and deleting
# definitions will break savefile compatibility.
#
# ####### TILES #############################
#
# Each unrandart needs at the very least an item tile, and weapons and armour
# also need an equipment tile for the player doll. For the former, you can
# define the image file within this file using the keyword TILE. The files are
# assumed to be png and the syntax does not include the file type. The
# artefacts' base type decides where a tile needs to be placed. These are as
# follows:
#     Weapons: rltiles/item/weapon/artefact
#     Armour:  rltiles/item/armour/artefact
#     Rings:   rltiles/item/ring/artefact
#     Amulets: rltiles/item/amulet/artefact
#
# If the tile requires a black outline (because it would be hard to see
# otherwise) add "tilerim" to the artefact's boolean properties. Otherwise
# the image is used without modification.
#
# For the equipment tile, place the tile into the appropriate subdirectory of
# rltiles/player/ and define it in rltiles/dc-player.txt as well as here, using
# the keyword TILE_EQ. Tiles are sorted into directories by equipment slot:
#     Weapons:     rltiles/player/hand1/artefact
#     Body armour: rltiles/player/body
#     Boots:       rltiles/player/boots
#     Cloaks:      rltiles/player/cloak
#     Gloves:      rltiles/player/gloves
#     Shields:     rltiles/player/hand2
#     Helms, caps: rltiles/player/head
#
# Rings and amulets are too small to be displayed with the player doll.
#
# To begin with, placeholders (e.g. the base type tiles) are fine, but they'll
# eventually need to be replaced with proper tiles, though this is less of a
# problem for the equipment tiles.
# No checks are made for whether path or files actually exist. However, if that
# is not the case the tile compilation will fail.

#############################################################################

# Explanation of unusual fields:

# BOOL: Turn certain boolean properties of the artefact on, with the list
# of properties separated by commas. The list includes:
#
# * blink:    Lets wearer evoke the blink ability.
# * chaotic:  Is treated as a chaotic item.
# * clarity:  Provides clarity.
# * corrode:  Randomly causes corrosion when taking damage.
# * drain:    Causes draining when unequipped.
# * elec:     Grants electrical resistance.
# * evil:     Is treated as an evil item.
# * fragile:  Is destroyed when unequipped.
# * evil:     Is treated as an evil item (hated by good gods).
# * holy:     Is treated as a holy item.
# * inv:      Lets wearer evoke invisibility ability.
# * fly:      Grants wearer flight.
# * mutate:   Causes high magical contamination when unequipped.
# * nogen:    Never randomly generated.
# * noises:   Weapon makes noises. Should be given its own set of noises
#             by making an entry in dat/database/wpnnoise.txt, with the
#             entry's key exactly the same as the weapon's name, but all
#             lowercase.
# * nospell:  Prevents wearer from casting spells.
# * notelep:  Prevents wearer from teleporting or blinking.
# * no_upgrade: Don't regenerate this item on load. Used for items with mutable
#             state, e.g. Wyrmbane's growing enchantment.
# * poison:   Grants poison resistance.
# * rcorr:    Grants corrosion resistance.
# * rmsl:     Passively repels missiles.
# * rmut:     Grants mutation resistance.
# * seeinv:   Lets wearer see invisible.
# * skip_ego: The item's ego is skipped in its inscription and description, to
#             be replaced by INSCRIP: and DBRAND: entries.
# * slow:     Randomly causes slowing when taking damage.
# * special:  Artefact is "special": can't be picked up by monsters,
#             can't be affected by Tukima's Dance.
# * tilerim:  Adds a black outline to the tile, see above section.
# * unided:   Properties start unidentified.

# DESCRIP: Description of powers of the artefact which are specific to this
# artefact, not provided by the fields in this file. Use DBRAND for unusual
# brands.
#
# The description of a power can be split across more than one line. The
# subsequent lines should be just below the first one, and should start with
# a space (with no header name). A power with a short name followed by a `:`
# will be automatically indented on the item description screen.
#
# If there are multiple powers, subsequent powers can be added with a +.
#
# Example:
# DESCRIP: Perl: It enhances your regex magic.
# + Python: It gives you a bracketing malus.

# DBRAND: Description of a brand which is specific to this artefact.
#
# The syntax for this is identical to DESCRIP.

# ENUM: Forces the artefact's enumeration literal to something specific.
# For example, "ENUM: FOO" gives the enumeration "UNRAND_FOO". The
# default enumeration is determined as follows:
#
# 1) If there's a string between double quotes, use that.
# 2) If #1 doesn't apply and the name contains " of " or " of the ",
#    use what's after that.
# 3) If neither #1 no #2 apply, use the full name.
# 4) Remove apostrophes, change spaces and dashes to underscores,
#    uppercase the whole thing, and add "UNRAND_" to the front.

# OBJ: The enumerations of the base type and sub type of the artefact,
# separated by a dash. E.g., OBJ_WEAPONS/WPN_SWORD

# PLUS: The pluses of the artefact.

# FALLBACK: if an artifact has already generated, the builder instead usually
# creates a randart with the same base type. This field allows overriding the
# base type for certain special cases (e.g. if a randart's special properties
# put it on par with a much stronger base type).

#####

# Explanation of normal fields:

# AC:       Armour class modifier (for non-armour artefacts).
# ANGRY     Each time the wielder of the weapon strikes a victim there's
#           a num-in-100 chance of the wielder going berserk.
# APPEAR:   Unidentified appearance of artefact.
# COLD:     Cold resistance/vulnerability.
# COLOUR:   The colour of the artefact, either as listed in defines.h
#           (e.g., LIGHTRED) or as listed under element_type in view.h
#           (e.g., ETC_FIRE)
# SLAY:     Slaying modifier (for non-weapon artefacts).
# DEX:      Dexterity modifier.
# EV:       Evasion modifier.
# FIRE:     Fire resistance/vulnerability.
# INT:      Intelligence modifier.
# LIFE:     Negative energy resistance/vulnerability.
# WILL:     Willpower increase/decrease.
# MP:       Mana capacity modifier.
# NAME:     Name of artefact when identified.
# REGEN:    Health regeneration, in units of HP healed every 12.5 aut
#           (1.25 normal turns).
# STEALTH:  Stealth modifier.
# STR:      Strength modifier.
# TILE:     The file containing the artefact's tile, with file type png.
#           See Tiles section above.
# TILE_EQ:  The file containing the equipment tile for the player doll as
#           defined in rltiles/dc-player.txt. See Tiles section above.
# VALUE:    item_value() will return this number instead of doing automatic
#           calculations to determine the value.

##################################################################

# This entry must always be first.
ENUM:   DUMMY1
NAME:   DUMMY UNRANDART 1
OBJ:    OBJ_UNASSIGNED/250
FALLBACK: OBJ_UNASSIGNED/250
PLUS:   250
COLOUR: BLACK

####################### First come the old fixed arts.

NAME:    Singing Sword
OBJ:     OBJ_WEAPONS/WPN_DOUBLE_SWORD
INSCRIP: sonic wave
# Let's take it to 11.
PLUS:    +11
COLOUR:  ETC_GOLD
TILE:    spwpn_singing_sword
TILE_EQ: singing_sword
VALUE:   1000
DBRAND:  Sonic Wave: It radiates damaging sonic waves as it strikes, especially
 in combat involving dangerous or numerous foes.

NAME:    Wrath of Trog
OBJ:     OBJ_WEAPONS/WPN_BATTLEAXE
FALLBACK: OBJ_WEAPONS/WPN_EXECUTIONERS_AXE
PLUS:    +8
COLOUR:  ETC_BLOOD
TILE:    spwpn_wrath_of_trog
TILE_EQ: axe_trog
VALUE:   800
ANGRY:   50
BOOL:    rampage
BRAND:   SPWPN_ANTIMAGIC
DESCRIP: It causes slowness and exhaustion when equipped.
+It extends the wielder's berserk rage when killing foes.

NAME:     mace of Variability
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
FALLBACK: OBJ_WEAPONS/OBJ_RANDOM
INSCRIP:  chaos arc
PLUS:     +7
COLOUR:   ETC_RANDOM
TILE:     spwpn_mace_of_variability
TILE_EQ:  mace_of_variability
VALUE:    600
BRAND:    SPWPN_CHAOS
DBRAND:   Chaos Arc: It occasionally unleashes arcs of chaos on nearby creatures
 upon striking a foe.

NAME:    glaive of Prune
OBJ:     OBJ_WEAPONS/WPN_GLAIVE
INSCRIP: Prune
PLUS:    +12
COLOUR:  LIGHTMAGENTA
TILE:    spwpn_glaive_of_prune
TILE_EQ: glaive_of_prune
BOOL:    chaotic
# I have taken the plums that were in your icebox (and turned them into prunes)
BRAND:   SPWPN_FREEZING
DESCRIP: Prune:     It halves damage taken while paralysed, petrified or
 unconscious.

NAME:    sword of Power
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
INSCRIP: lifebolt
PLUS:    +9
COLOUR:  RED
TILE:    spwpn_sword_of_power
TILE_EQ: sword_of_power
VALUE:   800
DBRAND:  Lifebolt:  It occasionally discharges a powerful but inaccurate bolt
 of energy upon striking a foe, with increased chance the greater the wielder's
 current health.

NAME:    staff of Olgreb
INSCRIP: rPois∞
DESCRIP: Radiate: It can be activated via the 'a'bility menu to radiate toxic energy, with
 effectiveness depending on Evocations skill.
+Alch: It enhances your alchemy magic.
+rPois∞: It grants immunity to poison.
DBRAND: Envenom: If the wielder is skilled in Evocations, they can envenom those struck
 by it, dealing poison damage which bypasses armour.
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +9
COLOUR:  ETC_POISON
TILE:    spwpn_staff_of_olgreb
TILE_EQ: olgreb
VALUE:   1000

NAME:    crystal ball of Wucad Mu
INSCRIP: *channel
OBJ:     OBJ_ARMOUR/ARM_ORB
COLOUR:  ETC_MAGIC
TILE:    urand_wucad_mu
TILE_EQ: orb_of_wucad_mu
VALUE:   1000
DESCRIP: *Channel:  It often returns the magic spent to cast spells, but lowers
 their success rate. It always returns the magic spent on miscasts.

NAME:    Vampire's Tooth
OBJ:     OBJ_WEAPONS/WPN_QUICK_BLADE
# it's a quick blade made from a tooth -> no TYPE
FB_BRAND: SPWPN_VAMPIRISM
PLUS:    +8
INSCRIP: megavamp
COLOUR:  ETC_BONE
TILE:    spwpn_vampires_tooth
TILE_EQ: vampires_tooth
BRAND:   SPWPN_VAMPIRISM
VALUE:   600
BOOL:    skip_ego
DBRAND:  Megavamp:  It occasionally heals its wielder for the full amount of
 damage dealt when it wounds a living foe.

NAME:    scythe of Curses
OBJ:     OBJ_WEAPONS/WPN_HALBERD
FALLBACK: OBJ_WEAPONS/WPN_BARDICHE
TYPE:    scythe
BASE_DAM: +1
BASE_DELAY: +5
PLUS:    +13
INSCRIP: curses,
COLOUR:  ETC_DEATH
TILE:    spwpn_scythe_of_curses
TILE_EQ: finisher
BRAND:   SPWPN_DRAINING
VALUE:   800
BOOL:    drain
DBRAND:  Curses:    It inflicts powerful necromantic curses on any living foe it
 strikes.

NAME:    sceptre of Torment
INSCRIP: torment
OBJ:     OBJ_WEAPONS/WPN_EVENINGSTAR
PLUS:    +7
COLOUR:  ETC_GOLD
TILE:    spwpn_sceptre_of_torment
TILE_EQ: sceptre_of_torment
BRAND:   SPWPN_PAIN
VALUE:   1200
BOOL:    evil
DBRAND:  Torment:   It occasionally torments all nearby living foes when it
 strikes in combat.

NAME:    sword of Zonguldrok
OBJ:     OBJ_WEAPONS/WPN_DOUBLE_SWORD
PLUS:    +9
COLOUR:  ETC_BONE
TILE:    spwpn_sword_of_zonguldrok
TILE_EQ: zonguldrok
BRAND:   SPWPN_REAPING
FB_BRAND: SPWPN_PAIN
VALUE:   800
BOOL:    evil

NAME:    sword of Cerebov
APPEAR:  great serpentine sword
TYPE:    flamberge
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
BASE_DAM: +1
BASE_ACC: +1
PLUS:    +6
# We'd like to inscribe Hellfire here, but that messes with Cerebov's grand entry.
COLOUR:  ETC_FIRE
TILE:    spwpn_sword_of_cerebov
TILE_EQ: sword_twist
BRAND:   SPWPN_FLAMING
BOOL:    evil, nogen
DBRAND:  Hellfire:  It temporarily reduces the fire resistance of those it
 strikes.

NAME:    orb of Dispater
OBJ:     OBJ_ARMOUR/ARM_ORB
COLOUR:  LIGHTRED
TILE:    urand_dispater
TILE_EQ: orb_of_dispater
BOOL:    evil, nogen, corrode
AC:      5
INSCRIP: +Damnation
DESCRIP: +Damnation: It grants the ability to hurl damnation at the cost of
 health and magic, with strength depending on Evocations skill.

NAME:    sceptre of Asmodeus
APPEAR:  ruby sceptre
OBJ:     OBJ_WEAPONS/WPN_EVENINGSTAR
PLUS:    +13
COLOUR:  ETC_BLOOD
TILE:    spwpn_sceptre_of_asmodeus
TILE_EQ: asmodeus
BOOL:    evil, nogen
DESCRIP: Fire Summon: It may summon demons of flame and damnation when striking
 foes.

# Randomised properties, fixed appearance.
# Reserved for the Enchantress.
ENUM:    FAERIE
NAME:    faerie dragon scales
OBJ:     OBJ_ARMOUR/ARM_ACID_DRAGON_ARMOUR
PLUS:    +3
COLOUR:  ETC_JEWEL
TILE:    urand_faerie
TILE_EQ: faerie_dragon_armour
BOOL:    nogen, no_upgrade

# start TAG_MAJOR_VERSION == 34
NAME:    demon blade "Bloodbane"
OBJ:     OBJ_WEAPONS/WPN_DEMON_BLADE
PLUS:    +8
COLOUR:  ETC_DARK
TILE:    urand_bloodbane
TILE_EQ: bloodbane
BRAND:   SPWPN_DRAINING
ANGRY:   5
BOOL:    nogen
STEALTH: -1
# end TAG_MAJOR_VERSION

# start TAG_MAJOR_VERSION == 34
NAME:    scimitar of Flaming Death
OBJ:     OBJ_WEAPONS/WPN_SCIMITAR
INSCRIP: sticky flame,
PLUS:    +6
COLOUR:  ETC_FIRE
TILE:    urand_flaming_death
TILE_EQ: flaming_death
BRAND:   SPWPN_FLAMING
FIRE:    2
COLD:    -1
BOOL:    poison, skip_ego, nogen
WILL:    1
# end TAG_MAJOR_VERSION

# start TAG_MAJOR_VERSION == 34
NAME:    eveningstar "Brilliance"
OBJ:     OBJ_WEAPONS/WPN_EVENINGSTAR
PLUS:    +1
COLOUR:  ETC_HOLY
TILE:    urand_brilliance
TILE_EQ: mace_of_brilliance
BRAND:   SPWPN_HOLY_WRATH
AC:      5
INT:     5
LIFE:    1
BOOL:    nogen
# end TAG_MAJOR_VERSION

NAME:    demon blade "Leech"
OBJ:     OBJ_WEAPONS/WPN_DEMON_BLADE
PLUS:    +8
INSCRIP: evervamp,
COLOUR:  ETC_DARK
TILE:    urand_leech
TILE_EQ: leech
BRAND:   SPWPN_VAMPIRISM
LIFE:    1
BOOL:    drain, harm, skip_ego
DBRAND:  Evervamp:  It heals its wielder for a portion of the damage dealt every
 time it strikes a living foe.

# start TAG_MAJOR_VERSION == 34
NAME:    dagger of Chilly Death
OBJ:     OBJ_WEAPONS/WPN_DAGGER
INSCRIP: flash freeze,
PLUS:    +9
COLOUR:  ETC_ICE
TILE:    urand_chilly_death
TILE_EQ: chilly_death
BRAND:   SPWPN_FREEZING
FIRE:    -1
COLD:    2
WILL:    1
BOOL:    poison, skip_ego, nogen
# end TAG_MAJOR_VERSION

# TAG_MAJOR_VERSION == 34
NAME:     dagger "Morg"
OBJ:      OBJ_WEAPONS/WPN_DAGGER
PLUS:     +4
COLOUR:   LIGHTRED
TILE:     urand_morg
TILE_EQ:  morg
BRAND:    SPWPN_PAIN
INT:      5
WILL:     1
BOOL:     nogen
# end TAG_MAJOR_VERSION

NAME:    scythe "Finisher"
OBJ:     OBJ_WEAPONS/WPN_HALBERD
FALLBACK: OBJ_WEAPONS/WPN_BARDICHE
TYPE:    scythe
BASE_DAM: +1
BASE_DELAY: +5
INSCRIP: execute
PLUS:    +5
COLOUR:  ETC_DARK
TILE:    urand_finisher
TILE_EQ: finisher
BRAND:   SPWPN_SPEED
DBRAND:  Execute:   It may instantly slay those it strikes, especially weaker
 foes.

NAME:    greatsling "Punk"
OBJ:     OBJ_WEAPONS/WPN_SLING
TYPE:    greatsling
PLUS:    +3
BASE_DAM: +3
COLOUR:  ETC_SLIME
TILE:    urand_punk
TILE_EQ: punk
BRAND:   SPWPN_ACID
# random fallback brand
FB_BRAND: SPWPN_NORMAL
BOOL:    rCorr

NAME:     longbow "Zephyr"
OBJ:      OBJ_WEAPONS/WPN_LONGBOW
PLUS:     +8
COLOUR:   ETC_GOLD
TILE:     urand_zephyr
TILE_EQ:  zephyr
BRAND:    SPWPN_SPEED
DEX:      3
BOOL:     seeinv

NAME:    giant club "Skullcrusher"
OBJ:     OBJ_WEAPONS/WPN_GIANT_CLUB
PLUS:    +3
COLOUR:  BROWN
TILE:    urand_skullcrusher
TILE_EQ: skullcrusher
BRAND:   SPWPN_SPEED
STR:     7

NAME:     glaive of the Guard
OBJ:      OBJ_WEAPONS/WPN_GLAIVE
FALLBACK: OBJ_WEAPONS/WPN_BARDICHE
PLUS:     +5
COLOUR:   ETC_ELECTRICITY
TILE:     urand_guard
TILE_EQ:  glaive_of_the_guard
BRAND:    SPWPN_ELECTROCUTION
INSCRIP:  spectral,
DBRAND:   Spectral:  When it strikes, its spirit leaps out and fights alongside
 the wielder.

ENUM:     ZEALOT_SWORD
NAME:     zealot's sword
OBJ:      OBJ_WEAPONS/WPN_EUDEMON_BLADE
PLUS:     +10
INSCRIP:  Zealotry,
COLOUR:   ETC_HOLY
TILE:     unrand_zealot_sword
TILE_EQ:  zealot_sword
# fallback places a randart eudemon blade!
BRAND:    SPWPN_HOLY_WRATH
FB_BRAND: SPWPN_HOLY_WRATH
EV:       3
ANGRY:    20
LIFE:     1
DESCRIP:  Zealotry:  Whenever the wielder enters a berserk rage, their allies
 are berserked alongside them.

NAME:    arbalest "Damnation"
INSCRIP: damnation
OBJ:     OBJ_WEAPONS/WPN_ARBALEST
FB_BRAND: SPWPN_FLAMING
PLUS:    +6
COLOUR:  ETC_FIRE
TILE:    urand_damnation
TILE_EQ: crossbow_fire
VALUE:   800
BOOL:    evil
DBRAND:  Damnation: Any ammunition fired from it explodes in a burst of
 damnation on striking a foe, dealing damage which bypasses armour.

# start TAG_MAJOR_VERSION == 34
NAME:    sword of the Doom Knight
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
PLUS:    +13
COLOUR:  BLUE
TILE:    urand_doom_knight
TILE_EQ: doom_knight
BRAND:   SPWPN_PAIN
WILL:    1
BOOL:    nospell, nogen
# end TAG_MAJOR_VERSION

NAME:    morningstar "Eos"
OBJ:     OBJ_WEAPONS/WPN_MORNINGSTAR
PLUS:    +10
INSCRIP: Halo
COLOUR:  ETC_JEWEL
TILE:    urand_eos
TILE_EQ: eos
BRAND:   SPWPN_ELECTROCUTION
BOOL:    elec
DESCRIP: Halo:      It grants its wielder a halo, revealing invisible creatures
 and increasing accuracy against all within it other than the wielder.

# start TAG_MAJOR_VERSION == 34
# Was "spear of Voo-Doo". In the African origin, there is a distinction
# between voodoo and bo, the latter dealing with curses, witchcraft and
# spells designed to do harm. Priests (or rather sorcerers) of bo are
# called botono.
NAME:     spear of the Botono
OBJ:      OBJ_WEAPONS/WPN_SPEAR
INSCRIP:  Hex
PLUS:     +6
COLOUR:   ETC_UNHOLY
TILE:     urand_botono
TILE_EQ:  botono
BRAND:    SPWPN_REAPING
FB_BRAND: SPWPN_PAIN
HP:       -6
LIFE:     1
BOOL:     poison, nogen
# end TAG_MAJOR_VERSION

NAME:     trident of the Octopus King
OBJ:      OBJ_WEAPONS/WPN_TRIDENT
PLUS:     +8 # Messed with sometimes
COLOUR:   ETC_WATER
TILE:     urand_octopus_king
TILE_EQ:  trident_octopus_king
BRAND:    SPWPN_VENOM
BOOL:     elec, poison, no_upgrade

NAME:    mithril axe "Arga"
OBJ:     OBJ_WEAPONS/WPN_BROAD_AXE
PLUS:    +8
COLOUR:  WHITE
TILE:    urand_arga
TILE_EQ: arga
BRAND:   SPWPN_SPEED
WILL:    1

NAME:     Elemental Staff
OBJ:      OBJ_WEAPONS/WPN_STAFF
FALLBACK: OBJ_WEAPONS/WPN_LAJATANG
FB_BRAND: SPWPN_FREEZING
PLUS:     +3
COLOUR:   DARKGREY
INSCRIP:  ele,
TILE:     urand_elemental
TILE_EQ:  elemental_staff
FIRE:     1
COLD:     1
AC:       3
BOOL:     elec
DBRAND:   Ele:       It enhances your fire, ice, earth and air
 magic. If skilled in Evocations, you can discharge powerful
 blasts of elemental energy when striking with it.

NAME:     heavy crossbow "Sniper"
OBJ:      OBJ_WEAPONS/WPN_TRIPLE_CROSSBOW
TYPE:     heavy crossbow
PLUS:     +27
COLOUR:   ETC_DARK
TILE:     urand_sniper
VALUE:    800
TILE_EQ:  sniper
BASE_DELAY: +2
BRAND:    SPWPN_HEAVY
BOOL:     seeinv
INSCRIP:  Acc+∞
DESCRIP:  Acc+∞:     It never misses its target.

# start TAG_MAJOR_VERSION == 34
NAME:    longbow "Piercer"
OBJ:     OBJ_WEAPONS/WPN_LONGBOW
PLUS:    +7
COLOUR:  CYAN
TILE:    urand_piercer
TILE_EQ: great_bow
BRAND:   SPWPN_PENETRATION
EV:      -2
BOOL:    nogen
# end TAG_MAJOR_VERSION

# start TAG_MAJOR_VERSION == 34
ENUM:    BLOWGUN_ASSASSIN
NAME:    blowgun of the Assassin
INSCRIP: stab,
OBJ:     OBJ_WEAPONS/WPN_BLOWGUN
# fallback is just to prevent errors
FALLBACK: OBJ_WEAPONS/WPN_LONGBOW
PLUS:    +6
COLOUR:  ETC_DEATH
TILE:    urand_blowgun
TILE_EQ: blowgun
STEALTH: 2
BOOL:    inv, tilerim, nogen
# end TAG_MAJOR_VERSION

NAME:    lance "Wyrmbane"
OBJ:     OBJ_WEAPONS/WPN_SPEAR
FALLBACK: OBJ_WEAPONS/WPN_DEMON_TRIDENT
FB_BRAND: SPWPN_FLAMING
INSCRIP: slay drac,
TYPE:    lance
BASE_DAM: +2
PLUS:    +8
COLOUR:  LIGHTGREEN
TILE:    urand_wyrmbane
TILE_EQ: wyrmbane
AC:      3
FIRE:    1
COLD:    1
BOOL:    poison, no_upgrade
DBRAND:  Slay Drac: It inflicts extra damage against dragons and draconians.

NAME:     Spriggan's Knife
OBJ:      OBJ_WEAPONS/WPN_DAGGER
INSCRIP:  stab,
TYPE:     knife
PLUS:     +7
COLOUR:   LIGHTCYAN
TILE:     urand_spriggans_knife
TILE_EQ:  spriggans_knife
EV:       4
STEALTH:  1
DESCRIP:  Stab:      It is more effective when stabbing unaware enemies,
 sometimes treating them as though they were completely helpless.

NAME:    plutonium sword
OBJ:     OBJ_WEAPONS/WPN_TRIPLE_SWORD
FB_BRAND: SPWPN_CHAOS
PLUS:    +11
COLOUR:  ETC_MUTAGENIC
TILE:    urand_plutonium
TILE_EQ: plutonium_sword
BOOL:    mutate, chaotic
STEALTH: -1
VALUE:   1000
DBRAND:  Mutate:    It occasionally inflicts wild transmutation effects on those
 it strikes, inflicting malmutation or extra damage, or polymorphing them into a
 new form.

NAME:     great mace "Undeadhunter"
INSCRIP:  deathbane,
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
FB_BRAND: SPWPN_HOLY_WRATH
PLUS:     +7
COLOUR:   LIGHTGREY
TILE:     urand_undeadhunter
TILE_EQ:  undeadhunter
LIFE:     1
DBRAND:   Deathbane: It inflicts significantly more damage against the undead.

NAME:    whip "Snakebite"
OBJ:     OBJ_WEAPONS/WPN_WHIP
FALLBACK: OBJ_WEAPONS/WPN_DEMON_WHIP
INSCRIP: curare,
PLUS:    +8
COLOUR:  DARKGREY
TILE:    urand_snakebite
TILE_EQ: snakebite
BRAND:   SPWPN_VENOM
BOOL:    poison
DBRAND:  Curare:    It occasionally inflicts asphyxiating poison on those it
 strikes, dealing poison damage and causing slowness.

# start TAG_MAJOR_VERSION == 34
NAME:     knife of Accuracy
OBJ:      OBJ_WEAPONS/WPN_DAGGER
TYPE:     knife
PLUS:     +27
COLOUR:   LIGHTCYAN
TILE:     urand_knife_of_accuracy
TILE_EQ:  knife_of_accuracy
BOOL:     tilerim, nogen
# end TAG_MAJOR_VERSION

# start TAG_MAJOR_VERSION == 34
# A play on the spell of the same name. Colour taken from crystal walls.
ENUM:     CRYSTAL_SPEAR
NAME:     Lehudib's crystal spear
OBJ:      OBJ_WEAPONS/WPN_SPEAR
PLUS:     +6
COLOUR:   GREEN
TILE:     urand_crystal_spear
TILE_EQ:  crystal_spear
INT:      3
BOOL:     nogen
# end TAG_MAJOR_VERSION

ENUM:     CAPTAIN
NAME:     captain's cutlass
OBJ:      OBJ_WEAPONS/WPN_RAPIER
TYPE:     cutlass
INSCRIP:  disarm
PLUS:     +7
COLOUR:   DARKGREY
TILE:     urand_cutlass
TILE_EQ:  capt_cutlass
BRAND:    SPWPN_SPEED
DBRAND:   Disarm:    It may disarm weapon-wielding foes when striking them,
 dealing extra damage in the process.

NAME:     storm bow
OBJ:      OBJ_WEAPONS/WPN_LONGBOW
PLUS:     +8
COLOUR:   BLUE
TILE:     urand_storm_bow
TILE_EQ:  storm_bow
BRAND:    SPWPN_ELECTROCUTION
INSCRIP:  penet
DBRAND:   Penet:     Any ammunition fired by it passes through the targets it
 hits, potentially hitting all targets in its path until it reaches maximum
 range.

NAME:    tower shield of Ignorance
OBJ:     OBJ_ARMOUR/ARM_TOWER_SHIELD
PLUS:    +10
COLOUR:  BROWN
TILE:    urand_ignorance
TILE_EQ: tower_shield_of_ignorance
INT:     -4
LIFE:    1

NAME:    robe of Augmentation
OBJ:     OBJ_ARMOUR/ARM_ROBE
PLUS:    +4
COLOUR:  LIGHTRED
TILE:    urand_augmentation
TILE_EQ: robe_white_blue
STR:     4
INT:     4
DEX:     4

NAME:     cloak of the Thief
OBJ:      OBJ_ARMOUR/ARM_CLOAK
FB_BRAND: SPARM_INVISIBILITY
INSCRIP:  *Fog
PLUS:     +2
COLOUR:   ETC_DARK
TILE:     urand_thief
TILE_EQ:  black
SLAY:     -2
STEALTH:  1
BOOL:     seeinv
DESCRIP:  *Fog:      It may release a thick cloud of smoke when the wearer is
 hurt.

# start TAG_MAJOR_VERSION == 34
NAME:    tower shield "Bullseye"
OBJ:     OBJ_ARMOUR/ARM_TOWER_SHIELD
PLUS:    +15
COLOUR:  RED
TILE:    urand_bullseye
TILE_EQ: kite_shield_bullseye
EV:      -5
BOOL:    nogen
# end TAG_MAJOR_VERSION

NAME:    crown of Dyrovepreva
OBJ:     OBJ_ARMOUR/ARM_HAT
FB_BRAND: SPARM_SEE_INVISIBLE
PLUS:    +3
COLOUR:  ETC_JEWEL
TILE:    urand_dyrovepreva
TILE_EQ: dyrovepreva
INT:     2
BOOL:    elec, seeinv

NAME:     hat of the Bear Spirit
OBJ:      OBJ_ARMOUR/ARM_HAT
PLUS:     +2
INSCRIP:  Bear,
COLOUR:   DARKGREY
TILE:     urand_bear
TILE_EQ:  bear
# TODO: why isn't this brand working on the fallback?
BRAND:    SPARM_SPIRIT_SHIELD
ANGRY:    20
WILL:     2
DBRAND:   Bear:      Going berserk makes the wearer exceptionally tough, and
 they are slowed for a shorter time afterward.

NAME:     robe of Misfortune
OBJ:      OBJ_ARMOUR/ARM_ROBE
# try to make it bad, this is the only bad SPARM:
FB_BRAND: SPARM_PONDEROUSNESS
PLUS:     5
COLOUR:   LIGHTMAGENTA
TILE:     urand_misfortune
TILE_EQ:  robe_misfortune
EV:       5
BOOL:     harm, slow, corrode

# start TAG_MAJOR_VERSION == 34
NAME:     cloak of Flash
OBJ:      OBJ_ARMOUR/ARM_CLOAK
PLUS:     +3
COLOUR:   ETC_FLASH
TILE:     urand_flash
TILE_EQ:  red
EV:       4
BOOL:     fly, nogen
# end TAG_MAJOR_VERSION

ENUM:     HOOD_ASSASSIN
NAME:     hood of the Assassin
OBJ:      OBJ_ARMOUR/ARM_HAT
FB_BRAND: SPARM_SEE_INVISIBLE
INSCRIP:  Detect Stab+
PLUS:     +2
COLOUR:   BROWN
TILE:     urand_hood_assassin
TILE_EQ:  hood_assassin
STEALTH:  2
VALUE:    600
DESCRIP:  Detect:    It allows the wearer to sense nearby creatures.
+Stab+:     It allows the wearer to make particularly effective stabbing attacks
 against helpless or unaware enemies with any weapon.

ENUM:    LEAR
NAME:    Lear's hauberk
OBJ:     OBJ_ARMOUR/ARM_CHAIN_MAIL
FALLBACK: OBJ_ARMOUR/ARM_PLATE_ARMOUR
PLUS:    18
COLOUR:  ETC_GOLD
TILE:    urand_lear
TILE_EQ: lears_hauberk
BOOL:    special

NAME:    skin of Zhor
OBJ:     OBJ_ARMOUR/ARM_ANIMAL_SKIN
# because animal skins count as "mundane" use something else to ensure a randart
# is generated; this isn't a great match:
FALLBACK: OBJ_ARMOUR/ARM_STEAM_DRAGON_ARMOUR
PLUS:    +4
COLOUR:  BROWN
TILE:    urand_zhor
TILE_EQ: zhor
COLD:    3
BOOL:    seeinv
INSCRIP: *Englaciate
DESCRIP: *Englaciate: It radiates cold, occasionally slowing all nearby
 creatures who are not resistant to cold.

ENUM:    SALAMANDER
NAME:    salamander hide armour
OBJ:     OBJ_ARMOUR/ARM_LEATHER_ARMOUR
FB_BRAND: SPARM_FIRE_RESISTANCE
PLUS:    +3
COLOUR:  ETC_FIRE
TILE:    urand_salamander
TILE_EQ: leather_red
FIRE:    2
COLD:    -2
BOOL:    special
INSCRIP: Flames, rFlCloud
DESCRIP: Flames:    It surrounds you with flame clouds and enhances your fire
 magic.
+rFlCloud:  It grants immunity to flame clouds.

NAME:    gauntlets of War
OBJ:     OBJ_ARMOUR/ARM_GLOVES
PLUS:    +3
COLOUR:  BROWN
TILE:    urand_war
TILE_EQ: glove_black
SLAY:    5

NAME:    shield of Resistance
OBJ:     OBJ_ARMOUR/ARM_KITE_SHIELD
PLUS:    +2
COLOUR:  LIGHTRED
TILE:    urand_resistance
TILE_EQ: kite_shield_of_resistance
FIRE:    2
COLD:    2
WILL:    2

NAME:    robe of Folly
OBJ:     OBJ_ARMOUR/ARM_ROBE
PLUS:    4
COLOUR:  LIGHTGREY
TILE:    urand_folly
TILE_EQ: robe_red2
INT:     8
INSCRIP: Brill Will-∞
DESCRIP: Brill:     It increases the power of your magical spells and halves
 their MP cost (rounding up).
+Will-∞:    It reduces your willpower to zero.

ENUM:    MAXWELL
NAME:    Maxwell's patent armour
OBJ:     OBJ_ARMOUR/ARM_PLATE_ARMOUR
PLUS:    +15
COLOUR:  LIGHTGREEN
TILE:    urand_maxwell
TILE_EQ: maxwell
WILL:    1
BOOL:    nospell, notelep, elec, rCorr

ENUM:    DRAGONMASK
NAME:    mask of the Dragon
OBJ:     OBJ_ARMOUR/ARM_HAT
COLOUR:  ETC_SHIMMER_BLUE
TILE:    urand_dragonmask
TILE_EQ: art_dragonhelm
WILL:    1
SLAY:    3
BOOL:    seeinv

NAME:     robe of Night
OBJ:      OBJ_ARMOUR/ARM_ROBE
# there's not a very appropriate fallback brand that works on robes...
PLUS:     +5
INSCRIP:  Dark
COLOUR:   ETC_DARK
TILE:     urand_night
TILE_EQ:  robe_of_night
WILL:     1
BOOL:     seeinv
VALUE:    600
DESCRIP:  Dark:      It shrouds the wearer in darkness, reducing the range at
 which they can see and be seen by others.

NAME:    scales of the Dragon King
OBJ:     OBJ_ARMOUR/ARM_GOLD_DRAGON_ARMOUR
PLUS:    +9
COLOUR:  ETC_GOLD
TILE:    urand_dragon_king
TILE_EQ: dragonarm_gold
WILL:    1

NAME:    hat of the Alchemist
OBJ:     OBJ_ARMOUR/ARM_HAT
PLUS:    -2
COLOUR:  LIGHTMAGENTA
TILE:    urand_alchemist
TILE_EQ: turban_purple
FIRE:    1
COLD:    1
WILL:    1
LIFE:    1
BOOL:    elec, poison, rMut, rCorr

ENUM:    FENCERS
NAME:    fencer's gloves
INSCRIP: Riposte
OBJ:     OBJ_ARMOUR/ARM_GLOVES
PLUS:    +0
COLOUR:  WHITE
TILE:    urand_fencer
TILE_EQ: glove_white
DEX:     3
VALUE:   400
DESCRIP: Riposte:   It allows the wearer to riposte with melee weapons, swiftly
 retaliating against missed or blocked melee attacks.

NAME:     cloak of Starlight
OBJ:      OBJ_ARMOUR/ARM_CLOAK
PLUS:     +1
COLOUR:   ETC_ICE
TILE:     urand_starlight
TILE_EQ:  white
EV:       4
STEALTH:  -2
INSCRIP:  *Dazzle
DESCRIP:  *Dazzle:   It may blind those who miss an attack against the wearer in
 melee combat.

NAME:     ratskin cloak
OBJ:      OBJ_ARMOUR/ARM_CLOAK
PLUS:     +2
COLOUR:   ETC_BEOGH
TILE:     urand_ratskin_cloak
TILE_EQ:  ratskin
INSCRIP:  *Rats
STR:      -1
INT:      -1
DEX:      1
LIFE:     1
BOOL:     poison
DESCRIP:  *Rats:     When the wearer is hurt, rats may emerge from it to assist
 them.

NAME:     shield of the Gong
OBJ:      OBJ_ARMOUR/ARM_KITE_SHIELD
FALLBACK: OBJ_ARMOUR/ARM_TOWER_SHIELD
PLUS:     +18
INSCRIP:  Loud
COLOUR:   ETC_GOLD
TILE:     urand_gong
TILE_EQ:  kite_shield_gong
EV:       -5
WILL:     1
LIFE:     1
BOOL:     rcorr
DESCRIP:  Loud:      It is deafeningly noisy when blocking attacks.

NAME:    amulet of the Air
INSCRIP: Inacc Air
OBJ:     OBJ_JEWELLERY/AMU_NOTHING
COLOUR:  ETC_ELECTRICITY
TILE:    urand_air
BOOL:    elec, fly, rmsl
DESCRIP: Inacc:     It reduces the accuracy of your attacks and spells.
+Air:       It enhances your air magic.

NAME:    ring of Shadows
INSCRIP: Umbra
OBJ:     OBJ_JEWELLERY/RING_STEALTH
COLOUR:  ETC_DARK
TILE:    urand_shadows
BOOL:    inv
VALUE:   400
DESCRIP: Umbra:     It surrounds you with an aura of shadow, increasing your
 stealth and reducing the accuracy of all others within it.

# start TAG_MAJOR_VERSION == 34
NAME:    amulet of Cekugob
OBJ:     OBJ_JEWELLERY/AMU_ACROBAT
COLOUR:  ETC_SILVER
TILE:    urand_cekugob
AC:      1
EV:      1
LIFE:    2
BOOL:    elec, poison, notelep, nogen
# end TAG_MAJOR_VERSION

NAME:    amulet of the Four Winds
OBJ:     OBJ_JEWELLERY/AMU_NOTHING
COLOUR:  ETC_POISON
TILE:    urand_four_winds
LIFE:    1
WILL:    3
BOOL:    clarity

NAME:    necklace of Bloodlust
OBJ:     OBJ_JEWELLERY/AMU_NOTHING
COLOUR:  ETC_BLOOD
TILE:    urand_bloodlust
INT:     -3
WILL:    2
ANGRY:   50
SLAY:    6
INSCRIP: Fury
DESCRIP: Fury:      It extends the wearer's berserk rage when killing foes.

NAME:    ring of the Hare
OBJ:     OBJ_JEWELLERY/RING_EVASION
PLUS:    +10
COLOUR:  ETC_POISON
TILE:    urand_hare

NAME:    ring of the Tortoise
OBJ:     OBJ_JEWELLERY/RING_PROTECTION
PLUS:    +8
COLOUR:  ETC_GOLD
TILE:    urand_tortoise

NAME:    ring of the Mage
OBJ:     OBJ_JEWELLERY/RING_WIZARDRY
COLOUR:  ETC_ENCHANT
TILE:    urand_mage
BOOL:    archmagi

NAME:     brooch of Shielding
OBJ:      OBJ_JEWELLERY/AMU_GUARDIAN_SPIRIT
COLOUR:   ETC_MAGIC
TILE:     urand_brooch_of_shielding
SH:       +8

ENUM:     RCLOUDS
NAME:     robe of Clouds
INSCRIP:  *Thunder rCloud
OBJ:      OBJ_ARMOUR/ARM_ROBE
PLUS:     +3
COLOUR:   ETC_MIST
TILE:     urand_clouds
TILE_EQ:  robe_clouds
BOOL:     elec
DESCRIP:  *Thunder:  It occasionally creates storm clouds above nearby enemies.
+rCloud:    It grants its wearer immunity to clouds.

NAME:     hat of Pondering
OBJ:      OBJ_ARMOUR/ARM_HAT
PLUS:     +3
COLOUR:   LIGHTRED
TILE:     urand_pondering
TILE_EQ:  wizard_bluegreen
BRAND:    SPARM_PONDEROUSNESS
INT:      +5
MP:       +10
WILL:     1

ENUM:     DEMON_AXE
NAME:     obsidian axe
OBJ:      OBJ_WEAPONS/WPN_BROAD_AXE
PLUS:     +16
COLOUR:   ETC_UNHOLY
TILE:     spwpn_demon_axe
TILE_EQ:  demon_axe
BRAND:    SPWPN_DRAINING
FB_BRAND: SPWPN_PAIN
BOOL:     evil, seeinv, fly, drain
INSCRIP:  demonic, Mesm
DBRAND:   Demonic:   It occasionally summons demons to assist the wielder when
 it strikes in combat.
DESCRIP:  Mesm:      Its wielder is mesmerised by any visible foes, and it
 cannot be unequipped while any foes are visible.

NAME:     lightning scales
INSCRIP:  swift,
OBJ:      OBJ_ARMOUR/ARM_BARDING
PLUS:     +6
TILE:     urand_lightning_scales
TILE_EQ:  lightning_scales
COLOUR:   ETC_ELECTRICITY
BOOL:     elec
DESCRIP:  Swift:     It allows the wearer to cover ground more swiftly.

ENUM:     BLACK_KNIGHT_HORSE
NAME:     Black Knight's barding
OBJ:      OBJ_ARMOUR/ARM_BARDING
PLUS:     +10
TILE:     urand_bk_barding
TILE_EQ:  black_knight
COLOUR:   ETC_UNHOLY
BRAND:    SPARM_PONDEROUSNESS
LIFE:     1
BOOL:     poison, evil

NAME:     amulet of Vitality
OBJ:      OBJ_JEWELLERY/AMU_MANA_REGENERATION
INSCRIP:  RegenMP++
REGEN:    2
COLOUR:   ETC_MUTAGENIC
BOOL:     skip_ego
VALUE:    1000
TILE:     urand_vitality

NAME:     autumn katana
INSCRIP:  manifold assault
OBJ:      OBJ_WEAPONS/WPN_LONG_SWORD
FALLBACK: OBJ_WEAPONS/WPN_DOUBLE_SWORD
TYPE:     katana
TILE:     urand_katana
TILE_EQ:  katana_slant
COLOUR:   LIGHTRED
PLUS:     +8
BASE_ACC: +2
BASE_DAM: +4
BASE_DELAY: -2
DBRAND:   Manifold Assault: It sometimes launches melee attacks against multiple
 visible enemies.

NAME:     shillelagh "Devastator"
INSCRIP:  shatter
OBJ:      OBJ_WEAPONS/WPN_CLUB
FALLBACK: OBJ_WEAPONS/WPN_EVENINGSTAR
FB_BRAND: SPWPN_HEAVY
TYPE:     shillelagh
TILE:     urand_shillelagh
TILE_EQ:  shillelagh
PLUS:     +6
BASE_DAM: +3
BOOL:     special
# hrm, nothing fitting, shouldn't be elemental but should be marked
COLOUR:   WHITE
VALUE:    600
DBRAND:   Shatter:   It releases a powerful concussive burst when it strikes,
 dealing extra damage to the target and all other creatures adjacent to them.

# Worn by Tiamat.
ENUM:     DRAGONSKIN
NAME:     dragonskin cloak
APPEAR:   opalescent scaly cloak
OBJ:      OBJ_ARMOUR/ARM_CLOAK
TILE:     urand_dragonskin
TILE_EQ:  dragonskin
PLUS:     +4
COLOUR:   ETC_HEAL
BOOL:     nogen
# We'd like to inscribe something here ('Wyrmscale'?), but that messes with Tiamat's announcement.
DESCRIP:  Avatar's Aegis: It grants the wearer a chance to resist fire, cold,
 poison, electricity, acid, and negative energy.

ENUM:     OCTOPUS_KING_RING
NAME:     ring of the Octopus King
OBJ:      OBJ_JEWELLERY/RING_FIRST_RING
COLOUR:   ETC_WATER
TILE:     urand_octoring
AC:       +2
EV:       +2
SH:       +2
HP:       +2
BOOL:     unided, no_upgrade

# Meatsprint only. The type is adjusted to the biggest two-handed axe the
# player's species can wield (exec or broad).
# Auto-hits, auto-kills.
ENUM:     WOE
NAME:     Axe of Woe
OBJ:      OBJ_WEAPONS/WPN_EXECUTIONERS_AXE
COLOUR:   ETC_BLOOD
TILE:     urand_axe_of_woe
TILE_EQ:  axe_of_woe
BOOL:     nogen, no_upgrade

NAME:     moon troll leather armour
OBJ:      OBJ_ARMOUR/ARM_TROLL_LEATHER_ARMOUR
PLUS:     +5
COLOUR:   ETC_SHIMMER_BLUE
BRAND:    SPARM_SPIRIT_SHIELD
TILE:     urand_moon_troll_leather_armour
TILE_EQ:  moon_troll_leather_armour
MP:       +5
REGEN:    1

ENUM:     FINGER_AMULET
NAME:     macabre finger necklace
OBJ:      OBJ_JEWELLERY/AMU_NOTHING
TILE:     urand_finger
COLOUR:   ETC_BONE
BOOL:     evil
LIFE:     1
VALUE:    400
INSCRIP:  Finger+
DESCRIP:  Finger+:   It enables you to equip an extra ring.

# start TAG_MAJOR_VERSION == 34
ENUM:     SPIDER
NAME:     boots of the spider
OBJ:      OBJ_ARMOUR/ARM_BOOTS
TILE:     urand_spider
TILE_EQ:  spider
PLUS:     +3
BRAND:    SPARM_JUMPING
COLOUR:   LIGHTMAGENTA
STEALTH:  1
BOOL:     nogen
# end TAG_MAJOR_VERSION

NAME:     dark maul
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
TYPE:     maul
COLOUR:   LIGHTRED
TILE:     urand_dark_maul
TILE_EQ:  dark_maul
PLUS:     +10
BASE_ACC: +2
BASE_DAM: +20
BASE_DELAY: +7
BRAND:    SPWPN_HEAVY

# start TAG_MAJOR_VERSION == 34
ENUM:    HIGH_COUNCIL
NAME:    hat of the High Council
INSCRIP: Wiz-
OBJ:     OBJ_ARMOUR/ARM_HAT
COLOUR:  LIGHTGREEN
TILE:    urand_high_council
TILE_EQ: wizard_lightgreen
PLUS:    +2
BRAND:   SPARM_ARCHMAGI
STEALTH: -1
BOOL:    nogen
# end TAG_MAJOR_VERSION

NAME:     arc blade
INSCRIP:  discharge,
OBJ:      OBJ_WEAPONS/WPN_RAPIER
FALLBACK: OBJ_WEAPONS/WPN_QUICK_BLADE
FB_BRAND: SPWPN_ELECTROCUTION
PLUS:     +8
COLOUR:   ETC_ELECTRICITY
TILE:     urand_arc_blade
TILE_EQ:  arc_blade
BOOL:     elec
VALUE:    600
DBRAND:   Discharge: It occasionally unleashes powerful arcs of lightning upon
 striking a foe. These may arc to other adjacent creatures (including the
 wielder, but dealing reduced damage to them) before grounding out.

ENUM:     SPELLBINDER
NAME:     demon whip "Spellbinder"
OBJ:      OBJ_WEAPONS/WPN_DEMON_WHIP
BRAND:    SPWPN_ANTIMAGIC
PLUS:     +5
COLOUR:   ETC_ENCHANT
TILE:     urand_spellbinder
TILE_EQ:  spellbinder
WILL:     1
INSCRIP:  disrupt,
DBRAND:   Disrupt:   It unleashes wild and unpredictable magical effects upon
 striking a wizard or a creature with magical abilities.

NAME:    lajatang of Order
INSCRIP: silver,
OBJ:     OBJ_WEAPONS/WPN_LAJATANG
# not really comparable...
FB_BRAND: SPWPN_HOLY_WRATH
COLOUR:  ETC_SILVER
TILE:    urand_order
TILE_EQ: order
PLUS:    +7
BOOL:    rMut
DBRAND:  Silver:    It inflicts extra damage upon those it strikes, and deals
 substantially increased damage to chaotic, mutated and magically transformed
 beings.

ENUM:     FIRESTARTER
NAME:     great mace "Firestarter"
INSCRIP:  immolate, rFlCloud
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
COLOUR:   RED
TILE:     urand_firestarter
TILE_EQ:  firestarter
PLUS:     +7
BRAND:    SPWPN_FLAMING
FIRE:     2
DBRAND:   Immolate:  It fills those it strikes with an explosive inner flame.
DESCRIP:  rFlCloud:  It grants immunity to clouds of flame.

NAME:     orange crystal plate armour
OBJ:      OBJ_ARMOUR/ARM_CRYSTAL_PLATE_ARMOUR
COLOUR:   LIGHTRED
TILE:     urand_orange_crystal
TILE_EQ:  orange_crystal
PLUS:     8
INT:      3
BRAND:    SPARM_ARCHMAGI
FB_BRAND: SPWPN_NORMAL
BOOL:     clarity

ENUM:     MAJIN
NAME:     Majin-Bo
OBJ:      OBJ_WEAPONS/WPN_STAFF
TYPE:     bo
FALLBACK: OBJ_WEAPONS/WPN_LAJATANG
INSCRIP:  spellvamp,
PLUS:     +6
BASE_ACC: -4
BASE_DAM: +6
COLOUR:   ETC_UNHOLY
TILE:     spwpn_majin
TILE_EQ:  majin
MP:       6
INT:      6
BRAND:    SPWPN_VAMPIRISM
BOOL:     skip_ego
DBRAND:   Spellvamp: It heals its wielder for a portion of the damage dealt when
 they wound a living foe with it or with a spell, but its wielder's spells cost
 health as well as magical power.

ENUM:    GYRE
NAME:    pair of quick blades "Gyre" and "Gimble"
OBJ:     OBJ_WEAPONS/WPN_QUICK_BLADE
TYPE:    pair of quick blades
COLOUR:  ETC_ENCHANT
TILE:    urand_gyre
TILE_EQ: gyre
PLUS:    8
BRAND:   SPWPN_PROTECTION
FB_BRAND: SPWPN_FREEZING

# start TAG_MAJOR_VERSION == 34
ENUM:    ETHERIC_CAGE
NAME:    Maxwell's etheric cage
OBJ:     OBJ_ARMOUR/ARM_HELMET
COLOUR:  ETC_ELECTRICITY
TILE:    urand_etheric_cage
TILE_EQ: etheric_cage
INSCRIP: RegenMP+
PLUS:    +0
MP:      +4
BOOL:    mutate, elec, chaotic, nogen
VALUE:   400
# end TAG_MAJOR_VERSION

# start TAG_MAJOR_VERSION == 34
ENUM:    ETERNAL_TORMENT
NAME:    crown of Eternal Torment
OBJ:     OBJ_ARMOUR/ARM_HAT
PLUS:    +3
COLOUR:  ETC_DARK
TILE:    urand_eternal_torment
TILE_EQ: eternal_torment
INSCRIP: rTorment HP--
LIFE:    3
BOOL:    evil, seeinv, nogen, drain
# end TAG_MAJOR_VERSION

ENUM:    VINES
NAME:    robe of Vines
OBJ:     OBJ_ARMOUR/ARM_ROBE
PLUS:    +1
COLOUR:  GREEN
TILE:    urand_vines
TILE_EQ: vines
INSCRIP: NoPotionHeal
REGEN:   4
VALUE:   800
DESCRIP: NoPotionHeal: Its wearer cannot be healed by potions.

ENUM:    KRYIAS
NAME:    Kryia's mail coat
OBJ:     OBJ_ARMOUR/ARM_SCALE_MAIL
PLUS:    +7
COLOUR:  LIGHTCYAN
TILE:    urand_kryias
TILE_EQ: kryias
INSCRIP: PotionHeal*2
COLD:    1
VALUE:   600
DESCRIP: PotionHeal*2: Potions heal its wearer twice as much.

ENUM:    FROSTBITE
NAME:    frozen axe "Frostbite"
OBJ:     OBJ_WEAPONS/WPN_EXECUTIONERS_AXE
INSCRIP: freezing cloud,
PLUS:    +8
COLOUR:  ETC_ICE
TILE:    urand_frostbite
TILE_EQ: frostbite
BRAND:   SPWPN_FREEZING
COLD:    1
BOOL:    fly, noises
DBRAND:  Freezing Cloud: It occasionally leaves clouds of freezing vapour upon
 striking a foe, and grants immunity to clouds of freezing vapour.

# start TAG_MAJOR_VERSION == 34
ENUM:     TALOS
NAME:     armour of Talos
OBJ:      OBJ_ARMOUR/ARM_PLATE_ARMOUR
PLUS:     +12
TILE:     urand_talos
TILE_EQ:  talos
COLOUR:   ETC_FIRE
BRAND:    SPARM_PONDEROUSNESS
FIRE:     1
BOOL:     nogen
# end TAG_MAJOR_VERSION

ENUM:     WARLOCK_MIRROR
NAME:     warlock's mirror
OBJ:      OBJ_ARMOUR/ARM_BUCKLER
PLUS:     +3
TILE:     urand_warlock
TILE_EQ:  buckler_warlock
COLOUR:   ETC_SILVER
BRAND:    SPARM_REFLECTION
VALUE:    400
BOOL:     skip_ego
INSCRIP:  omnireflect
DBRAND:   Omnireflect: It can block and reflect piercing ranged attacks and
 magical attacks against the wielder's willpower.

# Fedhas sprint, to allow all species access to evocable invisibility.
NAME:     amulet of invisibility
OBJ:      OBJ_JEWELLERY/AMU_NOTHING
COLOUR:   WHITE
TILE:     urand_cekugob
BOOL:     inv, nogen

ENUM:     THERMIC_ENGINE
NAME:     Maxwell's thermic engine
OBJ:      OBJ_WEAPONS/WPN_DOUBLE_SWORD
INSCRIP:  freeze, rev,
DBRAND:   Freeze:    It freezes victims, dealing an additional one-quarter of
 any damage that pierces defenders' armour. It may also slow down cold-blooded
 creatures.
+Rev:       It becomes more effective when it hits something. This effect fades
 over time.
PLUS:     +2
COLOUR:   ETC_VEHUMET
TILE:     urand_thermic_engine
TILE_EQ:  thermic_engine
BRAND:    SPWPN_FLAMING

ENUM:     RIFT
NAME:     demon trident "Rift"
OBJ:      OBJ_WEAPONS/WPN_DEMON_TRIDENT
INSCRIP:  reach+
PLUS:     +8
COLOUR:   ETC_WARP
TILE:     urand_rift
TILE_EQ:  rift
BRAND:    SPWPN_DISTORTION
DBRAND:   Reach+:    It can reach especially far, and its reaching attacks
 ignore other creatures in the way.

ENUM:     BATTLE
NAME:     sphere of Battle
OBJ:      OBJ_ARMOUR/ARM_ORB
COLOUR:   ETC_MAGIC
TILE:     urand_battle
TILE_EQ:  orb_of_battle
VALUE:    800
DESCRIP: Battle: It summons a battlesphere in combat, with strength
 depending on Conjurations skill.
+Destructive: It enhances your destructive magic, and weakens non-destructive
 magic.

ENUM:     EMBRACE
NAME:     Cigotuvi's embrace
OBJ:      OBJ_ARMOUR/ARM_LEATHER_ARMOUR
PLUS:     +4 # varies with corpse count
COLOUR:   ETC_UNHOLY
TILE:     urand_cigotuvi
TILE_EQ:  bplate_green
# XXX TODO: tiles
LIFE:     1
INSCRIP:  Corpsefed rMiasma
BOOL:     drain, evil, special, no_upgrade
DESCRIP:  Corpsefed: It gathers nearby corpses to temporarily increase the
 armour it provides.
+rMiasma:   It protects you from foul pestilence.

NAME:     seven-league boots
OBJ:      OBJ_ARMOUR/ARM_BOOTS
TILE:     urand_seven_league_boots
TILE_EQ:  seven_league_boots
PLUS:     +3
COLOUR:   ETC_ENCHANT
INSCRIP:  Rampage+∞
VALUE:    400
DESCRIP:  Rampage+∞: When moving toward enemies, its wearer moves as far as
 possible, alerting their target en route.

ENUM:     POWER_GLOVES
NAME:     Mad Mage's Maulers
OBJ:      OBJ_ARMOUR/ARM_GLOVES
PLUS:     +3
COLOUR:   ETC_MAGIC
TILE:     urand_power_gloves
TILE_EQ:  glove_brown
INSCRIP:  Infuse+∞ VampMP
BOOL:     nospell
VALUE:    400
DESCRIP:  Infuse+∞:  It empowers its wearer's blows with all of their magic.
+VampMP:    Blows struck in melee replenish the wearer's magic.

NAME:     dreamshard necklace
OBJ:      OBJ_JEWELLERY/AMU_ACROBAT
COLOUR:   ETC_SILVER
TILE:     urand_dreamshard
INSCRIP:  *Dream
BOOL:     special
VALUE:    2000
DESCRIP:  *Dream:    It absorbs a single lethal wound into itself, holding its
 wearer just short of death and releasing dream-creatures to guard them.

NAME:     Delatra's gloves
OBJ:      OBJ_ARMOUR/ARM_GLOVES
PLUS:     +1
COLOUR:   BLUE
TILE:     urand_delatra
TILE_EQ:  glove_blue
INSCRIP:  ID++
VALUE:    100
DESCRIP:  ID++:      It heals its wearer when they drink unknown potions, and
 restores their MP when they read unknown scrolls.

NAME:       woodcutter's axe
OBJ:        OBJ_WEAPONS/WPN_BATTLEAXE
PLUS:       5
BASE_DELAY: -7
COLOUR:     BROWN
TILE:       urand_woodcutters_axe
TILE_EQ:    axe_short

NAME:       Throatcutter
OBJ:        OBJ_WEAPONS/WPN_LONG_SWORD
FALLBACK:   OBJ_WEAPONS/WPN_SCIMITAR
PLUS:       7
COLOUR:     LIGHTRED
TILE:       urand_throatcutter
TILE_EQ:    throatcutter
BRAND:      SPWPN_DRAINING
INSCRIP:    coup de grace
DBRAND:     Coup de Grace: It may instantly kill foes which have little health.

NAME:       staff of the Meek
OBJ:        OBJ_WEAPONS/WPN_QUARTERSTAFF
PLUS:       7
COLOUR:     WHITE
TILE:       urand_meek
TILE_EQ:    staff_mage_two
BRAND:      SPWPN_PROTECTION
INSCRIP:    meekguard
DBRAND:     Meekguard: It provides extra protection to wielders with little
 health.

ENUM:     CONDEMNATION
NAME:     trishula "Condemnation"
OBJ:      OBJ_WEAPONS/WPN_TRISHULA
PLUS:     8
COLOUR:   ETC_HOLY
BRAND:    SPWPN_HOLY_WRATH
FB_BRAND: SPWPN_HOLY_WRATH
LIFE:     1
BOOL:     fly, noises
INSCRIP:  anguish,
DBRAND:   Anguish:   It makes its victims' attacks reflect back on them.
TILE:     urand_condemnation
TILE_EQ:  condemnation

NAME:    amulet of Elemental Vulnerability
OBJ:     OBJ_JEWELLERY/AMU_NOTHING
COLOUR:  ETC_VEHUMET
TILE:    urand_elemental_vulnerability
AC:      8
BOOL:    poison
FIRE:    -2
COLD:    -2

NAME:    mountain boots
OBJ:     OBJ_ARMOUR/ARM_BOOTS
TILE:    urand_mountain
TILE_EQ: spider
PLUS:    +3
COLOUR:  ETC_MOUNTAIN
COLD:    1
BOOL:    special
INSCRIP: steadfast,
DBRAND:  Steadfast: It prevents involuntary movement, except for blinking,
 teleportation, or banishment.

NAME:       Lochaber axe
OBJ:        OBJ_WEAPONS/WPN_BARDICHE
TYPE:       Lochaber axe
TILE:       urand_lochaber_axe
TILE_EQ:    lochaber_axe
COLOUR:     ETC_IRON
PLUS:       +5
BASE_ACC:   -1
BASE_DAM:   +1
BASE_DELAY: +1
BOOL:       drain
INSCRIP:    reach-cleave, Poleaxe
DBRAND:     Reach-Cleave: It can be evoked to extend its reach, and strikes at
 all foes within reach, dealing less damage to those not targeted.
DESCRIP:    Poleaxe:   It uses either Axes or Polearms skill, whichever is
 higher.

NAME:    Hermit's Pendant
OBJ:     OBJ_JEWELLERY/AMU_FAITH
COLOUR:  BROWN
TILE:    urand_hermit_pendant
MP:      +5
INSCRIP: Invo=14 Evo=0
DBRAND:  Invo=14:   It sets your Invocations skill to 14.
+Evo=0:     It sets your Evocations skill to 0.

NAME:    slick slippers
OBJ:     OBJ_ARMOUR/ARM_BOOTS
TILE:    urand_slippers
TILE_EQ: slippers
PLUS:    +2
COLOUR:  ETC_DITHMENOS
EV:      4
VALUE:   270
INSCRIP: slick, slippery,
DBRAND:  Slick:     Its wearer cannot be constricted, engulfed, netted or
 webbed.
+Slippery:  Its wearer slips away from damaging melee attacks, pulling the
 attacker onward.

NAME:     Force Lance
OBJ:      OBJ_WEAPONS/WPN_SPEAR
FALLBACK: OBJ_WEAPONS/WPN_DEMON_TRIDENT
INSCRIP:  knockback,
TYPE:     lance
BASE_DAM: +2
PLUS:     +5
COLOUR:   ETC_DISJUNCTION
BRAND:    SPWPN_HEAVY
TILE:     urand_force_lance
TILE_EQ:  force_lance
DBRAND:   Knockback: It sometimes drives back enemies it hits.

ENUM:     HOLY_AXE
NAME:     consecrated labrys
OBJ:      OBJ_WEAPONS/WPN_BROAD_AXE
TYPE:     labrys
BASE_DAM: +1
PLUS:     +4
COLOUR:   ETC_HOLY
TILE:     spwpn_holy_axe
TILE_EQ:  holy_axe
BRAND:    SPWPN_HOLY_WRATH
BOOL:     no_upgrade, fly, seeinv, fragile
INSCRIP:  Valiant
DESCRIP:  Valiant:   It becomes more powerful as more dangerous foes come into
 view.

NAME:     toga "Victory"
OBJ:      OBJ_ARMOUR/ARM_ROBE
PLUS:     +0 # varies with kills and consumable use
SLAY:     +0 # varies
INT:      +0 # varies
COLOUR:   LIGHTCYAN
TILE:     urand_victor
TILE_EQ:  arwen
INSCRIP:  *Victory
BOOL:     clarity, no_upgrade
VALUE:    600
DESCRIP:  *Victory:  When the wearer kills a threatening monster, it has a
 chance to gain +1 AC, +1 Slay, and +1 Int, capping at +7. When the wearer uses
 a scroll or a potion with a hostile monster in sight, its bonuses reset to +0.
 Unequipping it also resets its bonuses to +0.

ENUM:     STORM_QUEEN
NAME:     Storm Queen's Shield
OBJ:      OBJ_ARMOUR/ARM_KITE_SHIELD
FALLBACK: OBJ_ARMOUR/ARM_TOWER_SHIELD
PLUS:     +5
COLOUR:   BLUE
TILE:     urand_storm_queen
TILE_EQ:  kite_shield_storm_queen
BOOL:     elec, fly
INSCRIP:  shock,
DBRAND:   Shock:     When it blocks an attack, it may electrocute the attacker.
 This works even against foes who are a short distance away.

NAME:     dreamdust necklace
OBJ:      OBJ_JEWELLERY/AMU_ACROBAT
COLOUR:   ETC_SILVER
TILE:     urand_dreamdust
BOOL:     special, nogen

NAME:     hand cannon "Mule"
OBJ:      OBJ_WEAPONS/WPN_HAND_CANNON
TILE:     spwpn_mule
TILE_EQ:  mule
PLUS:     7
FIRE:     1
COLOUR:   ETC_INCARNADINE
BRAND:    SPWPN_FLAMING
INSCRIP:  backblast,
DBRAND:   Backblast: When fired, it often launches its wielder backwards.

# This entry must always be last.
ENUM:   DUMMY2
NAME:   DUMMY UNRANDART 2
OBJ:    OBJ_UNASSIGNED/250
PLUS:   250
COLOUR: BLACK
