# This file provides information for monster "templates".
# 
# N : template name
# G : default display character
# M : pain message index
# F : flag | flag | ...
# S : spell flag | spell flag | ...
# D : description
#
# 'N' indicates the beginning of an entry. The template name is used in monster.txt.
#
# 'G' indicates the default display character. This is used for displaying the
# monster in ASCII mode, and also for determining which monsters are
# of the same "type" for things like the ESCORT flag or the S_KIN summon.
#
# 'M' indicates which set of "pain messages" (from pain.txt) is used.
#
# 'F' indicates the flags that every monster inherits from this template.
#
# 'S' indicates the spell flags that every monster inherits from this template.
#
# 'D' indicates the textual description of this template that is used by
# the '/' command in-game.
#
# Note that some templates have hardcoded references. In particular, changing
# the name of the following templates will cause certain summon spells to break:
# ancient dragon, ainu, canine, hydra, lich, major demon, spider, vampire, wraith, zephyr hound.
# Changing other characteristics of these monsters is fine.

##### Normal monster templates #####

N:ancient dragon
G:D
M:1
F:DRAGON | EVIL | POWERFUL | SMART
F:DROP_4
F:MOVE_BODY
F:NO_CONF | NO_SLEEP
F:FORCE_SLEEP
D:Ancient Dragon/Wyrm

N:ainu
G:A
M:1
F:POWERFUL
F:ONLY_ITEM
F:OPEN_DOOR | BASH_DOOR | TAKE_ITEM
F:IM_POIS | NO_CONF | NO_SLEEP
F:FORCE_SLEEP
D:Ainu/maia

N:ant
G:a
M:7
F:ANIMAL | WEIRD_MIND
F:BASH_DOOR
D:Ant

N:bat
G:b
M:4
F:ANIMAL
D:Bat

N:bird
G:B
M:8
F:ANIMAL
D:Bird

N:canine
G:C
M:3
F:ANIMAL
D:Canine (Dog)

N:centipede
G:c
M:5
F:ANIMAL | WEIRD_MIND
D:Centipede

N:creeping coins
G:$
M:1
F:COLD_BLOOD | METAL | UNAWARE | EMPTY_MIND
F:ONLY_GOLD
F:BASH_DOOR
F:IM_ELEC | IM_POIS | NO_CONF | NO_SLEEP
F:MIMIC_INV
D:Creeping Coins

N:dragon
G:d
M:1
F:DRAGON | EVIL
F:FORCE_SLEEP
D:Dragon

N:dragon fly
G:F
M:7
F:ANIMAL | WEIRD_MIND
F:RAND_50 | BASH_DOOR
F:FORCE_SLEEP
D:Dragon Fly

N:eye
G:e
M:1
D:Floating Eye

N:elemental
G:E
M:1
F:EMPTY_MIND
F:IM_POIS | NO_FEAR | NO_CONF | NO_SLEEP
F:NONLIVING
D:Elemental

N:feline
G:f
M:6
F:ANIMAL
D:Feline (Cat)

N:ghost
G:G
M:1
F:UNDEAD | EVIL | INVISIBLE | COLD_BLOOD
F:PASS_WALL
F:IM_COLD | IM_POIS | NO_CONF | NO_SLEEP | NO_STUN
D:Ghost

N:giant
G:P
M:1
F:GIANT | EVIL
F:BASH_DOOR
S:BOULDER
D:Giant Humanoid

N:golem
G:g
M:1
F:EMPTY_MIND
F:IM_ELEC | NO_FEAR | NO_CONF | NO_SLEEP
F:NONLIVING
D:Golem

N:humanoid
G:h
M:1
F:OPEN_DOOR | BASH_DOOR
D:Hobbit/Elf/Dwarf

N:hybrid
G:H
M:1
D:Hybrid

N:hydra
G:M
M:4
F:ANIMAL
F:ONLY_GOLD
F:BASH_DOOR
F:FORCE_SLEEP | HURT_COLD
D:Hydra

N:icky thing
G:i
M:2
F:RAND_50
D:Icky Thing

N:insect
G:I
M:7
F:ANIMAL | WEIRD_MIND | MULTIPLY
F:RAND_25 | RAND_50
D:Insect

N:jelly
G:j
M:2
F:EMPTY_MIND | STUPID
F:NO_FEAR
D:Jelly

N:killer beetle
G:K
M:7
F:ANIMAL | WEIRD_MIND
F:BASH_DOOR
D:Killer Beetle

N:kobold
G:k
M:1
F:EVIL
F:OPEN_DOOR | BASH_DOOR
F:IM_POIS
D:Kobold

N:lich
G:L
M:1
F:UNDEAD | EVIL | COLD_BLOOD | SMART
F:OPEN_DOOR | BASH_DOOR
F:IM_COLD | IM_POIS | NO_CONF | NO_SLEEP | NO_STUN
F:FORCE_SLEEP
S:BRAIN_SMASH
D:Lich

N:louse
G:l
M:7
F:ANIMAL | WEIRD_MIND | MULTIPLY
F:RAND_50
D:Louse

N:lurker
G:.
M:1
F:COLD_BLOOD | EMPTY_MIND | INVISIBLE | UNAWARE
F:NEVER_MOVE
F:NO_FEAR | NO_CONF | NO_SLEEP
F:CHAR_CLEAR | ATTR_CLEAR
D:Lurker

N:major demon
G:U
M:1
F:DEMON | EVIL
F:ONLY_ITEM
F:OPEN_DOOR | BASH_DOOR
F:NO_CONF | NO_SLEEP
F:FORCE_SLEEP
D:Major Demon

N:mimic
G:?
M:1
F:COLD_BLOOD | EMPTY_MIND | UNAWARE
F:NEVER_MOVE
F:NO_FEAR | NO_CONF | NO_SLEEP
F:FORCE_SLEEP | ATTR_CLEAR
S:BLIND | CAUSE_2 | CONF | SCARE
D:Mimic

N:minor demon
G:u
M:1
F:DEMON | EVIL
F:IM_FIRE
D:Minor Demon

N:mold
G:m
M:2
F:NEVER_MOVE
F:IM_POIS | HURT_FIRE | NO_FEAR | NO_CONF | NO_SLEEP
D:Mold

N:mushroom
G:,
M:2
F:EMPTY_MIND | STUPID
F:HURT_FIRE | NO_FEAR | NO_CONF | NO_SLEEP
D:Mushroom

N:naga
G:n
M:1
F:FEMALE | EVIL | HURT_COLD
F:BASH_DOOR
D:Naga

N:ogre
G:O
M:1
F:GIANT | EVIL
F:OPEN_DOOR | BASH_DOOR
D:Ogre

N:orc
G:o
M:1
F:MALE | ORC | EVIL
F:OPEN_DOOR | BASH_DOOR
D:Orc

N:person
G:p
M:1
F:BASH_DOOR
D:Person/Human

N:quadruped
G:q
M:4
F:BASH_DOOR
D:Quadruped

N:quylthulg
G:Q
M:2
F:EMPTY_MIND | INVISIBLE
F:NEVER_BLOW | NEVER_MOVE
F:NO_FEAR | NO_CONF | NO_SLEEP
F:FORCE_SLEEP
D:Quylthulg

N:reptile
G:R
M:5
F:ANIMAL | HURT_COLD
D:Reptile/Amphibian

N:rodent
G:r
M:4
F:ANIMAL
D:Rodent

N:skeleton
G:s
M:9
F:UNDEAD | EVIL | COLD_BLOOD
F:IM_COLD | IM_POIS | NO_FEAR | NO_CONF | NO_SLEEP | NO_STUN
D:Skeleton

N:snake
G:J
M:5
F:ANIMAL | HURT_COLD
F:BASH_DOOR
D:Snake

N:spider
G:S
M:7
F:BASH_DOOR
D:Spider/Scorpion/Tick

N:townsfolk
G:t
M:4
D:Townsfolk

N:troll
G:T
M:1
F:TROLL | EVIL
F:OPEN_DOOR | BASH_DOOR
D:Troll

N:vampire
G:V
M:1
F:UNDEAD | EVIL | COLD_BLOOD | REGENERATE
F:OPEN_DOOR | BASH_DOOR
F:HURT_LIGHT | HURT_FIRE | IM_COLD | IM_POIS | NO_CONF | NO_SLEEP | NO_STUN
F:FORCE_SLEEP
S:HOLD | SCARE
D:Vampire

N:vortex
G:v
M:11
F:EMPTY_MIND | POWERFUL
F:RAND_50 | BASH_DOOR
F:NO_FEAR | NO_CONF | NO_SLEEP
F:FORCE_SLEEP
F:NONLIVING
D:Vortex

N:worm
G:w
M:1
F:ANIMAL
D:Worm/Worm Mass

N:wraith
G:W
M:1
F:UNDEAD | EVIL | COLD_BLOOD
F:HURT_LIGHT | IM_COLD | IM_POIS | NO_CONF | NO_SLEEP | NO_STUN
D:Wight/Wraith

N:xorn
G:X
M:4
F:COLD_BLOOD | EMPTY_MIND
F:HURT_ROCK | IM_POIS | NO_CONF | NO_SLEEP
D:Xorn/Xaren

N:yeek
G:y
M:1
F:ANIMAL
F:OPEN_DOOR | BASH_DOOR
F:IM_ACID
D:Yeek

N:yeti
G:Y
M:1
F:ANIMAL
F:OPEN_DOOR | BASH_DOOR
F:IM_COLD
D:Yeti

N:zephyr hound
G:Z
M:3
F:ANIMAL | GROUP_AI
D:Zephyr Hound

N:zombie
G:z
M:10
F:UNDEAD | EVIL | COLD_BLOOD
F:OPEN_DOOR | BASH_DOOR
F:IM_COLD | IM_POIS | HURT_FIRE | NO_CONF | NO_SLEEP | NO_STUN
D:Zombie/Mummy

##### Special templates #####

N:player
G:@
M:1
D:You

N:Morgoth
G:P
M:12
D:Morgoth