# 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.
# * cursed:   Item is generated cursed.
# * elec:     Grants electrical resistance.
# * evil:     Is treated as an evil item.
# * fog:      Lets wearer use the evoke fog ability.
# * 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.  Can 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.
# * 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.  For an object with two pluses,
# this is specified with "plus/plus2".  For an object with just one plus,
# this is specified with "plus".

#####

# Explanation of normal fields:

# AC:       Armour class modifier (for non-armour artefacts).
# ACC:      Accuracy modifier (for non-weapon 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).
# DAM:      Damage modifier (for non-weapon artefacts).
# DEX:      Dexterity modifier.
# EV:       Evasion modifier.
# FIRE:     Fire resistance/vulnerability.
# INT:      Intelligence modifier.
# MAGIC:    Magic resistance modifier.
# METAB:    Hunger modifier.
# 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/250
COLOUR: BLACK

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

NAME:    Singing Sword
OBJ:     OBJ_WEAPONS/WPN_LONG_SWORD
PLUS:    +7/+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:    +3/+11
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/0   # Set on generation
COLOUR:  ETC_RANDOM
TILE:    spwpn_mace_of_variability
TILE_EQ: mace_of_variability
VALUE:   700
BOOL:    special
BRAND:   SPWPN_CHAOS

NAME:    Glaive of Prune
OBJ:     OBJ_WEAPONS/WPN_GLAIVE
PLUS:    +4/+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/0 # Set on wield
COLOUR:  RED
TILE:    spwpn_sword_of_power
TILE_EQ: sword_of_power
VALUE:   1000
BOOL:    special

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

NAME:    Staff of Wucad Mu
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +9/+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:    +3/+4
COLOUR:  ETC_BONE
TILE:    spwpn_vampires_tooth
TILE_EQ: vampires_tooth
BRAND:   SPWPN_VAMPIRICISM
VALUE:   1000
BOOL:    special

NAME:    Scythe of Curses
OBJ:     OBJ_WEAPONS/WPN_SCYTHE
PLUS:    +13/+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/+6
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_DOUBLE_SWORD
PLUS:    +9/+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/+6
COLOUR:  ETC_FIRE
TILE:    spwpn_sword_of_cerebov
TILE_EQ: sword_twist
VALUE:   2000
BRAND:   SPWPN_FLAMING
BOOL:    tilerim, evil, nogen

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

NAME:    Sceptre of Asmodeus
APPEAR:  ruby sceptre
OBJ:     OBJ_WEAPONS/WPN_STAFF
PLUS:    +7/+7
COLOUR:  ETC_BLOOD
TILE:    spwpn_sceptre_of_asmodeus
TILE_EQ: asmodeus
VALUE:   1500
BOOL:    special, evil, 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

##################### End of old fixed arts.

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

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

NAME:    mace of Brilliance
OBJ:     OBJ_WEAPONS/WPN_MACE
PLUS:    +5/+5
COLOUR:  ETC_HOLY
TILE:    urand_brilliance
TILE_EQ: mace_of_brilliance
BRAND:   SPWPN_HOLY_WRATH
AC:      5
INT:     5
STEALTH: -20
BOOL:    life, seeinv

NAME:    demon blade "Leech"
OBJ:     OBJ_WEAPONS/WPN_DEMON_BLADE
PLUS:    +13/+4
COLOUR:  ETC_DARK
TILE:    urand_leech
TILE_EQ: leech
BRAND:   SPWPN_VAMPIRICISM
EV:      -1
STR:     -1
INT:     -1
DEX:     -1
BOOL:    life

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

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

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

NAME:    sling "Punk"
OBJ:     OBJ_WEAPONS/WPN_SLING
PLUS:    +9/+12
COLOUR:  ETC_ICE
TILE:    urand_punk
TILE_EQ: punk
BRAND:   SPWPN_FROST
COLD:    1

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

NAME:     glaive of the Guard
OBJ:      OBJ_WEAPONS/WPN_GLAIVE
PLUS:     +5/+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:     +12/+10
COLOUR:   ETC_HOLY
TILE:     urand_jihad
TILE_EQ:  jihad
BRAND:    SPWPN_HOLY_WRATH
EV:       3
MAGIC:    20
ANGRY:    3
STEALTH:  -50
BOOL:     life

NAME:    crossbow "Hellfire"
OBJ:     OBJ_WEAPONS/WPN_CROSSBOW
PLUS:    +6/+9
COLOUR:  ETC_FIRE
TILE:    urand_hellfire
TILE_EQ: crossbow_fire
BRAND:   SPWPN_FLAME
FIRE:    2
COLD:    -1
MAGIC:   40

NAME:    sword of the Doom Knight
OBJ:     OBJ_WEAPONS/WPN_GREAT_SWORD
PLUS:    +13/+13
COLOUR:  BLUE
TILE:    urand_doom_knight
TILE_EQ: doom_knight
BRAND:   SPWPN_PAIN
MAGIC:   50
BOOL:    nospell

NAME:    morningstar "Eos"
OBJ:     OBJ_WEAPONS/WPN_MORNINGSTAR
PLUS:    +11/+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:     +2/+10
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:     +10/+4
COLOUR:   ETC_WATER
TILE:     urand_octopus_king
TILE_EQ:  trident_octopus_king
BRAND:    SPWPN_VENOM
BOOL:     elec, poison
MAGIC:    50

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

NAME:     Elemental Staff
OBJ:      OBJ_WEAPONS/WPN_QUARTERSTAFF
PLUS:     +3/+1
COLOUR:   DARKGREY
TILE:     urand_elemental
TILE_EQ:  elemental_staff
BRAND:    SPWPN_PROTECTION
FIRE:     2
COLD:     2
MAGIC:    60
METAB:    2
BOOL:     noises

NAME:    crossbow "Sniper"
OBJ:     OBJ_WEAPONS/WPN_CROSSBOW
PLUS:    +10/+0
COLOUR:  ETC_DARK
TILE:    urand_sniper
TILE_EQ: sniper
BRAND:   SPWPN_VENOM
BOOL:    seeinv

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

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

NAME:    lance "Wyrmbane"
OBJ:     OBJ_WEAPONS/WPN_SPEAR
TYPE:    lance
BASE_DAM: +2
PLUS:    +9/+6
COLOUR:  LIGHTGREEN
TILE:    urand_wyrmbane
TILE_EQ: wyrmbane
BRAND:   SPWPN_DRAGON_SLAYING
AC:      5
FIRE:    1
BOOL:    poison, berserk

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

NAME:    plutonium sword
OBJ:     OBJ_WEAPONS/WPN_TRIPLE_SWORD
PLUS:    +12/+16
COLOUR:  ETC_RANDOM
TILE:    urand_plutonium
TILE_EQ: plutonium_sword
BOOL:    mutate
STEALTH: -20

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

NAME:    whip "Snakebite"
OBJ:     OBJ_WEAPONS/WPN_WHIP
PLUS:    +5/+10
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/-1
COLOUR:   LIGHTCYAN
TILE:     urand_knife_of_accuracy
TILE_EQ:  knife_of_accuracy
BOOL:     tilerim, nogen

# 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/+6
COLOUR:   GREEN
TILE:     urand_crystal_spear
TILE_EQ:  crystal_spear
INT:      3
BRAND:    SPWPN_RETURNING

NAME:     captain's cutlass
OBJ:      OBJ_WEAPONS/WPN_SABRE
TYPE:     cutlass
PLUS:     +6/+7
BASE_ACC: -1
BASE_DAM: +2
COLOUR:   DARKGREY
TILE:     urand_cutlass
TILE_EQ:  cutlass
BRAND:    SPWPN_SPEED

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

NAME:    large shield of Ignorance
OBJ:     OBJ_ARMOUR/ARM_LARGE_SHIELD
PLUS:    +8
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
DAM:      -3
STEALTH:  60
BOOL:     seeinv, fog

NAME:    shield "Bullseye"
OBJ:     OBJ_ARMOUR/ARM_SHIELD
PLUS:    +15
COLOUR:  RED
TILE:    urand_bullseye
TILE_EQ: shield_bullseye
EV:      -5

NAME:    crown of Dyrovepreva
OBJ:     OBJ_ARMOUR/ARM_CAP
PLUS:    +3
COLOUR:  ETC_JEWEL
TILE:    urand_dyrovepreva
TILE_EQ: dyrovepreva
INT:     2
METAB:   1
BOOL:    elec, seeinv

NAME:     hat of the Bear Spirit
OBJ:      OBJ_ARMOUR/ARM_CAP
PLUS:     +2
COLOUR:   DARKGREY
TILE:     urand_bear
TILE_EQ:  bear
BRAND:    SPARM_SPIRIT_SHIELD
BOOL:     life, berserk
MAGIC:    50

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:  -80
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

# TAG_MAJOR_VERSION == 34
ENUM:     BOOTS_ASSASSIN
NAME:     boots of the Assassin
OBJ:      OBJ_ARMOUR/ARM_BOOTS
PLUS:     +2
COLOUR:   BROWN
TILE:     urand_assassin
TILE_EQ:  middle_gray
DEX:      3
STEALTH:  80
BOOL:     inv, nogen

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

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

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
ACC:     5
DAM:     5

NAME:    shield of Resistance
OBJ:     OBJ_ARMOUR/ARM_SHIELD
PLUS:    +5
COLOUR:  LIGHTRED
TILE:    urand_resistance
TILE_EQ: shield_of_resistance
FIRE:    1
COLD:    1
MAGIC:   40

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:   -100

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_PRESERVATION
MAGIC:   50
BOOL:    nospell, notelep, cursed

ENUM:    DRAGONMASK
NAME:    mask of the Dragon
OBJ:     OBJ_ARMOUR/ARM_CAP
COLOUR:  ETC_SHIMMER_BLUE
TILE:    urand_dragonmask
TILE_EQ: art_dragonhelm
MAGIC:   40
ACC:     3
DAM:     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:    30
STEALTH:  50
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:   50

NAME:    hat of the Alchemist
OBJ:     OBJ_ARMOUR/ARM_WIZARD_HAT
PLUS:    +2
COLOUR:  LIGHTMAGENTA
TILE:    urand_alchemist
TILE_EQ: turban_purple
FIRE:    1
COLD:    1
MAGIC:   30
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:     3
ACC:     8

NAME:     cloak of Starlight
OBJ:      OBJ_ARMOUR/ARM_CLOAK
COLOUR:   ETC_ICE
TILE:     urand_starlight
TILE_EQ:  white
EV:       4
COLD:     1
STEALTH:  -30
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:     +6
COLOUR:   ETC_GOLD
TILE:     urand_gong
TILE_EQ:  shield_gong
MAGIC:    50
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
OBJ:     OBJ_JEWELLERY/RING_INVISIBILITY
COLOUR:  ETC_DARK
TILE:    urand_shadows
EV:      4
ACC:     -4
STEALTH: 40
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
METAB:   2

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

NAME:    necklace of Bloodlust
OBJ:     OBJ_JEWELLERY/AMU_RAGE
COLOUR:  ETC_BLOOD
TILE:    urand_bloodlust
STR:     2
INT:     -2
MAGIC:   30
ANGRY:   9
DAM:     5
CURSED:  3
STEALTH: -20

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:   50

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_WIZARD_HAT
PLUS:     +3
COLOUR:   LIGHTRED
TILE:     urand_pondering
TILE_EQ:  wizard_bluegreen
BRAND:    SPARM_PONDEROUSNESS
INT:      +5
MP:       +10
MAGIC:    30

ENUM:     DEMON_AXE
NAME:     obsidian axe
OBJ:      OBJ_WEAPONS/WPN_BROAD_AXE
PLUS:     +12/+15
COLOUR:   ETC_UNHOLY
TILE:     spwpn_demon_axe
TILE_EQ:  demon_axe
BRAND:    SPWPN_VORPAL
CURSED:   1
STR:      +3
BOOL:     evil, 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
METAB:    -2
BOOL:     life, 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/+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:     +4/+8
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_HUNGER
COLOUR:   ETC_WATER
TILE:     urand_octoring
AC:       1
EV:       1
STR:      1
INT:      1
DEX:      1
BOOL:     unided

# 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

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

# 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
ACC:     60
ANGRY:   100
COLD:    3
DAM:     60
DEX:     3
EV:      3
FIRE:    3
INT:     3
MAGIC:   100
METAB:   10
HP:      10
MP:      10
STEALTH: 100
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
ACC:     -60
COLD:    -3
DAM:     -60
DEX:     -3
EV:      -3
FIRE:    -3
INT:     -3
METAB:   -10
HP:      -10
MP:      -10
STEALTH: -100
STR:     -3
BOOL:    nogen, rnd_tele

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