Debian Codegraph @

lib/gamedata/summon.txt

raw
1 # File: summon.txt
2
3 # Summon type details
4
5 # Fields:
6 # name - summon type name
7 # msgt - message type
8 # uniques - whether uniques are allowed
9 # base - allowed monster bases if any
10 # race-flag - allowed racial flag if any
11 # fallback - summon type to substitute on failure
12 # desc - description
13
14 # 'name' is the code used to refer to the summon type, and should begin every
15 # entry
16
17 # 'msgt' is the message type used to display the message, which may affect any
18 # sound played on the summon happening
19
20 # 'uniques' is 1 if the summon type allows uniques to be summoned, 0 otherwise.
21 # Traditionally UNIQUE and WRAITH will summon uniques, ANY, HI_UNDEAD, HI_DEMON
22 # and HI_DRAGON may summon uniques, and none of the other summon codes will ever
23 # summon uniques.
24
25 # 'base' indicates a possible monster base for the summon. If a summon type
26 # has no base: line, any monster base can be chosen, otherwise only the given
27 # monster bases can be chosen.
28
29 # 'race-flag' indicates a possible race flag for the summon. If a summon type
30 # has no race-flag: line, there are no flag-based restrictions, otherwise
31 # only monsters with the given flag can be chosen.
32
33 # 'fallback' gives the name of another summon type to try if the given type
34 # fails to summon any monsters. Traditionally the only summon types with a
35 # fallback are WRAITH and UNIQUE, which both fall back to HI_UNDEAD.
36
37 # 'desc' is the description of the summon type used in messages.
38
39 # Note that the KIN summon is a special case which has special code in
40 # effect_handler_SUMMON() to handle it, and UNIQUE and WRAITH have code in
41 # summon_specific() that exclude them from being used for the "call" type of
42 # summon (where summoned monsters are chosen from those already on the level
43 # rather than newly created).
44
45 # Note also that the ANY summon should always be the first in this file.
46
47 name:ANY
48 msgt:SUM_MONSTER
49 uniques:1
50 desc:a monster
51
52 name:KIN
53 msgt:SUM_MONSTER
54 uniques:0
55 desc:similar monsters
56
57 name:MONSTER
58 msgt:SUM_MONSTER
59 uniques:0
60 desc:a monster
61
62 name:MONSTERS
63 msgt:SUM_MONSTER
64 uniques:0
65 desc:monsters
66
67 name:ANIMAL
68 msgt:SUM_ANIMAL
69 uniques:0
70 race-flag:ANIMAL
71 desc:animals
72
73 name:SPIDER
74 msgt:SUM_SPIDER
75 uniques:0
76 base:spider
77 desc:spiders
78
79 name:HOUND
80 msgt:SUM_HOUND
81 uniques:0
82 base:zephyr hound
83 base:canine
84 desc:hounds
85
86 name:HYDRA
87 msgt:SUM_HYDRA
88 uniques:0
89 base:hydra
90 desc:hydras
91
92 name:AINU
93 msgt:SUM_AINU
94 uniques:0
95 base:ainu
96 desc:ainur
97
98 name:DEMON
99 msgt:SUM_DEMON
100 uniques:0
101 race-flag:DEMON
102 desc:demons
103
104 name:UNDEAD
105 msgt:SUM_UNDEAD
106 uniques:0
107 race-flag:UNDEAD
108 desc:undead
109
110 name:DRAGON
111 msgt:SUM_DRAGON
112 uniques:0
113 race-flag:DRAGON
114 desc:dragons
115
116 name:HI_DEMON
117 msgt:SUM_HI_DEMON
118 uniques:1
119 base:major demon
120 desc:greater demons
121
122 name:HI_UNDEAD
123 msgt:SUM_HI_UNDEAD
124 uniques:1
125 base:vampire
126 base:wraith
127 base:lich
128 desc:greater undead
129
130 name:HI_DRAGON
131 msgt:SUM_HI_DRAGON
132 uniques:1
133 base:ancient dragon
134 desc:ancient dragons
135
136 name:WRAITH
137 msgt:SUM_WRAITH
138 uniques:1
139 base:wraith
140 race-flag:UNIQUE
141 fallback:HI_UNDEAD
142 desc:ringwraiths
143
144 name:UNIQUE
145 msgt:SUM_UNIQUE
146 uniques:1
147 race-flag:UNIQUE
148 fallback:HI_UNDEAD
149 desc:unique monsters