# This file contains the definitions of undrandarts (and what used to be
# fixed artefacts).  util/art-data.pl translates this file into
# art-data.h, and also updates the enumeration and NO_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:
#
# * berserk:  Lets wearer evoke berserking ability.
# * blink:    Lets wearer evoke the blink ability.
# * chaotic:  Is treated as a chaotic item.
# * clarity:  Provides clarity.
# * cursed:   Item is generated cursed.
# * elec:     Grants electrical resistance.
# * evil:     Is treated as an evil item.
# * fog:      Lets wearer use the evoke fog ability.
# * unholy:   Is treated as an unholy item.
# * holy:     Is treated as a holy item.
# * inv:      Lets wearer evoke invisibility ability.
# * fly:      Lets wearer evoke flight ability.
# * life:     Grants negative energy resistance.
# * 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.
# * poison:   Grants poison resistance.
# * randapp:  Generated with a random artefact's appearance (used by
#             strictly-bad unrands).
# * rmsl:     Passively repels missiles.
# * rnd_tele: Induces random teleportation.
# * seeinv:   Lets wearer see invisible.
# * special:  Artefact is "special": can't be picked up by monsters,
#             can't be affected by Tukima's Dance.
# * sustab:   Provides sustain abilities.
# * tilerim:  Adds a black outline to the tile, see above section.
# * unided:   Properties start unidentified.

# 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.

#####

# 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 artifact.
# COLD:     Cold resistance/vulnerability.
# COLOUR:   The colour of the artifact, either as listed in defines.h
#           (e.g., LIGHTRED) or as listed under element_type in view.h
#           (e.g., ETC_FIRE)
# CURSED:   The artefact has a one-in-num chance of becoming cursed each
#           time it's equipped (and is generated cursed).
# SLAY:     Slaying modifier (for non-weapon artefacts).
# DEX:      Dexterity modifier.
# EV:       Evasion modifier.
# FIRE:     Fire resistance/vulnerability.
# INT:      Intelligence modifier.
# MAGIC:    Magic resistance/vulnerability.
# MP:       Mana capacity modifier.
# NAME:     Name of artefact when identified.
# REGEN:    Provides regeneration (40 = ring of regen, 100 = the spell).
# 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
PLUS:   250
COLOUR: BLACK

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

NAME:    Singing Sword
OBJ:     OBJ_WEAPONS/WPN_BASTARD_SWORD
PLUS:    +7
COLOUR:  ETC_GOLD
TILE:    spwpn_singing_sword
TILE_EQ: singing_sword
VALUE:   1200
BOOL:    special

NAME:    Wrath of Trog
OBJ:     OBJ_WEAPONS/WPN_BATTLEAXE
PLUS:    +8
COLOUR:  ETC_BLOOD
TILE:    spwpn_wrath_of_trog
TILE_EQ: axe_trog
VALUE:   1000
ANGRY:   50
BRAND:   SPWPN_ANTIMAGIC

NAME:    Mace of Variability
OBJ:     OBJ_WEAPONS/WPN_GREAT_MACE
PLUS:    +0   # Set on generation
COLOUR:  ETC_RANDOM
TILE:    spwpn_mace_of_variability
TILE_EQ: mace_of_variability
VALUE:   700
BOOL:    special, no_upgrade
BRAND:   SPWPN_CHAOS

NAME:    Glaive of Prune
OBJ:     OBJ_WEAPONS/WPN_GLAIVE
PLUS:    +12
COLOUR:  LIGHTMAGENTA
TILE:    spwpn_glaive_of_prune
TILE_EQ: glaive_of_prune
VALUE:   1000
BOOL:    chaotic
BRAND:   SPWPN_VORPAL

NAME:    Sword of Power
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
PLUS:    +0 # Set on wield
COLOUR:  RED
TILE:    spwpn_sword_of_power
TILE_EQ: sword_of_power
VALUE:   1000
BOOL:    special, no_upgrade

NAME:    Staff of Olgreb
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +0 # Set on wield
COLOUR:  ETC_POISON
TILE:    spwpn_staff_of_olgreb
TILE_EQ: olgreb
VALUE:   1000
BOOL:    poison, no_upgrade

NAME:    Staff of Wucad Mu
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +9
COLOUR:  ETC_MAGIC
TILE:    spwpn_wucad_mu
TILE_EQ: wucad_mu
VALUE:   1000
BOOL:    special

NAME:    Vampire's Tooth
OBJ:     OBJ_WEAPONS/WPN_DAGGER
# it's a dagger made from a tooth -> no TYPE
PLUS:    +4
COLOUR:  ETC_BONE
TILE:    spwpn_vampires_tooth
TILE_EQ: vampires_tooth
BRAND:   SPWPN_VAMPIRISM
VALUE:   1000
BOOL:    special

NAME:    Scythe of Curses
OBJ:     OBJ_WEAPONS/WPN_SCYTHE
PLUS:    +13
COLOUR:  ETC_DEATH
TILE:    spwpn_scythe_of_curses
TILE_EQ: finisher
BRAND:   SPWPN_DRAINING
VALUE:   800
CURSED:  3
BOOL:    evil

NAME:    Sceptre of Torment
OBJ:     OBJ_WEAPONS/WPN_MACE
PLUS:    +7
COLOUR:  ETC_GOLD
TILE:    spwpn_sceptre_of_torment
TILE_EQ: mace_ruby
VALUE:   1200
BOOL:    special, evil

NAME:    Sword of Zonguldrok
OBJ:     OBJ_WEAPONS/WPN_BASTARD_SWORD
PLUS:    +9
COLOUR:  ETC_BONE
TILE:    spwpn_sword_of_zonguldrok
TILE_EQ: zonguldrok
BRAND:   SPWPN_REAPING
VALUE:   1250
CURSED:  3
BOOL:    special, evil, corpse_violating

NAME:    Sword of Cerebov
APPEAR:  great serpentine sword
TYPE:    flamberge
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
BASE_DAM: +1
BASE_ACC: +1
PLUS:    +6
COLOUR:  ETC_FIRE
TILE:    spwpn_sword_of_cerebov
TILE_EQ: sword_twist
VALUE:   2000
BRAND:   SPWPN_FLAMING
BOOL:    tilerim, unholy, nogen

NAME:    Staff of Dispater
APPEAR:  golden staff
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +4
COLOUR:  ETC_GOLD
TILE:    spwpn_staff_of_dispater
TILE_EQ: dispater
VALUE:   1200
BOOL:    special, unholy, nogen

NAME:    Sceptre of Asmodeus
APPEAR:  ruby sceptre
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +7
COLOUR:  ETC_BLOOD
TILE:    spwpn_sceptre_of_asmodeus
TILE_EQ: asmodeus
VALUE:   1500
BOOL:    special, unholy, nogen

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

NAME:    demon blade "Bloodbane"
OBJ:     OBJ_WEAPONS/WPN_DEMON_BLADE
PLUS:    +8
COLOUR:  ETC_DARK
TILE:    urand_bloodbane
TILE_EQ: bloodbane
BRAND:   SPWPN_VORPAL
ANGRY:   9
BOOL:    berserk
STEALTH: -1

NAME:    scimitar of Flaming Death
OBJ:     OBJ_WEAPONS/WPN_SCIMITAR
PLUS:    +6
COLOUR:  ETC_FIRE
TILE:    urand_flaming_death
TILE_EQ: flaming_death
BRAND:   SPWPN_FLAMING
FIRE:    2
COLD:    -1
BOOL:    poison
MAGIC:   1

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
STEALTH: -1
BOOL:    life, seeinv

NAME:    demon blade "Leech"
OBJ:     OBJ_WEAPONS/WPN_DEMON_BLADE
PLUS:    +8
COLOUR:  ETC_DARK
TILE:    urand_leech
TILE_EQ: leech
BRAND:   SPWPN_VAMPIRISM
AC:      -2
EV:      -2
STR:     -2
INT:     -2
DEX:     -2
BOOL:    life

NAME:    dagger of Chilly Death
OBJ:     OBJ_WEAPONS/WPN_DAGGER
PLUS:    +9
COLOUR:  ETC_ICE
TILE:    urand_chilly_death
TILE_EQ: chilly_death
BRAND:   SPWPN_FREEZING
FIRE:    -1
COLD:    2
MAGIC:   1
BOOL:    poison

NAME:     dagger "Morg"
OBJ:      OBJ_WEAPONS/WPN_DAGGER
PLUS:     +4
COLOUR:   LIGHTRED
TILE:     urand_morg
TILE_EQ:  morg
BRAND:    SPWPN_PAIN
INT:      5
MAGIC:    1

NAME:    scythe "Finisher"
OBJ:     OBJ_WEAPONS/WPN_SCYTHE
PLUS:    +5
COLOUR:  ETC_DARK
TILE:    urand_finisher
TILE_EQ: finisher
BRAND:   SPWPN_SPEED
STR:     3

NAME:    greatsling "Punk"
OBJ:     OBJ_WEAPONS/WPN_GREATSLING
PLUS:    +7
COLOUR:  ETC_ICE
TILE:    urand_punk
TILE_EQ: punk
BRAND:   SPWPN_FREEZING
COLD:    1

ENUM:     KRISHNA
NAME:     bow of Krishna "Sharnga"
OBJ:      OBJ_WEAPONS/WPN_LONGBOW
PLUS:     +8
COLOUR:   ETC_GOLD
TILE:     urand_krishna
TILE_EQ:  krishna
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: giant_club_slant
BRAND:   SPWPN_SPEED
STR:     7

NAME:     glaive of the Guard
OBJ:      OBJ_WEAPONS/WPN_GLAIVE
PLUS:     +8
COLOUR:   ETC_ELECTRICITY
TILE:     urand_guard
TILE_EQ:  glaive_of_the_guard
BRAND:    SPWPN_ELECTROCUTION
AC:       5
BOOL:     seeinv, berserk

NAME:     sword of Jihad
OBJ:      OBJ_WEAPONS/WPN_EUDEMON_BLADE
PLUS:     +10
COLOUR:   ETC_HOLY
TILE:     urand_jihad
TILE_EQ:  jihad
BRAND:    SPWPN_HOLY_WRATH
EV:       3
ANGRY:    3
STEALTH:  -1
BOOL:     life

NAME:    arbalest "Hellfire"
INSCRIP: hellfire,
OBJ:     OBJ_WEAPONS/WPN_ARBALEST
PLUS:    +6
COLOUR:  ETC_FIRE
TILE:    urand_hellfire
TILE_EQ: crossbow_fire
FIRE:    2
COLD:    -1
MAGIC:   1
BOOL:    unholy

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
MAGIC:   1
BOOL:    nospell

NAME:    morningstar "Eos"
OBJ:     OBJ_WEAPONS/WPN_MORNINGSTAR
PLUS:    +11
COLOUR:  ETC_JEWEL
TILE:    urand_eos
TILE_EQ: eos
BRAND:   SPWPN_ELECTROCUTION
BOOL:    elec, seeinv, notelep

# 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
PLUS:     +6
COLOUR:   ETC_UNHOLY
TILE:     urand_botono
TILE_EQ:  botono
BRAND:    SPWPN_REAPING
HP:       -6
BOOL:     poison, life

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
MAGIC:    1

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

NAME:     Elemental Staff
OBJ:      OBJ_WEAPONS/WPN_STAFF
PLUS:     +3
COLOUR:   DARKGREY
TILE:     urand_elemental
TILE_EQ:  elemental_staff
FIRE:     2
COLD:     2
MAGIC:    2
AC:       5
BOOL:     elec

NAME:     heavy crossbow "Sniper"
OBJ:      OBJ_WEAPONS/WPN_TRIPLE_CROSSBOW
PLUS:     +15
COLOUR:   ETC_DARK
TILE:     urand_sniper
TILE_EQ:  sniper
BASE_DELAY: +4
BRAND:    SPWPN_VORPAL
BOOL:     seeinv

NAME:    longbow "Piercer"
OBJ:     OBJ_WEAPONS/WPN_LONGBOW
PLUS:    +7
COLOUR:  CYAN
TILE:    urand_piercer
TILE_EQ: great_bow
BRAND:   SPWPN_PENETRATION
EV:      -2

ENUM:    BLOWGUN_ASSASSIN
NAME:    blowgun of the Assassin
OBJ:     OBJ_WEAPONS/WPN_BLOWGUN
PLUS:    +6
COLOUR:  ETC_DEATH
TILE:    urand_blowgun
TILE_EQ: blowgun
STEALTH: 2
BOOL:    inv, tilerim, nogen

NAME:    lance "Wyrmbane"
OBJ:     OBJ_WEAPONS/WPN_SPEAR
INSCRIP: slay drac,
TYPE:    lance
BASE_DAM: +2
PLUS:    +8
COLOUR:  LIGHTGREEN
TILE:    urand_wyrmbane
TILE_EQ: wyrmbane
AC:      5
FIRE:    1
BOOL:    poison, berserk, no_upgrade

NAME:     Spriggan's Knife
OBJ:      OBJ_WEAPONS/WPN_DAGGER
TYPE:     knife
PLUS:     +7
COLOUR:   LIGHTCYAN
TILE:     urand_spriggans_knife
TILE_EQ:  spriggans_knife
BOOL:     tilerim
EV:       4
DEX:      4
MAGIC:    1
STEALTH:  1

NAME:    plutonium sword
OBJ:     OBJ_WEAPONS/WPN_CLAYMORE
PLUS:    +14
COLOUR:  ETC_MUTAGENIC
TILE:    urand_plutonium
TILE_EQ: plutonium_sword
BOOL:    mutate
STEALTH: -1

NAME:     great mace "Undeadhunter"
INSCRIP:  disrupt,
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
PLUS:     +7
COLOUR:   LIGHTGREY
TILE:     urand_undeadhunter
TILE_EQ:  undeadhunter
BOOL:     life

NAME:    whip "Snakebite"
OBJ:     OBJ_WEAPONS/WPN_WHIP
PLUS:    +8
COLOUR:  DARKGREY
TILE:    urand_snakebite
TILE_EQ: snakebite
BRAND:   SPWPN_VENOM
BOOL:    poison, tilerim

# 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

# 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

NAME:     captain's cutlass
OBJ:      OBJ_WEAPONS/WPN_CUTLASS
PLUS:     +10
COLOUR:   DARKGREY
TILE:     urand_cutlass
TILE_EQ:  capt_cutlass
BRAND:    SPWPN_SPEED

NAME:     storm bow
OBJ:      OBJ_WEAPONS/WPN_LONGBOW
PLUS:     +8
COLOUR:   BLUE
TILE:     urand_storm_bow
TILE_EQ:  storm_bow
BRAND:    SPWPN_ELECTROCUTION

NAME:    large shield of Ignorance
OBJ:     OBJ_ARMOUR/ARM_LARGE_SHIELD
PLUS:    +6
COLOUR:  BROWN
TILE:    urand_ignorance
TILE_EQ: lshield_of_ignorance
AC:      2
EV:      2
INT:     -6
BOOL:    life
CURSED:  3

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
PLUS:     +2
COLOUR:   ETC_DARK
TILE:     urand_thief
TILE_EQ:  black
SLAY:     -2
STEALTH:  1
BOOL:     seeinv, fog

# TAG_MAJOR_VERSION == 34
NAME:    large shield "Bullseye"
OBJ:     OBJ_ARMOUR/ARM_LARGE_SHIELD
PLUS:    +15
COLOUR:  RED
TILE:    urand_bullseye
TILE_EQ: shield_bullseye
EV:      -5
BOOL:    nogen

NAME:    crown of Dyrovepreva
OBJ:     OBJ_ARMOUR/ARM_HAT
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
COLOUR:   DARKGREY
TILE:     urand_bear
TILE_EQ:  bear
BRAND:    SPARM_SPIRIT_SHIELD
BOOL:     life, berserk
MAGIC:    2

NAME:     robe of Misfortune
OBJ:      OBJ_ARMOUR/ARM_ROBE
PLUS:     -5
COLOUR:   LIGHTMAGENTA
TILE:     urand_misfortune
TILE_EQ:  robe_misfortune
EV:       -4
STR:      -2
INT:      -2
DEX:      -2
CURSED:   1
STEALTH:  -2
BOOL:     nospell, rnd_tele, randapp, unided, mutate

NAME:     cloak of Flash
OBJ:      OBJ_ARMOUR/ARM_CLOAK
PLUS:     +3
COLOUR:   ETC_FLASH
TILE:     urand_flash
TILE_EQ:  red
EV:       4
BOOL:     fly

ENUM:     BOOTS_ASSASSIN
NAME:     boots of the Assassin
OBJ:      OBJ_ARMOUR/ARM_BOOTS
PLUS:     +2
COLOUR:   BROWN
TILE:     urand_assassin
TILE_EQ:  middle_gray
STEALTH:  2

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

NAME:    skin of Zhor
OBJ:     OBJ_ARMOUR/ARM_ANIMAL_SKIN
PLUS:    +4
COLOUR:  BROWN
TILE:    urand_zhor
TILE_EQ: zhor
COLD:    3

ENUM:    SALAMANDER
NAME:    salamander hide armour
OBJ:     OBJ_ARMOUR/ARM_LEATHER_ARMOUR
PLUS:    +3
COLOUR:  ETC_FIRE
TILE:    urand_salamander
TILE_EQ: leather_red
FIRE:    2
BOOL:    berserk

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_SHIELD
PLUS:    +2
COLOUR:  LIGHTRED
TILE:    urand_resistance
TILE_EQ: shield_of_resistance
FIRE:    1
COLD:    1
MAGIC:   1

NAME:    robe of Folly
OBJ:     OBJ_ARMOUR/ARM_ROBE
PLUS:    3
COLOUR:  LIGHTGREY
TILE:    urand_folly
TILE_EQ: robe_red2
BRAND:   SPARM_ARCHMAGI
INT:     5
CURSED:  3
MAGIC:   -2

ENUM:    MAXWELL
NAME:    Maxwell's patent armour
OBJ:     OBJ_ARMOUR/ARM_PLATE_ARMOUR
PLUS:    +15
COLOUR:  LIGHTGREEN
TILE:    urand_maxwell
TILE_EQ: maxwell
BRAND:   SPARM_RESISTANCE
MAGIC:   1
BOOL:    nospell, notelep, cursed

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

NAME:     robe of Night
OBJ:      OBJ_ARMOUR/ARM_ROBE
PLUS:     +4
COLOUR:   ETC_DARK
TILE:     urand_night
TILE_EQ:  robe_of_night
MAGIC:    1
STEALTH:  1
BOOL:     seeinv, inv

NAME:    armour of the Dragon King
OBJ:     OBJ_ARMOUR/ARM_GOLD_DRAGON_ARMOUR
PLUS:    +9
COLOUR:  ETC_GOLD
TILE:    urand_dragon_king
TILE_EQ: dragonarm_gold
MAGIC:   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
MAGIC:   1
BOOL:    elec

NAME:    fencer's gloves
OBJ:     OBJ_ARMOUR/ARM_GLOVES
PLUS:    +2
COLOUR:  WHITE
TILE:    urand_fencer
TILE_EQ: glove_white
EV:      3
DEX:     6
SLAY:    2

NAME:     cloak of Starlight
OBJ:      OBJ_ARMOUR/ARM_CLOAK
COLOUR:   ETC_ICE
TILE:     urand_starlight
TILE_EQ:  white
EV:       4
COLD:     1
STEALTH:  -1
BOOL:     elec

NAME:     ratskin cloak
OBJ:      OBJ_ARMOUR/ARM_CLOAK
PLUS:     +1
COLOUR:   ETC_BEOGH
TILE:     urand_ratskin_cloak
TILE_EQ:  ratskin
INT:      -1
DEX:      -1
BOOL:     life, poison

NAME:     shield of the gong
OBJ:      OBJ_ARMOUR/ARM_SHIELD
PLUS:     +18
COLOUR:   ETC_GOLD
TILE:     urand_gong
TILE_EQ:  shield_gong
EV:       -5
MAGIC:    1
BOOL:     elec, life

NAME:    amulet of the Air
OBJ:     OBJ_JEWELLERY/AMU_INACCURACY
COLOUR:  ETC_ELECTRICITY
TILE:    urand_air
EV:      5
BOOL:    elec, fly, rmsl

NAME:    ring of Shadows
INSCRIP: Umbra
OBJ:     OBJ_JEWELLERY/RING_INVISIBILITY
COLOUR:  ETC_DARK
TILE:    urand_shadows
BOOL:    life, seeinv

NAME:    amulet of Cekugob
OBJ:     OBJ_JEWELLERY/AMU_WARDING
COLOUR:  ETC_SILVER
TILE:    urand_cekugob
AC:      1
EV:      1
BOOL:    elec, poison, life, notelep

NAME:    amulet of the Four Winds
OBJ:     OBJ_JEWELLERY/AMU_CLARITY
COLOUR:  ETC_POISON
TILE:    urand_four_winds
BOOL:    life
MAGIC:   3

NAME:    necklace of Bloodlust
OBJ:     OBJ_JEWELLERY/AMU_RAGE
COLOUR:  ETC_BLOOD
TILE:    urand_bloodlust
STR:     2
INT:     -2
MAGIC:   1
ANGRY:   9
SLAY:    3
CURSED:  3

NAME:    ring of Shaolin
OBJ:     OBJ_JEWELLERY/RING_EVASION
PLUS:    +8
COLOUR:  ETC_POISON
TILE:    urand_shaolin

NAME:    ring of Robustness
OBJ:     OBJ_JEWELLERY/RING_PROTECTION
PLUS:    +8
COLOUR:  ETC_GOLD
TILE:    urand_robustness

NAME:    ring of the Mage
OBJ:     OBJ_JEWELLERY/RING_WIZARDRY
COLOUR:  ETC_ENCHANT
TILE:    urand_mage
INT:     3
MAGIC:   2

NAME:     brooch of Shielding
OBJ:      OBJ_JEWELLERY/AMU_WARDING
COLOUR:   ETC_MAGIC
TILE:     urand_brooch_of_shielding
AC:       4
EV:       4

ENUM:     RCLOUDS
NAME:     robe of Clouds
OBJ:      OBJ_ARMOUR/ARM_ROBE
PLUS:     +3
COLOUR:   ETC_MIST
TILE:     urand_clouds
TILE_EQ:  robe_clouds
BOOL:     elec, fly

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
MAGIC:    1

ENUM:     DEMON_AXE
NAME:     obsidian axe
OBJ:      OBJ_WEAPONS/WPN_BROAD_AXE
PLUS:     +14
COLOUR:   ETC_UNHOLY
TILE:     spwpn_demon_axe
TILE_EQ:  demon_axe
BRAND:    SPWPN_VORPAL
CURSED:   1
STR:      +3
BOOL:     unholy, seeinv, fly, special

NAME:     lightning scales
OBJ:      OBJ_ARMOUR/ARM_NAGA_BARDING
PLUS:     +6
TILE:     urand_lightning_scales
TILE_EQ:  lightning_scales
COLOUR:   ETC_ELECTRICITY
BRAND:    SPARM_RUNNING
BOOL:     elec

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

NAME:     ring of Vitality
OBJ:      OBJ_JEWELLERY/RING_REGENERATION
HP:       +15
COLOUR:   ETC_MUTAGENIC
TILE:     urand_vitality

NAME:     autumn katana
OBJ:      OBJ_WEAPONS/WPN_LONG_SWORD
TYPE:     katana
TILE:     urand_katana
TILE_EQ:  katana_slant
COLOUR:   LIGHTRED
PLUS:     +8
BASE_ACC: +2
BASE_DAM: +4
BASE_DELAY: -2
BOOL:     clarity
BRAND:    SPWPN_VORPAL

NAME:     shillelagh "Devastator"
OBJ:      OBJ_WEAPONS/WPN_CLUB
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

# 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

ENUM:     OCTOPUS_KING_RING
NAME:     ring of the Octopus King
OBJ:      OBJ_JEWELLERY/RING_LOUDNESS
COLOUR:   ETC_WATER
TILE:     urand_octoring
AC:       1
EV:       1
STR:      1
INT:      1
DEX:      1
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:     +4
COLOUR:   ETC_SHIMMER_BLUE
BRAND:    SPARM_SPIRIT_SHIELD
TILE:     urand_moon_troll_leather_armour
TILE_EQ:  moon_troll_leather_armour
MP:       +5
REGEN:    40

ENUM:     FINGER_AMULET
NAME:     macabre finger necklace
OBJ:      OBJ_JEWELLERY/AMU_WARDING
TILE:     urand_finger
COLOUR:   ETC_BONE

# 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

NAME:     dark maul
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
TYPE:     maul
COLOUR:   LIGHTRED
TILE:     urand_dark_maul
TILE_EQ:  dark_maul
PLUS:     +6
BASE_ACC: +2
BASE_DAM: +27
BASE_DELAY: +13
BRAND:    SPWPN_VORPAL

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

NAME:     arc blade
INSCRIP:  discharge,
OBJ:      OBJ_WEAPONS/WPN_CUTLASS
PLUS:     +4
COLOUR:   ETC_ELECTRICITY
TILE:     urand_arc_blade
TILE_EQ:  arc_blade
BOOL:     elec

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
MAGIC:    1

NAME:    lajatang of Order
INSCRIP: silver, rMut
OBJ:     OBJ_WEAPONS/WPN_LAJATANG
COLOUR:  ETC_SILVER
TILE:    urand_order
TILE_EQ: order
PLUS:    +7

ENUM:     FIRESTARTER
NAME:     great mace "Firestarter"
OBJ:      OBJ_WEAPONS/WPN_GREAT_MACE
COLOUR:   RED
TILE:     urand_firestarter
TILE_EQ:  firestarter
PLUS:     +7
BRAND:    SPWPN_FLAMING
FIRE:     2

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
BOOL:     clarity, sustab

ENUM:    MAJIN
NAME:    Majin-Bo
INSCRIP: Archmagi,
OBJ:     OBJ_WEAPONS/WPN_QUARTERSTAFF
PLUS:    +6
COLOUR:  ETC_UNHOLY
TILE:    spwpn_majin
TILE_EQ: majin
MP:      6
INT:     6
BRAND:   SPWPN_VAMPIRISM
BOOL:    unholy

# This is the first of two amulets used to test suppression aura.
# Together, they confer every randart effect except for a few that are
# determined explicitly by checking whether a certain amulet is worn
# (such as stasis is).
# The first amulet tests all properties, but since some properties can have
# either positive or negative levels (or some properties are mutually
# exclusive), the second amulet tests negative and exclusive effects.
# Obviously, because it contains every positive property in the game,
# this should never be randomly generated!
NAME:    milk chocolate
OBJ:     OBJ_JEWELLERY/AMU_STASIS
COLOUR:  BROWN
TILE:    urand_air
ANGRY:   100
COLD:    3
SLAY:    60
DEX:     3
EV:      3
FIRE:    3
INT:     3
MAGIC:   3
HP:      10
MP:      10
STEALTH: 2
STR:     3
BOOL:    nogen, berserk, blink, clarity, elec, inv, fly, life, nospell, notelep, poison, seeinv, mutate

# This is the second of two amulets used to test suppression. See above.
NAME:    dark chocolate
OBJ:     OBJ_JEWELLERY/AMU_RESIST_CORROSION
COLOUR:  DARKGREY
TILE:    urand_bloodlust
COLD:    -3
SLAY:    -60
DEX:     -3
EV:      -3
FIRE:    -3
INT:     -3
HP:      -10
MP:      -10
STEALTH: -2
STR:     -3
BOOL:    nogen, rnd_tele

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