###############################################################################
# Randart Names
# -------------
# randname.txt: lookup randart type
#
# This file contains the lists of keywords (and their weights) for some lookup
# phrases of randart type, namely "weapon", "armour" and "jewellery" as well
# as in combination with those gods that occasionally gift randarts, i.e.
# "Trog weapon", "Okawaru weapon", "Okawaru armour", "Xom weapon", "Xom armour"
# and "Xom jewellery". Ashenzari names cursed items; these names don't depend
# on type and are found under the keyword "Ashenzari". Incidentally, they
# are listed in precisely that order. At the end of the file you will also
# find a few lists of adjectives used for unidentified randart appearances.
#
# The syntax for keywords is the same as that of monster speech (details are in
# docs/develop/monster_speech.txt). Any phrase encased in '@' symbols is one
# the database will recognise as a keyword that needs to be replaced.
# Definitions of such keywords can be found in 4 different places:
#
#  o  rand_wpn.txt  - keywords used mainly for weapons
#  o  rand_arm.txt  - keywords used mainly for armour
#  o  rand_all.txt  - keywords used for jewellery
#                     as well as for all three types
#  o  randbook.txt  - keywords used for randart books
#  o  hardcoded (e.g. artefact.cc)
#
# The latter allows the use of phrases elsewhere defined in Crawl. The list of
# hardcoded keywords is as follows:
#
#  * player_name     - player-chosen character name
#  * player_species  - species of the character
#  * branch_name     - name of a random Crawl branch
#  * god_name        - name of a random Crawl god
#  * xom_name        - one of Xom's long names
#
# In the case of god_name this actually allows some more refined handling. In
# fact, the god will not be picked entirely at random as there are some
# restrictions to make sure that e.g. no good god is chosen for evil weapons,
# or that Zin doesn't get picked for randarts with mutagenic properties. Also,
# if this keyword appears on a divine item gift it will always be replaced by
# the god doing the gifting.
#
# Randart names may only have a maximum length of 25 symbols (spaces included).
# This comparison takes place after all replacements have been taken care of,
# and the name is thus complete. If a name turns out to be longer than this
# threshold, the game will roll another one.
#
# Note that weapons and armour use database names for only half of all randarts
# created (the others are entirely random names), for jewellery this is only
# the case for one in five randarts. These chances are hardcoded.
#
# Feel free to play around with the keywords or their weights. The default
# weight of an entry is w:10, and an entry is picked with a chance of its
# weight out of the sum of all weights for entries in a group. Consequently if
# you set the weight of a keyword to a really high value (say, 10,000) you can
# test how it looks in the game. Even better, if you have wizard mode compiled
# in (check in-game '?V' version information) you can use the wizard command
# '&o' to create objects and '&+' to turn an ordinary object into a randart.
#
# Have fun!
######################################################
%%%%
######################################################
# 1. WEAPONS
######################################################
weapon

# weapon specific keywords (see rand_wpn.txt)
of @_power_or_anger_@

of @_battle_or_war_@

w:1
of @player_doom@

w:8
of @death_or_doom@

w:1
of @_verbing_@ @death_or_doom@

w:6
of @_adjective_@ @_strategy_or_justice_@

of @_strategy_or_justice_@

w:3
of the @_verbing_@ @_people_name_@

w:3
of the @_people_name_@

w:2
of the @_verbing_@ @_diviner_name_@

w:5
of the @_verbing_@ @_weapon_animal_@

w:5
of the @_weapon_animal_@

w:2
of the @_plant_name_@

w:7
of @_evil_stuff_@

w:5
of @_catastrophe_name_@

w:8
of @_chaos_name_@

w:8
of @_balance_or_order_@

of @_economics_or_politics_@

w:8
of @branch_name@

w:7
of @_place_name_@

w:5
of @_discomfort_weapon_@

w:4
of the @_item_name_@

w:1
of @_magic_name_@

w:5
of @_substance_name_@

w:7
of @_science_name_@

w:5
of @other_weapon_name@

w:30
"@_plain_weapon_name_@"

# general keywords (see rand_all.txt)
w:5
of @_time_name_@

w:5
of @_sky_or_light_@

w:18
of @_virtue_or_vice_@

of @_number_or_qualifier_@ @_thing_names_@

w:5
of @_destiny_name_@

w:9
of @god_name@'s @divine_esteem@

w:4
of the @_verbing_@ Gods

w:4
of the @_adjective_@ God

w:2
of @god_name@, @_verbing_@

# hardcoded keywords
w:1
of @god_name@
%%%%
######################################################
# 2. ARMOUR
######################################################
%%%%
talisman

# TODO?
@armour@
%%%%
armour

# armour specific keywords (see rand_arm.txt)
of @_armour_name_shielding_@

w:8
of @_armour_property_name_@

w:20
of @_wacky_armour_name_@

of the @_profession_name_@

w:5
of the @_adjective_@ @_profession_name_@
of @_politics_name_armour_@

w:3
of @_weather_name_@

w:9
of @_good_or_divine_@

w:9
of @_adjective_@ @_good_or_divine_@

w:5
of the @_celestial_bodies_@

w:5
of @_instrument_name_@

w:20
of the @_armour_animal_@

w:1
of the @_adjective_@ @_armour_animal_@

w:3
of @_flower_name_@

w:1
of the @_fruit_name_@

w:2
of the @_critter_name_@

w:1
of the @_adjective_@ @_critter_name_@

w:5
of @_evil_being_@

of @_discomfort_and_inaction_@

of @_game_name_@

w:15
of @_other_armour_name_@

w:2
"@_plain_armour_name_@"

# weapon specific keywords (see rand_arm.txt)
w:25
of @_philosophy_or_science_@

w:15
of @_place_name_@

# general keywords (see rand_all.txt)
of @_time_name_@

w:8
of @_sky_or_light_@

w:30
of @_virtue_or_vice_@

w:6
of @_number_or_qualifier_@ @_verbing_@ @_thing_names_@

of @_number_or_qualifier_@ @_thing_names_@

w:20
of @god_name@'s @divine_esteem@

w:4
of the @_verbing_@ Gods

w:4
of the @_adjective_@ God

w:2
of @god_name@, @_verbing_@

# hardcoded keywords
w:1
of @god_name@

w:15
of @branch_name@
%%%%
######################################################
# 3. JEWELLERY
######################################################
jewellery

# jewellery specials (see rand_all.txt)
w:3
of the @_jewellery_animal_@

of @_jewellery_special_name_@

of @_suspicion_name_@

# as defined for weapons (see rand_wpn.txt)
of the @_people_name_@

w:5
of the @_verbing_@ @_people_name_@

w:17
of @_balance_or_order_@

w:14
of @_philosophy_name_@

of @other_weapon_name@

# as defined for armour (see rand_arm.txt)
w:20
of the @_armour_animal_@

w:3
of @_flower_name_@

w:3
of the @_adjective_@ @_fruit_name_@

w:5
of @_evil_being_@

w:20
of @_good_or_divine_@

w:12
of @_politics_name_armour_@

w:2
"@_plain_armour_name_@"

# same for all three types (see rand_all.txt)
w:13
of @_time_name_@

of @_sky_or_light_@

w:20
of @god_name@'s @divine_esteem@

w:4
of the @_verbing_@ Gods

w:4
of the @_adjective_@ God

w:2
of @god_name@, @_verbing_@

of Xom's @_xom_esteem_@

w:7
of @_virtue_name_@

w:13
of @_vice_name_@

of @_number_or_qualifier_@ @_thing_names_@

of @_number_or_qualifier_@ @_verbing_@ @_thing_names_@
%%%%
######################################################
# GOD GIFT specials
######################################################
# TROG (weapons only)
######################################################
Trog weapon

# names containing battle and death are more likely
w:20
of @_power_or_anger_@

w:5
of @_adjective_@ @_power_or_anger_@

w:20
of @_battle_or_war_@

w:5
of the @_verbing_@ @_battle_or_war_@

w:20
of @death_or_doom@

w:5
of @_adjective_@ @death_or_doom@

w:7
of @_strategy_name_@

w:15
of @_justice_name_@

w:30
of @_virtue_or_vice_@

w:1
of Trog

w:20
of Trog's @divine_esteem@

of Trog's @_anger_quality_@

w:15
of the @_weapon_animal_@

w:15
of @_evil_stuff_@

of @_catastrophe_name_@

w:15
of @_chaos_name_@

w:20
of @_balance_or_order_@

w:20
of @_economics_or_politics_@

w:15
of @branch_name@

w:15
of @_place_name_@

w:15
of @_time_name_@

of @_sky_or_light_@

w:20
of @_number_or_qualifier_@ @_thing_names_@

of @_discomfort_weapon_@

of the @_item_name_@

w:15
of @_philosophy_name_@

of @_science_name_@

of @other_weapon_name@

of @_monster_name_@@killer_name@

w:30
"@_plain_weapon_name_@"

"@_adjective_@ @_plain_weapon_name_@"
%%%%
######################################################
# OKAWARU weapon
######################################################
Okawaru weapon

# basically use normal set
w:400
@weapon@

# with a few special cases
w:2
of @player_name@'s @_valour_name_@

w:3
of Okawaru's @divine_esteem@

w:1
of Okawaru, @_verbing_@

# and bonus probability for some of the more harmless themes
of @_strategy_or_justice_@

w:5
of @_philosophy_name_@

w:3
of @_balance_or_order_@

w:5
of @_power_name_@

w:2
of @_virtue_name_@

w:1
of the @_diviner_name_@

w:5
of the @_weapon_animal_@

w:5
of @_place_name_@

w:2
of @_item_name_@
%%%%
######################################################
# OKAWARU armour
######################################################
Okawaru robe

@Okawaru armour@
%%%%
Okawaru body armour

@Okawaru armour@
%%%%
Okawaru armour

# again use normal chances with a few exceptions
w:400
@armour@

w:2
of @player_name@'s @_valour_name_@

w:2
of Okawaru's @divine_esteem@

w:2
of the @_armour_animal_@

w:1
of @_good_or_divine_@

w:2
of @_armour_name_shielding_@

w:1
of @_armour_property_name_@

w:1
of @_wacky_armour_name_@

w:2
of @_politics_name_armour_@
%%%%
######################################################
# XOM weapon
######################################################
# Xom will basically allow everything
Xom weapon

# increased chances (obviously!)
w:5
of @_chaos_name_@

w:5
of Xom's @_xom_esteem_@

w:2
of Xom's @divine_esteem@

w:2
"Xom, @_verbing_@ and @_verbing_@"

w:2
of the @_verbing_@ @_fruit_name_@

# uses the long name
w:1
of @xom_name@

w:1
of @_game_name_@

w:400
@weapon@

# and why not some of the other names?
@jewellery@

@armour@
%%%%
######################################################
# XOM armour
######################################################
Xom robe

@Xom armour@
%%%%
Xom body armour

@Xom armour@
%%%%
Xom armour

# increased chances (obviously!)
w:5
of @_chaos_name_@

w:5
of Xom's @_xom_esteem_@

w:2
of Xom's @divine_esteem@

w:2
"@_adjective_@ Xom"

# uses the long name
w:1
of @xom_name@

w:1
of @_game_name_@

w:1
of @player_death@

w:400
@armour@

# why not some other names?
# (sadly, some weapon names don't make sense even for Xom)
@jewellery@
%%%%
######################################################
# XOM jewellery
######################################################
Xom jewellery

# increased chances (obviously!)
w:5
of @_chaos_name_@

w:5
of Xom's @_xom_esteem_@

w:2
of Xom's @divine_esteem@

w:2
of @_verbing_@ Xom

# uses the long name
w:1
of @xom_name@

w:1
of @_game_name_@

w:1
of @player_death@

w:1
of @player_doom@

w:300
@jewellery@

# why not some other names?
# (sadly, some weapon names don't make sense even for Xom)
@armour@
%%%%
######################################################
# ASHENZARI
# All types of curses
######################################################
Ashenzari

w:100
of the @_ashenzari_adjective_@ @_ashenzari_object_@

w:100
of @god_name@'s @_ashenzari_object_@

w:100
"@_ashenzari_adjective_@ @_ashenzari_object_@"

w:50
"@_ashenzari_object_@ of @god_name@"

w:100
"@_ashenzari_object_@ of the @_ashenzari_epithet_@"

w:20
"@_celestial_bodies_@ of the @_ashenzari_epithet_@"

w:20
of the @_ashenzari_epithet_@

w:20
of the @_ashenzari_bound_adjective_@ @_celestial_bodies_@

w:20
of the @_ashenzari_knowledge_adjective_@ @_celestial_bodies_@

w:20
of @god_name@'s @_celestial_bodies_@

w:20
"Share My @_ashenzari_object_@"

w:20
"@_ashenzari_bound_adjective_@ With Me"

w:20
"@_ashenzari_bound_adjective_@ Together"

of the @_ashenzari_bound_adjective_@ @_ashenzari_heavens_@

of the @_ashenzari_knowledge_adjective_@ @_ashenzari_heavens_@

of the Fated @_ashenzari_object_@

w:5
of Apeoromancy

w:5
"At What Cost Knowledge?"

w:5
"Behold Eternity"

w:5
of Cremastomancy

w:5
of Curses and Power

w:5
of Desmomancy

w:5
of the Eye in the Sky

w:5
"Gaze Upon Infinity"

w:5
"I Knew You'd Do That"

w:5
"I Foresaw This"

w:5
of Ouranomancy

w:5
"Overhang to Understand"

w:5
"Per Aspera Ad Scientiam"

w:5
of Panopticon

w:5
of Star-Bound Wisdom

w:5
of Supernal Gnosis

w:5
of Supernal Knowledge

w:5
of Supernal Understanding

w:5
of Supernal Wisdom

w:5
"Thunder Perfect Mind"

w:5
of Toth-Mos's Legacy

w:5
of the Unyielding Gaze

w:5
of the Wild Blue Yonder

w:1
"Oscillating Fan"
%%%%
_ashenzari_object_

Adversity

Affliction

Burden

Fetters

Gnosis

Loss

Omen

Ordeal

Portent

Prison

Regret

Repose

Sorrow

Vision

Yoke

w:100
@_diviner_name_@

w:150
@_discomfort_weapon_@

w:100
@_philosophy_name_@

w:100
@_discomfort_and_inaction_@

w:100
@_suspicion_no_conflict_name_@
%%%%
_ashenzari_adjective_

w:50
@_ashenzari_bound_adjective_@

w:50
@_ashenzari_knowledge_adjective_@

@_ashenzari_celestial_adjective_@
%%%%
_ashenzari_bound_adjective_

Bound

Chained

Circumscribed

Cursed

Ensconced

Eternal

Lashed

Restrained

Ruined

Shackled

Shattered

Tethered
%%%%
_ashenzari_celestial_adjective_

Astral

Celestial

Cosmic

Distant

Elysian

Sidereal

Stellar

Sublime
%%%%
_ashenzari_knowledge_adjective_

All-seeing

Astrological

Clairvoyant

Cryptic

Enlightened

Enigmatic

Esoteric

Gnostic

Manifest

Mantic

Omniscient

Oracular

Pangnostic

Perceptive

Prescient

Profound

Prophetic

Revealing

Sibylline

Unveiling

Visionary
%%%%
_ashenzari_epithet_

w:100
@_ashenzari_adjective_@ God

w:50
@_ashenzari_bound_adjective_@ Augur

w:50
@_ashenzari_celestial_adjective_@ Augur

w:50
@_ashenzari_bound_adjective_@ Sage

w:50
@_ashenzari_celestial_adjective_@ Sage

w:50
@_ashenzari_bound_adjective_@ Seer

w:50
@_ashenzari_celestial_adjective_@ Seer

All-Knowing

Curse-Bearer

Soothsayer

Unmoving One
%%%%
_ashenzari_heavens_

Cosmos

Empyrean

Ether

Firmament

Heavens

w:40
Sky

Sphere

Welkin
%%%%
######################################################
# Library of randart APPEARANCE (un-identified).
######################################################
# common to all three types of randarts
general appearance

brightly glowing

smoking

scorched

twisted

shimmering

warped

transparent

translucent

encrusted

pitted

slimy

polished

fine

crude

ancient

faintly glowing

steaming

dazzling

masterwork

w:2
smouldering

w:5
glimmering

w:2
buzzing

w:5
fading

w:2
blackened
%%%%
weapon appearance

iridescent

bloodstained

crystal

jewelled

ichor-stained

w:3
ivory

w:3
bone

w:1
sapphire

w:3
ebony

# currently 16 entries, so their overall weight amounts 180
w:180
@general appearance@
%%%%
robe appearance

fabulously ornate

dull

sheer

thick

heavy

wizard

ominously black

brightly glowing

smoking

twisted

shimmering

warped

transparent

slimy

fine

crude

ripped

colourful

creamy pearl

opalescent

ancient

faintly glowing

steaming

faintly humming

bloodstained

heavily jewelled

ichor-stained

distressingly furry

tattered

silken

shadowed
%%%%
body armour appearance

w:3
smelly

w:3
bronze

w:2
@_gemstone_@-studded

@_gemstone_@-encrusted

w:200
@armour appearance@
%%%%
armour appearance

faintly humming

bloodstained

heavily runed

jewelled

ichor-stained

distressingly furry

spiked

w:160
@general appearance@
%%%%
_gemstone_

diamond

ruby

jacinth

sapphire

black opal

emerald

turquoise

citrine

aquamarine

amber

topaz

jet

opal

garnet

amethyst

jasper

obsidian

agate

jade

pearl

tiger eye

ametrine
%%%%
######################################################
# Jewellery appearance
######################################################
#
# While for the appearance of randart weapons and armour you can just stick an
# adjective in front of the object type name ("bloodstained dagger"),
# unidentified non-artefact jewellery is described with both an adjective and
# material ("runed wooden ring"), making a description like "runed ring" a bit
# weird. So give randart jewellery an adjective that no non-artefact jewellery
# would have, plus a material that a non-artefact might or might not have.
_jewellery appearance_

scintillating

sparkling

flickering

glittering

smoking

scorched

shimmering

wavering

warped

transparent

translucent

pitted

slimy

fine

crude

ancient

brightly glowing

faintly glowing

steaming

heavily runed

vibrating

twitching

coiled

bound

clouded

w:2
serpentine
%%%%
_ring material_

wooden

ivory

bone

amber

silver

golden

platinum

iron

steel

bronze

brass

copper

tin

lead

pewter

granite

marble

jade

turquoise

lapis lazuli

glass

carnelian

w:2
gossamer
%%%%
_amulet material_

ivory

bone

graven

silver

golden

platinum

iron

steel

bronze

brass

copper

tin

lead

pewter

zirconium

sapphire

emerald

garnet

ruby

jade

crystal

diamond

amethyst
%%%%
ring appearance

@_jewellery appearance_@ @_ring material_@
%%%%
amulet appearance

@_jewellery appearance_@ @_amulet material_@
%%%%
