1(game-module "opal-rules"
2  (title "Opal Base Ruleset")
3  (version "2.1")
4  (blurb "Originally an attempt at a Master of Magic clone.  Control one of eight major sides in an "
5  	 "attempt to, you guessed it, rule the world.")
6(variants
7	(see-all false)
8	(world-seen false)
9	(sequential true)
10	(world-size (60 60 360))
11)
12
13  )
14
15;; PROPOSED RANDOM EVENTS
16;; Dragonflight
17;; Myrkirian Raid
18
19;; Dispel
20;; Growing Bospallians, Axeheads, Sea Serpents, Velds
21;; Thousand Years in a Day (999 stone, 999 gold, 999 iron, build any 1 unit)
22;; The Tarrasque and the Nameless Beast
23
24;; Zombie cavalry, Phantom Myrmidon
25;; Banshees, witches, Ogre Overlord (Ogre upgrade), Mad Doctor (Orcspawn shaman upgrade)
26
27;; Elemental Mines cost 20 Mana per turn.
28;; Elemental Mine (Ekkeko) ('A wishing well that the foolhardy have decided to climb down, intent on prying gemstones from the great crown of Ekkeko.  Provides 15 gold/turn.)
29;; Elemental Mine (Elysium) ('Cut into the fabric of myth, through which the reckless send their woodcutters to the World Tree.  Provides 15 wood/turn.)
30;; Elemental Mine (Mulciber) ('An extradimensional mousehole, to pick the pocket of Mulciber.  Provides 15 iron/turn')
31;; Elemental Mine (Utu) ('A bridge to Utu's Hourglass, to collect grains before they've fallen into Entropy.  Provides 15 stone/turn')
32
33
34;;; Vision.
35
36(set ai-may-resign false)
37(set indepside-has-ai true)
38(set indepside-has-treasury false)
39(set self-required true)
40(set sides-wanted 4)
41
42
43
44;;; Types.
45
46;; Basic Units
47
48(unit-type scout (name "Scout") (image-name "ang-fighter-sword-dagger2")
49  (acp-per-turn 6) (hp-max 15)  (vision-range 3) (cp 6)
50  (cxp-max 1000)
51  (point-value 2)
52  (help "Light infantry with great vision.  Weak attack, medium defense, medium resistance."))
53
54(unit-type sword (name "Swordsmen") (image-name "ang-fighter-chromatic-shield")
55  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
56  (cxp-max 1000)
57  (point-value 2)
58  (help "Basic melee unit.  Weak attack, moderate defense, low resistance."))
59
60(unit-type halberd (name "Halberdier") (image-name "ang-fighter-skinny-axe")
61  (acp-per-turn 6) (hp-max 30) (vision-range 1) (cp 6)
62  (cxp-max 1000)
63  (point-value 3)
64  (help "Improved melee unit.  Weak attack, moderate defense, low resistance."))
65
66(unit-type crusader (name "Crusaders") (image-name "ang-fighter-cross-shield")
67  (acp-per-turn 6) (hp-max 35)  (vision-range 1) (cp 6)
68  (cxp-max 1000)
69  (point-value 4)
70  (help "Members of any of a number of Cedrican orders, some centuries old, founded to to prepare men for crusades into the great jungles of the Iriken Empire.  Only crusaders can capture the usurper and reunite the Aristocracy.  Strong attack, high defense, high resistance."))
71
72(unit-type assassin (name "Assassins") (image-name "ang-thief-black-cloak")
73  (acp-per-turn 6) (hp-max 30)  (vision-range 3) (cp 6)
74  (point-value 4)
75  (help "Professional killers who have spent their lives devoted to learning the ancient art of assassination.  Only assassins can capture the king, an act that would force him to recognize the usurper and surrender his forces to the new order.  Strong attack, no defense, high resistance."))
76
77(unit-type bow (name "Bowmen") (image-name "ang-archer-blonde-shortbow")
78  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 6) (range 2) (vision-range 1)
79  (cxp-max 1000)
80  (point-value 2)
81  (help "Basic ranged unit.  Weak attack, low defense, weak ranged attack, low resistance."))
82
83(unit-type longbow (name "Longbowman") (image-name "ang-archer-longbow-green")
84  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (range 3) (vision-range 1) (cp 6)
85  (cxp-max 1000)
86  (point-value 3)
87  (help "Shogunate archers with a more powerful ranged attack.  Weak attack, low defense, low resistance strong ranged attack."))
88
89(unit-type cavalry (name "Cavalry") (image-name "ancient-rider")
90  (acp-per-turn 8) (hp-max 40) (vision-range 3) (cp 6)
91  (cxp-max 1000)
92  (point-value 3)
93  (help "Basic mounted unit.  Weak attack, moderate defense, low resistance."))
94
95(unit-type catapult (name "Catapult") (image-name "ancient-onager")
96  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 9)  (range 3) (vision-range 1)
97  (point-value 4)
98  (help "Basic siege engine.  Weak attack, no defense, no resistance, strong ranged attack."))
99
100(unit-type mage (name "Mage") (image-name "ang-mage-black-caped")
101  (acp-per-turn 6) (hp-max 25) (vision-range 2) (acp-to-fire 1) (range 3) (cp 9)
102  (cxp-max 1000)
103  (point-value 5)
104  (help "Basic magic unit.  Strong attack, no defense, high resistance, strong ranged attack."))
105
106(unit-type dervish (name "Dervish") (image-name "ang-mage-red-cloak")
107  (acp-per-turn 6) (hp-max 25) (vision-range 2) (acp-to-fire 2) (range 3)  (cp 6)
108  (cxp-max 1000)
109  (point-value 5)
110  (help "A weak bedouin mage able to be produced in smaller cities.  Strong attack, no defense, high resistance, strong ranged attack."))
111
112(unit-type hero (name "Hero") (image-name ("ang-fighter-gold-sword" "ang-paladin-right-sword" "ang-paladin-left-sword" "ang-paladin-left-scimitar"))
113  (acp-per-turn 6) (hp-max 60) (vision-range 4)  (cxp-max 2000)
114  (can-be-self true) (self-resurrects true)
115  (point-value 7)
116  (help "A veteran of many battles, the hero is a strong warrior who is able to lead a nation in the event of the death of its leader.  Heroes only gain xp when they fight other heroes, archmages and leaders.  If they survive a dozen such battles, they can turn into Legendary Heroes.  Powerful attack, high defense, high resistance."))
117
118(unit-type knight (name "Knights") (image-name "ancient-cavalry")
119  (acp-per-turn 8) (hp-max 80) (vision-range 3)
120  (cxp-max 1000) (can-be-self true) (self-resurrects true)
121  (point-value 8)
122  (help "Elite mounted unit.  Strong attack, high defense, high resistance."))
123
124(unit-type ranger (name "Ranger") (image-name ("ang-ranger-quiver-blonde" "ang-ranger-no-quiver" "ang-ranger-quiver-sword" "ang-ranger-quiver-sword2"))
125  (acp-per-turn 6) (hp-max 60) (vision-range 3) (acp-to-fire 1) (range 3)
126  (cxp-max 2000) (can-be-self true) (self-resurrects true)
127  (point-value 7)
128  (help "Elite ranged unit.  Powerful attack, high defense, high resistance, powerful ranged attack."))
129
130(unit-type epic (name "Epic Hero") (image-name "ang-fighter-red-leggings")
131  (acp-per-turn 6) (hp-max 100) (vision-range 5)  (cxp-max 2000)
132  (can-be-self true) (self-resurrects true)
133  (point-value 15)
134  (help "One of the greatest heroes of the age, an Achilles or Hector, who can slay great swathes of opponents.  Powerful attack, very high defense, full resistance."))
135
136(unit-type legend (name "Legendary Hero") (image-name "ang-fighter-gold-gold")
137  (acp-per-turn 6) (hp-max 150) (vision-range 6)  (cxp-max 3000)
138  (can-be-self true) (self-resurrects true)
139  (point-value 20)
140  (help "Extremely powerful, capable of leading a nation or defeating a Great Wyrm.   Incredible attack, very high defense, full resistance."))
141
142(unit-type wizard (name "Wizard") (image-name ("ang-druid-no-staff" "ang-druid-brown-staff" "ang-druid-yellow-staff" "ang-enchanter-brown-staff" "ang-enchanter-orange-staff" "ang-enchanter-purple-staff" "ang-enchanter-yellow-staff"))
143  (acp-per-turn 6) (hp-max 60) (vision-range 4) (acp-to-fire 1) (range 4)
144  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
145  (point-value 8)
146  (help "A magician of great strength and deep knowledge.  An wizard, like a hero, can hold the reins of power in the event that a nation's leader dies.  The wizard can channel the energies of a nation in the same way that a leader can, allowing for the casting of much more powerful spells.  Powerful attack, high defense, full resistance."))
147
148(unit-type archmage (name "Archmage") (image-name "ang-druid-gray-staff")
149  (acp-per-turn 6) (hp-max 100) (vision-range 5) (acp-to-fire 1) (range 5)
150  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
151  (point-value 16)
152  (help "The most powerful of magicians.  Powerful attack, very high defense, full resistance."))
153
154
155(add (sword halberd) auto-upgrade-to hero)
156(add (cavalry crusader) auto-upgrade-to knight)
157(add (scout bow longbow) auto-upgrade-to ranger)
158(add (dervish mage) auto-upgrade-to wizard)
159(add wizard auto-upgrade-to archmage)
160(add (hero ranger knight) auto-upgrade-to epic)
161(add epic auto-upgrade-to legend)
162
163(define basic-types (scout sword halberd bow cavalry catapult mage))
164
165(define specific-types (longbow crusader assassin dervish))
166
167
168;; LIZARDMEN
169
170(unit-type lsword (name "Warrior") (image-name "ang-saurial-barbarian-fist")
171  (acp-per-turn 6) (hp-max 30) (vision-range 1) (cp 6)
172  (cxp-max 1000)
173  (point-value 2)
174  (help "Basic melee unit.  Weak attack, moderate defense, low resistance."))
175
176(unit-type lhalberd (name "Brokenhorn") (image-name "ang-saurial-black-trident")
177  (acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 6)
178  (cxp-max 1000)
179  (point-value 3)
180  (help "Improved melee unit.  Weak attack, moderate defense, low resistance."))
181
182(unit-type lbow (name "Javelineer") (image-name "ang-saurial-gray-club")
183  (acp-per-turn 6) (hp-max 35) (acp-to-fire 1) (cp 6) (range 2) (vision-range 1)
184  (cxp-max 1000)
185  (point-value 2)
186  (help "Basic ranged unit.  Weak attack, low defense, weak ranged attack, low resistance."))
187
188(unit-type lcavalry (name "Geh-Geh") (image-name "ang-monster-eye-head")
189  (acp-per-turn 8) (hp-max 50) (vision-range 3) (cp 6)
190  (cxp-max 1000)
191  (point-value 3)
192  (help "Basic mounted unit.  Weak attack, moderate defense, low resistance."))
193
194(unit-type lmage (name "Priest") (image-name "ang-saurial-cross-cloak")
195  (acp-per-turn 6) (hp-max 35) (vision-range 2) (acp-to-fire 1) (range 3) (cp 9)
196  (cxp-max 1000)
197  (point-value 5)
198  (help "Basic magic unit.  Strong attack, no defense, high resistance, strong ranged attack."))
199
200(unit-type croc (name "Tamer") (image-name "ang-saurial-gray-naked")
201  (acp-per-turn 6) (hp-max 25) (vision-range 3) (cp 6)
202  (cxp-max 1000) (point-value 3)
203  (help "A lizardman born wild and still half-feral, who speaks the tongue of the reptile.  He can sometimes convince the great lizards of the swamp to help his people.  He can even convince dragons, if they are young enough.  Weak attack, moderate defense, medium resistance."))
204
205(unit-type llegend (name "Elder") (image-name "ang-saurial-scimitar-red")
206  (acp-per-turn 6) (hp-max 160) (vision-range 6)  (cxp-max 3000)
207  (can-be-self true) (self-resurrects true)
208  (point-value 20)
209  (help "Extremely powerful, capable of leading a nation or defeating a Great Wyrm.   Incredible attack, very high defense, full resistance."))
210
211(unit-type lepic (name "Master") (image-name "ang-saurial-single-scimitar")
212  (acp-per-turn 6) (hp-max 110) (vision-range 5)  (cxp-max 2000)
213  (can-be-self true) (self-resurrects true) (auto-upgrade-to legend)
214  (point-value 15)
215  (help "One of the greatest heroes of the age, an Achilles or Hector, who can slay great swathes of opponents.  Powerful attack, very high defense, full resistance."))
216
217(unit-type lhero (name "Hero") (image-name "ang-saurial-gray-shield")
218  (acp-per-turn 6) (hp-max 70) (vision-range 4)  (cxp-max 2000)
219  (can-be-self true) (self-resurrects true) (auto-upgrade-to epic)
220  (point-value 7)
221  (help "A veteran of many battles, the hero is a strong warrior who is able to lead a nation in the event of the death of its leader.  Heroes only gain xp when they fight other heroes, archmages and leaders.  If they survive a dozen such battles, they can turn into Legendary Heroes.  Powerful attack, high defense, high resistance."))
222
223(unit-type lranger (name "Mystic") (image-name "ang-saurial-glowhand-staff")
224  (acp-per-turn 6) (hp-max 70) (vision-range 3) (acp-to-fire 1) (range 3)
225  (cxp-max 2000) (can-be-self true) (self-resurrects true)
226  (point-value 7)
227  (help "Elite ranged unit.  Powerful attack, high defense, high resistance, powerful ranged attack."))
228
229(unit-type larchmage (name "Speaker") (image-name "ang-saurial-cross-cloak")
230  (acp-per-turn 6) (hp-max 110) (vision-range 5) (acp-to-fire 1) (range 5)
231  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
232  (point-value 16)
233  (help "The most powerful of magicians.  Powerful attack, very high defense, full resistance."))
234
235(unit-type lwizard (name "High Priest") (image-name "ang-saurial-ankh-staff")
236  (acp-per-turn 6) (hp-max 70) (vision-range 4) (acp-to-fire 1) (range 4)
237  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
238  (point-value 8)
239  (help "A magician of great strength and deep knowledge.  An wizard, like a hero, can hold the reins of power in the event that a nation's leader dies.  The wizard can channel the energies of a nation in the same way that a leader can, allowing for the casting of much more powerful spells.  Powerful attack, high defense, full resistance."))
240
241(add (lsword lhalberd) auto-upgrade-to lhero)
242(add (lbow croc) auto-upgrade-to lranger)
243(add lmage auto-upgrade-to lwizard)
244(add lwizard auto-upgrade-to larchmage)
245(add (lhero lranger) auto-upgrade-to lepic)
246(add lepic auto-upgrade-to llegend)
247
248(define liz-types (lsword lhalberd lbow lcavalry lmage lwizard lranger lhero lepic llegend))
249
250;; DWARF
251
252(unit-type dsword (name "Swordsman") (image-name "ang-dwarf-sword-skirt")
253  (acp-per-turn 6) (hp-max 30) (vision-range 1) (cp 6)
254  (cxp-max 1000)
255  (point-value 2)
256  (help "Basic melee unit.  Weak attack, moderate defense, low resistance."))
257
258(unit-type dhalberd (name "Axeman") (image-name "ang-fighter-halfling-axe")
259  (acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 6)
260  (cxp-max 1000)
261  (point-value 3)
262  (help "Improved melee unit.  Weak attack, moderate defense, low resistance."))
263
264(unit-type dbow (name "Crossbowman") (image-name "ba-archer-dwarf")
265  (acp-per-turn 6) (hp-max 35) (acp-to-fire 1) (cp 6) (range 2) (vision-range 1)
266  (cxp-max 1000)
267  (point-value 2)
268  (help "Basic ranged unit.  Weak attack, low defense, weak ranged attack, low resistance."))
269
270(unit-type cannon (name "Steam Cannon") (image-name "ba-cannon")
271  (acp-per-turn 6) (hp-max 50) (acp-to-fire 1)  (range 3) (vision-range 1) (cp 9)
272  (point-value 5)
273  (help "An enormous, steampunk cannon that the Dwarves use to annihilate fortresses, giants and great swathes of enemies.  Weak attack, no defense, no resistance, very high ranged attack."))
274
275(unit-type dlegend (name "Legendary Hero") (image-name "ang-paladin-dwarf-scimitar")
276  (acp-per-turn 6) (hp-max 160) (vision-range 6)  (cxp-max 3000)
277  (can-be-self true) (self-resurrects true)
278  (point-value 20)
279  (help "Extremely powerful, capable of leading a nation or defeating a Great Wyrm.   Incredible attack, very high defense, full resistance."))
280
281(unit-type depic (name "Epic Hero") (image-name "ang-dwarf-gold-shield")
282  (acp-per-turn 6) (hp-max 110) (vision-range 5)  (cxp-max 2000)
283  (can-be-self true) (self-resurrects true) (auto-upgrade-to legend)
284  (point-value 15)
285  (help "One of the greatest heroes of the age, an Achilles or Hector, who can slay great swathes of opponents.  Powerful attack, very high defense, full resistance."))
286
287(unit-type dhero (name "Hero") (image-name "ang-dwarf-scimitar-beard")
288  (acp-per-turn 6) (hp-max 70) (vision-range 4)  (cxp-max 2000)
289  (can-be-self true) (self-resurrects true) (auto-upgrade-to epic)
290  (point-value 7)
291  (help "A veteran of many battles, the hero is a strong warrior who is able to lead a nation in the event of the death of its leader.  Heroes only gain xp when they fight other heroes, archmages and leaders.  If they survive a dozen such battles, they can turn into Legendary Heroes.  Powerful attack, high defense, high resistance."))
292
293(unit-type dranger (name "Ranger") (image-name "ang-ranger-dwarf-sword")
294  (acp-per-turn 6) (hp-max 70) (vision-range 3) (acp-to-fire 1) (range 3)
295  (cxp-max 2000) (can-be-self true) (self-resurrects true)
296  (point-value 7)
297  (help "Elite ranged unit.  Powerful attack, high defense, high resistance, powerful ranged attack."))
298
299(add (dsword dhalberd) auto-upgrade-to dhero)
300(add (dbow) auto-upgrade-to dranger)
301(add (dhero dranger) auto-upgrade-to depic)
302(add depic auto-upgrade-to dlegend)
303
304(define dwarf-types (dsword dhalberd dbow dranger dhero depic dlegend cannon))
305
306;; ONI
307
308(unit-type osword (name "Legionary") (image-name "ang-drow-stripe-shield")
309  (acp-per-turn 6) (hp-max 25) (vision-range 1) (cp 6)
310  (cxp-max 1000)
311  (point-value 2)
312  (help "Basic melee unit.  Weak attack, moderate defense, low resistance."))
313
314(unit-type obow (name "Bowmen") (image-name "ba-archer-drow")
315  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 6) (range 2) (vision-range 1)
316  (cxp-max 1000)
317  (point-value 2)
318  (help "Basic ranged unit.  Weak attack, low defense, weak ranged attack, low resistance."))
319
320(unit-type ocavalry (name "Chariot") (image-name "ancient-war-cart")
321  (acp-per-turn 8) (hp-max 40) (vision-range 3) (cp 6)
322  (cxp-max 1000)
323  (point-value 3)
324  (help "Basic mounted unit.  Weak attack, moderate defense, low resistance."))
325
326(unit-type ocatapult (name "Ballista") (image-name "ancient-ballista")
327  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 9)  (range 3) (vision-range 1)
328  (point-value 4)
329  (help "Basic siege engine.  Weak attack, no defense, no resistance, special ranged attack."))
330
331(unit-type weaver (name "Loreweaver") (image-name "ang-drow-black-glowhand")
332  (acp-per-turn 6) (hp-max 25) (vision-range 2) (acp-to-fire 2) (range 3)  (cp 6)
333  (cxp-max 1000)
334  (point-value 5)
335  (help "An Oni mage that adds to the research of new spells.  Strong attack, no defense, high resistance, strong ranged attack."))
336
337(unit-type olegend (name "Legendary Hero") (image-name "ang-drow-kirk")
338  (acp-per-turn 6) (hp-max 150) (vision-range 6)  (cxp-max 3000)
339  (can-be-self true) (self-resurrects true)
340  (point-value 20)
341  (help "Extremely powerful, capable of leading a nation or defeating a Great Wyrm.   Incredible attack, very high defense, full resistance."))
342
343(unit-type oepic (name "Epic Hero") (image-name "ang-drow-purple")
344  (acp-per-turn 6) (hp-max 100) (vision-range 5)  (cxp-max 2000)
345  (can-be-self true) (self-resurrects true)
346  (point-value 15)
347  (help "One of the greatest heroes of the age, an Achilles or Hector, who can slay great swathes of opponents.  Powerful attack, very high defense, full resistance."))
348
349(unit-type ohero (name "Hero") (image-name "ang-paladin-drow-sword")
350  (acp-per-turn 6) (hp-max 60) (vision-range 4)  (cxp-max 2000)
351  (can-be-self true) (self-resurrects true)
352  (point-value 7)
353  (help "A veteran of many battles, the hero is a strong warrior who is able to lead a nation in the event of the death of its leader.  Heroes only gain xp when they fight other heroes, archmages and leaders.  If they survive a dozen such battles, they can turn into Legendary Heroes.  Powerful attack, high defense, high resistance."))
354
355(unit-type oranger (name "Ranger") (image-name "ang-drow-gold")
356  (acp-per-turn 6) (hp-max 60) (vision-range 3) (acp-to-fire 1) (range 3)
357  (cxp-max 2000) (can-be-self true) (self-resurrects true)
358  (point-value 7)
359  (help "Elite ranged unit.  Powerful attack, high defense, high resistance, powerful ranged attack."))
360
361(unit-type oknight (name "Knights") (image-name "ancient-war-cart")
362  (acp-per-turn 8) (hp-max 80) (vision-range 3)
363  (cxp-max 1000) (can-be-self true) (self-resurrects true)
364  (point-value 8)
365  (help "Elite mounted unit.  Strong attack, high defense, high resistance."))
366
367(unit-type oarchmage (name "Archmage") (image-name "ang-drow-beard")
368  (acp-per-turn 6) (hp-max 100) (vision-range 5) (acp-to-fire 1) (range 5)
369  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
370  (point-value 16)
371  (help "The most powerful of magicians.  Powerful attack, very high defense, full resistance."))
372
373(unit-type owizard (name "Wizard") (image-name "ang-drow-black-glowhand")
374  (acp-per-turn 6) (hp-max 70) (vision-range 4) (acp-to-fire 1) (range 4)
375  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
376  (point-value 8)
377  (help "A magician of great strength and deep knowledge.  An wizard, like a hero, can hold the reins of power in the event that a nation's leader dies.  The wizard can channel the energies of a nation in the same way that a leader can, allowing for the casting of much more powerful spells.  Powerful attack, high defense, full resistance."))
378
379(add (ocavalry osword) auto-upgrade-to ohero)
380(add obow auto-upgrade-to oranger)
381(add weaver auto-upgrade-to owizard)
382(add owizard auto-upgrade-to oarchmage)
383(add (ohero oranger oknight) auto-upgrade-to oepic)
384(add oepic auto-upgrade-to olegend)
385
386
387(define oni-types (osword obow ocavalry oranger ohero oepic olegend weaver oknight owizard oarchmage))
388
389;; ONI
390
391(unit-type isword (name "Swordsmen") (image-name "ang-orc-cross-plate")
392  (acp-per-turn 6) (hp-max 25) (vision-range 1) (cp 6)
393  (cxp-max 1000)
394  (point-value 2)
395  (help "Basic melee unit.  Weak attack, moderate defense, low resistance."))
396
397(unit-type ihalberd (name "Halberdier") (image-name "ang-orc-halberd-shield")
398  (acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 6)
399  (cxp-max 1000)
400  (point-value 3)
401  (help "Improved melee unit.  Weak attack, moderate defense, low resistance."))
402
403(unit-type gladiator (name "Imperial Gladiator") (image-name "ang-orc-defiant-sword")
404  (acp-per-turn 6) (hp-max 35)  (vision-range 1) (cp 6)
405  (cxp-max 1000)
406  (point-value 4)
407  (help "Orc slaves that have demonstrated great prowess in the arena.  Not only are they great fighters but they can impress wild Orcs for service to the Empire.  Strong attack, medium defense, medium resistance."))
408
409(unit-type ibow (name "Bowmen") (image-name "ba-orc-archer")
410  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 6) (range 2) (vision-range 1)
411  (cxp-max 1000)
412  (point-value 2)
413  (help "Basic ranged unit.  Weak attack, low defense, weak ranged attack, low resistance."))
414
415(unit-type image (name "Mage") (image-name "ba-orc-mage-a")
416  (acp-per-turn 6) (hp-max 35) (vision-range 2) (acp-to-fire 1) (range 3) (cp 9)
417  (cxp-max 1000)
418  (point-value 5)
419  (help "Basic magic unit.  Strong attack, no defense, high resistance, strong ranged attack."))
420
421(unit-type icatapult (name "Ballista") (image-name "ancient-ballista")
422  (acp-per-turn 6) (hp-max 25) (acp-to-fire 1) (cp 9)  (range 3) (vision-range 1)
423  (point-value 4)
424  (help "Basic siege engine.  Weak attack, no defense, no resistance, special ranged attack."))
425
426(unit-type ilegend (name "Legendary Hero") (image-name "ang-king-red-orc")
427  (acp-per-turn 6) (hp-max 150) (vision-range 6)  (cxp-max 3000)
428  (can-be-self true) (self-resurrects true)
429  (point-value 20)
430  (help "Extremely powerful, capable of leading a nation or defeating a Great Wyrm.   Incredible attack, very high defense, full resistance."))
431
432(unit-type iepic (name "Epic Hero") (image-name "ang-goblin-red-scimitar")
433  (acp-per-turn 6) (hp-max 100) (vision-range 5)  (cxp-max 2000)
434  (can-be-self true) (self-resurrects true)
435  (point-value 15)
436  (help "One of the greatest heroes of the age, an Achilles or Hector, who can slay great swathes of opponents.  Powerful attack, very high defense, full resistance."))
437
438(unit-type ihero (name "Hero") (image-name "ang-orc-red-angry")
439  (acp-per-turn 6) (hp-max 60) (vision-range 4)  (cxp-max 2000)
440  (can-be-self true) (self-resurrects true)
441  (point-value 7)
442  (help "A veteran of many battles, the hero is a strong warrior who is able to lead a nation in the event of the death of its leader.  Heroes only gain xp when they fight other heroes, archmages and leaders.  If they survive a dozen such battles, they can turn into Legendary Heroes.  Powerful attack, high defense, high resistance."))
443
444(unit-type iranger (name "Ranger") (image-name "ang-orc-red-scimitar")
445  (acp-per-turn 6) (hp-max 60) (vision-range 3) (acp-to-fire 1) (range 3)
446  (cxp-max 2000) (can-be-self true) (self-resurrects true)
447  (point-value 7)
448  (help "Elite ranged unit.  Powerful attack, high defense, high resistance, powerful ranged attack."))
449
450(unit-type iarchmage (name "Archmage") (image-name "ba-orc-mage-c")
451  (acp-per-turn 6) (hp-max 100) (vision-range 5) (acp-to-fire 1) (range 5)
452  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
453  (point-value 16)
454  (help "The most powerful of magicians.  Powerful attack, very high defense, full resistance."))
455
456(unit-type iwizard (name "Wizard") (image-name "ba-orc-mage-b")
457  (acp-per-turn 6) (hp-max 70) (vision-range 4) (acp-to-fire 1) (range 4)
458  (can-be-self true) (self-resurrects true)  (cxp-max 2000)
459  (point-value 8)
460  (help "A magician of great strength and deep knowledge.  An wizard, like a hero, can hold the reins of power in the event that a nation's leader dies.  The wizard can channel the energies of a nation in the same way that a leader can, allowing for the casting of much more powerful spells.  Powerful attack, high defense, full resistance."))
461
462(add (gladiator ihalberd isword) auto-upgrade-to ihero)
463(add ibow auto-upgrade-to iranger)
464(add image auto-upgrade-to iwizard)
465(add iwizard auto-upgrade-to iarchmage)
466(add (ihero iranger) auto-upgrade-to iepic)
467(add iepic auto-upgrade-to ilegend)
468
469
470(define iriken-types (isword ihalberd gladiator image ibow iranger ihero iepic ilegend iwizard iarchmage))
471
472
473;; INDEPENDANTS
474
475(unit-type merc (name "Mercenary") (image-name "ang-pirate-red-cap")
476  (acp-per-turn 6) (hp-max 25) (vision-range 1) (cp 3)
477  (point-value 2)
478  (help "Purchased melee unit.  Weak attack, moderate defense, low resistance."))
479
480(unit-type spear (name "Orcspawn") (image-name "ang-goblin-sword2")
481  (acp-per-turn 6) (hp-max 10) (vision-range 1) (cp 6)
482  (point-value 1) (cxp-max 2000)
483  (help "The Orcspawn have been all but wiped out by the Oni.  They are weak fighters and often flee from enemies.  Weak attack, low defense, low resistance."))
484
485(unit-type shaman (name "Orcspawn Shaman") (image-name "ang-goblin-green-glowhand")
486  (acp-per-turn 6) (hp-max 15) (vision-range 1) (acp-to-fire 1) (range 3)  (cp 9)
487  (point-value 2)
488  (help "The Orcspawn Shaman is a healer and a weak spellcaster.  Can heal other units.  Strong attack, no defense, weak ranged attack, high resistance, nature immunity."))
489
490(unit-type thug (name "Ogre Thugs") (image-name "ang-fighter-dagger-apehead")
491  (acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 9)
492  (point-value 3) (revolt-chance 500)
493  (help "The Ogres, too, were wiped out by the Oni.  Few remain and many make their way as mercenaries.  Ogres have been known to change sides suddenly.  Strong attack, moderate defense."))
494
495(unit-type champ (name "Ogre Champions") (image-name ("ang-fighter-ape-head" "ang-fighter-ogre-sword"))
496  (acp-per-turn 6) (hp-max 45) (vision-range 1) (cp 12)
497  (point-value 4) (revolt-chance 500)
498  (help "A particularly large or experienced, but no more loyal, group of Ogre mercenaries.  Powerful attack, moderate defense, medium resistance."))
499
500(unit-type cutter (name "Cutter") (image-name "ancient-barge")
501  (acp-per-turn 8) (hp-max 60) (vision-range 5) (cp 3) (naval true)
502  (point-value 4)
503  (help "A fast ship that can carry two units.  Strong attack, high defense, high resistance."))
504
505(unit-type whaler (name "Whaler") (image-name "ancient-bireme")
506  (acp-per-turn 8) (hp-max 80) (vision-range 4) (cp 3) (naval true)
507  (point-value 4)
508  (help "A slow ship with a powerful attack that is useful against large creatures.  strong attack, very high defense, very high resistance."))
509
510(unit-type thuvi (name "Thuvi Irikani") (image-name "ang-paladin-oni-sword")
511  (acp-per-turn 6) (hp-max 35)  (vision-range 1) (cp 6)
512  (point-value 4)
513  (cxp-max 1000) (auto-upgrade-to hero)
514  (help "Descendants of Imperial rebels and allies to the Dwarven City-States.  Strong attack, high defense, high resistance."))
515
516(unit-type tribesman (name "Orc Warrior") (image-name "ang-orc-angry-staff")
517  (acp-per-turn 6) (hp-max 25)  (vision-range 1) (cp 6)
518  (point-value 2)
519  (help "Wild orcs, hidden in the jungle.  Weak attack, low defense, low resistance."))
520
521(define independant-types (spear shaman thug champ cutter whaler thuvi tribesman))
522
523;; GOLEMS
524
525(unit-type woodgolem (name "Wood Golem") (image-name "spec-golem-wood")
526  (acp-per-turn 4) (hp-max 100)  (vision-range 1) (cp 9)
527  (point-value 4)
528  (help "A man built of wood using eldritch methods.  Wood golems are flimsy but easy to produce.  Weak attack, moderate defense, medium resistance.  Can only be repaired by an arcane laboratory."))
529
530(unit-type stonegolem (name "Stone Golem") (image-name "spec-golem-stone")
531  (acp-per-turn 4) (hp-max 100)  (vision-range 1) (cp 12)
532  (point-value 5)
533  (help "A large granite man, created through ancient arts.  Stone golems are slow but strong, especially against cities and fortresses.  Strong attack, very high defense, very high resistance.  Can only be repaired by an arcane laboratory"))
534
535(unit-type irongolem (name "Iron Golem") (image-name "spec-golem-iron")
536  (acp-per-turn 4) (hp-max 100)  (vision-range 1) (cp 15)
537  (point-value 7)
538  (help "The most powerful of the lesser golems.  Powerful attack, high defense, high resistance.  Can only be repaired by an arcane laboratory."))
539
540(unit-type clockgolem (name "Clockwork Golem") (image-name "spec-golem-brass")
541  (acp-per-turn 6) (hp-max 100)  (vision-range 1) (cp 18)
542  (point-value 8)
543  (help "Running on intricate copper clockwork and sheathed in brass, the clockwork golem is an imposing goliath.  Incredible attack, moderate defense, full resistance.  Can only be repaired by an arcane laboratory."))
544
545(define golem-types (woodgolem stonegolem irongolem clockgolem))
546
547;; RUINS
548
549(unit-type cityruin (name "Fallen City") (image-name "spec-citadelruin")
550  (acp-independent true) (hp-max 1) (vision-range 1)
551  (help "A destroyed city that still produces some material."))
552
553(unit-type villageruin (name "Razed Village") (image-name "spec-keepruin")
554  (acp-independent true) (hp-max 1) (vision-range 1)
555  (help "Still produces some material."))
556
557(unit-type keepruin (name "Fallen Keep") (image-name "spec-keepruin")
558  (acp-independent true) (hp-max 1) (vision-range 1)
559  (help "The remains of a castle, still provides some protection."))
560
561(unit-type citadelruin (name "Fallen Citadel") (image-name "spec-citadelruin")
562  (acp-independent true) (hp-max 1) (vision-range 1)
563  (help "The remains of a citadel, still provides some protection."))
564
565(unit-type ruins (name "Ruins") (image-name "spec-keepruin")
566  (acp-independent true) (hp-max 1) (vision-range 1)
567  (help "Scary."))
568
569(define ruin-types (cityruin villageruin keepruin citadelruin ruins))
570
571
572;; FORTRESSES
573(unit-type tower (name "Watchtower") (image-name "ancient-tower")
574  (acp-per-turn 0) (hp-max 25)  (vision-range 4) (cp 3)
575  (ai-war-garrison 1) (ai-peace-garrison 0)
576  (help "Protects 1 unit, provides excellent vision."))
577
578(unit-type fort (name "Wooden Fort") (image-name "spec-fort")
579  (acp-per-turn 3) (hp-max 50)  (vision-range 2) (cp 3)
580  (ai-war-garrison 2) (ai-peace-garrison 0)
581  (point-value 2)
582  (help "Cheap to produce."))
583
584(unit-type keep (name "Keep") (image-name "ba-castle")
585  (acp-per-turn 3) (hp-max 100) (wrecked-type keepruin) (vision-range 3) (cp 3)
586  (ai-war-garrison 2)  (ai-peace-garrison 0)
587  (point-value 3)
588  (help "Protects 3 units, provides good vision."))
589
590(unit-type citadel (name "Citadel") (image-name "ancient-black-city")
591  (acp-per-turn 3) (hp-max 200) (wrecked-type citadelruin) (vision-range 4) (cp 3)
592  (ai-war-garrison 3)  (ai-peace-garrison 1)
593  (point-value 7)
594  (help "Protects 8 units, provides excellent vision."))
595
596(define fortress-types (tower fort keep citadel))
597
598
599
600
601;; Death Creatures
602
603
604(unit-type zombie (name "Zombies") (image-name ("ang-man-purple-diseased" "ang-man-green-diseased"))
605  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
606  (point-value 2)
607  (help "Zombies don't heal and if they kill a regular unit, it turns into a zombie.  Weak attack, low defense, no resistance, death immunity."))
608
609(unit-type spectre (name "Spectres") (image-name "ang-wraith-black-flame")
610  (acp-per-turn 6) (hp-max 45) (vision-range 3) (acp-to-fire 2) (range 1) (cp 9)
611  (can-be-self true) (self-resurrects true) (point-value 5)
612  (help "The lieutenants of the Grey One who can create ghosts and corrupt the living to produce the dead that walk.  Strong attack, low defense, low resistance, strong ranged attack, death immunity."))
613
614(unit-type ghost (name "Ghosts") (image-name "ang-ghost-black-gray")
615  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 3)
616  (point-value 5)  (help "Short-lived but difficult to destroy.  Strong attack, no defense, no resistance, death immunity."))
617
618(unit-type deathknight (name "Death Knight") (image-name "ang-fighter-skull-shield")
619  (acp-per-turn 6) (hp-max 50)  (vision-range 1)
620  (point-value 5)
621  (help "A corrupted crusader.  Powerful attack, high defense, high resistance, death immunity."))
622
623(define death-types (zombie spectre ghost))
624
625
626;; WILDERNESS
627
628(unit-type tyrannosaur (name "Regiosaur") (image-name "ang-dino-claw-hand")
629  (acp-per-turn 6) (hp-max 90) (vision-range 1) (cp 3)
630  (point-value 15)
631  (help "An extremely dangerous creature, look out!  Incredible attack, moderate defense, medium resistance."))
632
633(unit-type apatosaur (name "Elosaur") (image-name "ang-dino-red-frilled")
634  (acp-per-turn 6) (hp-max 150) (vision-range 1) (cp 3)
635  (point-value 12)
636  (help "Very large, dangerous against fortresses and cities.  Many, many hit points.  Weak attack, moderate defense, medium resistance."))
637
638(unit-type pterodactyl (name "Pterodactyl") (image-name "monsters-pterodactyl")
639  (acp-per-turn 6) (hp-max 40) (vision-range 3) (cp 3)
640  (point-value 5)
641  (help "A primitive flying dinosaur.  Timid, runs away a lot, dangerous against small units.  Strong attack, moderate defense, medium resistance."))
642
643(unit-type plesiosaur (name "Sesosaurian") (image-name "ang-dino-green-tusk")
644  (acp-per-turn 6) (hp-max 75) (vision-range 1) (cp 3) (naval true)
645  (point-value 5)
646  (help "Swimming dinosaur.  Dangerous, hard to hit.  Strong attack, moderate defense, medium resistance."))
647
648(unit-type deadwild (name "Pelts") (image-name "ang-coins-small-gold")
649  (acp-independent true) (hp-max 1) (vision-range 0)
650  (point-value 10)
651  (help "Valuable furs, meat and/or feathers."))
652
653(unit-type wolves (name "Wolves") (image-name "ang-dog-gray")
654  (acp-per-turn 6) (hp-max 20) (wrecked-type deadwild) (vision-range 4) (cp 3)
655  (point-value 2)
656  (help "Great vision, high movement in forests.  Weak attack, low defense, low resistance."))
657
658(unit-type bears (name "Bears") (image-name "spec-wildlife-bear")
659  (acp-per-turn 6) (hp-max 30) (wrecked-type deadwild) (vision-range 3) (cp 3)
660  (point-value 3)
661  (help "Tough against small units.  Strong attack, low defense, low resistance."))
662
663(unit-type ferak (name "Ferak") (image-name "heroes-eagles")
664  (acp-per-turn 6) (hp-max 10) (wrecked-type deadwild) (vision-range 4) (cp 3) (air true)
665  (point-value 1)
666  (help "The Ferak, or Eyebird, is a small, beautiful, carrion-eating bird that blinds its prey and then waits for a larger predator to finish it off.  Weak attack, low defense, low resistance."))
667
668(unit-type royalferak (name "Royal Ferak") (image-name "heroes-eagles")
669  (acp-per-turn 6) (hp-max 25) (wrecked-type deadwild) (vision-range 4) (cp 3) (air true)
670  (point-value 2)
671  (help "The Royal Ferak is much larger and often does not need a larger predator to prepare its meals.  Strong attack, moderate defense, medium resistance."))
672
673(define wild-types (tyrannosaur apatosaur pterodactyl plesiosaur wolves bears ferak royalferak))
674
675
676;; GLASS-DARK
677
678(unit-type axecorpse (name "Dead Axehead") (image-name "ang-coins-small-gold")
679  (acp-independent true) (hp-max 1) (vision-range 0)
680  (point-value 10)
681  (help "A dead axehead, which provides a hundred and twenty-five gold."))
682
683(unit-type axehead (name "Axehead") (image-name "spec-fish-bighead")
684  (acp-per-turn 6) (hp-max 100) (wrecked-type axecorpse) (vision-range 1) (cp 9) (naval true)
685  (point-value 8)
686  (help "The axehead ranges in length from sixty to three hundred feet long, and though its organs and armored head are valuable, it is an aggressive and dangerous creature.  Powerful attack, high defense, high resistance."))
687
688(unit-type boscorpse (name "Dead Bospallian") (image-name "ang-coins-small-gold")
689  (acp-independent true) (hp-max 1) (vision-range 0)
690  (point-value 10)
691  (help "A dead bospallian, that provides a hundred gold."))
692
693(unit-type bospallian (name "Bospallian") (image-name "spec-fish-spot")
694  (acp-per-turn 6) (hp-max 200) (wrecked-type boscorpse) (vision-range 1) (cp 3) (naval true)
695  (point-value 8)
696  (help "The Bospallian is an enormous creature, hunted for its fat and its meat.  Weak attack, moderate defense, high resistance."))
697
698(unit-type mold (name "Devil's Mold") (image-name "ang-ooze-black")
699  (acp-per-turn 3) (hp-max 9) (vision-range 1) (cp 6) (naval true)
700  (point-value 5)
701  (help "Killer sludge that's slow and almost impossible to kill, except with fire.  Incredible attack, very high defense, very high resistance."))
702
703(unit-type dajawyrm (name "Dajaspec Sea Monster") (image-name "ang-serpent-blue-sea")
704  (acp-per-turn 6) (hp-max 120) (vision-range 1) (cp 9) (naval true)
705  (point-value 8)
706  (help "One of the many creatures that makes the oceans of Opal nearly impossible to traverse.  Incredible attack, moderate defense, medium resistance."))
707
708(unit-type dajaturtle (name "Veld") (image-name "ang-turtle-gold-brown")
709  (acp-per-turn 6) (hp-max 80) (vision-range 2) (cp 9) (naval true)
710  (point-value 8)
711  (help "The Veld lives at the bottom of the ocean, coming to the surface for air every hundred years or so.  It will often grow weary of the water and come to land, where it seems to consider the life of mammals to be a personal insult.  Powerful attack, very high defense, very high resistance."))
712
713(define glass-types (axehead bospallian mold dajawyrm dajaturtle))
714
715;; COMFORT-WHITE
716
717(unit-type squid (name "Giant Damur") (image-name "ang-jellyfish-purple")
718  (acp-per-turn 9) (hp-max 75) (vision-range 1) (cp 9)
719  (point-value 4)
720  (help "Related to the man of war, it is a deadly and aggressive thing with many attacks.  Strong attack, low defense, low resistance."))
721
722(unit-type thucorpse (name "Festering Remains of Thurastes") (image-name "ang-coins-small-gold")
723  (acp-independent true) (hp-max 1) (vision-range 0)
724  (point-value 10)
725  (help "To kill Thurastes would require a great navy, or terrible magic, or help from dragonkind, but if it was done, old Thurastes' corpse would provide 500 gold worth of materials."))
726
727(unit-type thurastes (name "Thurastes") (image-name "monsters-yabba")
728  (acp-per-turn 3) (hp-max 500) (wrecked-type thucorpse) (vision-range 12)
729  (can-be-self true) (self-resurrects true)
730  (point-value 20)
731  (help "Thurastes rules the White Sea from a deep crevice.  He is of terrible bulk and malevolent intelligence and has existed for thousands of years.  He inflicts himself on Opal with great, miles-long tentacles--to randomly destroy and bring back food for his always-hungry maw.  Incredible attack, moderate defense, very high resistance."))
732
733(unit-type tentacle (name "Tentacle of Thurastes") (image-name "spec-tent2")
734  (acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 15)
735  (point-value 5)
736  (help "The tip of one of Thurastes' massive tentacles.  It can make one powerful attack every turn.  Powerful attack, moderate defense, medium resistance."))
737
738(unit-type ulitar (name "Ulitar") (image-name "ang-alien-blue-bighead")
739  (acp-per-turn 6) (hp-max 70) (vision-range 1) (cp 6)
740  (point-value 4)
741  (help "A giant from the ocean, with little intelligence, that is sometimes infected with a strange, hypnotic mold.  Strong attack, powerful defense, high resistance."))
742
743(unit-type sludge (name "Strange Mold") (image-name "ang-ooze-green")
744  (acp-per-turn 3) (hp-max 1) (vision-range 2) (cp 9)
745  (point-value 3)
746  (help "The strange hypnotic mold that ensnares minds.  Powerful attack, no defense, high resistance."))
747
748(define comfort-types (squid thurastes tentacle ulitar sludge))
749
750
751
752;; Kraken
753
754
755
756(unit-type slaver (name "Slaver") (image-name "monsters-octopus")
757  (acp-per-turn 6) (hp-max 60) (vision-range 2) (cp 6)  (can-be-self true) (self-resurrects true)
758  (point-value 6)
759  (help "A Kraken that has focused on collecting and mastering lesser species.  Strong attack, moderate defense, medium resistance."))
760
761(unit-type sorcerer (name "Sorcerer") (image-name "monsters-octopus")
762  (acp-per-turn 6) (hp-max 40) (vision-range 2) (acp-to-fire 1) (range 3) (cp 9)
763  (can-be-self true) (self-resurrects true)
764  (point-value 6)
765  (help "A Kraken that has focused on learning magic as its way of mastering lesser species.  Strong attack, moderate defense, medium resistance."))
766
767(define kraken-types (slaver sorcerer))
768
769;; DRAGONKIND
770
771(unit-type gwyrm (name "Great Wyrm") (image-name ("ang-dragon-wyrm-red" "ang-dragon-wyrm-blue" "ang-dragon-wyrm-white" "ang-dragon-wyrm-gray" "ang-dragon-wyrm-green" "ang-dragon-wyrm-bronze" "ang-dragon-wyrm-black"))
772  (acp-per-turn 8) (hp-max 250) (vision-range 2) (air true)
773;; (acp-to-fire 1) (range 4) (range-min 2)
774  (can-be-self true) (self-resurrects true)
775  (point-value 15)
776  (help "The most powerful dragon.  Incredible attack, very high defense, very high resistance."))
777
778(unit-type wyrm (name "Wyrm") (image-name ("ang-dragon-mature-red" "ang-dragon-mature-bronze" "ang-dragon-mature-gray" "ang-dragon-mature-green" "ang-dragon-mature-white" "ang-dragon-mature-gold" "ang-dragon-mature-blue"))
779  (acp-per-turn 8) (hp-max 100) (vision-range 2) (air true) (can-be-self true) (self-resurrects true)
780  (auto-upgrade-to gwyrm)
781;; (acp-to-fire 1) (range 4) (range-min 2)
782  (point-value 9)
783  (help "A mature dragon, very dangerous.  Powerful attack, high defense, high resistance."))
784
785(unit-type hatchling (name "Young Dragon") (image-name ("ang-dragon-young-red" "ang-dragon-young-blue" "ang-dragon-young-gold" "ang-dragon-young-white" "ang-dragon-young-green" "ang-dragon-young-gray" "ang-dragon-young-bronze"))
786  (acp-per-turn 6) (hp-max 75) (vision-range 2) (air true) (can-be-self true) (self-resurrects true)
787  (auto-upgrade-to wyrm)
788;; (acp-to-fire 1) (range 4) (range-min 2)
789  (point-value 5)
790  (help "Still dangerous.  Powerful attack, moderate defense, moderate resistance."))
791
792(unit-type dragonegg (name "Dragon Egg") (image-name "ang-egg-easter")
793  (acp-per-turn 0) (hp-max 10) (vision-range 0) (cp 6)
794  (auto-upgrade-to hatchling)
795  (point-value 10)
796  (help "Very valuable, will grow into a baby dragon."))
797
798
799(define dragon-types (gwyrm wyrm hatchling))
800
801
802;;; NOTABLES
803
804(unit-type king (name "King") (image-name "ang-king-purple-glowhand")
805  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1) (possible-sides (or "loyal" (or "rebel")))
806  (can-be-self true) (self-resurrects true)
807  (point-value 10)
808  (help "The king of Talicedric, 'the Aristocracy of Men'.  A spellcaster and powerful fighter.  Powerful attack, high defense, high resistance."))
809
810(unit-type usurper (name "Usurper") (image-name "ang-king-glowhand-staff")
811  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1) (possible-sides (or "loyal" (or "rebel")))
812  (can-be-self true) (self-resurrects true)
813  (point-value 10)
814  (help "The rebellious baron who, with the support of the Irikani, has managed to split the Aristocracy in half.  Also a powerful spellcaster and fighter.  Powerful attack, high defense, high resistance."))
815
816(unit-type minister (name "Minister") (image-name "ang-mage-hippie-glowhand")
817  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1) (possible-sides "confed")
818  (can-be-self true) (self-resurrects true)
819  (point-value 10)
820  (help "The high counciller of Talijanna and one of the few people able to keep its tenuous confederacy united.  Were he to die, it is likely the Confederacy of Men would slip into chaos.  Powerful attack, high defense, high resistance."))
821
822(unit-type shogun (name "Shogun") (image-name "ang-lord-blue-cape")
823  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1) (possible-sides "shogunate")
824  (can-be-self true) (self-resurrects true)
825  (point-value 10)
826  (help "The ruler of the Shogunate, resident of the Imperial Palace and most ardent supporter of the Oni.  Powerful attack, high defense, high resistance."))
827
828(unit-type loremaster (name "Loremaster") (image-name "ang-drow-purple-glowhand")
829  (acp-per-turn 6) (hp-max 80) (vision-range 4) (acp-to-fire 1) (range 2)  (type-in-game-max 1)
830  (possible-sides "oni")  (can-be-self true) (self-resurrects true)
831  (point-value 10)
832  (help "The priest-king of the Oni Fold.  A magician with a powerful ranged attack.  Powerful attack, high defense, high resistance."))
833
834(unit-type emperor (name "Emperor") (image-name "ang-king-red-orc")
835  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
836  (possible-sides "empire")  (can-be-self true) (self-resurrects true)
837  (point-value 10)
838  (help "The emperor of the Iriken.  Powerful attack, high defense, high resistance."))
839
840(unit-type shah (name "Shah") (image-name "ang-mage-white-glowhand2")
841  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
842  (possible-sides "bedouin")  (can-be-self true) (self-resurrects true)
843  (point-value 10)
844  (help "The uniter of the Bedouin and lord of the desert.  Powerful attack, high defense, high resistance."))
845
846(unit-type pharoah (name "Pharoah") (image-name "ang-dwarf-ankh-staff")
847  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
848  (possible-sides "dwarf")  (can-be-self true) (self-resurrects true)
849  (point-value 10)
850  (help "The pharoah of the City-States and sworn enemy of both Oni and Iriken.  Powerful attack, high defense, high resistance."))
851
852(unit-type greyone (name "Grey One") (image-name "ang-king-half-skeleton")
853  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
854  (possible-sides "undead")  (can-be-self true) (self-resurrects true)
855  (point-value 10)
856  (help "The mysterious lord of the Undead, at whose hands living men are turned into the undead.  Powerful attack, high defense, high resistance."))
857
858(unit-type talon (name "Talon") (image-name "ang-saurial-crown-staff")
859  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
860  (possible-sides "lizard")  (can-be-self true) (self-resurrects true)
861  (point-value 10)
862  (help "The ruler of the Lizardmen.  Powerful attack, high defense, high resistance."))
863
864(unit-type spawn (name "Spawn") (image-name "monsters-octopus")
865  (acp-per-turn 6) (hp-max 80) (vision-range 4) (acp-to-fire 1) (range 2)  (type-in-game-max 1)
866  (possible-sides "kraken")  (can-be-self true) (self-resurrects true)
867  (point-value 10)
868  (help "The bastard of Thurastes and the first Kraken.  Powerful attack, high defense, high resistance."))
869
870(unit-type wocke (name "Jabberwocke") (image-name "ang-man-fang-stone")
871  (acp-per-turn 6) (hp-max 80) (vision-range 4) (type-in-game-max 1)
872  (possible-sides "wild") (can-be-self true) (self-resurrects true)
873  (point-value 10)
874  (help "The king of the old forest.  Powerful attack, high defense, high resistance."))
875
876
877
878;; CITIES
879
880(unit-type lcity (name "Lizardman City") (image-name "ba-swamp")
881  (acp-per-turn 3) (hp-max 50) (wrecked-type cityruin) (vision-range 2)
882  (ai-war-garrison 2) (ai-peace-garrison 0) (wrecked-type cityruin)
883  (point-value 8)
884  (help "Produces lizardman units."))
885
886(unit-type dcity (name "Dwarf City") (image-name "ancient-ziggurat")
887  (acp-per-turn 3) (hp-max 50) (wrecked-type cityruin) (vision-range 2)
888  (ai-war-garrison 2) (ai-peace-garrison 0) (wrecked-type cityruin)
889  (point-value 8)
890  (help "Produces dwarf units."))
891
892(unit-type icity (name "Orc City") (image-name "ancient-burrow")
893  (acp-per-turn 3) (hp-max 50) (wrecked-type cityruin) (vision-range 2)
894  (ai-war-garrison 2) (ai-peace-garrison 0) (wrecked-type cityruin)
895  (point-value 8)
896  (help "Produces Orc units."))
897
898(unit-type ocity (name "Drow City") (image-name "ancient-black-castle")
899  (acp-per-turn 3) (hp-max 50) (vision-range 3) (wrecked-type cityruin)
900  (ai-war-garrison 2) (ai-peace-garrison 0)
901  (point-value 10)
902  (help "Produces drow units."))
903
904(unit-type city1 (name "Small City") (image-name "ancient-small-city")
905  (acp-per-turn 3) (hp-max 50) (wrecked-type cityruin) (vision-range 2)
906  (ai-war-garrison 1) (ai-peace-garrison 0) (wrecked-type cityruin)
907  (point-value 8)
908  (help "Small city."))
909
910(unit-type city2 (name "City") (image-name "ancient-city")
911  (acp-per-turn 3) (hp-max 50) (wrecked-type city1) (vision-range 3)
912  (ai-war-garrison 1) (ai-peace-garrison 0) (wrecked-type cityruin)
913  (point-value 12)
914  (help "City."))
915
916(unit-type city3 (name "Large City") (image-name "ancient-blue-city")
917  (acp-per-turn 3) (hp-max 50) (wrecked-type city2) (vision-range 3)
918  (ai-war-garrison 1) (ai-peace-garrison 0) (wrecked-type cityruin)
919  (point-value 15)
920  (help "Large city."))
921
922(unit-type city4 (name "Huge City") (image-name "ancient-yellow-castle")
923  (acp-per-turn 3) (hp-max 50) (wrecked-type city3) (vision-range 3)
924  (ai-war-garrison 2) (ai-peace-garrison 0) (wrecked-type cityruin)
925  (point-value 18)
926  (help "Huge city."))
927
928(unit-type wcity1 (name "Walled Small City") (image-name "ancient-small-city")
929  (acp-per-turn 3) (hp-max 150) (wrecked-type city1) (vision-range 2)
930  (ai-war-garrison 1) (ai-peace-garrison 0) (wrecked-type cityruin)
931  (point-value 8)
932  (help "Small city, with a wall."))
933
934(unit-type wcity2 (name "Walled City") (image-name "ancient-city")
935  (acp-per-turn 3) (hp-max 150) (wrecked-type city2) (vision-range 3)
936  (ai-war-garrison 1) (ai-peace-garrison 0) (wrecked-type cityruin)
937  (point-value 12)
938  (help "City, with a wall."))
939
940(unit-type wcity3 (name "Walled Large City") (image-name "ancient-blue-city")
941  (acp-per-turn 3) (hp-max 150) (wrecked-type city3) (vision-range 3) (wrecked-type cityruin)
942  (ai-war-garrison 1) (ai-peace-garrison 0)
943  (point-value 15)
944  (help "Large city, with a wall."))
945
946(unit-type wcity4 (name "Walled Huge City") (image-name "ancient-black-castle")
947  (acp-per-turn 3) (hp-max 150) (vision-range 3) (wrecked-type cityruin)
948  (ai-war-garrison 3) (ai-peace-garrison 0)
949  (point-value 18)
950  (help "Huge city, with a wall."))
951
952(unit-type town (name "Township") (image-name "ancient-village2")
953  (acp-per-turn 3) (hp-max 50) (wrecked-type villageruin) (vision-range 2)
954  (ai-war-garrison 0)
955  (point-value 5)
956  (help "A town."))
957
958(unit-type svillage (name "Seaside Village") (image-name "ancient-village1")
959  (acp-per-turn 3) (hp-max 50) (wrecked-type villageruin) (vision-range 3)
960  (ai-war-garrison 0)
961  (point-value 4)
962  (help "A town."))
963
964(unit-type ohamlet (name "Orcspawn Hamlet") (image-name "spec-hamlet")
965  (acp-per-turn 3) (hp-max 50) (wrecked-type villageruin) (vision-range 2)
966  (ai-war-garrison 0)
967  (point-value 4)
968  (help "A little hamlet that produces wimps."))
969
970(unit-type ovillage (name "Ogre Village") (image-name "spec-ogvillage")
971  (acp-per-turn 3) (hp-max 50) (wrecked-type villageruin) (vision-range 2)
972  (ai-war-garrison 0) (revolt-chance 500)
973  (point-value 4)
974  (help "A big village that produces thugs."))
975
976(unit-type deadcity (name "Dead City") (image-name "ancient-ruins")
977  (acp-per-turn 3) (hp-max 100) (vision-range 6) (wrecked-type cityruin)
978  (ai-peace-garrison 0) (ai-war-garrison 0)
979  (point-value 10)
980  (help "It's haunted.  Can only be captured by undead units."))
981
982(unit-type lab (name "Arcane Laboratory") (image-name "ancient-white-castle")
983  (acp-per-turn 3) (hp-max 100) (vision-range 6)
984  (ai-peace-garrison 0) (ai-war-garrison 1)
985  (point-value 10)
986  (help "For building golems."))
987
988(define place-types (wcity4 city4 wcity3 city3 wcity2 city2 wcity1 city1 town svillage ohamlet ovillage deadcity lab
989   lcity dcity ocity icity))
990
991;; UNDERSEA CITIES
992
993(unit-type gibcity (name "Gibambi City") (image-name "spec-city-bubble1")
994  (acp-per-turn 3) (hp-max 100) (vision-range 6)
995  (ai-peace-garrison 0) (ai-war-garrison 1)
996  (point-value 10)
997  (help "A Gibambi city."))
998
999(unit-type churcity (name "Churambi City") (image-name "spec-city-bubble2")
1000  (acp-per-turn 3) (hp-max 100) (vision-range 6)
1001  (ai-peace-garrison 0) (ai-war-garrison 1)
1002  (point-value 10)
1003  (help "A Churambi city."))
1004
1005
1006;; NODES
1007
1008(unit-type enode (name "Earth Node") (image-name "ang-hole-water-green")
1009  (acp-per-turn 3) (hp-max 1) (vision-range 2)
1010  (point-value 10)
1011  (help "Produces Earth Mana."))
1012
1013(unit-type snode (name "Sorcery Node") (image-name "ang-hole-water-blue")
1014  (acp-per-turn 3) (hp-max 1) (vision-range 2)
1015  (point-value 10)
1016  (help "Produces Sorcery Mana."))
1017
1018(unit-type cnode (name "Chaos Node") (image-name "ang-hole-fire")
1019  (acp-per-turn 3) (hp-max 1) (vision-range 2)
1020  (point-value 10)
1021  (help "Produces Chaos Mana."))
1022
1023(unit-type lnode (name "Life Node") (image-name "ang-hole-spike-lblue")
1024  (acp-per-turn 3) (hp-max 1) (vision-range 2)
1025  (point-value 10)
1026  (help "Produces Life Mana."))
1027
1028(unit-type dnode (name "Death Node") (image-name "ang-hole-large-black")
1029  (acp-per-turn 3) (hp-max 1) (vision-range 2)
1030  (point-value 10)
1031  (help "Produces Death Mana."))
1032
1033(unit-type temple (name "Ancient Temple") (image-name "ancient-green-city")
1034  (acp-per-turn 0) (hp-max 1) (vision-range 2)
1035  (point-value 12)
1036  (help "Provides research"))
1037
1038(define node-types (enode snode cnode lnode dnode temple))
1039
1040
1041
1042(unit-type fish (name "Fish") (image-name "spec-heart")
1043  (acp-per-turn 0) (hp-max 1) (vision-range 0)
1044  (point-value 6)
1045  (help "Produces gold and anvils."))
1046
1047(unit-type goldmine (name "Gold Mine") (image-name "spec-mine-green")
1048  (acp-per-turn 0) (hp-max 1) (vision-range 0)
1049  (point-value 6)
1050  (help "Produces gold."))
1051
1052(unit-type ironmine (name "Iron Mine") (image-name "spec-mine-gray")
1053  (acp-per-turn 0) (hp-max 1) (vision-range 0)
1054  (point-value 6)
1055  (help "Produces iron."))
1056
1057(unit-type quarry (name "Quarry") (image-name "spec-mine-brown")
1058  (acp-per-turn 0) (hp-max 1) (vision-range 0)
1059  (point-value 6)
1060  (help "Produces stone."))
1061
1062(unit-type lumber (name "Groves") (image-name "spec-tree-brown")
1063  (acp-per-turn 0) (hp-max 1) (vision-range 0)
1064  (point-value 6)
1065  (help "Produces wood."))
1066
1067(define resource-types (fish goldmine ironmine quarry lumber))
1068
1069
1070;; POINTS OF INTEREST
1071
1072(unit-type lair (name "Dragon's Lair") (image-name "spec-lair")
1073  (acp-per-turn 3) (hp-max 50) (wrecked-type goldmine) (vision-range 5)
1074  (possible-sides "dragon")
1075  (ai-peace-garrison 0) (ai-war-garrison 1)
1076  (point-value 10)
1077  (help "Produces dragon eggs."))
1078
1079(unit-type pit (name "Kraken Pit") (image-name "spec-heart")
1080  (acp-per-turn 3) (hp-max 50) (wrecked-type fish) (vision-range 10)
1081  (point-value 10)
1082  (help "Produces Kraken."))
1083
1084(unit-type dino1 (name "Dinosaur Breeding Ground") (image-name "spec-heart")
1085  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1086  (possible-sides "wild") (can-be-self true) (self-resurrects true)
1087  (point-value 10)
1088  (help "Produces dinosaurs.  Cannot be captured."))
1089
1090(unit-type dino2 (name "Saurian Breeding Ground") (image-name "spec-heart")
1091  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1092  (can-be-self true) (self-resurrects true)
1093  (point-value 10)
1094  (help "Produces dinosaurs.  Cannot be captured."))
1095
1096
1097(unit-type fheart (name "Heart of the Forest") (image-name "spec-heart")
1098  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1099  (can-be-self true) (self-resurrects true)
1100  (point-value 10)
1101  (help "Produces wolves and bears.  Cannot be captured."))
1102
1103(unit-type jheart (name "Heart of the Jungle") (image-name "spec-heart")
1104  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1105  (can-be-self true) (self-resurrects true)
1106  (point-value 10)
1107  (help "Produces Ferak and Royal Ferak.  Cannot be captured."))
1108
1109(unit-type sheart (name "Heart of the Sulspec") (image-name "spec-heart")
1110  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1111  (possible-sides "white")  (can-be-self true) (self-resurrects true)
1112  (point-value 10)
1113  (help "Produces Giant Squid and Gibambi.  Cannot be captured."))
1114
1115(unit-type gheart (name "Heart of the Glaspec") (image-name "spec-heart")
1116  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1117  (possible-sides "glass") (can-be-self true) (self-resurrects true)
1118  (point-value 10)
1119  (help "Produces Bospallian and Axehead.  Cannot be captured."))
1120
1121(unit-type hheart (name "Heart of the Hoespec") (image-name "spec-heart")
1122  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1123  (can-be-self true) (self-resurrects true)
1124  (point-value 10)
1125  (help "Produces Churambi and Ulitars.  Cannot be captured."))
1126
1127(unit-type dheart (name "Heart of the Dajaspec") (image-name "spec-heart")
1128  (acp-per-turn 3) (hp-max 50) (vision-range 3)
1129  (can-be-self true) (self-resurrects true)
1130  (point-value 10)
1131  (help "Produces Daja Turtles and Daja Wyrms.  Cannot be captured."))
1132
1133(define wilderness-types (lair pit dino1 dino2 fheart jheart sheart gheart hheart dheart))
1134
1135(unit-type needle (name "The Needle") (image-name "spec-needle")
1136  (acp-per-turn 0) (hp-max 1) (vision-range 3) (type-in-game-max 1)
1137  (help "Opal is known as the pincushion of the gods."))
1138
1139;; NEW UNITS
1140
1141(unit-type oslt (name "Orcspawn Lieutenant") (image-name "ang-goblin-shield")
1142  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1143  (point-value 2) (cxp-max 2000)
1144  (help "An Orcspawn leader, they tend to be short-lived. Strong attack, low defense, moderate resistance."))
1145
1146(unit-type oschief (name "Orcspawn Chief") (image-name "ang-goblin-cape")
1147  (acp-per-turn 6) (hp-max 35) (vision-range 2) (cp 6)
1148  (point-value 4) (cxp-max 2000)
1149  (help "An Orcspawn Chieftain, very rare.  Strong attack, moderate defense, high resistance."))
1150
1151(unit-type oswarlord (name "Orcspawn Warlord") (image-name "ang-goblin-staff")
1152  (acp-per-turn 6) (hp-max 60) (vision-range 3) (cp 6)
1153  (point-value 5) (cxp-max 2000)
1154  (help "An Orcspawn Warlord.  There have been only half a dozen in all history.  Powerful attack, high defense, high resistance."))
1155
1156(add spear auto-upgrade-to oslt)
1157(add oslt auto-upgrade-to oschief)
1158(add oschief auto-upgrade-to oswarlord)
1159
1160(unit-type gibambi (name "Gibambi Raider") (image-name "ang-fishhead-sword")
1161  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1162  (point-value 1) (cxp-max 2000)
1163  (help "Weak creatures that live in the ocean and raid the land.  Weak attack, low defense, no resistance."))
1164
1165(unit-type gibsword (name "Gibambi Warrior") (image-name "ang-fishman-plate-armor")
1166  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1167  (point-value 1) (cxp-max 2000)
1168  (help "Slightly stronger Gibambi."))
1169
1170(unit-type gibmage (name "Gibambi Mage") (image-name "ang-fishhead-glowhand")
1171  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1172  (point-value 1) (cxp-max 2000)
1173  (help "A Gibambi magician."))
1174
1175(unit-type gibpriest (name "Gibambi Priest") (image-name "ang-fishhead-ankh")
1176  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1177  (point-value 1) (cxp-max 2000)
1178  (help "A Gibambi holy man."))
1179
1180(unit-type gibhero (name "Gibambi Hero") (image-name "ang-fishman-skull-shield")
1181  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1182  (point-value 1) (cxp-max 2000) (auto-upgrade-to epic)
1183  (help "A Gibambi hero."))
1184
1185(add (gibambi gibsword gibmage gibpriest) auto-upgrade-to gibhero)
1186
1187(unit-type churambi (name "Churambi Swordsmen") (image-name "ang-codhead-sword2")
1188  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1189  (point-value 2)
1190  (help "Cousins of the Gibambi and slightly tougher.  Strong attack, moderate defense, medium resistance."))
1191
1192(unit-type churhal (name "Churambi Skirmisher") (image-name "ang-codhead-sword")
1193  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1194  (point-value 2)
1195  (help "A stronger Churambi."))
1196
1197(unit-type churcleric (name "Churambi Cleric") (image-name "ang-codhead-staff")
1198  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1199  (point-value 2)
1200  (help "A Churambi holy man."))
1201
1202(unit-type churhero (name "Churambi Hero") (image-name "ang-codhead-staff2")
1203  (acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1204  (point-value 2)
1205  (help "A Churambi Hero."))
1206
1207(unit-type vandrak (name "Vandrak") (image-name "ang-monster-who-knows")
1208  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1209  (point-value 1)
1210  (help "A giant lizard."))
1211
1212
1213;; SPELLS
1214
1215(unit-type powerword (name "Power Word, Kill") (image-name "ang-fireball-gray-red")
1216  	(acp-per-turn 10) (hp-max 1) (acp-to-fire 1) (range 5)  (cp 3)
1217  (point-value 10)
1218	(help "Fifth-level Death Magic.  Ten devastating attacks.  Annihilates whole armies."))
1219
1220(unit-type deathwalk (name "Deathwalker") (image-name "ang-fireball-multi-black")
1221  (acp-per-turn 3) (hp-max 1) (help "Transport through Hades."))
1222
1223(unit-type wastemaker (name "Phantom World") (image-name "ang-fireball-gray-silver")
1224	(acp-per-turn 20) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1225	(help "A devastating bit of eldritch sorcery, which will imbue a swath of land and its inhabitants with the essence of phantom."))
1226
1227(unit-type riddle (name "Labrynthine Riddle") (image-name "ang-head-purple-skeleton")
1228  (acp-independent true) (hp-max 1)
1229  (point-value 8) (facility true)
1230
1231(help "A fortress or city can only be attacked if the riddle is solved, and can only be solved by a hero an archmage or a leader."))
1232
1233(unit-type breath (name "Gray Breath") (image-name "ang-wraith-gray-flame")
1234  (acp-per-turn 10) (hp-max 1) (help "Short-lived.  Attack doesn't damage units but saps their ACP."))
1235
1236(unit-type seance (name "Seance") (image-name "ang-fireball-multi-silver")
1237  (acp-independent true) (hp-max 1) (vision-range 5)
1238(help "Can be created anywhere within 50 hexes and gives a one turn snapshot of the area."))
1239
1240(unit-type poltergeist (name "Poltergeist") (image-name "ang-dragon-purple-smoke")
1241  	(acp-per-turn 10) (hp-max 1)
1242  (point-value 4)
1243	(help "Very weak but difficult to see, Useful to take control of resource centers and ruins.  Weak attack, moderate defense, medium resistance, death immunity."))
1244
1245(unit-type bonearrow (name "Bone Arrows") (image-name "ang-arrow-gray-dur")
1246	(acp-per-turn 3) (hp-max 1) (acp-to-fire 1) (range 3) (cp 3)
1247  (point-value 2)
1248	(help "Moderate Damage"))
1249
1250(unit-type deathtap (name "Deathtap") (image-name "ang-fireball-single-silver")
1251  (point-value 2) (facility true)
1252  	(acp-independent true) (hp-max 1) (help "Provides death mana"))
1253
1254
1255
1256
1257
1258(unit-type ghoul (name "Ghouls") (image-name "ang-wight-brown-green")
1259  (acp-per-turn 6) (hp-max 35) (vision-range 1) (cp 9)
1260  (point-value 4)
1261  (help "Mean, their attacks sap ACP.  Strong attack, low defense, low resistance, death immunity."))
1262
1263(unit-type skeleton (name "Skeletons") (image-name ("ang-skeleton-right-scimitar" "ang-skeleton-left-scimitar2" "ang-skeleton-right-dagger" "ang-skeleton-left-scimitar" "ang-skeleton-shield-sword"))
1264  (acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1265  (point-value 2)
1266  (help "Brittle.  Weak attack, moderate defense, medium resistance, death immunity."))
1267
1268(unit-type vampyre (name "Vampyres") (image-name "ang-vampire-blue-gold")
1269  (acp-per-turn 8) (hp-max 45) (vision-range 2) (cp 9)
1270  (point-value 6)
1271  (help "Relatively low HP but regenerates fully each turn.  Transforms units into ghouls, except heroes, which are turned to vampyres.  Sometimes charms the unit it's attacking.  Most powerful undead melee unit.  Land unit but moves like an air unit.  Powerful attack, no defense, high resistance, death immunity."))
1272
1273(unit-type seeker (name "Seekers") (image-name "ang-hand-purple-skeleton") (cp 6)
1274  (point-value 1)
1275  (acp-per-turn 8) (hp-max 5) (help "Animated, severed hands.  Strong attack, low defense, low resistance, death immunity."))
1276
1277(unit-type iblis (name "Iblis") (image-name "ang-tornado-purple-lightning") (cp 24)
1278  (acp-per-turn 4) (hp-max 150) (revolt-chance 1000)
1279;; (has-opinions true) (opinions -3 -3 -3 -3 -3 -3 -3 -3 -3 -3 -3 -3 -3 -3 -3)
1280  (point-value 9)
1281(help "A great and powerful djinn.  Learn from Ad Avis.  Incredible attack, high defense, full resistance."))
1282
1283(unit-type lich (name "Lich") (image-name "ang-lich-glowhand-cape") (cp 12)
1284  (acp-per-turn 6) (hp-max 50) (acp-to-fire 1) (range 3)
1285  (point-value 7)
1286  (help "Undead magician.  Powerful attack, moderate defense, very high resistance, powerful ranged attack."))
1287
1288(define death-summon-types (ghoul skeleton vampyre seeker lich iblis))
1289
1290
1291(unit-type naturevoice (name "Nature's Voice") (image-name "ang-fireball-yellow-green")
1292  (acp-independent true) (hp-max 1) (vision-range 100) (cp 6)
1293  (point-value 10)
1294	(help "Knowledge of the entire world"))
1295
1296(unit-type tsunami (name "Tsunami") (image-name "ang-thunderball-blue-blue")
1297	(acp-per-turn 51) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 6)
1298	(help "Monster wave useful for levelling coastal cities."))
1299
1300(unit-type mountainchange (name "Mountain") (image-name "ang-thunderball-green-only")
1301	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 6)
1302	(help "Change terrain into mountain"))
1303
1304(unit-type beguile (name "Beguile") (image-name "ang-symbol-green")
1305	(acp-per-turn 25) (hp-max 1)
1306	(help "Charm many things"))
1307
1308(unit-type earthquake (name "Earthquake") (image-name "ang-lightning-orange-ddr")
1309	(acp-per-turn 21) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 6)
1310	(help "Damages units and cities in a wide area"))
1311
1312(unit-type deepchange (name "Deep") (image-name "ang-thunderball-green-only")
1313	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 6)
1314	(help "Transform a swamp or shallow sea into deep sea."))
1315
1316(unit-type shallowchange (name "Shallow") (image-name "ang-thunderball-green-only")
1317	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 6)
1318	(help "Changes deep water to shallow."))
1319
1320(unit-type charmfish (name "Oceanic Charm") (image-name "ang-fireball-single-purple")
1321  	(acp-per-turn 25) (hp-max 1) (cp 3)
1322	(help "Take control of sea creatures"))
1323
1324(unit-type hillchange (name "Hill") (image-name "ang-thunderball-green-only")
1325	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1326	(help "Change most terrain to hills."))
1327
1328(unit-type plainchange (name "Plains") (image-name "ang-thunderball-green-only")
1329	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1330	(help "Change most terrain to plains."))
1331
1332(unit-type swampchange (name "Swamp") (image-name "ang-thunderball-green-only")
1333	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1334	(help "Change most terrain to swamp."))
1335
1336(unit-type charmbeast (name "Charm Beast") (image-name "ang-powerball-big-green")
1337	(acp-per-turn 25) (range 10) (cp 3)
1338	(help "Take control of beasts and birds"))
1339
1340
1341
1342;; Nature Creatures
1343(unit-type earth1 (name "Small Earth Elemental") (image-name "ang-planer-earth")
1344	(acp-per-turn 6) (hp-max 20) (vision-range 1) (cp 6)
1345  (point-value 3)
1346	(help "A small and weak elemental essence.  Weak attack, low defense, no resistance, nature immunity."))
1347
1348(unit-type earth2 (name "Large Earth Elemental") (image-name "ang-ent-brown")
1349  	(acp-per-turn 6) (hp-max 40) (vision-range 1) (cp 9)
1350  (point-value 4)
1351  	(help "Big man of dirt.  Strong attack, moderate defense, low resistance, nature immunity."))
1352
1353(unit-type earth3 (name " Huge Earth Elemental") (image-name "ang-elemental-humanoid-basalt")
1354  	(acp-per-turn 4) (hp-max 80) (vision-range 1) (cp 12)
1355  (point-value 5)
1356  	(help "Huge man of stone.  Powerful attack, high defense, medium resistance, nature immunity."))
1357
1358(unit-type crebain (name "Crebain") (image-name "monsters-bats")
1359  	(acp-per-turn 8) (hp-max 3)  (vision-range 3) (cp 3)
1360  (point-value 1)
1361	(help "Spies.  Weak attack, low defense, low resistance."))
1362
1363(unit-type leviathan (name "Leviathan") (image-name "spec-fish-levi")
1364	(acp-per-turn 6) (hp-max 300) (cp 18)
1365  (point-value 8)
1366	(help "Enormous, legendary sea creature.  Incredible attack, moderate defense, medium resistance, nature immunity."))
1367
1368(define nature-types (earth1 earth2 earth3 crebain leviathan))
1369
1370
1371
1372(unit-type canticle (name "Chaos Canticle") (image-name "ang-symbol-red")
1373	(acp-per-turn 1) (hp-max 1)  (acp-to-fire 1) (range 80) (cp 12)
1374  (point-value 10) (ai-tactical-range 80)
1375	(help "One shot per turn with an eighty hex range."))
1376
1377(unit-type volcano (name "Volcano") (image-name "spec-volcano-flow")
1378	(acp-per-turn 1) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 0) (cp 12)
1379  (point-value 10)
1380	(help "Explode each turn to cause damage and wasteland"))
1381
1382(unit-type meteor (name "Meteor Storm") (image-name "ang-fireball-single-red")
1383	(acp-per-turn 51) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1384  (point-value 10)
1385	(help "Causes enormous damage to all units nearby when it explodes."))
1386
1387(unit-type disintegrate (name "Disintegrate") (image-name "ang-lightning-green-ddr")
1388	(acp-per-turn 1) (hp-max 1) (acp-to-fire 1) (range 30) (cp 3)
1389  (point-value 8)
1390	(help "Destroys any non-leader, damages any place"))
1391
1392(unit-type flamewall (name "Wall of Flames") (image-name "ang-fireball-multi-orange")
1393	(acp-per-turn 10) (hp-max 40) (cp 3)
1394  (point-value 8)
1395	(help "Currently just protective, especially against water creatures (which cause only 1hp of damage).  Eventually will also damage attackers."))
1396
1397(unit-type fireball (name "Fireball") (image-name "ang-fireball-single-orange")
1398	(acp-per-turn 21) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1399  (point-value 6) (facility true)
1400	(help "Causes some damage to all units nearby when it explodes."))
1401
1402(unit-type flamestrike (name "Flame Strike") (image-name "ang-fireball-single-yellow")
1403	(acp-per-turn 1) (hp-max 1) (acp-to-fire 1) (range 10) (cp 3)
1404  (point-value 4)
1405	(help "One attack for 3d10+10."))
1406
1407(unit-type flamearrow (name "Flame Arrow") (image-name "ang-arrow-red-dur")
1408	(acp-per-turn 5) (hp-max 1) (acp-to-fire 1) (range 3) (cp 3)
1409  (point-value 2)
1410	(help "Five attacks for 1d10."))
1411
1412
1413;; Chaos Creatures
1414(unit-type fire1 (name "Minor Fire Elemental") (image-name "ang-planer-fire")
1415	(acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1416  (point-value 3)
1417	(help "Flame.  Weak attack, low defense, no resistance, chaos immunity."))
1418
1419(unit-type fire2 (name "Fire Elemental") (image-name "ang-tornado-gold-flame")
1420	(acp-per-turn 6) (hp-max 30) (vision-range 1) (cp 9)
1421  (point-value 4)
1422	(help "Sparks.  Strong attack, moderate defense, low resistance, chaos immunity."))
1423
1424(unit-type fire3 (name "Greater Fire Elemental") (image-name "ang-elemental-humanoid-flame")
1425  	(acp-per-turn 4) (hp-max 60) (vision-range 1) (cp 12)
1426  (point-value 5)
1427  	(help "Magma.  Powerful attack, high defense, medium resistance, chaos immunity."))
1428
1429(unit-type hellhound (name "G�vaudan") (image-name "ang-hellhound-spiked-tail")
1430  	(acp-per-turn 6) (hp-max 30) (cp 6)
1431  (point-value 4)
1432	(help "A large, mean, evil dog.  Weak attack, moderate defense, medium resistance, chaos immunity."))
1433
1434(unit-type chaoscreature (name "Ordros") (image-name "ang-eye-floating-red")
1435  	(acp-per-turn 6) (hp-max 100) (cp 24)
1436  (point-value 8)
1437	(help "The Ordros is inexplicable and very dangerous.  Incredible attack, low defense, low resistance, chaos immunity."))
1438
1439(unit-type demon (name "Demon") (image-name ("ang-demon-horn-sword" "ang-demon-buff" "ang-demon-sword" "ang-demon-shield" "ang-demon-glowhand"))
1440  	(acp-per-turn 6) (hp-max 100) (cp 18) (revolt-chance 500)
1441  (point-value 8)
1442	(help "Demons are powerful, but fickle.  Powerful attack, very high defense, full resistance."))
1443
1444(define chaos-types (fire1 fire2 fire3 hellhound chaoscreature demon))
1445
1446
1447
1448
1449(unit-type restore (name "Restoration") (image-name "ang-powerball-burst-yellow")
1450  	(acp-per-turn 48) (hp-max 1) (acp-to-detonate 1) (hp-per-detonation 1) (cp 3)
1451	(help "Changes wasteland to plains."))
1452
1453(unit-type enlighten (name "Enlighten") (image-name "ang-symbol-yellow")
1454	(acp-per-turn 25) (hp-max 1) (cp 3)
1455	(help "Take control of any one creature"))
1456
1457(unit-type doorway (name "Doorway") (image-name "spec-doorway")
1458	(acp-per-turn 3) (hp-max 50) (cp 6)
1459  (point-value 8)
1460	(help "A tower of light that produces spirits"))
1461
1462(unit-type spiritwall (name "Spirit Wall") (image-name "ang-fireball-silver-bronze")
1463	(acp-independent true) (hp-max 40) (cp 3)
1464  (point-value 8) (facility true)
1465	(help "Placed in empty terrain to block movement or in a city or fortress.  Death units cause only 1hp damage against it."))
1466
1467(unit-type sunray (name "Sunray") (image-name "ang-fireball-multi-yellow")
1468	(acp-per-turn 1) (hp-max 1) (acp-to-fire 1) (range 15) (cp 3)
1469  (point-value 6)
1470	(help "Very damaging, especially to evil units"))
1471
1472(unit-type improveheal (name "Improved Heal") (image-name "ang-lightning-gray-up")
1473	(acp-per-turn 3) (hp-max 1) (cp 3) (point-value 6)
1474	(help "Can heal three times for 20HP each."))
1475
1476(unit-type sanctify (name "Sanctify") (image-name "ang-fireball-multi-bronze")
1477	(acp-independent true) (hp-max 50) (cp 6)
1478  (point-value 4) (facility true)
1479	(help "Used on fortresses to improve their strength and improve their ACP."))
1480
1481(unit-type bless (name "Bless") (image-name "ang-fireball-single-yellow")
1482  	(acp-independent true) (hp-max 1) (cp 6)
1483  (point-value 4) (facility true)
1484	(help "Provides extra materials and doubles a city's ACP."))
1485
1486(unit-type justiceeye (name "Eye of Justice") (image-name "ang-fireball-single-yellow")
1487  	(acp-independent true) (hp-max 1) (vision-range 10) (cp 6)
1488  (point-value 2)
1489	(help "Allows a watchtower to see farther"))
1490
1491(unit-type bolt (name "Bolt") (image-name "ang-fireball-single-yellow")
1492  	(acp-per-turn 1) (hp-max 1) (acp-to-fire 1) (range 5) (cp 3)
1493  (point-value 2)
1494	(help "Slightly damaging, moreso to evil creatures"))
1495
1496(unit-type heal (name "Heal") (image-name "ang-lightning-gray-up")
1497  	(acp-per-turn 1) (hp-max 1) (cp 3) (point-value 2)
1498	(help "Restore 15HP to a single unit"))
1499
1500;; ANGELS TO MARMOTS, WHEN YOU GET THE CHANCE
1501;; Life Creatures
1502(unit-type spirit1 (name "Sprites") (image-name "ang-planer-mystic")
1503  	(acp-per-turn 6) (hp-max 15) (vision-range 1) (cp 6)
1504  (point-value 3)
1505  	(help "Pixies.  Weak attack, no defense, low resistance, life immunity."))
1506
1507(unit-type spirit2 (name "Spirits") (image-name "ang-angel-flame-wing")
1508  	(acp-per-turn 6) (hp-max 30) (vision-range 1) (cp 9)
1509  (point-value 4)
1510  	(help "Cherubrim.  Strong attack, low defense, medium resistance, life immunity."))
1511
1512(unit-type spirit3 (name "Phoenix") (image-name "ang-phoenix-yellow-gold")
1513  	(acp-per-turn 6) (hp-max 60) (vision-range 1) (cp 12)
1514  (point-value 5)
1515  	(help "A legendary creature.  Powerful attack, moderate defense, high resistance, life immunity."))
1516
1517(unit-type guardian (name "Guardian") (image-name "ang-scorpian-yellow-giant") (cp 6)
1518  	(acp-per-turn 6) (hp-max 10)
1519  (point-value 2)
1520(help "Supposed to protects forces around it, but not yet.  Weak attack, very high defense, very high resistance, life immunity."))
1521
1522(define life-types (spirit1 spirit2 spirit3 guardian))
1523
1524
1525
1526(unit-type castle (name "Phantom Castle") (image-name "spec-phantom-castle")
1527	(acp-per-turn 3) (hp-max 100) (cp 3)
1528  (point-value 10)
1529	(help "Produces phantom creatures and protects troops"))
1530
1531(unit-type greatcharm (name "Greater Charm") (image-name "ang-thunderball-blue-purple")
1532  	(acp-per-turn 25) (cp 3)
1533	(help "Far more effective at enrapturing opposing units and can be used three times."))
1534
1535(unit-type truedivine (name "True Divination") (image-name "ang-powerball-burst-lblue")
1536  	(acp-independent true) (hp-max 1) (vision-range 60) (cp 6)
1537  (point-value 10)
1538	(help "Eldritch knowledge of Opal"))
1539
1540(unit-type guardward (name "Guards and Wards") (image-name "ang-powerball-big-purple")
1541  	(acp-independent true) (hp-max 3) (cp 6)
1542  (point-value 8) (facility true)
1543	(help "Protects fortresses, very difficult to defeat.  All units have only a 20% chance to hit and it must be hit three times to be destroyed."))
1544
1545(unit-type prismwall (name "Prismatic Wall") (image-name "ang-fireball-all-color")
1546  	(acp-per-turn 10) (hp-max 40) (cp 3)  (point-value 8) (facility true)
1547	(help "Guards cities and fortresses.  Magic attacks are far less effective against prismatic walls than other targets.  Should be sometimes incredibly damaging to attackers and sometimes beguiling, but it doesn't work right now."))
1548
1549(unit-type greatdivine (name "Greater Divination") (image-name "ang-powerball-burst-blue")
1550  	(acp-independent true) (hp-max 1) (vision-range 30)
1551  (point-value 6)
1552	(help "Mystical knowledge of Opal"))
1553
1554(unit-type lightning (name "Lightning Bolt") (image-name "ang-lightning-gold-ddl")
1555	(acp-per-turn 1) (hp-max 1) (acp-to-fire 1) (range 4) (cp 3)
1556  (point-value 6)
1557	(help "Damaging"))
1558
1559(unit-type charm (name "Charm") (image-name "ang-thunderball-blue-yellow")
1560	(acp-per-turn 25) (hp-max 1) (cp 3)
1561	(help "Take control of one unit unless it resists."))
1562
1563(unit-type divine (name "Divination") (image-name "ang-powerball-big-blue")
1564	(acp-independent true) (hp-max 1) (vision-range 15)
1565  (point-value 2)
1566	(help "Simple knowledge of Opal"))
1567
1568
1569
1570;; Sorcery Creatures
1571(unit-type air1 (name "Minor Air Elemental") (image-name "ang-planer-fog")
1572	(acp-per-turn 8) (hp-max 10) (vision-range 1) (cp 6)
1573  (point-value 3)
1574	(help "Small gust.  Weak attack, no defense, low resistance, sorcery immunity."))
1575
1576(unit-type air2 (name "Air Elemental") (image-name "ang-tornado-black-regular")
1577	(acp-per-turn 8) (hp-max 20) (vision-range 1) (cp 9)
1578  (point-value 4)
1579	(help "Big whirlwind.  Strong attack, low defense, medium resistance, sorcery immunity."))
1580
1581(unit-type air3 (name "Greater Air Elemental") (image-name "ang-tornado-turq-flame")
1582	(acp-per-turn 8) (hp-max 40) (vision-range 1) (cp 12)
1583  (point-value 5)
1584	(help "Great Tornado.  Powerful attack, moderate defense, high resistance, sorcery immunity."))
1585
1586(unit-type nameless (name "Nameless Beast") (image-name "spec-phantom-nameless")
1587  (acp-per-turn 6) (hp-max 200) (vision-range 2)
1588  (point-value 8)
1589  (help "An enormous, lumbering, partially invisible thing that leaves ruin in its wake.  Incredible attack, no defense, very high resistance, sorcery immunity."))
1590
1591(unit-type phantomshoggoth (name "Phantom Shoggoth") (image-name "spec-phantom-blob")
1592  (acp-per-turn 6) (hp-max 150) (vision-range 2)
1593  (point-value 8)
1594  (help "A terrible, amorphous creature of great and fell power.  Incredible attack, no defense, very high resistance, sorcery immunity."))
1595
1596(unit-type phantompavilion (name "Phantom Pavilion") (image-name "spec-phantom-pavilion")
1597  (acp-per-turn 3) (hp-max 50) (vision-range 2) (ai-war-garrison 1) (ai-peace-garrison 0)
1598  (point-value 8)
1599  (help "A gateway through which phantom creatures may be summoned."))
1600
1601(unit-type phantomship (name "Phantom Ship") (image-name "spec-phantom-ship")
1602	(acp-per-turn 6) (hp-max 100) (cp 12) (point-value 6)
1603	(help "A ghost ship.  Hard to spot and dangerous.  Powerful attack, no defense, high resistance, sorcery immunity."))
1604
1605(unit-type phantombeast (name "Phantom Beast") (image-name "spec-phantom-beast")
1606	(acp-per-turn 4) (hp-max 100) (cp 12)
1607  (point-value 5)
1608	(help "A powerful, though ephemeral, creature.  Powerful attack, no defense, medium resistance, sorcery immunity."))
1609
1610(unit-type phantomwarrior (name "Phantom Warriors") (image-name "spec-phantom-warrior")
1611	(acp-per-turn 6) (hp-max 10) (cp 6)
1612  (point-value 3)
1613	(help "Easily killed, but powerful attackers.  Powerful attack, no defense, medium resistance, sorcery immunity."))
1614
1615
1616(define sorcery-types (air1 air2 air3 phantombeast phantomwarrior))
1617
1618;;;RANDOM EVENT SEEDS
1619
1620(unit-type banditseed (name "Hive of scum and villainy") (image-name "shield")
1621	(acp-per-turn 0) (hp-max 1) (wrecked-type sword)
1622	(help "Used to generate random events.  Produces an independant swordsman."))
1623
1624(unit-type pirateseed (name "Notorious pirate waters") (image-name "ang-arrow-red-up")
1625	(acp-per-turn 0) (hp-max 1) (wrecked-type cutter)
1626	(help "Used to generate random events.  Produces an independant cutter."))
1627
1628(unit-type heroseed (name "Rumors of a great fighter") (image-name "ang-coat-sword-unicorn")
1629	(acp-per-turn 0) (hp-max 1) (wrecked-type hero)
1630	(help "Used to generate random events.  Produces an independant hero."))
1631
1632(unit-type rangerseed (name "Rumors of a ranger") (image-name "ang-coat-sword-unicorn")
1633	(acp-per-turn 0) (hp-max 1) (wrecked-type ranger)
1634	(help "Used to generate random events.  Produces an independant ranger."))
1635
1636(unit-type knightseed (name "Rumors of a knight") (image-name "ang-coat-sword-unicorn")
1637	(acp-per-turn 0) (hp-max 1) (wrecked-type knight)
1638	(help "Used to generate random events.  Produces an independant knight."))
1639
1640(unit-type archseed (name "Rumors of a powerful wizard") (image-name "ang-ball-crystal-bronze")
1641	(acp-per-turn 0) (hp-max 1) (wrecked-type wizard)
1642	(help "Used to generate random events.  Produces an independant wizard."))
1643
1644(unit-type orcseed (name "Orc hunting grounds") (image-name "ang-arrow-gray-right")
1645	(acp-per-turn 0) (hp-max 1) (wrecked-type tribesman)
1646	(help "Used to generate random events.  Produces an independant tribesman."))
1647
1648(unit-type fortseed (name "Rumors of a bandit hideout") (image-name "hut")
1649	(acp-per-turn 0) (hp-max 1) (wrecked-type fort)
1650	(help "Used to generate random events.  Produces an independant wooden fortress."))
1651
1652(unit-type dragonseed (name "Rumors of a dragon") (image-name "ang-dragon-pink-smoke")
1653	(acp-per-turn 0) (hp-max 1) (wrecked-type wyrm)
1654	(help "Used to generate random events.  Produces an independant Wyrm."))
1655
1656(unit-type faultline (name "Random Earthquake") (image-name "ang-scroll-door-broke")
1657	(acp-per-turn 0) (hp-max 1) (hp-per-detonation 0)
1658	(help "1% chance per turn of an earthquake here."))
1659
1660
1661;; STORYLINE STUFF
1662
1663(unit-type riplegend (name "Eldritch Artifact") (image-name "ang-treasure-varied")
1664	(acp-per-turn 0) (hp-max 1) (revolt-chance 1000)
1665        (help "This is some weapon or piece of armor that, if weilded, can make a hero into a
1666	legendary hero.  Each hero gets only one chance to take any artifact (By attacking it)."))
1667
1668(unit-type lantern (name "Magic Lantern") (image-name "ang-tool-lamp-gold")
1669	(acp-per-turn 12) (hp-max 1)
1670        (help "Purchase mercenaries and cast all spells."))
1671
1672;; (add legend wrecked-type riplegend)
1673
1674(add u* self-resurrects true)
1675
1676
1677(define seed-types (banditseed heroseed fortseed dragonseed pirateseed orcseed archseed rangerseed knightseed))
1678
1679(define event-types (faultline))
1680
1681(define levelone-spells (air1 earth1 spirit1 fire1 skeleton deathtap charmbeast crebain flamestrike flamearrow
1682   bolt heal divine phantomwarrior))
1683(define leveltwo-spells (seance poltergeist bonearrow seeker hillchange plainchange swampchange hellhound
1684   fireball bless justiceeye spirit2 lightning charm))
1685(define levelthree-spells (riddle breath ghoul deepchange shallowchange charmfish disintegrate flamewall fire2
1686   sunray improveheal sanctify prismwall greatdivine air2))
1687(define levelfour-spells (deathwalk wastemaker vampyre mountainchange beguile earthquake volcano meteor fire3
1688   spiritwall spirit3 guardian guardward phantombeast air3))
1689(define levelfive-spells (powerword iblis lich naturevoice leviathan tsunami canticle demon chaoscreature restore
1690   enlighten doorway castle greatcharm truedivine))
1691
1692(define spell-types (append levelone-spells leveltwo-spells levelthree-spells levelfour-spells levelfive-spells))
1693
1694(define wall-types (prismwall spiritwall flamewall))
1695
1696(define shot-types (powerword bonearrow disintegrate flamestrike flamearrow sunray improveheal
1697bolt lightning))
1698
1699(define charm-types (enlighten greatcharm charm charmbeast charmfish beguile))
1700
1701
1702(define summon-types (iblis lich poltergeist seeker leviathan crebain demon chaoscreature hellhound guardian
1703	phantombeast phantomwarrior air1 air2 air3 earth1 spirit1 spirit2 spirit3 fire1 fire2 fire3 skeleton
1704	ghoul vampyre poltergeist))
1705
1706
1707(define explode-types (wastemaker tsunami earthquake meteor fireball restore mountainchange
1708	deepchange shallowchange hillchange plainchange swampchange)
1709)
1710
1711
1712(define enchantment-types (riddle deathtap flamewall sanctify bless justiceeye guardward prismwall)
1713)
1714
1715
1716(define create-types (castle deathwalk naturevoice canticle volcano doorway spiritwall divine truedivine greatdivine))
1717
1718
1719(define self-types (king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke))
1720
1721
1722(define land-types (king usurper minister shogun loremaster emperor shah pharoah greyone wocke sword halberd bow
1723   cavalry catapult mage scout gladiator longbow crusader assassin cannon dervish weaver earth1
1724   earth2 earth3 fire1 fire2 fire3 skeleton zombie ghoul spectre spear shaman thug champ tyrannosaur
1725   apatosaur wolves bears fort tower keep citadel lich canticle chaoscreature doorway spiritwall castle phantombeast
1726   phantomwarrior seeker hellhound volcano thuvi tribesman iblis demon deadwild
1727   cityruin villageruin keepruin citadelruin ruins flamewall enode snode cnode lnode dnode temple goldmine
1728   ironmine quarry lumber lair pit dino1 dino2 fheart jheart prismwall hero legend epic
1729   wcity4 city4 wcity3 city3 wcity2 city2 wcity1 city1 town svillage ohamlet ovillage deadcity
1730   deathknight wizard archmage ranger knight woodgolem stonegolem irongolem clockgolem phantompavilion vampyre
1731   oslt oschief oswarlord nameless phantomshoggoth
1732   dsword dhalberd dbow dranger dhero depic dlegend
1733   osword ocavalry obow oranger oknight ohero oepic olegend
1734   merc
1735   isword ihalberd gladiator image ibow iranger ihero iepic ilegend iwizard iarchmage
1736
1737   ))
1738
1739
1740
1741(define amphibious-types (talon spawn dajaturtle churambi gibambi ulitar slaver sorcerer
1742    croc lsword lhalberd lcavalry lmage llegend lepic lhero lranger larchmage lwizard))
1743
1744(define deep-types (axehead bospallian dajawyrm thurastes leviathan axecorpse boscorpse thucorpse))
1745
1746(define water-types (squid tentacle mold sludge plesiosaur cutter whaler tsunami fish sheart gheart hheart dheart phantomship))
1747
1748(define air-types (ferak royalferak pterodactyl spirit1 spirit2 spirit3 air1 air2 air3 gwyrm wyrm
1749   hatchling ghost crebain demon guardian poltergeist iblis))
1750
1751(define all-types (append land-types amphibious-types deep-types water-types air-types))
1752
1753(define mage-types (sorcerer mage dervish weaver shaman spectre lich iblis vampyre lmage image))
1754
1755(define heroic-types (legend archmage wizard hero epic ranger knight
1756   llegend larchmage lwizard lhero lepic lranger
1757   dranger dhero depic dlegend
1758   oranger ohero oknight oepic olegend owizard oarchmage
1759   iranger ihero iepic ilegend iwizard iarchmage
1760
1761))
1762
1763(define high-mage-types (archmage wizard larchmage lwizard oarchmage owizard iarchmage iwizard))
1764
1765(define phantom-types (phantomwarrior phantombeast castle phantompavilion phantomship nameless phantomshoggoth))
1766
1767;; TRAITS
1768
1769(define sorcery-immune-types (phantomwarrior phantombeast phantomship prismwall phantomshoggoth nameless))
1770
1771(define life-immune-types (spirit1 spirit2 spirit3 guardian spiritwall))
1772
1773(define chaos-immune-types (canticle flamewall fire1 fire2 fire3 hellhound chaoscreature))
1774
1775(define death-immune-types (ghoul zombie ghost skeleton spectre seeker poltergeist greyone deathknight vampyre deadcity lich demon))
1776
1777(define nature-immune-types (leviathan tsunami shaman earth1 earth2 earth3 lmage lwizard larchmage))
1778
1779(define hunter-trait (scout ranger bow longbow lranger lsword croc dranger oranger iranger gladiator))
1780
1781(define climber-trait (legend epic hero wizard archmage ranger llegend lepic lhero lwizard larchmage lranger
1782   dlegend depic dhero dranger
1783   olegend oepic ohero oknight owizard oarchmage oranger
1784   iranger ihero iepic ilegend iwizard iarchmage
1785
1786))
1787
1788(define tireless-trait (scout ranger dranger oranger iranger woodgolem stonegolem irongolem clockgolem))
1789
1790(define swamp-born-trait (lcavalry lbow lsword lhalberd lepic llegend lwizard lranger larchmage lmage croc))
1791
1792(define jungle-born-trait (tribesman gladiator isword ihalberd image ibow iranger ihero iepic ilegend iwizard iarchmage
1793))
1794
1795(define desert-born-trait (dervish))
1796
1797(define mountain-born-trait (dsword dhalberd dbow dranger dhero depic dlegend cannon earth1 earth2 earth3))
1798
1799(define air-attack-trait (hero knight vampyre king usurper minister shogun loremaster emperor shah pharoah
1800   assassin legend epic llegend dlegend lhero dhero lepic depic earth3 fire3 thurastes tentacle nameless
1801   apatosaur scout oepic olegend ohero oknight iranger ihero iepic ilegend
1802
1803
1804))
1805
1806(define mounted-trait (cavalry knight lcavalry ocavalry oknight hellhound
1807
1808))
1809
1810
1811(define small-types (churambi gibambi spear shaman ferak wolves pharoah crebain dragonegg mold oslt oschief oswarlord dbow dsword dhalberd dhero dranger depic dlegend))
1812
1813(define medium-types (sword halberd zombie skeleton hellhound air1 spirit1 fire1 scout croc
1814   guardian tribesman crusader royalferak phantomwarrior ghost thuvi vampyre hero wizard
1815   king usurper minister shogun loremaster emperor shah pharoah greyone talon legend bow longbow
1816   mage dervish weaver ghoul deathknight epic archmage ranger
1817   llegend lepic lhero larchmage lwizard lmage lranger lsword lhalberd lbow merc
1818   olegend oepic ohero oarchmage owizard oranger osword obow
1819   isword ihalberd gladiator image ibow iranger ihero iepic ilegend iwizard iarchmage
1820
1821))
1822
1823(define large-types (cavalry thug pterodactyl bears earth2 air2 spirit2 fire2 ulitar champ demon
1824   hatchling sludge knight woodgolem stonegolem irongolem clockgolem lcavalry ocavalry oknight))
1825
1826(define huge-types (slaver sorcerer plesiosaur squid wyrm phantombeast earth3 air3 spirit3 fire3
1827   tentacle spawn))
1828
1829(define gargantuan-types (bospallian apatosaur cutter dajaturtle axehead tyrannosaur chaoscreature
1830   iblis gwyrm dajawyrm thurastes leviathan phantomship))
1831
1832
1833(define weak-types (spear sword halberd zombie cavalry gibambi bospallian apatosaur crebain wolves skeleton hellhound earth1 air1 spirit1 fire1 scout ferak croc guardian tribesman dragonegg merc
1834crebain bow longbow catapult cannon poltergeist woodgolem
1835   lsword lbow lcavalry dbow dsword dhalberd osword obow ocavalry ocatapult
1836   isword ihalberd ibow
1837))
1838
1839(define strong-types (crusader gladiator slaver thug pterodactyl plesiosaur bears royalferak churambi earth2 air2 spirit2 fire2 ghoul squid ulitar ghost thuvi cutter mage dervish weaver assassin shaman
1840spectre seeker sorcerer whaler knight stonegolem oslt oschief
1841   lhalberd lmage oknight
1842    image))
1843
1844(define powerful-types (champ dajaturtle axehead demon vampyre hatchling wyrm sludge phantombeast  earth3 air3 spirit3 fire3 tentacle hero wizard king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke deathknight wizard lich phantomwarrior epic spiritwall flamewall prismwall ranger irongolem phantomship oswarlord
1845   lhero lranger lepic lwizard dhero dranger depic oepic oranger ohero owizard
1846    iepic ihero iranger iwizard))
1847
1848(define incredible-types (tyrannosaur chaoscreature iblis gwyrm dajawyrm mold thurastes legend leviathan
1849tsunami canticle archmage clockgolem phantomshoggoth nameless
1850   llegend larchmage dlegend oarchmage olegend
1851   ilegend iarchmage))
1852
1853
1854(define no-defense-types (phantomwarrior phantombeast air1 spirit1 catapult cannon ghost mage dervish weaver assassin shaman sludge tsunami canticle vampyre phantomship phantomshoggoth nameless
1855   lbow lmage ocatapult
1856   ibow))
1857
1858(define low-defense-types (spear zombie gibambi crebain wolves bears earth1 fire1 air2 spirit2 ferak tribesman bow longbow ghoul squid spectre seeker chaoscreature oslt
1859   lsword lhalberd lcavalry obow))
1860
1861(define mid-defense-types (sword halberd cavalry churambi bospallian apatosaur skeleton hellhound scout royalferak croc poltergeist gladiator slaver thug pterodactyl plesiosaur earth2 fire2 air3 spirit3 sorcerer champ hatchling tentacle lich spiritwall flamewall prismwall tyrannosaur dajawyrm thurastes leviathan woodgolem clockgolem oschief
1862   lhero lwizard lranger dbow merc ocavalry osword
1863   isword ihalberd image
1864))
1865
1866(define high-defense-types (crusader ulitar thuvi cutter axehead wyrm earth3 fire3 hero wizard king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke deathknight iblis ranger knight irongolem oswarlord
1867   larchmage llegend dsword dhalberd oranger oknight ohero owizard
1868   iranger ihero iwizard))
1869
1870(define uber-defense-types (dragonegg guardian whaler dajaturtle demon epic gwyrm mold legend archmage stonegolem
1871   dlegend dhero dranger depic oepic olegend oarchmage
1872   iepic iarchmage ilegend))
1873
1874
1875;; RESISTANCE
1876
1877(define no-resist-types (catapult cannon ghost zombie gibambi earth1 fire1))
1878
1879(define low-resist-types (sword halberd cavalry churambi spear crebain wolves bears air1 spirit1 earth2 fire2 ferak tribesman bow longbow ghoul squid spectre seeker chaoscreature
1880   lsword lhalberd lcavalry lbow merc
1881   isword ihalberd ibow))
1882
1883(define mid-resist-types (phantomwarrior phantombeast bospallian apatosaur skeleton hellhound scout royalferak croc poltergeist gladiator slaver thug pterodactyl plesiosaur air2 spirit2 earth3 fire3 sorcerer champ hatchling tentacle spiritwall flamewall prismwall tyrannosaur dajawyrm leviathan woodgolem oslt oschief
1884   dsword dhalberd dbow ocatapult))
1885
1886(define high-resist-types (crusader ulitar thuvi cutter axehead wyrm air3 spirit3 hero king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke deathknight ranger knight irongolem vampyre phantomship sludge tsunami canticle mage dervish weaver assassin shaman oswarlord
1887   lmage lhero lranger osword ocavalry obow
1888   image iranger ihero
1889))
1890
1891(define uber-resist-types (dragonegg guardian whaler dajaturtle gwyrm mold stonegolem thurastes lich phantomshoggoth nameless dhero dranger))
1892
1893(define full-resist-types (iblis demon thuvi wizard legend archmage epic clockgolem
1894   lepic llegend lwizard larchmage dlegend depic ohero oranger oknight oepic owizard oarchmage
1895   iepic ilegend iwizard iarchmage
1896))
1897
1898;; DAMAGE - REGULAR
1899
1900(define zero-damage-types (city1))
1901
1902(define one-damage-types (scout spear croc))
1903
1904(define two-damage-types (wolves skeleton squid gibambi hellhound))
1905
1906(define three-damage-types (sword oslt zombie tribesman cavalry air1 dsword merc osword
1907   isword))
1908
1909(define four-damage-types (halberd oschief earth1 spirit1 churambi ulitar
1910   lsword lcavalry dhalberd ocavalry ihalberd))
1911
1912(define five-damage-types (gladiator thuvi crusader fire1 ghoul
1913   lhalberd))
1914
1915(define six-damage-types (thug slaver pterodactyl oswarlord plesiosaur bears royalferak earth2 air2 spirit2 deathknight ranger knight dranger oranger oknight))
1916
1917(define seven-damage-types (hero earth3 hatchling champ fire2 dajaturtle air3 spirit3 demon woodgolem
1918   lranger dhero ohero))
1919
1920(define eight-damage-types (epic legend fire3 iblis chaoscreature bospallian apatosaur tentacle stonegolem irongolem clockgolem
1921   lhero depic dlegend oepic olegend
1922   ihero))
1923
1924(define nine-damage-types (tyrannosaur axehead wyrm
1925   lepic llegend
1926   iepic llegend))
1927
1928(define ten-damage-types (iblis
1929
1930))
1931
1932;; DAMAGE - NO DEFENSE
1933
1934(define one-nodef-damage-types (sludge))
1935
1936(define two-nodef-damage-types (guardian crebain seeker ferak))
1937
1938(define three-nodef-damage-types (fireball))
1939
1940(define four-nodef-damage-types (ghost))
1941
1942(define five-nodef-damage-types (king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke))
1943
1944(define six-nodef-damage-types (vampyre))
1945
1946(define seven-nodef-damage-types (phantomwarrior))
1947
1948(define eight-nodef-damage-types (dajawyrm))
1949
1950(define nine-nodef-damage-types (phantombeast phantomship))
1951
1952(define ten-nodef-damage-types (phantomshoggoth))
1953
1954(define eleven-nodef-damage-types (mold nameless))
1955
1956(define twelve-nodef-damage-types (gwyrm))
1957
1958(define thirteen-nodef-damage-types (thurastes))
1959
1960(define humanoid-types (gibambi sword halberd cavalry churambi spear tribesman bow longbow scout croc gladiator champ oslt oschief crusader thuvi hero king usurper minister shogun loremaster emperor shah pharoah ranger knight mage dervish weaver assassin shaman oswarlord thuvi wizard legend archmage epic
1961   lsword lhalberd lbow lmage llegend lepic lhero lranger larchmage
1962   dsword dhalberd dbow dranger dhero depic dlegend merc
1963   osword obow oranger ohero oepic olegend owizard oarchmage
1964   isword ibow ihalberd iranger ihero iepic ilegend iwizard iarchmage
1965))
1966
1967(define corpse-types (thucorpse boscorpse deadwild axecorpse
1968))
1969
1970(define ranged-types (bow longbow catapult cannon cutter whaler ranger
1971   lbow lranger
1972   dbow dranger cannon
1973   obow oranger ocatapult
1974   ibow iranger icatapult
1975))
1976
1977(define nosave-types (powerword sunray)
1978)
1979
1980
1981(define notcapture-types  (catapult cannon assassin tyrannosaur apatosaur pterodactyl plesiosaur wolves   bears ferak royalferak axehead bospallian mold dajawyrm dajaturtle squid thurastes ulitar hatchling
1982  crebain seeker phantomshoggoth nameless))
1983
1984(define old-firing-types (bow longbow catapult cannon cutter whaler powerword bonearrow earthquake
1985   sorcerer mage dervish weaver shaman spectre lich disintegrate flamestrike flamearrow sunray bolt
1986   lightning archmage wizard
1987   lbow lmage lwizard larchmage
1988   dbow cannon
1989   obow ocatapult
1990   ibow icatapult
1991))
1992
1993(define firing-types (append old-firing-types shot-types))
1994
1995
1996
1997(add place-types advanced true)
1998(add lantern advanced true)
1999(add place-types use-own-cell true)
2000(add (axecorpse boscorpse thucorpse deadwild) advanced true)
2001(add (axecorpse boscorpse thucorpse deadwild) use-own-cell true)
2002(add ruin-types advanced true)
2003(add ruin-types use-own-cell true)
2004(add fortress-types advanced true)
2005(add fortress-types use-own-cell true)
2006(add wilderness-types advanced true)
2007(add wilderness-types use-own-cell true)
2008(add node-types advanced true)
2009(add node-types use-own-cell true)
2010(add resource-types advanced true)
2011(add resource-types use-own-cell true)
2012(add (phantompavilion castle) advanced true)
2013(add (phantompavilion castle) use-own-cell true)
2014
2015(add resource-types already-seen true)
2016(add node-types already-seen true)
2017(add place-types already-seen true)
2018
2019
2020
2021;;; Materials
2022(material-type gold (name "Gold") (treasury true)
2023  (help "Gold"))
2024(material-type wood (name "Wood") (treasury true)
2025  (help "Wood"))
2026(material-type stone (name "Stone") (treasury true)
2027  (help "Stone"))
2028(material-type mana (name "Mana") (treasury true)
2029  (help "Magical power"))
2030(material-type study (name "Study") (treasury true)
2031  (help "For research"))
2032(material-type anvil (name "Iron") (treasury true)
2033  (help "Production"))
2034(material-type corpse (name "Corpses")
2035  (help "Used for evil acts"))
2036(material-type timer (name "X")
2037  (help "To keep things alive, like ghosts, which aren't really alive, which is weird."))
2038(material-type flames (name "Fire")
2039  (help "Represents a dragon's flames or a cutter or whaler's pitch."))
2040(material-type opp (name "Chance")
2041  (help "Represents a hero's one chance to weild an eldritch artifact."))
2042(material-type charge (name "Charges")
2043  (help "The amount of shots a high-level mage can fire."))
2044
2045
2046
2047
2048;;; Advances
2049
2050;;Limits for units
2051
2052
2053(advance-type gladiator-l (name "Limiter: Gladiator") (rp 30000))
2054(advance-type longbow-l (name "Limiter: Longbow") (rp 30000))
2055(advance-type crusader-l (name "Limiter: Crusader") (rp 30000))
2056(advance-type assassin-l (name "Limiter: Assassin") (rp 30000))
2057(advance-type cannon-l (name "Limiter: Cannon") (rp 30000))
2058(advance-type dervish-l (name "Limiter: Dervish") (rp 30000))
2059(advance-type weaver-l (name "Limiter: Weaver") (rp 30000))
2060(advance-type croc-l (name "Limiter: Croc") (rp 30000))
2061(advance-type hero-l (name "Limiter: Hero") (rp 30000))
2062(advance-type zombie-l (name "Limiter: Zombie") (rp 30000))
2063(advance-type spectre-l (name "Limiter: Spectre") (rp 30000))
2064(advance-type limit-break (name "Big Limit") (rp 30000))
2065
2066
2067;; Spells
2068
2069(advance-type s-powerword (name "Power Word, Kill (750)") (rp 750))
2070(advance-type s-iblis (name "Summon Iblis (750)") (rp 750))
2071(advance-type s-lich (name "Summon Lich (750)") (rp 750))
2072(advance-type s-deathwalk (name "Deathwalk (600)") (rp 600))
2073(advance-type s-wastemaker (name "Wasteland (600)") (rp 600))
2074(advance-type s-vampyre (name "Summon Vampyre (600)") (rp 600))
2075(advance-type s-riddle (name "Labrynthine Riddle (450)") (rp 450))
2076(advance-type s-breath (name "Gray Breath (450)") (rp 450))
2077(advance-type s-ghoul (name "Summon Ghouls (450)") (rp 450))
2078(advance-type s-seance (name "Seance (300)") (rp 300))
2079(advance-type s-poltergeist (name "Poltergeist (300)") (rp 300))
2080(advance-type s-bonearrow (name "Bone Arrows (300)") (rp 300))
2081(advance-type s-seeker (name "Summon Seekers (150)") (rp 150))
2082(advance-type s-deathtap (name "Deathtap (150)") (rp 150))
2083(advance-type s-skeleton (name "Summon Skeletons (150)") (rp 150))
2084(advance-type s-naturevoice (name "Nature's Voice (750)") (rp 750))
2085(advance-type s-leviathan (name "Summon Leviathan (750)") (rp 750))
2086(advance-type s-tsunami (name "Tsunami (750)") (rp 750))
2087(advance-type s-earth3 (name "Summon Major Earth Elemental (600)") (rp 600))
2088(advance-type s-mountainchange (name "Mountains (600)") (rp 600))
2089(advance-type s-beguile (name "Beguile (600)") (rp 600))
2090(advance-type s-earthquake (name "Earthquake (600)") (rp 600))
2091(advance-type s-deepchange (name "Deepen (450)") (rp 450))
2092(advance-type s-shallowchange (name "Shallow (450)") (rp 450))
2093(advance-type s-charmfish (name "Oceanic Charm (450)") (rp 450))
2094(advance-type s-earth2 (name "Summon Earth Elemental (450)") (rp 450))
2095(advance-type s-hillchange (name "Hills (300)") (rp 300))
2096(advance-type s-plainchange (name "Plains (300)") (rp 300))
2097(advance-type s-swampchange (name "Swamp (300)") (rp 300))
2098(advance-type s-charmbeast (name "Charm Beast (150)") (rp 150))
2099(advance-type s-crebain (name "Summon Crebain (150)") (rp 150))
2100(advance-type s-earth1 (name "Summon Minor Earth Elemental (150)") (rp 150))
2101(advance-type s-canticle (name "Chaos Canticle (750)") (rp 750))
2102(advance-type s-demon (name "Summon Demon (750)") (rp 750))
2103(advance-type s-chaoscreature (name "The Ordros (750)") (rp 750))
2104(advance-type s-volcano (name "Raise Volcano (600)") (rp 600))
2105(advance-type s-meteor (name "Meteor Shower (600)") (rp 600))
2106(advance-type s-fire3 (name "Summon Greater Fire Elemental (600)") (rp 600))
2107(advance-type s-disintegrate (name "Disintegrate (450)") (rp 450))
2108(advance-type s-flamewall (name "Wall of Flames (450)") (rp 450))
2109(advance-type s-fire2 (name "Summon Fire Elemental (450)") (rp 450))
2110(advance-type s-hellhound (name "Summon Hell Hounds (300)") (rp 300))
2111(advance-type s-fireball (name "Fireball (300)") (rp 300))
2112(advance-type s-flamestrike (name "Flame Strike (150)") (rp 150))
2113(advance-type s-flamearrow (name "Flame Arrows (150)") (rp 150))
2114(advance-type s-fire1 (name "Summon Minor Fire Elemental (150)") (rp 150))
2115(advance-type s-restore (name "Restoration (750)") (rp 750))
2116(advance-type s-enlighten (name "Enlighten (750)") (rp 750))
2117(advance-type s-doorway (name "Doorway (750)") (rp 750))
2118(advance-type s-spiritwall (name "Spirit Wall (600)") (rp 600))
2119(advance-type s-spirit3 (name "Summon Greater Spirit (600)") (rp 600))
2120(advance-type s-guardian (name "Summon Guardian (600)") (rp 600))
2121(advance-type s-sunray (name "Sunray (450)") (rp 450))
2122(advance-type s-improveheal (name "Improved Heal (450)") (rp 450))
2123(advance-type s-sanctify (name "Sanctify (450)") (rp 450))
2124(advance-type s-bless (name "Bless (300)") (rp 300))
2125(advance-type s-justiceeye (name "Eye of Justice (300)") (rp 300))
2126(advance-type s-spirit2 (name "Summon Spirits (300)") (rp 300))
2127(advance-type s-bolt (name "Bolt (150)") (rp 150))
2128(advance-type s-heal (name "Heal (150)") (rp 150))
2129(advance-type s-spirit1 (name "Summon Minor Spirits (150)") (rp 150))
2130(advance-type s-castle (name "Phantom Castle (750)") (rp 750))
2131(advance-type s-greatcharm (name "Greater Charm (750)") (rp 750))
2132(advance-type s-truedivine (name "True Divination (750)") (rp 750))
2133(advance-type s-guardward (name "Guards and Wards (600)") (rp 600))
2134(advance-type s-phantombeast (name "Phantom Beast (600)") (rp 600))
2135(advance-type s-air3 (name "Summon Greater Air Elemental (600)") (rp 600))
2136(advance-type s-prismwall (name "Prismatic Walls (450)") (rp 450))
2137(advance-type s-greatdivine (name "Greater Divination (450)") (rp 450))
2138(advance-type s-air2 (name "Summon Air Elemental (450)") (rp 450))
2139(advance-type s-lightning (name "Lightning Bolt (300)") (rp 300))
2140(advance-type s-charm (name "Charm (300)") (rp 300))
2141(advance-type s-phantomwarrior (name "Phantom Warriors (150)") (rp 150))
2142(advance-type s-divine (name "Divination (150)") (rp 150))
2143(advance-type s-air1 (name "Summon Minor Air Elemental (150)") (rp 150))
2144
2145(advance-type sbook1-r (name "First Circle Sorcery (500)") (rp 500))
2146(advance-type sbook2-r (name "Second Circle Sorcery (500)") (rp 500))
2147(advance-type sbook3-r (name "Third Circle Sorcery (500)") (rp 500))
2148(advance-type sbook4-r (name "Fourth Circle Sorcery (500)") (rp 500))
2149(advance-type sbook5-r (name "Fifth Circle Sorcery (500)") (rp 500))
2150(advance-type cbook1-r (name "Fadua Chaos (500)") (rp 500))
2151(advance-type cbook2-r (name "Rem'lith Chaos (500)") (rp 500))
2152(advance-type cbook3-r (name "Utu Chaos (500)") (rp 500))
2153(advance-type cbook4-r (name "Zeem Chaos (500)") (rp 500))
2154(advance-type cbook5-r (name "Pure Chaos (500)") (rp 500))
2155(advance-type nbook1-r (name "First Secret of Nature (500)") (rp 500))
2156(advance-type nbook2-r (name "Second Secret of Nature (500)") (rp 500))
2157(advance-type nbook3-r (name "Third Secret of Nature (500)") (rp 500))
2158(advance-type nbook4-r (name "Fourth Secret of Nature (500)") (rp 500))
2159(advance-type nbook5-r (name "Fifth Secret of Nature (500)") (rp 500))
2160(advance-type lbook1-r (name "The Law of Life (500)") (rp 500))
2161(advance-type lbook2-r (name "The Way of Life (500)") (rp 500))
2162(advance-type lbook3-r (name "The Knowledge of Life (500)") (rp 500))
2163(advance-type lbook4-r (name "The Language of Life (500)") (rp 500))
2164(advance-type lbook5-r (name "The Meaning of Life (500)") (rp 500))
2165(advance-type dbook1-r (name "The Law of Death (500)") (rp 500))
2166(advance-type dbook2-r (name "The Way of Death (500)") (rp 500))
2167(advance-type dbook3-r (name "The Knowledge of Death (500)") (rp 500))
2168(advance-type dbook4-r (name "The Language of Death (500)") (rp 500))
2169(advance-type dbook5-r (name "The Meaning of Death (500)") (rp 500))
2170
2171(table advance-precludes-advance
2172	(lbook1-r dbook1-r true)
2173	(dbook1-r lbook1-r true)
2174	(nbook1-r cbook1-r true)
2175	(lbook1-r cbook1-r true)
2176	(cbook1-r nbook1-r true)
2177	(cbook1-r lbook1-r true)
2178
2179	(a* gladiator-l true)
2180	(a* longbow-l true)
2181	(a* crusader-l true)
2182	(a* assassin-l true)
2183	(a* cannon-l true)
2184	(a* dervish-l true)
2185	(a* weaver-l true)
2186	(a* croc-l true)
2187	(a* limit-break true)
2188	(a* hero-l true)
2189	(a* zombie-l true)
2190	(a* spectre-l true)
2191
2192	(zombie-l lbook1-r true)
2193	(zombie-l nbook1-r true)
2194	(zombie-l sbook1-r true)
2195	(zombie-l cbook1-r true)
2196
2197;; THESE ARE BROKEN, OR UNUSABLE (AS OPPOSED TO UNUSED) BY THE AI
2198	(a* s-guardian true)
2199	(a* s-heal true)
2200	(a* s-restore true)
2201	(a* s-fireball true)
2202	(a* s-meteor true)
2203	(a* s-breath true)
2204	(a* s-deathwalk true)
2205;;	(a* s-wastemaker true)
2206	(a* s-mountainchange true)
2207	(a* s-deepchange true)
2208	(a* s-shallowchange true)
2209	(a* s-plainchange true)
2210	(a* s-swampchange true)
2211	(a* s-earthquake true)
2212
2213)
2214
2215
2216(table advance-needed-to-build
2217  (u* a* false)
2218  ;; units
2219	(powerword s-powerword true)
2220	(iblis s-iblis true)
2221	(lich s-lich true)
2222	(deathwalk s-deathwalk true)
2223	(wastemaker s-wastemaker true)
2224	(riddle s-riddle true)
2225	(breath s-breath true)
2226	(seance s-seance true)
2227	(poltergeist s-poltergeist true)
2228	(bonearrow s-bonearrow true)
2229	(seeker s-seeker true)
2230	(deathtap s-deathtap true)
2231	(naturevoice s-naturevoice true)
2232	(leviathan s-leviathan true)
2233	(tsunami s-tsunami true)
2234	(mountainchange s-mountainchange true)
2235	(beguile s-beguile true)
2236	(earthquake s-earthquake true)
2237	(deepchange s-deepchange true)
2238	(shallowchange s-shallowchange true)
2239	(charmfish s-charmfish true)
2240	(hillchange s-hillchange true)
2241	(plainchange s-plainchange true)
2242	(swampchange s-swampchange true)
2243	(charmbeast s-charmbeast true)
2244	(crebain s-crebain true)
2245	(canticle s-canticle true)
2246	(demon s-demon true)
2247	(chaoscreature s-chaoscreature true)
2248	(volcano s-volcano true)
2249	(meteor s-meteor true)
2250	(disintegrate s-disintegrate true)
2251	(flamewall s-flamewall true)
2252	(hellhound s-hellhound true)
2253	(fireball s-fireball true)
2254	(flamestrike s-flamestrike true)
2255	(flamearrow s-flamearrow true)
2256	(restore s-restore true)
2257	(enlighten s-enlighten true)
2258	(doorway s-doorway true)
2259	(spiritwall s-spiritwall true)
2260	(sunray s-sunray true)
2261	(guardian s-guardian true)
2262	(improveheal s-improveheal true)
2263	(sanctify s-sanctify true)
2264	(bless s-bless true)
2265	(justiceeye s-justiceeye true)
2266	(bolt s-bolt true)
2267	(heal s-heal true)
2268	(castle s-castle true)
2269	(greatcharm s-greatcharm true)
2270	(truedivine s-truedivine true)
2271	(guardward s-guardward true)
2272	(phantombeast s-phantombeast true)
2273	(prismwall s-prismwall true)
2274	(greatdivine s-greatdivine true)
2275	(lightning s-lightning true)
2276	(charm s-charm true)
2277	(phantomwarrior s-phantomwarrior true)
2278	(divine s-divine true)
2279	(air1 s-air1 true)
2280	(air2 s-air2 true)
2281	(air3 s-air3 true)
2282	(earth1 s-earth1 true)
2283	(earth2 s-earth2 true)
2284	(earth3 s-earth3 true)
2285	(spirit1 s-spirit1 true)
2286	(spirit2 s-spirit2 true)
2287	(spirit3 s-spirit3 true)
2288	(fire1 s-fire1 true)
2289	(fire2 s-fire2 true)
2290	(fire3 s-fire3 true)
2291	(skeleton s-skeleton true)
2292	(ghoul s-ghoul true)
2293	(vampyre s-vampyre true)
2294
2295;;	(gladiator gladiator-l true)
2296	(longbow longbow-l true)
2297	(crusader crusader-l true)
2298	(assassin assassin-l true)
2299;;	(cannon cannon-l true)
2300	(dervish dervish-l true)
2301;;	(weaver weaver-l true)
2302;;	(croc croc-l true)
2303	(hero hero-l true)
2304	(zombie zombie-l true)
2305	(spectre spectre-l true)
2306
2307
2308)
2309
2310
2311(set side-can-research true)
2312
2313(table advance-consumption-per-rp
2314  (a* m* 0)
2315  (a* study 1)
2316  )
2317
2318(table advance-needed-to-research
2319  (a* a* false)
2320
2321;; SORCERY
2322
2323  (sbook2-r (sbook1-r) true)
2324  (s-phantomwarrior (sbook1-r) true)
2325  (s-divine (sbook1-r) true)
2326  (s-air1 (sbook1-r) true)
2327
2328  (sbook3-r (sbook2-r) true)
2329  (s-charm (sbook2-r) true)
2330  (s-lightning (sbook2-r) true)
2331
2332  (sbook4-r (sbook3-r) true)
2333  (s-air2 (sbook3-r) true)
2334  (s-greatdivine (sbook3-r) true)
2335  (s-prismwall (sbook3-r) true)
2336
2337  (sbook5-r (sbook4-r) true)
2338  (s-air3 (sbook4-r) true)
2339  (s-phantombeast (sbook4-r) true)
2340  (s-guardward (sbook4-r) true)
2341
2342  (s-truedivine (sbook5-r) true)
2343  (s-greatcharm (sbook5-r) true)
2344  (s-castle (sbook5-r) true)
2345
2346;; NATURE
2347
2348  (nbook2-r (nbook1-r) true)
2349  (s-earth1 (nbook1-r) true)
2350  (s-crebain (nbook1-r) true)
2351  (s-charmbeast (nbook1-r) true)
2352
2353  (nbook3-r (nbook2-r) true)
2354  (s-earth2 (nbook2-r) true)
2355  (s-swampchange (nbook2-r) true)
2356  (s-plainchange (nbook2-r) true)
2357  (s-hillchange (nbook2-r) true)
2358
2359  (nbook4-r (nbook3-r) true)
2360  (s-charmfish (nbook3-r) true)
2361  (s-shallowchange (nbook3-r) true)
2362  (s-deepchange (nbook3-r) true)
2363
2364  (nbook5-r (nbook4-r) true)
2365  (s-earth3 (nbook4-r) true)
2366  (s-earthquake (nbook4-r) true)
2367  (s-beguile (nbook4-r) true)
2368  (s-mountainchange (nbook4-r) true)
2369
2370  (s-tsunami (nbook5-r) true)
2371  (s-leviathan (nbook5-r) true)
2372  (s-naturevoice (nbook5-r) true)
2373
2374;; CHAOS
2375
2376  (cbook2-r (cbook1-r) true)
2377  (s-fire1 (cbook1-r) true)
2378  (s-flamearrow (cbook1-r) true)
2379  (s-flamestrike (cbook1-r) true)
2380
2381  (cbook3-r (cbook2-r) true)
2382  (s-fireball (cbook2-r) true)
2383  (s-hellhound (cbook2-r) true)
2384
2385  (cbook4-r (cbook3-r) true)
2386  (s-fire2 (cbook3-r) true)
2387  (s-flamewall (cbook3-r) true)
2388  (s-disintegrate (cbook3-r) true)
2389
2390  (cbook5-r (cbook4-r) true)
2391  (s-fire3 (cbook4-r) true)
2392  (s-meteor (cbook4-r) true)
2393  (s-volcano (cbook4-r) true)
2394
2395  (s-chaoscreature (cbook5-r) true)
2396  (s-demon (cbook5-r) true)
2397  (s-canticle (cbook5-r) true)
2398
2399;; LIFE
2400
2401  (lbook2-r (lbook1-r) true)
2402  (s-spirit1 (lbook1-r) true)
2403  (s-heal (lbook1-r) true)
2404  (s-bolt (lbook1-r) true)
2405
2406  (lbook3-r (lbook2-r) true)
2407  (s-spirit2 (lbook2-r) true)
2408  (s-justiceeye (lbook2-r) true)
2409  (s-bless (lbook2-r) true)
2410
2411  (lbook4-r (lbook3-r) true)
2412  (s-sanctify (lbook3-r) true)
2413  (s-improveheal (lbook3-r) true)
2414  (s-sunray (lbook3-r) true)
2415
2416  (lbook5-r (lbook4-r) true)
2417  (s-guardian (lbook4-r) true)
2418  (s-spirit3 (lbook4-r) true)
2419  (s-spiritwall (lbook4-r) true)
2420
2421  (s-doorway (lbook5-r) true)
2422  (s-enlighten (lbook5-r) true)
2423  (s-restore (lbook5-r) true)
2424
2425;; DEATH
2426
2427  (dbook2-r (dbook1-r) true)
2428  (s-skeleton (dbook1-r) true)
2429  (s-deathtap (dbook1-r) true)
2430  (s-seeker (dbook1-r) true)
2431
2432  (dbook3-r (dbook2-r) true)
2433  (s-bonearrow (dbook2-r) true)
2434  (s-poltergeist (dbook2-r) true)
2435  (s-seance (dbook2-r) true)
2436
2437  (dbook4-r (dbook3-r) true)
2438  (s-ghoul (dbook3-r) true)
2439  (s-breath (dbook3-r) true)
2440  (s-riddle (dbook3-r) true)
2441
2442  (dbook5-r (dbook4-r) true)
2443  (s-vampyre (dbook4-r) true)
2444  (s-wastemaker (dbook4-r) true)
2445  (s-deathwalk (dbook4-r) true)
2446
2447  (s-lich (dbook5-r) true)
2448  (s-iblis (dbook5-r) true)
2449  (s-powerword (dbook5-r) true)
2450
2451;; LIMITS - Not Meant to be researched, dammit.
2452
2453  (limit-break (s-iblis) true)
2454  (gladiator-l (limit-break) true)
2455  (longbow-l (limit-break) true)
2456  (crusader-l (limit-break) true)
2457  (assassin-l (limit-break) true)
2458  (cannon-l (limit-break) true)
2459  (dervish-l (limit-break) true)
2460  (weaver-l (limit-break) true)
2461  (croc-l (limit-break) true)
2462  (hero-l (limit-break) true)
2463  (zombie-l (limit-break) true)
2464  (spectre-l (limit-break) true)
2465
2466)
2467
2468
2469(terrain-type sea (char ".")
2470  (help "deep water"))
2471(terrain-type shallows (char ",")
2472  (help "shallow coastal water and lakes"))
2473(terrain-type swamp (char "=") (image-name "kiwiterr-swamp"))
2474(terrain-type desert (image-name "adv-desert") (char "~")
2475  (help "dry open terrain"))
2476(terrain-type land (image-name "adv-plain") (char "+")
2477  (help "open flat or rolling country"))
2478(terrain-type forest (image-name "kiwiterr-forest")(char "%"))
2479(terrain-type mountains (image-name "kiwiterr-mountains") (char "^"))
2480(terrain-type ice  (image-name "adv-ice") (char "_"))
2481(terrain-type neutral (image-name "gray") (char "-"))
2482(terrain-type hills (image-name "kiwiterr-hills"))
2483(terrain-type semi-desert (image-name "adv-semi-desert"))
2484(terrain-type steppe (image-name "adv-steppe"))
2485(terrain-type deepforest (image-name "kiwiterr-forest"))
2486(terrain-type wasteland (image-name "kiwiterr-rubble"))
2487(terrain-type river (char "<")
2488  (subtype border) (subtype-x river-x))
2489(terrain-type beach (char "|")
2490  (subtype border))
2491(terrain-type cliffs (image-name "cliffs")
2492  (subtype border))
2493(terrain-type road (char ">")
2494  (subtype connection) (subtype-x road-x))
2495(terrain-type mud (image-name "brown")
2496  (subtype coating))
2497(terrain-type snow (image-name "ice")
2498  (subtype coating))
2499(terrain-type jungle (image-name "kiwiterr-jungle"))
2500
2501(terrain-type p-land (name "Phantom Plains") (image-name "blue") (char "+")
2502  (help "Wispy plains."))
2503(terrain-type p-forest (name "Phantom Forest") (image-name "blue") (char "%"))
2504(terrain-type p-mountains (name "Phantom Mountains") (image-name "blue") (char "^"))
2505(terrain-type p-hills (name "Phantom Hills") (image-name "blue"))
2506(terrain-type p-river (name "Phantom River") (image-name "blue")
2507  (subtype border) (subtype-x river-x))
2508(terrain-type p-cliffs (name "Phantom Cliffs") (image-name "blue")
2509  (subtype border))
2510
2511
2512
2513(add (sea shallows) liquid true)
2514
2515(define sea-t* (sea shallows))
2516
2517(define land-t* (jungle deepforest wasteland desert semi-desert hills steppe land forest mountains river))
2518
2519(define phantom-t* (p-land p-forest p-mountains p-hills p-river p-cliffs))
2520
2521;;; Unit-unit capacities.
2522
2523
2524(table unit-size-as-occupant
2525  ;; Disable occupancy by default.
2526	(u* u* 99)
2527	(sludge (ulitar) 1)
2528	(humanoid-types (cutter) 2)
2529	(humanoid-types fortress-types 1)
2530
2531	(all-types place-types 1)
2532	(place-types place-types 99)
2533
2534	(huge-types place-types 99)
2535	(gargantuan-types place-types 99)
2536
2537	((skeleton zombie deathknight ghoul) cutter 1)
2538	(enchantment-types place-types 1)
2539	(enchantment-types fortress-types 1)
2540	(deathtap ruin-types 1)
2541	(riddle resource-types 1)
2542
2543	(dragon-types lair 1)
2544
2545	(dragonegg hero 1)
2546	(dragonegg legend 1)
2547	(dragonegg epic 1)
2548	(dragonegg wizard 1)
2549	(dragonegg archmage 1)
2550	(dragonegg croc 1)
2551
2552	(wall-types place-types 99)
2553	(wall-types fortress-types 99)
2554
2555)
2556
2557(add heroic-types capacity 1)
2558
2559(add croc capacity 1)
2560
2561(add ruin-types capacity 1)
2562
2563(add (ulitar) capacity 1)
2564
2565(add (cutter) capacity 4)
2566
2567(add (keep) capacity 4)
2568
2569(add (tower) capacity 1)
2570
2571(add (castle) capacity 5)
2572
2573(add (citadel) capacity 6)
2574
2575(add place-types capacity 3)
2576(add phantompavilion capacity 3)
2577
2578(add lair capacity 3)
2579
2580(add phantomship capacity 2)
2581
2582(table occupant-max
2583	(tower all-types 1)
2584	(keep all-types 4)
2585	(citadel all-types 6)
2586	(castle all-types 7)
2587	(place-types all-types 3)
2588	(phantompavilion phantomwarrior 3)
2589	(cutter catapult 1)
2590	(cutter cannon 1)
2591	(phantomship all-types 0)
2592	(phantomship phantomwarrior 2)
2593
2594	(ruin-types u* 0)
2595	(resource-types u* 0)
2596	(fortress-types enchantment-types 0)
2597	(place-types enchantment-types 0)
2598	(tower justiceeye 1)
2599	(fortress-types prismwall 1)
2600	(place-types prismwall 1)
2601	(fortress-types guardward 1)
2602	(place-types bless 1)
2603	(fortress-types sanctify 1)
2604	(ruin-types deathtap 1)
2605	(place-types flamewall 1)
2606	(fortress-types flamewall 1)
2607	(fortress-types riddle 1)
2608	(lair dragonegg 0)
2609
2610)
2611
2612;;; Unit-terrain capacities.
2613
2614(table unit-size-in-terrain
2615  (u* t* 25)
2616  (place-types t* 100)
2617  (fortress-types t* 100)
2618  ((phantompavilion castle) t* 100)
2619  (bospallian t* 75)
2620  (axehead t* 75)
2621  (thurastes t* 75)
2622  (boscorpse t* 100)
2623  (axecorpse t* 100)
2624  (thucorpse t* 100)
2625  (gwyrm t* 75)
2626  (wyrm t* 75)
2627  (hatchling t* 37)
2628  (dajawyrm t* 75)
2629  (dajaturtle t* 75)
2630  (cutter t* 50)
2631  (whaler t* 50)
2632
2633	(land-types sea-t* 125)
2634	(water-types land-t* 125)
2635	(deep-types land-t* 125)
2636	(node-types t* 25)
2637	(resource-types t* 25)
2638	(wilderness-types t* 25)
2639
2640	(seed-types t* 0)
2641	(event-types t* 0)
2642	(lair t* 125)
2643	(lair mountains 70)
2644	(dragonegg mountains 1)
2645	(riplegend t* 0)
2646	(wastemaker t* 0)
2647	(wall-types t* 70)
2648)
2649
2650(add t* capacity 100)
2651
2652;;; Unit-material capacities.
2653
2654
2655(table base-production
2656	(wcity4 gold 5)
2657	(city4 gold 5)
2658	(wcity4 anvil 13)
2659	(city4 anvil 13)
2660	(wcity4 mana 3)
2661	(city4 mana 3)
2662	(wcity4 study 10)
2663	(city4 study 10)
2664
2665	(wcity3 gold 3)
2666	(city3 gold 3)
2667	(wcity3 anvil 8)
2668	(city3 anvil 8)
2669	(wcity3 study 6)
2670	(city3 study 6)
2671	(wcity3 mana 2)
2672	(city3 mana 2)
2673
2674	(wcity2 gold 2)
2675	(city2 gold 2)
2676	(wcity2 anvil 5)
2677	(city2 anvil 5)
2678	(wcity2 study 4)
2679	(city2 study 4)
2680	(wcity2 mana 1)
2681	(city2 mana 1)
2682
2683	(lcity gold 2)
2684	(lcity wood 5)
2685	(lcity study 4)
2686	(lcity mana 1)
2687
2688	(dcity gold 8)
2689	(dcity stone 8)
2690	(dcity anvil 10)
2691
2692	(ocity anvil 8)
2693	(ocity gold 8)
2694	(ocity study 15)
2695	(ocity mana 8)
2696
2697	(icity anvil 8)
2698	(icity gold 8)
2699	(icity study 10)
2700	(icity mana 5)
2701
2702	(wcity1 gold 1)
2703	(city1 gold 1)
2704	(wcity1 anvil 3)
2705	(city1 anvil 3)
2706	(wcity1 study 2)
2707	(city1 study 2)
2708	(wcity1 mana 1)
2709	(city1 mana 1)
2710
2711	(town gold 1)
2712	(town anvil 2)
2713	(town study 1)
2714	(town mana 1)
2715
2716	(svillage gold 1)
2717	(svillage anvil 3)
2718	(svillage wood 3)
2719	(svillage study 1)
2720	(svillage mana 1)
2721
2722	(ohamlet gold 1)
2723	(ohamlet anvil 3)
2724	(ohamlet study 1)
2725	(ohamlet mana 1)
2726
2727	(ovillage gold 1)
2728	(ovillage anvil 5)
2729	(ovillage study 1)
2730	(ovillage mana 1)
2731
2732        (deadcity anvil 8)
2733        (deadcity gold 8)
2734        (deadcity study 20)
2735        (deadcity mana 10)
2736
2737	(citadel anvil 3)
2738	(citadel study 2)
2739	(citadel mana 2)
2740
2741	(keep anvil 3)
2742	(keep study 1)
2743	(keep mana 1)
2744
2745	(tower anvil 2)
2746
2747	(phantompavilion gold 2)
2748	(phantompavilion study 5)
2749	(phantompavilion mana 5)
2750
2751	(thurastes anvil 10)
2752	(lair anvil  8)
2753	(lair gold 8)
2754	(lair study 8)
2755	(lair mana 8)
2756
2757	(dino1 anvil 13)
2758	(dino1 gold 5)
2759	(dino2 anvil 13)
2760	(dino2 gold 5)
2761	(fheart anvil 9)
2762	(fheart gold 4)
2763	(jheart anvil 9)
2764	(jheart gold 4)
2765	(sheart anvil 13)
2766	(sheart gold 5)
2767	(gheart anvil 13)
2768	(gheart gold 5)
2769	(hheart anvil 13)
2770	(hheart gold 5)
2771	(dheart anvil 13)
2772	(dheart gold 5)
2773	(pit anvil 13)
2774	(pit gold 13)
2775
2776	(enode mana 3)
2777  	(enode study 10)
2778	(snode mana 3)
2779  	(snode study 10)
2780	(lnode mana 3)
2781  	(lnode study 10)
2782	(dnode mana 3)
2783  	(dnode study 10)
2784	(cnode mana 3)
2785  	(cnode study 10)
2786	(temple study 20)
2787	(temple mana 10)
2788
2789	(boscorpse gold 5)
2790	(axecorpse gold 8)
2791	(deadwild anvil 1)
2792	(deadwild gold 1)
2793	(thucorpse gold 100)
2794	(fish gold 5)
2795	(fish anvil 5)
2796	(lumber wood 10)
2797	(goldmine gold 5)
2798	(ironmine anvil 10)
2799	(quarry stone 10)
2800
2801	(dragonegg timer 1)
2802	(gwyrm timer 1)
2803	(hatchling timer 1)
2804	(wyrm timer 1)
2805
2806	(bless anvil 3)
2807	(bless mana 3)
2808	(mage-types study 5)
2809
2810	(hatchling flames 1)
2811	(wyrm flames 1)
2812	(gwyrm flames 2)
2813	(cutter flames 1)
2814	(whaler flames 1)
2815
2816	(mage-types mana 10)
2817	(mage mana 10)
2818	(dervish mana 10)
2819	(weaver mana 10)
2820	(high-mage-types charge 3)
2821	(owizard charge 4)
2822	(oarchmage charge 4)
2823
2824	(hero opp 1)
2825
2826)
2827
2828
2829(table unit-storage-x
2830  	(place-types anvil 200)
2831	(place-types gold 200)
2832	(place-types study 200)
2833	(place-types mana 200)
2834
2835	(lantern gold 500)
2836	(lantern mana 500)
2837	(lantern study 2000)
2838	(lantern timer 8)
2839
2840  	(ghost timer 3)
2841  	(breath timer 3)
2842
2843	(boscorpse timer 3)
2844	(axecorpse timer 3)
2845	(thucorpse timer 3)
2846	(deadwild timer 3)
2847
2848	(hatchling timer 50)
2849	(wyrm timer 50)
2850	(gwyrm timer 50)
2851	(dragonegg timer 50)
2852
2853	(phantompavilion gold 200)
2854	(phantompavilion study 200)
2855	(phantompavilion mana 200)
2856
2857	(castle gold 200)
2858	(castle study 200)
2859	(castle mana 200)
2860
2861	(boscorpse gold 200)
2862	(axecorpse gold 75)
2863	(thucorpse gold 700)
2864	(deadwild gold 4)
2865	(deadwild anvil 4)
2866	(fortress-types anvil 200)
2867	(place-types anvil 200)
2868	(wilderness-types anvil 200)
2869	(thurastes anvil 200)
2870	(fortress-types gold 200)
2871	(wilderness-types gold 200)
2872	(node-types study 200)
2873	(node-types mana 200)
2874	(shot-types timer 2)
2875	(explode-types timer 2)
2876	(bless (anvil mana) 5)
2877	(lumber wood 60)
2878	(goldmine gold 60)
2879	(ironmine anvil 60)
2880	(quarry stone 60)
2881	(mage-types study 5)
2882	(hatchling flames 3)
2883	(wyrm flames 3)
2884	(gwyrm flames 8)
2885
2886	(mage-types mana 30)
2887
2888	(mage mana 25)
2889	(dervish mana 15)
2890	(weaver mana 20)
2891
2892	(high-mage-types mana 300)
2893	(high-mage-types charge 5)
2894
2895	(owizard charge 7)
2896	(oarchmage charge 7)
2897
2898	(charm mana 1)
2899	(greatcharm mana 3)
2900	(enlighten mana 1)
2901	(charmfish mana 4)
2902	(charmbeast mana 4)
2903
2904	(beguile mana 3)
2905	(tsunami timer 2)
2906
2907	(wastemaker timer 2)
2908)
2909
2910;;; Movement.
2911
2912(add needle speed 0)
2913(add place-types speed 0)
2914(add fortress-types speed 0)
2915(add wilderness-types speed 0)
2916(add node-types speed 0)
2917(add thurastes speed 0)
2918(add sludge speed 0)
2919(add shot-types speed 0)
2920(add enchantment-types speed 0)
2921(add seed-types speed 0)
2922(add event-types speed 0)
2923(add dragonegg speed 0)
2924(add riplegend speed 0)
2925(add wastemaker speed 0)
2926(add (phantompavilion castle) speed 0)
2927(add lantern speed 0)
2928
2929
2930(table mp-to-enter-terrain
2931  (u* t* 2)
2932  (land-types sea-t* 99)
2933  (deep-types land-t* 99)
2934  (water-types land-t* 99)
2935  (land-types cliffs 99)
2936  (deep-types cliffs 99)
2937  (water-types cliffs 99)
2938  (climber-trait cliffs 1)
2939  (land-types river 3)
2940  (heroic-types river 1)
2941  (amphibious-types river 1)
2942  (amphibious-types beach 1)
2943  (land-types (hills forest semi-desert swamp jungle) 3)
2944  (land-types (desert wasteland deepforest) 4)
2945  (land-types mountains 6)
2946  (heroic-types (hills forest semi-desert swamp jungle) 2)
2947  (heroic-types (desert wasteland deepforest mountains) 3)
2948  (tireless-trait (hills forest semi-desert swamp jungle desert wasteland deepforest mountains) 2)
2949  (jungle-born-trait jungle 2)
2950  (desert-born-trait desert 1)
2951  (mountain-born-trait mountains 2)
2952  (swamp-born-trait swamp 1)
2953  (mounted-trait steppe 1)
2954  (air-types t* 1)
2955  (vampyre t* 1)
2956  (air-types river 0)
2957  (deep-types shallows 99)
2958  (deep-types sea 1)
2959  (water-types sea-t* 1)
2960  ((wocke bears wolves ferak royalferak) t* 99)
2961  ((bears wolves ferak royalferak) (deepforest forest jungle) 1)
2962  (wocke (deepforest) 1)
2963  (death-types wasteland 1)
2964  (skeleton wasteland 1)
2965  (vampyre wasteland 1)
2966  (ghoul wasteland 1)
2967  (seeker wasteland 1)
2968  (iblis wasteland 1)
2969  (lich wasteland 1)
2970  (greyone wasteland 1)
2971  (deathknight wasteland 1)
2972  (charm-types t* 1)
2973	(tsunami land-t* 99)
2974	(tsunami sea 1)
2975	(tsunami shallows 10)
2976
2977)
2978
2979(table mp-to-leave-terrain
2980  (land-types sea-t* 99)
2981  )
2982
2983
2984;;; Construction.
2985
2986(define build1 (wcity4 city4 wcity3 city3))
2987(define build2 (wcity2 city2))
2988(define build3 (wcity1 city1))
2989
2990(define a-types (longbow crusader assassin))
2991(define b-types (sword halberd bow cavalry catapult longbow crusader assassin dervish))
2992(define c-types (sword halberd bow cavalry longbow dervish))
2993(define l-types (lsword lhalberd lbow lcavalry lmage croc))
2994(define d-types (dsword dhalberd dbow cannon))
2995(define o-types (osword ocavalry obow weaver))
2996(define i-types (isword ihalberd ibow gladiator image))
2997
2998
2999
3000(table can-create
3001	(build1 basic-types 3)
3002	(build1 (flamewall bless) 3)
3003	(build1 a-types 3)
3004	(build1 summon-types 3)
3005	(build2 b-types 3)
3006	(build2 (flamewall bless) 3)
3007	(build3 c-types 3)
3008	(build3 (flamewall bless) 3)
3009	(lcity l-types 3)
3010	(dcity d-types 3)
3011	(ocity o-types 3)
3012	(icity i-types 3)
3013
3014  (town (sword bow) 3)
3015  (svillage (cutter whaler) 3)
3016  (ohamlet (spear shaman) 3)
3017  (ovillage (thug champ) 3)
3018  (spectre ghost 3)
3019  (heroic-types (citadel keep tower fort) 3)
3020  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon ) 3)
3021  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3022  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3023
3024  (lair dragonegg 3)
3025
3026  (lab golem-types 3)
3027
3028  (pit kraken-types 3)
3029  (dino1 (plesiosaur tyrannosaur) 3)
3030  (dino2 (apatosaur pterodactyl) 3)
3031  (fheart (wolves bears) 3)
3032  (jheart (ferak royalferak) 3)
3033  (sheart (squid gibambi) 3)
3034  (gheart (axehead bospallian) 3)
3035  (hheart (ulitar sludge churambi) 3)
3036  (dheart (dajawyrm dajaturtle) 3)
3037  (enode (earth1 earth2 earth3 crebain) 3)
3038  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3039  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3040  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3041  (dnode (vampyre seeker lich skeleton iblis) 3)
3042  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3043  (thurastes (tentacle) 3)
3044
3045	(place-types enchantment-types 3)
3046
3047	(self-types shot-types 3)
3048	(self-types explode-types 3)
3049	(self-types (deathtap riddle) 6)
3050	(self-types create-types 3)
3051	(self-types charm-types 3)
3052
3053	(high-mage-types shot-types 3)
3054	(high-mage-types explode-types 3)
3055	(high-mage-types (deathtap riddle) 3)
3056	(high-mage-types create-types 3)
3057	(high-mage-types charm-types 3)
3058
3059	(wyrm shot-types 3)
3060	(wyrm explode-types 3)
3061	(wyrm charm-types 3)
3062
3063	(gwyrm shot-types 3)
3064	(gwyrm explode-types 3)
3065	(gwyrm (deathtap riddle) 6)
3066	(gwyrm create-types 3)
3067	(gwyrm charm-types 3)
3068
3069	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3070
3071	(lantern spell-types 3)
3072)
3073
3074(table acp-to-create
3075	(build1 basic-types 3)
3076	(build1 (flamewall bless) 3)
3077	(build1 a-types 3)
3078	(build1 summon-types 3)
3079	(build2 b-types 3)
3080	(build2 (flamewall bless) 3)
3081	(build3 c-types 3)
3082	(build3 (flamewall bless) 3)
3083	(lcity l-types 3)
3084	(dcity d-types 3)
3085	(ocity o-types 3)
3086	(icity i-types 3)
3087
3088  (town (sword bow) 3)
3089  (svillage (cutter whaler) 3)
3090  (ohamlet (spear shaman) 3)
3091  (ovillage (thug champ) 3)
3092  (spectre ghost 3)
3093  (heroic-types (citadel keep tower fort) 3)
3094  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon ) 3)
3095  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3096  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3097
3098  (lair dragonegg 3)
3099
3100  (lab golem-types 3)
3101
3102  (pit kraken-types 3)
3103  (dino1 (plesiosaur tyrannosaur) 3)
3104  (dino2 (apatosaur pterodactyl) 3)
3105  (fheart (wolves bears) 3)
3106  (jheart (ferak royalferak) 3)
3107  (sheart (squid gibambi) 3)
3108  (gheart (axehead bospallian) 3)
3109  (hheart (ulitar sludge churambi) 3)
3110  (dheart (dajawyrm dajaturtle) 3)
3111  (enode (earth1 earth2 earth3 crebain) 3)
3112  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3113  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3114  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3115  (dnode (vampyre seeker lich skeleton iblis) 3)
3116  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3117  (thurastes (tentacle) 3)
3118
3119	(place-types enchantment-types 3)
3120
3121	(self-types shot-types 3)
3122	(self-types explode-types 3)
3123	(self-types (deathtap riddle) 6)
3124	(self-types create-types 3)
3125	(self-types charm-types 3)
3126
3127	(high-mage-types shot-types 3)
3128	(high-mage-types explode-types 3)
3129	(high-mage-types (deathtap riddle) 3)
3130	(high-mage-types create-types 3)
3131	(high-mage-types charm-types 3)
3132
3133	(wyrm shot-types 3)
3134	(wyrm explode-types 3)
3135	(wyrm charm-types 3)
3136
3137	(gwyrm shot-types 3)
3138	(gwyrm explode-types 3)
3139	(gwyrm (deathtap riddle) 6)
3140	(gwyrm create-types 3)
3141	(gwyrm charm-types 3)
3142
3143	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3144
3145	(lantern spell-types 3)
3146)
3147
3148(table cp-on-creation
3149	(build1 basic-types 3)
3150	(build1 (flamewall bless) 3)
3151	(build1 a-types 3)
3152	(build1 summon-types 3)
3153	(build2 b-types 3)
3154	(build2 (flamewall bless) 3)
3155	(build3 c-types 3)
3156	(build3 (flamewall bless) 3)
3157	(lcity l-types 3)
3158	(dcity d-types 3)
3159	(ocity o-types 3)
3160	(icity i-types 3)
3161
3162  (town (sword bow) 1)
3163  (svillage (cutter whaler) 3)
3164  (ohamlet (spear shaman) 3)
3165  (ovillage (thug champ) 3)
3166  ((deadcity ruins) death-types 3)
3167  (spectre ghost 3)
3168  (heroic-types (citadel keep tower fort) 3)
3169  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon) 3)
3170  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3171  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3172
3173  (lair dragonegg 3)
3174
3175  (lab golem-types 3)
3176
3177
3178  (pit kraken-types 3)
3179  (dino1 (plesiosaur tyrannosaur) 3)
3180  (dino2 (apatosaur pterodactyl) 3)
3181  (fheart (wolves bears) 3)
3182  (jheart (ferak royalferak) 3)
3183  (sheart (squid gibambi) 3)
3184  (gheart (axehead bospallian) 3)
3185  (hheart (ulitar sludge churambi) 3)
3186  (dheart (dajawyrm dajaturtle) 3)
3187  (enode (earth1 earth2 earth3 crebain) 3)
3188  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3189  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3190  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3191  (dnode (vampyre seeker lich skeleton iblis) 3)
3192  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3193  (thurastes (tentacle) 3)
3194
3195	(place-types enchantment-types 3)
3196
3197	(self-types shot-types 3)
3198	(self-types explode-types 3)
3199	(self-types (deathtap riddle) 6)
3200	(self-types create-types 3)
3201	(self-types charm-types 3)
3202
3203	(high-mage-types shot-types 3)
3204	(high-mage-types explode-types 3)
3205	(high-mage-types (deathtap riddle) 6)
3206	(high-mage-types create-types 3)
3207	(high-mage-types charm-types 3)
3208
3209	(wyrm shot-types 3)
3210	(wyrm explode-types 3)
3211	(wyrm charm-types 3)
3212
3213	(gwyrm shot-types 3)
3214	(gwyrm explode-types 3)
3215	(gwyrm (deathtap riddle) 6)
3216	(gwyrm create-types 3)
3217	(gwyrm charm-types 3)
3218
3219	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3220
3221	(lantern spell-types 3)
3222
3223)
3224
3225
3226(table can-build
3227	(build1 basic-types 3)
3228	(build1 (flamewall bless) 3)
3229	(build1 a-types 3)
3230	(build1 summon-types 3)
3231	(build2 b-types 3)
3232	(build2 (flamewall bless) 3)
3233	(build3 c-types 3)
3234	(build3 (flamewall bless) 3)
3235	(lcity l-types 3)
3236	(dcity d-types 3)
3237	(ocity o-types 3)
3238	(icity i-types 3)
3239
3240  (town (sword bow) 3)
3241  (svillage (cutter whaler) 3)
3242  (ohamlet (spear shaman) 3)
3243  (ovillage (thug champ) 3)
3244  ((deadcity ruins) death-types 3)
3245  (spectre ghost 3)
3246  (heroic-types (citadel keep tower fort) 3)
3247  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon ) 3)
3248  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3249  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3250
3251  (lair dragonegg 3)
3252
3253  (lab golem-types 3)
3254
3255  (pit kraken-types 3)
3256  (dino1 (plesiosaur tyrannosaur) 3)
3257  (dino2 (apatosaur pterodactyl) 3)
3258  (fheart (wolves bears) 3)
3259  (jheart (ferak royalferak) 3)
3260  (sheart (squid gibambi) 3)
3261  (gheart (axehead bospallian) 3)
3262  (hheart (ulitar sludge churambi) 3)
3263  (dheart (dajawyrm dajaturtle) 3)
3264  (enode (earth1 earth2 earth3 crebain) 3)
3265  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3266  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3267  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3268  (dnode (vampyre seeker lich skeleton iblis) 3)
3269  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3270  (thurastes (tentacle) 3)
3271
3272	(place-types enchantment-types 3)
3273
3274	(self-types shot-types 3)
3275	(self-types explode-types 3)
3276	(self-types (deathtap riddle) 3)
3277	(self-types create-types 3)
3278	(self-types charm-types 3)
3279
3280	(high-mage-types shot-types 3)
3281	(high-mage-types explode-types 3)
3282	(high-mage-types (deathtap riddle) 3)
3283	(high-mage-types create-types 3)
3284	(high-mage-types charm-types 3)
3285
3286	(wyrm shot-types 3)
3287	(wyrm explode-types 3)
3288	(wyrm summon-types 3)
3289	(wyrm charm-types 3)
3290
3291	(gwyrm shot-types 3)
3292	(gwyrm explode-types 3)
3293	(gwyrm (deathtap riddle) 3)
3294	(gwyrm create-types 3)
3295	(gwyrm charm-types 3)
3296
3297
3298	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3299
3300	(lantern spell-types 3)
3301)
3302
3303(table acp-to-build
3304	(build1 basic-types 3)
3305	(build1 (flamewall bless) 3)
3306	(build1 a-types 3)
3307	(build1 summon-types 3)
3308	(build2 b-types 3)
3309	(build2 (flamewall bless) 3)
3310	(build3 c-types 3)
3311	(build3 (flamewall bless) 3)
3312	(lcity l-types 3)
3313	(dcity d-types 3)
3314	(ocity o-types 3)
3315	(icity i-types 3)
3316
3317  (town (sword bow) 3)
3318  (svillage (cutter whaler) 3)
3319  (ohamlet (spear shaman) 3)
3320  (ovillage (thug champ) 3)
3321  ((deadcity ruins) death-types 3)
3322  (spectre ghost 3)
3323  (heroic-types (citadel keep tower fort) 3)
3324  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon ) 3)
3325  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3326  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3327
3328  (lair dragonegg 3)
3329
3330  (lab golem-types 3)
3331
3332  (pit kraken-types 3)
3333  (dino1 (plesiosaur tyrannosaur) 3)
3334  (dino2 (apatosaur pterodactyl) 3)
3335  (fheart (wolves bears) 3)
3336  (jheart (ferak royalferak) 3)
3337  (sheart (squid gibambi) 3)
3338  (gheart (axehead bospallian) 3)
3339  (hheart (ulitar sludge churambi) 3)
3340  (dheart (dajawyrm dajaturtle) 3)
3341  (enode (earth1 earth2 earth3 crebain) 3)
3342  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3343  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3344  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3345  (dnode (vampyre seeker lich skeleton iblis) 3)
3346  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3347  (thurastes (tentacle) 3)
3348
3349	(place-types enchantment-types 3)
3350
3351	(self-types shot-types 3)
3352	(self-types explode-types 3)
3353	(self-types (deathtap riddle) 3)
3354	(self-types create-types 3)
3355	(self-types charm-types 3)
3356
3357	(high-mage-types shot-types 3)
3358	(high-mage-types explode-types 3)
3359	(high-mage-types (deathtap riddle) 3)
3360	(high-mage-types create-types 3)
3361	(high-mage-types charm-types 3)
3362
3363	(wyrm shot-types 3)
3364	(wyrm explode-types 3)
3365	(wyrm summon-types 3)
3366	(wyrm charm-types 3)
3367
3368	(gwyrm shot-types 3)
3369	(gwyrm explode-types 3)
3370	(gwyrm (deathtap riddle) 3)
3371	(gwyrm create-types 3)
3372	(gwyrm charm-types 3)
3373
3374
3375	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3376
3377	(lantern spell-types 3)
3378)
3379
3380(table cp-per-build
3381	(build1 basic-types 6)
3382	(build1 (flamewall bless) 3)
3383	(build1 a-types 6)
3384	(build1 summon-types 3)
3385	(build2 b-types 3)
3386	(build2 (flamewall bless) 3)
3387	(build3 c-types 3)
3388	(build3 (flamewall bless) 3)
3389	(lcity l-types 3)
3390	(dcity d-types 3)
3391	(ocity o-types 3)
3392	(icity i-types 3)
3393
3394  (town (sword bow) 1)
3395  (svillage (cutter whaler) 3)
3396  (ohamlet (spear shaman) 3)
3397  (ovillage (thug champ) 3)
3398  ((deadcity ruins) death-types 3)
3399  (spectre ghost 3)
3400  (heroic-types (citadel keep tower fort) 3)
3401  (citadel (riddle flamewall sanctify guardward prismwall halberd cavalry sword bow longbow crusader catapult cannon) 3)
3402  (keep (riddle flamewall sanctify guardward prismwall cavalry sword bow longbow) 3)
3403  (fort (riddle flamewall sanctify guardward prismwall scout justiceeye) 3)
3404
3405  (lair dragonegg 3)
3406
3407  (lab golem-types 3)
3408
3409  (pit kraken-types 3)
3410  (dino1 (plesiosaur tyrannosaur) 3)
3411  (dino2 (apatosaur pterodactyl) 3)
3412  (fheart (wolves bears) 3)
3413  (jheart (ferak royalferak) 3)
3414  (sheart (squid gibambi) 3)
3415  (gheart (axehead bospallian) 3)
3416  (hheart (ulitar sludge churambi) 3)
3417  (dheart (dajawyrm dajaturtle) 3)
3418  (enode (earth1 earth2 earth3 crebain) 3)
3419  (snode (air1 air2 air3 phantombeast phantomwarrior) 3)
3420  (cnode (fire1 fire2 fire3 hellhound chaoscreature demon) 3)
3421  (lnode (spirit1 spirit2 spirit3 guardian) 3)
3422  (dnode (vampyre seeker lich skeleton iblis) 3)
3423  (deadcity (spectre zombie ghoul vampyre seeker lich skeleton iblis) 3)
3424  (thurastes (tentacle) 3)
3425
3426	(place-types enchantment-types 3)
3427
3428	(self-types shot-types 3)
3429	(self-types explode-types 3)
3430	(self-types (deathtap riddle) 3)
3431	(self-types create-types 3)
3432	(self-types charm-types 3)
3433
3434	(high-mage-types shot-types 3)
3435	(high-mage-types explode-types 3)
3436	(high-mage-types (deathtap riddle) 6)
3437	(high-mage-types create-types 3)
3438	(high-mage-types charm-types 3)
3439
3440	(wyrm shot-types 3)
3441	(wyrm explode-types 3)
3442	(wyrm charm-types 3)
3443
3444	(gwyrm shot-types 3)
3445	(gwyrm explode-types 3)
3446	(gwyrm (deathtap riddle) 3)
3447	(gwyrm create-types 3)
3448	(gwyrm charm-types 3)
3449
3450
3451	((phantompavilion castle) (phantomship phantomwarrior phantombeast) 3)
3452
3453
3454	(lantern spell-types 3)
3455
3456)
3457
3458
3459
3460(table create-range
3461	(svillage (cutter whaler) 1)
3462	((phantompavilion castle) (phantomship phantombeast) 1)
3463
3464	(self-types spell-types 2)
3465
3466	(high-mage-types spell-types 2)
3467
3468	(wyrm spell-types 2)
3469	(gwyrm spell-types 2)
3470
3471	(self-types seance 50)
3472	(mage-types seance 50)
3473	(wizard seance 50)
3474	(archmage seance 50)
3475	(wyrm seance 50)
3476	(gwyrm seance 50)
3477
3478	(place-types wall-types 1)
3479
3480	(u* fortress-types 1)
3481
3482
3483	(lantern spell-types 1)
3484)
3485
3486(table build-range
3487	(svillage (cutter whaler) 1)
3488	((phantompavilion castle) (phantomship phantombeast) 1)
3489
3490	(self-types spell-types 2)
3491
3492	(high-mage-types spell-types 2)
3493
3494	(wyrm spell-types 2)
3495	(gwyrm spell-types 2)
3496
3497	(self-types seance 50)
3498	(mage-types seance 50)
3499	(high-mage-types seance 50)
3500	(wyrm seance 50)
3501	(gwyrm seance 50)
3502
3503	(place-types wall-types 1)
3504	(u* fortress-types 1)
3505
3506	(lantern spell-types 1)
3507)
3508
3509
3510(table gives-to-treasury
3511	(node-types m* true)
3512	(lantern m* true)
3513	(wilderness-types gold true)
3514	(place-types m* true)
3515	(boscorpse gold true)
3516	(axecorpse gold true)
3517	(thucorpse gold true)
3518	(deadwild gold true)
3519	(deadwild anvil true)
3520	(node-types m* true)
3521	(wilderness-types anvil true)
3522	(fortress-types anvil true)
3523	(thurastes anvil true)
3524	(resource-types m* true)
3525	(phantompavilion m* true)
3526
3527	(u* study true)
3528)
3529
3530(table takes-from-treasury
3531
3532	(u* m* true)
3533	(lantern m* true)
3534
3535)
3536
3537
3538(table consumption-on-creation
3539  (sword anvil 20)
3540  (bow wood 20)
3541  (halberd anvil 30)
3542  (cavalry anvil 25)
3543  (cavalry gold 15)
3544  (catapult wood 25)
3545  (catapult gold 25)
3546  (mage gold 50)
3547  (merc gold 25)
3548
3549  (lsword wood 20)
3550  (lbow wood 20)
3551  (lhalberd wood 30)
3552  (lcavalry wood 25)
3553  (lcavalry gold 15)
3554  (lmage gold 50)
3555  (croc gold 30)
3556
3557  (osword anvil 20)
3558  (obow wood 20)
3559  (ocavalry anvil 25)
3560  (ocavalry gold 15)
3561  (ocatapult wood 25)
3562  (ocatapult gold 25)
3563  (weaver gold 30)
3564
3565  (dsword anvil 25)
3566  (dbow anvil 10)
3567  (dhalberd anvil 40)
3568  (cannon anvil 50)
3569  (cannon gold 25)
3570  (cannon stone 25)
3571
3572  (isword anvil 20)
3573  (ibow wood 20)
3574  (ihalberd anvil 30)
3575  (gladiator gold 30)
3576  (image gold 50)
3577
3578
3579  (scout anvil 5)
3580  (scout gold 10)
3581  (longbow wood 30)
3582  (crusader anvil 20)
3583  (crusader gold 20)
3584  (assassin gold 50)
3585  (dervish gold 30)
3586  (dervish anvil 0)
3587
3588  (dragonegg gold 150)
3589
3590  (bospallian anvil 200)
3591  (axehead gold 400)
3592  (tentacle anvil 200)
3593  (dajawyrm gold 300)
3594  (dajaturtle anvil 300)
3595
3596  (plesiosaur anvil 150)
3597  (tyrannosaur gold 150)
3598  (apatosaur anvil 175)
3599  (pterodactyl gold 50)
3600
3601  (spear anvil 15)
3602  (shaman anvil 25)
3603  (thug anvil 30)
3604  (champ anvil 40)
3605  (cutter anvil 20)
3606	(cutter wood 30)
3607	(whaler anvil 20)
3608	(whaler gold 20)
3609	(whaler wood 45)
3610	(phantomship mana 50)
3611  (wolves anvil 120)
3612  (bears gold 100)
3613  (ferak anvil 100)
3614  (royalferak gold 100)
3615
3616  (squid anvil 150)
3617  (gibambi gold 80)
3618  (ulitar anvil 200)
3619  (sludge gold 30)
3620  (churambi gold 85)
3621
3622  (fort wood 75)
3623  (tower stone 50)
3624  (keep stone 100)
3625  (citadel stone 200)
3626
3627	(lair timer 40)
3628
3629  (zombie anvil 20)
3630  (spectre gold 100)
3631  (ghost gold 20)
3632
3633  (slaver gold 200)
3634  (sorcerer anvil 200)
3635
3636	(golem-types mana 20)
3637
3638	(woodgolem wood 75)
3639	(stonegolem stone 75)
3640	(irongolem anvil 75)
3641	(clockgolem gold 75)
3642
3643	(powerword mana 50)
3644	(iblis mana 200)
3645	(lich mana 150)
3646	(deathwalk mana 40)
3647	(wastemaker mana 100)
3648	(riddle mana 30)
3649	(breath mana 40)
3650	(seance mana 25)
3651	(poltergeist mana 40)
3652	(bonearrow mana 20)
3653	(seeker mana 30)
3654	(deathtap mana 1)
3655	(naturevoice mana 25)
3656	(leviathan mana 200)
3657	(tsunami mana 80)
3658	(mountainchange mana 20)
3659	(beguile mana 60)
3660	(earthquake mana 60)
3661	(deepchange mana 20)
3662	(shallowchange mana 20)
3663	(charmfish mana 60)
3664	(hillchange mana 20)
3665	(plainchange mana 20)
3666	(swampchange mana 20)
3667	(charmbeast mana 30)
3668	(crebain mana 30)
3669	(canticle mana 100)
3670	(demon mana 150)
3671	(chaoscreature mana 200)
3672	(volcano mana 120)
3673	(meteor mana 100)
3674	(disintegrate mana 70)
3675	(flamewall mana 20)
3676	(hellhound mana 40)
3677	(fireball mana 40)
3678	(flamestrike mana 20)
3679	(flamearrow mana 20)
3680	(restore mana 70)
3681	(enlighten mana 100)
3682	(doorway mana 100)
3683	(spiritwall mana 25)
3684	(sunray mana 50)
3685	(guardian mana 80)
3686	(improveheal mana 50)
3687	(sanctify mana 40)
3688	(bless mana 40)
3689	(justiceeye mana 10)
3690	(bolt mana 10)
3691	(heal mana 20)
3692	(castle mana 150)
3693	(greatcharm mana 100)
3694	(truedivine mana 60)
3695	(guardward mana 40)
3696	(phantombeast mana 100)
3697	(prismwall mana 20)
3698	(greatdivine mana 50)
3699	(lightning mana 30)
3700	(charm mana 40)
3701	(phantomwarrior mana 20)
3702	(divine mana 30)
3703	(skeleton mana 40)
3704	(ghoul mana 70)
3705 	(vampyre mana 130)
3706
3707	(earth1 mana 40)
3708	(air1 mana 40)
3709	(fire1 mana 40)
3710	(spirit1 mana 40)
3711	(earth2 mana 70)
3712	(air2 mana 70)
3713	(fire2 mana 70)
3714	(spirit2 mana 70)
3715	(earth3 mana 130)
3716	(air3 mana 130)
3717	(fire3 mana 130)
3718	(spirit3 mana 130)
3719
3720
3721)
3722
3723(table base-consumption
3724  (sword anvil 1)
3725  (bow anvil 1)
3726  (halberd anvil 2)
3727  (cavalry anvil 1)
3728  (cavalry gold 1)
3729  (catapult anvil 2)
3730  (catapult gold 1)
3731  (mage gold 2)
3732  (merc gold 1)
3733
3734  (lsword wood 1)
3735  (lbow wood 1)
3736  (lhalberd wood 2)
3737  (lcavalry wood 1)
3738  (lcavalry gold 1)
3739  (lmage gold 2)
3740
3741  (osword anvil 1)
3742  (obow anvil 1)
3743  (ocavalry anvil 1)
3744  (ocavalry gold 1)
3745  (ocatapult wood 1)
3746  (ocatapult gold 1)
3747
3748  (dsword anvil 1)
3749  (dbow anvil 1)
3750  (dhalberd anvil 2)
3751
3752  (isword anvil 1)
3753  (ibow wood 1)
3754  (ihalberd anvil 1)
3755  (image gold 2)
3756
3757  (scout anvil 1)
3758  (longbow anvil 1)
3759  (gladiator gold 2)
3760  (crusader anvil 1)
3761  (crusader gold 1)
3762  (assassin gold 2)
3763  (cannon anvil 2)
3764  (cannon gold 2)
3765  (dervish gold 1)
3766  (weaver gold 2)
3767  (croc gold 2)
3768
3769  (gwyrm gold 10)
3770  (wyrm gold 4)
3771  (hatchling gold 2)
3772
3773  (bospallian anvil 2)
3774  (axehead gold 3)
3775  (tentacle anvil 3)
3776  (dajawyrm gold 3)
3777  (dajaturtle anvil 3)
3778
3779  (plesiosaur anvil 3)
3780  (tyrannosaur gold 3)
3781  (apatosaur anvil 3)
3782  (pterodactyl gold 1)
3783
3784  (earth1 anvil 1)
3785  (air1 anvil 1)
3786  (fire1 anvil 1)
3787  (spirit1 anvil 1)
3788
3789  (spear anvil 1)
3790  (shaman anvil 2)
3791  (thug anvil 1)
3792  (champ anvil 2)
3793  (cutter anvil 1)
3794  (whaler gold 2)
3795
3796  (wolves anvil 1)
3797  (bears gold 2)
3798  (ferak anvil 2)
3799  (royalferak gold 2)
3800
3801  (squid anvil 3)
3802  (gibambi gold 2)
3803  (ulitar anvil 3)
3804  (sludge gold 1)
3805  (churambi gold 2)
3806
3807  (skeleton anvil 1)
3808  (zombie anvil 1)
3809  (ghoul anvil 2)
3810  (spectre gold 3)
3811  (vampyre gold 3)
3812  (ghost gold 1)
3813
3814  (slaver gold 3)
3815  (sorcerer anvil 3)
3816
3817  	(ghost timer 1)
3818  	(breath timer 1)
3819 	(boscorpse timer 1)
3820	(axecorpse timer 1)
3821	(thucorpse timer 1)
3822	(deadwild timer 1)
3823	(shot-types timer 1)
3824	(explode-types timer 1)
3825	(spell-types mana 2)
3826	(enchantment-types mana 1)
3827
3828	(wastemaker timer 1)
3829	(lantern timer 1)
3830)
3831
3832
3833(table supply-on-creation
3834  (u* m* 0)
3835  (ghost timer 3)
3836  (breath timer 3)
3837  (boscorpse timer 3)
3838  (thucorpse timer 3)
3839  (axecorpse timer 3)
3840  (deadwild timer 3)
3841  (boscorpse gold 100)
3842  (thucorpse gold 500)
3843  (axecorpse gold 125)
3844  (deadwild gold 4)
3845  (deadwild anvil 4)
3846	(shot-types timer 20)
3847	(explode-types timer 20)
3848	(charm-types mana 3)
3849	(bless m* 5)
3850	(hero opp 1)
3851
3852	(lantern timer 8)
3853	(lantern study 2000)
3854)
3855
3856;; (table hp-to-garrison
3857
3858;;   (hatchling wyrm 999)
3859;;   (wyrm gwyrm 999)
3860;;)
3861
3862
3863;; RANDOM EVENTS
3864
3865
3866
3867(table see-chance
3868   (phantom-types u* 25)
3869   (u* phantom-types 25)
3870   (phantom-types phantom-types 100)
3871
3872   (u* kraken-types 0)
3873   (u* spawn 0)
3874   (u* deep-types 0)
3875   (naturevoice u* 100)
3876   (u* assassin 0)
3877   (u* poltergeist 0)
3878   (u* seed-types 0)
3879   (u* event-types 0)
3880   (whaler bospallian 35)
3881   (whaler axehead 25)
3882   (cutter bospallian 25)
3883   (cutter axehead 15)
3884
3885   (u* riplegend 0)
3886   (mage-types riplegend 20)
3887   (wizard riplegend 100)
3888   (archmage riplegend 100)
3889
3890
3891   (u* lantern 0)
3892)
3893
3894(table see-chance-adjacent
3895   (u* seed-types 0)
3896   (u* event-types 0)
3897   (u* riplegend 0)
3898   (u* poltergeist 20)
3899   (heroic-types riplegend 100)
3900   (u* lantern 0)
3901)
3902
3903(table see-chance-at
3904   (u* seed-types 0)
3905   (u* event-types 0)
3906   (u* riplegend 0)
3907   (heroic-types riplegend 100)
3908   (u* lantern 0)
3909)
3910
3911(table accident-hit-chance
3912	(seed-types t* 100)
3913	(fortseed t* 300)
3914	(dragonseed t* 100)
3915	(merc t* 50)
3916)
3917
3918(table accident-damage
3919   (seed-types t* 1)
3920	(merc t* 100)
3921)
3922
3923(table detonation-accident-chance
3924	(faultline t* 100)
3925)
3926
3927
3928(table independent-capture-chance
3929   (basic-types basic-types 10)
3930   (basic-types specific-types 10)
3931   (specific-types basic-types 10)
3932   (specific-types specific-types 10)
3933   (self-types basic-types 25)
3934   (self-types specific-types 25)
3935   (heroic-types basic-types 20)
3936   (heroic-types specific-types 20)
3937   (archmage basic-types 50)
3938   (archmage specific-types 50)
3939   (epic basic-types 50)
3940   (epic specific-types 50)
3941   (legend basic-types 75)
3942   (legend specific-types 75)
3943   (legend hatchling 25)
3944   (legend wyrm 10)
3945
3946   (liz-types liz-types 20)
3947   (dwarf-types dwarf-types 20)
3948   (oni-types oni-types 20)
3949   (iriken-types iriken-types 20)
3950
3951   (basic-types heroic-types 100)
3952   (specific-types heroic-types 100)
3953   (u* epic 0)
3954   (hero heroic-types 100)
3955   (wizard heroic-types 100)
3956   (legend heroic-types 100)
3957   (epic heroic-types 100)
3958   (archmage heroic-types 100)
3959   (self-types heroic-types 100)
3960
3961   (basic-types citadel 100)
3962   (specific-types citadel 100)
3963   (self-types citadel 100)
3964   (heroic-types citadel 100)
3965
3966   (basic-types tower 100)
3967   (specific-types tower 100)
3968   (self-types tower 100)
3969   (heroic-types tower 100)
3970
3971)
3972
3973(table control-range
3974  (u* t* 0)
3975  (seed-types t* -1)
3976  (event-types t* -1)
3977  (wastemaker t* -1)
3978
3979  )
3980
3981(table zoc-range
3982  (seed-types u* -1)
3983  (event-types u* -1)
3984  (riplegend u* -1)
3985  (wastemaker u* -1)
3986  (u* wastemaker -1)
3987
3988   (lantern u* -1)
3989
3990;;  (infantry-types infantry-types 1)
3991;;  (place-types infantry-types 1)
3992  )
3993
3994
3995;;; Repair.
3996
3997(define ten-hp-types (assassin spear shaman ferak mold sludge poltergeist seeker crebain guardian air1 phantomwarrior))
3998
3999(define twenty-hp-types (scout longbow dervish weaver croc sword bow zombie ghost wolves gibambi churambi skeleton earth1 fire1 spirit1 air2 oslt mage obow))
4000
4001(define thirty-hp-types (halberd catapult tribesman bears royalferak fire2 hellhound spirit2 lsword dsword lbow
4002   dbow merc osword ocatapult
4003   ibow isword ihalberd image))
4004
4005(define forty-hp-types (gladiator crusader cavalry thug thuvi pterodactyl plesiosaur tentacle sorcerer ghoul earth2 air3
4006   oschief lhalberd dhalberd ocavalry))
4007
4008(define fifty-hp-types (hero wizard cannon champ cutter spectre deathknight slaver vampyre lich fire3 spirit3 ranger
4009   oswarlord lcavalry ohero oranger oknight owizard))
4010
4011(define eighty-hp-types (wocke spawn talon greyone pharoah shah emperor loremaster shogun minister usurper king whaler dajaturtle squid ulitar hatchling earth3 knight lhero lranger lwizard dhero dranger
4012   ihero iranger iwizard))
4013
4014(define hundred-hp-types (tyrannosaur axehead wyrm chaoscreature demon phantombeast epic archmage phantomship lepic
4015   depic oarchmage oepic
4016   iepic iarchmage))
4017
4018(define onetwenty-hp-types (dajawyrm))
4019
4020(define onefifty-hp-types (apatosaur legend iblis phantomshoggoth llegend dlegend olegend ilegend))
4021
4022(define twohun-hp-types (bospallian nameless))
4023
4024(define threehun-hp-types (thurastes gwyrm leviathan))
4025
4026
4027(add u* hp-recovery 100)
4028(add twenty-hp-types hp-recovery 200)
4029(add thirty-hp-types hp-recovery 300)
4030(add forty-hp-types hp-recovery 400)
4031(add fifty-hp-types hp-recovery 500)
4032(add eighty-hp-types hp-recovery 800)
4033(add hundred-hp-types hp-recovery 1000)
4034(add onetwenty-hp-types hp-recovery 1250)
4035(add onefifty-hp-types hp-recovery 1500)
4036(add twohun-hp-types hp-recovery 2000)
4037(add threehun-hp-types hp-recovery 3000)
4038(add wall-types hp-recovery 800)
4039
4040(add zombie hp-recovery 0)
4041(add skeleton hp-recovery 0)
4042(add wilderness-types hp-recovery 0)
4043(add self-types hp-recovery 1000)
4044(add vampyre hp-recovery 32000)
4045(add riplegend hp-recovery 0)
4046(add golem-types hp-recovery 0)
4047
4048(table can-repair
4049	((heal improveheal) u* true)
4050	(shaman all-types true)
4051	(ranger all-types true)
4052    (svillage (whaler cutter) true)
4053    (place-types (catapult cannon) true)
4054    (fortress-types (catapult cannon) true)
4055    (fortress-types fortress-types true)
4056	(lab golem-types true)
4057)
4058
4059(table acp-to-repair
4060	((heal improveheal) u* 1)
4061	(shaman all-types 1)
4062	(ranger all-types 1)
4063    (svillage (whaler cutter) 1)
4064    (place-types (catapult cannon) 1)
4065    (fortress-types (catapult cannon) 1)
4066    (fortress-types fortress-types 1)
4067	(lab golem-types 1)
4068)
4069
4070(table hp-per-repair
4071	(heal u* 1500)
4072	(improveheal u* 2000)
4073	(shaman all-types 450)
4074	(shaman all-types 300)
4075
4076	(lab golem-types 500)
4077
4078    (svillage (whaler cutter) 100)
4079    (place-types (catapult cannon) 100)
4080    (fortress-types (catapult cannon) 100)
4081    (fortress-types fortress-types 1000)
4082)
4083
4084(table material-to-repair
4085;;	(heal timer 20)
4086;;	(improveheal timer 20)
4087)
4088
4089
4090(table auto-repair
4091  (place-types all-types 300)
4092  (lab golem-types 500)
4093  )
4094
4095(table auto-repair-range
4096  (place-types all-types 1)
4097  (lab golem-types 1)
4098  )
4099
4100
4101
4102
4103
4104(table hp-per-starve
4105  	(ghost timer 100.00)
4106  	(breath timer 100.00)
4107	(boscorpse timer 100.00)
4108	(axecorpse timer 100.00)
4109	(thucorpse timer 100.00)
4110	(deadwild timer 100.00)
4111	(shot-types timer 100.00)
4112	(explode-types timer 100.00)
4113	(lantern timer 100.00)
4114
4115	(charm-types mana 100.00)
4116	(seance mana 100.00)
4117;;	(wastemaker timer 100.00)
4118)
4119
4120;;; Combat.
4121
4122
4123
4124(set combat-model 0)
4125
4126
4127(table acp-to-attack
4128  (u* u* 1)
4129  (squid u* 1)
4130  (bospallian u* 4)
4131  (axehead u* 4)
4132  (wild-types u* 2)
4133  (wild-types croc 4)
4134
4135;; Sapping takes time
4136
4137  (all-types air-types 0)
4138  (deep-types land-types 0)
4139  (land-types deep-types 0)
4140  (land-types water-types 0)
4141
4142  (air-types air-types 1)
4143  (air-types all-types 1)
4144
4145;; If a ship pulls next to the great maw of Thurastes, the swordsmen on board don't have to wait for it to attack
4146
4147  (land-types thurastes 1)
4148
4149;; And if a ship is sitting along the coast, land units who are willing to try hard enough can storm it
4150
4151  (land-types (cutter whaler) 3)
4152
4153	(u* riplegend 0)
4154
4155;; And heroes do all sorts of things normal folk don't
4156
4157  (heroic-types riddle 3)
4158  (self-types riddle 3)
4159
4160
4161  (heroic-types riplegend 1)
4162  (heroic-types (tentacle cutter whaler) 2)
4163
4164;; Legends would normally have a fire attack to represent their bow (Which, of course, could only be bent by the legend, right before killing two-score of unwanted suitors) but the AI doesn't like that, so...
4165
4166  (air-attack-trait air-types 2)
4167
4168;; Crocs shouldn't attack nesting grounds, it goes against their morals, plus it screws up the AI.
4169  (croc dino1 0)
4170  (croc dino2 0)
4171
4172	(place-types u* 0)
4173	(node-types u* 0)
4174	(needle u* 0)
4175
4176	(wall-types u* 0)
4177
4178;; Some enchantments cause damage, but none of them do so on their own
4179	(enchantment-types u* 0)
4180
4181  (notcapture-types node-types 0)
4182  (notcapture-types ruin-types 0)
4183
4184  (u* seed-types 0)
4185  (u* event-types 0)
4186
4187
4188;; Charm spells
4189
4190	(charm-types u* 0)
4191	((charmbeast beguile) wild-types 1)
4192	((charm greatcharm enlighten beguile) basic-types 1)
4193	((charm greatcharm enlighten beguile) specific-types 1)
4194	((charmfish beguile) water-types 1)
4195	((charmfish beguile) amphibious-types 1)
4196	((charmfish beguile) deep-types 1)
4197	((charmfish beguile) kraken-types 1)
4198	(enlighten all-types 1)
4199	(enlighten heroic-types 0)
4200	(enlighten self-types 0)
4201
4202	(explode-types all-types 1)
4203
4204	(firing-types u* 0)
4205
4206)
4207
4208(table acp-to-defend
4209   (croc (plesiosaur tyrannosaur apatosaur pterodactyl hatchling wyrm) 0)
4210   (glass-types (cutter whaler) 0)
4211
4212;; Ghouls sap energy
4213
4214   (ghoul basic-types 3)
4215   (ghoul specific-types 3)
4216   (ghoul hero 2)
4217
4218   ((royalferak ferak) u* 3)
4219
4220   (breath u* 2)
4221
4222  (ranged-types u* 0)
4223  (mage-types u* 0)
4224  (high-mage-types u* 0)
4225
4226	(wall-types u* 1)
4227)
4228
4229
4230
4231(table fire-hit-chance
4232	(u* u* 0)
4233;; Saving Throws
4234	(shot-types wild-types 90)
4235	(shot-types basic-types 85)
4236	(shot-types specific-types 75)
4237	(shot-types water-types 80)
4238	(shot-types amphibious-types 75)
4239	(shot-types deep-types 70)
4240	(shot-types kraken-types 60)
4241	(shot-types summon-types 50)
4242	(nosave-types all-types 100)
4243	(shot-types dragon-types 35)
4244	(shot-types full-resist-types 0)
4245	(nosave-types full-resist-types 20)
4246
4247;;
4248	((lbow obow ibow bow cutter) all-types 50)
4249	((lbow obow ibow bow cutter) (bow whaler cutter) 75)
4250	((lbow obow ibow bow cutter) longbow 25)
4251	((lbow obow ibow bow cutter) air-types 75)
4252	((lbow obow ibow bow cutter) basic-types 75)
4253	((lbow obow ibow bow cutter) specific-types 65)
4254
4255	(longbow all-types 60)
4256	(longbow longbow 75)
4257	(longbow bow 90)
4258	(longbow air-types 85)
4259	(longbow basic-types 85)
4260	(longbow specific-types 75)
4261
4262	((ranger lranger dranger oranger iranger) all-types 75)
4263	((ranger lranger dranger oranger iranger) air-types 90)
4264	((ranger lranger dranger oranger iranger) basic-types 90)
4265	((ranger lranger dranger oranger iranger) specific-types 90)
4266
4267	((whaler cannon catapult) small-types 5)
4268	((whaler cannon catapult) medium-types 20)
4269	((whaler cannon catapult) large-types 40)
4270	((whaler cannon catapult) huge-types 65)
4271	((whaler cannon catapult) gargantuan-types 85)
4272
4273	(mage-types all-types 50)
4274	(mage-types mage-types 75)
4275	(mage-types (dervish weaver) 85)
4276	(mage-types air-types 75)
4277	(mage-types basic-types 85)
4278	(mage-types specific-types 85)
4279	(mage-types spell-types 75)
4280
4281	(high-mage-types all-types 75)
4282	(high-mage-types mage-types 85)
4283	(high-mage-types (dervish weaver) 95)
4284	(high-mage-types air-types 85)
4285	(high-mage-types basic-types 95)
4286	(high-mage-types specific-types 95)
4287	(high-mage-types spell-types 85)
4288
4289	(high-mage-types riddle 50)
4290
4291	((shaman dervish weaver) all-types 50)
4292	((shaman dervish weaver) mage-types 60)
4293	((shaman dervish weaver) (dervish weaver) 75)
4294	((shaman dervish weaver) air-types 70)
4295	((shaman dervish weaver) basic-types 80)
4296	((shaman dervish weaver) specific-types 80)
4297	((shaman dervish weaver) spell-types 70)
4298
4299	(self-types all-types 90)
4300
4301	(loremaster u* 80)
4302	(spawn u* 80)
4303;;	(hatchling u* 75)
4304;;	(wyrm u* 85)
4305;;	(gwyrm u* 95)
4306
4307	(u* self-types 25)
4308;;	(dragon-types hero 50)
4309;;	(dragon-types wizard 50)
4310
4311	(ranged-types place-types 100)
4312	(mage-types place-types 100)
4313	(ranged-types fortress-types 100)
4314	(mage-types fortress-types 100)
4315
4316	(canticle u* 100)
4317
4318	(u* guardward 20)
4319
4320	(u* node-types 0)
4321
4322	(u* wilderness-types 100)
4323
4324
4325)
4326
4327
4328(table fire-damage
4329	(u* u* 1d10)
4330
4331	((ibow obow lbow dbow bow) u* 2d6)
4332	((ibow obow lbow dbow bow) no-defense-types 2d6)
4333	((ibow obow lbow dbow bow) low-defense-types 2d4)
4334	((ibow obow lbow dbow bow) mid-defense-types 2d3)
4335	((ibow obow lbow dbow bow) high-defense-types 1d3)
4336	((ibow obow lbow dbow bow) uber-defense-types 1d2)
4337
4338	(longbow u* 2d8)
4339	(longbow no-defense-types 2d8)
4340	(longbow low-defense-types 2d6)
4341	(longbow mid-defense-types 2d5)
4342	(longbow high-defense-types 1d5)
4343	(longbow uber-defense-types 1d4)
4344
4345	((lranger dranger ranger oranger iranger) u* 2d10+5)
4346	((lranger dranger ranger oranger iranger) no-defense-types 2d10+5)
4347	((lranger dranger ranger oranger iranger) low-defense-types 2d9+4)
4348	((lranger dranger ranger oranger iranger) mid-defense-types 2d8+3)
4349	((lranger dranger ranger oranger iranger) high-defense-types 1d8+2)
4350	((lranger dranger ranger oranger iranger) uber-defense-types 1d7+1)
4351
4352	(mage-types u* 3d10)
4353	(mage-types no-resist-types 3d10)
4354	(mage-types low-resist-types 3d8)
4355	(mage-types mid-resist-types 3d6)
4356	(mage-types high-resist-types 2d6)
4357	(mage-types uber-resist-types 2d4)
4358	(mage-types full-resist-types 1d4)
4359
4360	((dervish weaver shaman) u* 3d8)
4361	((dervish weaver shaman) no-resist-types 3d8)
4362	((dervish weaver shaman) low-resist-types 3d6)
4363	((dervish weaver shaman) mid-resist-types 3d4)
4364	((dervish weaver shaman) high-resist-types 2d4)
4365	((dervish weaver shaman) uber-resist-types 2d3)
4366	((dervish weaver shaman) uber-resist-types 1d3)
4367
4368	((catapult ocatapult) u* 5d8)
4369	((catapult ocatapult) no-defense-types 5d8)
4370	((catapult ocatapult) low-defense-types 5d6)
4371	((catapult ocatapult) mid-defense-types 5d4)
4372	((catapult ocatapult) high-defense-types 4d4)
4373	((catapult ocatapult) uber-defense-types 4d3)
4374
4375	(cannon u* 7d8+8)
4376	(cannon no-defense-types 7d8+8)
4377	(cannon low-defense-types 7d6+6)
4378	(cannon mid-defense-types 7d4+4)
4379	(cannon high-defense-types 6d4+2)
4380	(cannon uber-defense-types 6d3)
4381
4382	((cutter whaler) place-types 1d4)
4383
4384	(shot-types self-types 1d10)
4385	(mage-types spell-types 2d6)
4386
4387	(high-mage-types u* 2d10+10)
4388	(high-mage-types no-resist-types 2d10+10)
4389	(high-mage-types low-resist-types 2d8+8)
4390	(high-mage-types mid-resist-types 2d6+6)
4391	(high-mage-types high-resist-types 1d6+4)
4392	(high-mage-types uber-resist-types 1d4+4)
4393	(high-mage-types full-resist-types 1d2+4)
4394
4395	((oarchmage iarchmage larchmage archmage) u* 4d10+10)
4396	((oarchmage iarchmage larchmage archmage) no-resist-types 4d10+10)
4397	((oarchmage iarchmage larchmage archmage) low-resist-types 4d8+8)
4398	((oarchmage iarchmage larchmage archmage) mid-resist-types 4d6+6)
4399	((oarchmage iarchmage larchmage archmage) high-resist-types 3d6+4)
4400	((oarchmage iarchmage larchmage archmage) uber-resist-types 3d5+2)
4401	((oarchmage iarchmage larchmage archmage) full-resist-types 2d5+2)
4402
4403	(loremaster u* 2d10)
4404	(spawn u* 2d10)
4405	(u* mold 1d2)
4406	(cutter u* 3d10)
4407	(whaler u* 5d12+3)
4408
4409;;	((hatchling wyrm gwyrm) u* 5d10+20)
4410;;	((hatchling wyrm gwyrm) no-defense-types 5d10+20)
4411;;	((hatchling wyrm gwyrm) low-defense-types 5d8+15)
4412;;	((hatchling wyrm gwyrm) mid-defense-types 5d6+10)
4413;;	((hatchling wyrm gwyrm) high-defense-types 4d6+5)
4414;;	((hatchling wyrm gwyrm) uber-defense-types 4d5)
4415
4416
4417	(powerword u* 200)
4418	(powerword no-resist-types 200)
4419	(powerword low-resist-types 150)
4420	(powerword mid-resist-types 100)
4421	(powerword high-resist-types 50)
4422	(powerword uber-resist-types 20)
4423	(powerword full-resist-types 0)
4424	(powerword self-types 1d13)
4425	(powerword death-immune-types 0)
4426
4427	(bonearrow u* 1d8)
4428	(bonearrow no-resist-types 1d8)
4429	(bonearrow low-resist-types 1d8)
4430	(bonearrow mid-resist-types 1d6)
4431	(bonearrow high-resist-types 1d4)
4432	(bonearrow uber-resist-types 1d2)
4433	(bonearrow full-resist-types 0)
4434	(bonearrow death-immune-types 0)
4435
4436	(earthquake place-types 100)
4437
4438	(disintegrate all-types 100)
4439	(disintegrate no-resist-types 100)
4440	(disintegrate low-resist-types 75)
4441	(disintegrate mid-resist-types 50)
4442	(disintegrate high-resist-types 25)
4443	(disintegrate uber-resist-types 10)
4444	(disintegrate full-resist-types 0)
4445	(disintegrate place-types 25)
4446	(disintegrate fortress-types 50)
4447	(disintegrate chaos-immune-types 0)
4448
4449	(flamestrike u* 3d10+10)
4450	(flamestrike no-resist-types 3d10+10)
4451	(flamestrike low-resist-types 3d8+8)
4452	(flamestrike mid-resist-types 3d5+5)
4453	(flamestrike high-resist-types 3d3+3)
4454	(flamestrike uber-resist-types 1d3+1)
4455	(flamestrike full-resist-types 0)
4456	(flamestrike chaos-immune-types 0)
4457
4458	(flamearrow u* 1d10)
4459	(flamearrow no-resist-types 1d10)
4460	(flamearrow low-resist-types 1d8)
4461	(flamearrow mid-resist-types 1d5)
4462	(flamearrow high-resist-types 1d3)
4463	(flamearrow uber-resist-types 1)
4464	(flamearrow full-resist-types 0)
4465	(flamearrow chaos-immune-types 0)
4466
4467	(sunray u* 3d10)
4468	(sunray no-resist-types 3d10)
4469	(sunray low-resist-types 3d8)
4470	(sunray mid-resist-types 3d5)
4471	(sunray high-resist-types 3d3)
4472	(sunray uber-resist-types 1d3)
4473	(sunray full-resist-types 0)
4474	(sunray death-immune-types 50)
4475	(sunray life-immune-types 0)
4476
4477	(bolt u* 1d10)
4478	(bolt no-resist-types 1d10)
4479	(bolt low-resist-types 1d8)
4480	(bolt mid-resist-types 1d5)
4481	(bolt high-resist-types 1d3)
4482	(bolt uber-resist-types 1)
4483	(bolt full-resist-types 0)
4484	(bolt death-immune-types 4d10)
4485	(bolt life-immune-types 0)
4486
4487	(lightning u* 5d10)
4488	(lightning no-resist-types 5d10)
4489	(lightning low-resist-types 5d8)
4490	(lightning mid-resist-types 5d5)
4491	(lightning high-resist-types 5d3)
4492	(lightning uber-resist-types 1d5)
4493	(lightning full-resist-types 0)
4494	(lightning chaos-immune-types 0)
4495
4496	(canticle u* 2d13)
4497	(canticle no-resist-types 2d13)
4498	(canticle low-resist-types 2d10)
4499	(canticle mid-resist-types 2d7)
4500	(canticle high-resist-types 2d4)
4501	(canticle uber-resist-types 1d4)
4502	(canticle full-resist-types 0)
4503	(canticle chaos-immune-types 0)
4504
4505;;	(u* wilderness-types 1d2)
4506
4507;;	(u* self-types 1d6)
4508;;	(u* epic 1d10)
4509;;	(u* legend 1d9)
4510;;	(dragon-types self-types 2d10)
4511;;	(dragon-types hero 2d10)
4512;;	(dragon-types wizard 2d10)
4513;;	(dragon-types archmage 2d10)
4514;;	(dragon-types legend 2d10)
4515;;	(dragon-types epic 2d10)
4516
4517;; Walls
4518
4519	(summon-types prismwall 1d4)
4520	(dragon-types prismwall 1d4)
4521	(shot-types prismwall 1d4)
4522	(mage-types prismwall 1d4)
4523	(heroic-types prismwall 1d4)
4524
4525	(deep-types flamewall 1)
4526	(amphibious-types flamewall 1)
4527	(water-types flamewall 1)
4528
4529	(death-types spiritwall 1)
4530	(death-summon-types spiritwall 1)
4531
4532	(u* guardward 1)
4533
4534	(disintegrate self-types 0)
4535)
4536
4537
4538
4539
4540
4541(table hit-chance
4542	(u* u* 0)
4543	(weak-types all-types 50)
4544	(weak-types weak-types 75)
4545	(weak-types strong-types 60)
4546	(weak-types powerful-types 40)
4547	(weak-types incredible-types 30)
4548	(weak-types ranged-types 75)
4549	(weak-types place-types 75)
4550	(weak-types fortress-types 75)
4551
4552	(strong-types all-types 60)
4553	(strong-types weak-types 85)
4554	(strong-types strong-types 75)
4555	(strong-types powerful-types 60)
4556	(strong-types incredible-types 40)
4557	(strong-types ranged-types 85)
4558	(strong-types place-types 85)
4559	(strong-types fortress-types 85)
4560
4561	(powerful-types all-types 70)
4562	(powerful-types weak-types 95)
4563	(powerful-types strong-types 85)
4564	(powerful-types powerful-types 75)
4565	(powerful-types incredible-types 50)
4566	(powerful-types ranged-types 95)
4567	(powerful-types place-types 95)
4568	(powerful-types fortress-types 95)
4569
4570	(incredible-types all-types 80)
4571	(incredible-types weak-types 95)
4572	(incredible-types strong-types 95)
4573	(incredible-types powerful-types 80)
4574	(incredible-types incredible-types 75)
4575	(incredible-types ranged-types 95)
4576	(incredible-types place-types 95)
4577	(incredible-types fortress-types 95)
4578
4579	(all-types wilderness-types 100)
4580	(all-types node-types 100)
4581	(all-types resource-types 100)
4582
4583	(air-types air-types 75)
4584	(air-types node-types 25)
4585
4586	(flamewall all-types 75)
4587	(prismwall all-types 50)
4588
4589	(assassin humanoid-types 100)
4590	(assassin king 65)
4591	(croc (plesiosaur tyrannosaur apatosaur pterodactyl hatchling wyrm) 100)
4592
4593	(notcapture-types node-types 0)
4594	(notcapture-types ruin-types 0)
4595
4596	(tsunami place-types 100)
4597
4598	(breath u* 50)
4599
4600;; Dragons
4601;;	(hatchling heroic-types 30)
4602;;	(wyrm heroic-types 40)
4603;;	(gwyrm heroic-types 50)
4604
4605	(heroic-types dragonegg 100)
4606	(croc dragonegg 100)
4607
4608	(heroic-types riddle 50)
4609	(self-types riddle 25)
4610
4611	(all-types guardward 20)
4612
4613  (croc dino1 0)
4614  (croc dino2 0)
4615
4616	(heroic-types riplegend 100)
4617
4618	(charm-types wild-types 90)
4619	(charm-types basic-types 85)
4620	(charm-types specific-types 75)
4621	(charm-types water-types 80)
4622	(charm-types amphibious-types 75)
4623	(charm-types deep-types 70)
4624	(charm-types kraken-types 60)
4625	(charm-types summon-types 50)
4626	(charm-types dragon-types 35)
4627	(charm-types full-resist-types 0)
4628
4629	(explode-types all-types 100)
4630
4631	(firing-types u* 0)
4632
4633)
4634
4635
4636(table damage
4637	(u* u* 0)
4638
4639	(one-nodef-damage-types u* 1)
4640	(two-nodef-damage-types u* 1d4)
4641	(three-nodef-damage-types u* 1d8)
4642	(four-nodef-damage-types u* 1d15)
4643	(five-nodef-damage-types u* 2d10)
4644	(six-nodef-damage-types u* 2d14)
4645	(seven-nodef-damage-types u* 3d9)
4646	(eight-nodef-damage-types u* 3d12)
4647	(nine-nodef-damage-types u* 4d9)
4648	(ten-nodef-damage-types u* 5d9)
4649	(eleven-nodef-damage-types u* 6d12)
4650	(twelve-nodef-damage-types u* 7d14+20)
4651	(thirteen-nodef-damage-types u* 6d13+50)
4652
4653	(one-damage-types u* 1d6+2)
4654	(one-damage-types no-defense-types 1d6+2)
4655	(one-damage-types low-defense-types 1d5+2)
4656	(one-damage-types mid-defense-types 1d4+1)
4657	(one-damage-types high-defense-types 1d3+1)
4658	(one-damage-types uber-defense-types 1d2)
4659
4660	(two-damage-types u* 1d8+2)
4661	(two-damage-types no-defense-types 1d8+2)
4662	(two-damage-types low-defense-types 1d7+2)
4663	(two-damage-types mid-defense-types 1d6+1)
4664	(two-damage-types high-defense-types 1d5+1)
4665	(two-damage-types uber-defense-types 1d4)
4666
4667	(three-damage-types u* 1d10+2)
4668	(three-damage-types no-defense-types 1d10+2)
4669	(three-damage-types low-defense-types 1d8+2)
4670	(three-damage-types mid-defense-types 1d6+1)
4671	(three-damage-types high-defense-types 1d5+1)
4672	(three-damage-types uber-defense-types 1d4)
4673
4674	(four-damage-types u* 1d12+4)
4675	(four-damage-types no-defense-types 1d12+4)
4676	(four-damage-types low-defense-types 1d10+3)
4677	(four-damage-types mid-defense-types 1d8+3)
4678	(four-damage-types high-defense-types 1d6+2)
4679	(four-damage-types uber-defense-types 1d5+1)
4680
4681	(five-damage-types u* 2d8+2)
4682	(five-damage-types no-defense-types 2d8+2)
4683	(five-damage-types low-defense-types 2d6+2)
4684	(five-damage-types mid-defense-types 2d5+1)
4685	(five-damage-types high-defense-types 1d5+1)
4686	(five-damage-types uber-defense-types 1d4)
4687
4688	(six-damage-types u* 3d7+4)
4689	(six-damage-types no-defense-types 3d7+4)
4690	(six-damage-types low-defense-types 3d6+4)
4691	(six-damage-types mid-defense-types 3d5+3)
4692	(six-damage-types high-defense-types 2d5+2)
4693	(six-damage-types uber-defense-types 2d4+1)
4694
4695	(seven-damage-types u* 4d8+3)
4696	(seven-damage-types no-defense-types 4d8+3)
4697	(seven-damage-types low-defense-types 4d7+3)
4698	(seven-damage-types mid-defense-types 4d6+2)
4699	(seven-damage-types high-defense-types 3d6+2)
4700	(seven-damage-types uber-defense-types 3d5+1)
4701
4702	(eight-damage-types u* 5d10)
4703	(eight-damage-types no-defense-types 5d10)
4704	(eight-damage-types low-defense-types 5d8)
4705	(eight-damage-types mid-defense-types 5d6)
4706	(eight-damage-types high-defense-types 4d6)
4707	(eight-damage-types uber-defense-types 4d4)
4708
4709	(nine-damage-types u* 6d13)
4710	(nine-damage-types no-defense-types 6d13)
4711	(nine-damage-types low-defense-types 6d11)
4712	(nine-damage-types mid-defense-types 6d9)
4713	(nine-damage-types high-defense-types 5d9)
4714	(nine-damage-types uber-defense-types 5d7)
4715
4716
4717;;; SPECIAL RULES
4718
4719	(phantomwarrior phantom-types 2d7)
4720	(phantombeast phantom-types 3d7)
4721	(phantomship phantom-types 3d6)
4722	(phantomshoggoth phantom-types 4d6)
4723	(nameless phantom-types 5d7)
4724
4725	(vampyre crusader 1d8)
4726	(ghost crusader 1d9)
4727	(ghoul crusader 1d5)
4728	(zombie crusader 1d4)
4729	(skeleton crusader 1d4)
4730	(deathknight crusader 1d4+3)
4731	(demon crusader 3d3)
4732
4733	(hunter-trait wild-types 2d10+10)
4734
4735	(wild-types hunter-trait 1d5)
4736	((plesiosaur tyrannosaur apatosaur pterodactyl hatchling wyrm) croc 1d5)
4737	(assassin humanoid-types 100)
4738
4739	(flamewall all-types 3d10)
4740	(prismwall all-types 2d13)
4741
4742;;	(incredible-types self-types 1d12+5)
4743;;	(powerful-types self-types 1d10+3)
4744;;	(strong-types self-types 1d9)
4745;;	(weak-types self-types 1d6)
4746
4747	(greyone crusader 1d10)
4748
4749	(all-types mold 1d2)
4750
4751;; Walls
4752
4753	(summon-types prismwall 1d4)
4754	(dragon-types prismwall 1d4)
4755	(shot-types prismwall 1d4)
4756	(mage-types prismwall 1d4)
4757	(heroic-types prismwall 1d4)
4758
4759	(deep-types flamewall 1)
4760	(amphibious-types flamewall 1)
4761	(water-types flamewall 1)
4762
4763	(death-types spiritwall 1)
4764	(death-summon-types spiritwall 1)
4765
4766	(all-types guardward 1)
4767
4768
4769	(tsunami place-types 100)
4770	(u* wilderness-types 1d3)
4771
4772	(breath u* 1)
4773
4774	(croc dino1 0)
4775	(croc dino2 0)
4776
4777
4778	(heroic-types riplegend 100)
4779
4780	(explode-types all-types 1)
4781
4782	(firing-types u* 0)
4783
4784)
4785
4786(table capture-chance
4787	(humanoid-types (cutter whaler) 50)
4788	(heroic-types (cutter whaler) 80)
4789
4790	(slaver humanoid-types 35)
4791	(spawn humanoid-types 50)
4792	(vampyre humanoid-types 25)
4793	(vampyre ghoul 100)
4794	(sludge humanoid-types 75)
4795	((hatchling wyrm gwyrm scout whaler cutter bow longbow slaver) corpse-types 100)
4796
4797	(zombie zombie 100)
4798	(greyone death-types 100)
4799	(greyone vampyre 100)
4800	(greyone (ghoul skeleton vampyre seeker iblis lich deathknight demon) 100)
4801
4802	(spectre death-types 100)
4803	(spectre vampyre 100)
4804	(spectre (ghoul skeleton vampyre seeker deathknight) 100)
4805
4806	(deathknight skeleton 100)
4807
4808	(vampyre (vampyre deathknight) 100)
4809
4810	(lich deathknight 100)
4811
4812	(u* ruin-types 100)
4813	(u* place-types 75)
4814
4815;; Big guys are clumsy
4816	(huge-types place-types 50)
4817	(gargantuan-types place-types 33)
4818
4819	(u* node-types 75)
4820	((cutter whaler) place-types 0)
4821	(wild-types place-types 0)
4822	(u* deadcity 1)
4823	(u* resource-types 75)
4824	(u* self-types 0)
4825
4826	(phantomwarrior phantompavilion 75)
4827	(assassin king 100)
4828	(crusader usurper 100)
4829	((charm beguile) humanoid-types 100)
4830	((charmfish beguile) (bospallian dajawyrm axehead squid) 33)
4831	((charmbeast beguile) (wolves bears ferak royalferak) 45)
4832	(enlighten all-types 100)
4833	(enlighten heroic-types 25)
4834	(enlighten self-types 0)
4835	(prismwall all-types 10)
4836	(prismwall self-types 0)
4837	(greatcharm humanoid-types 100)
4838	(emperor tribesman 100)
4839	(gladiator tribesman 100)
4840	(u* fortress-types 0)
4841	(shot-types u* 0)
4842	(explode-types u* 0)
4843	(enchantment-types u* 0)
4844	(notcapture-types u* 0)
4845
4846	(death-immune-types place-types 1)
4847
4848	(death-immune-types deadcity 100)
4849
4850	(bospallian fish 100)
4851	(axehead fish 100)
4852
4853	(heroic-types dragonegg 100)
4854	(croc dragonegg 100)
4855	(croc (plesiosaur tyrannosaur apatosaur pterodactyl) 40)
4856	(croc hatchling 50)
4857	(croc wyrm 20)
4858
4859	(breath u* 0)
4860)
4861
4862
4863(table retreat-chance
4864
4865	(incredible-types spear 75)
4866	(powerful-types spear 50)
4867	(strong-types spear 30)
4868
4869	(incredible-types royalferak 100)
4870	(powerful-types royalferak 50)
4871
4872	(incredible-types scout 80)
4873	(powerful-types scout 70)
4874	(strong-types scout 60)
4875	(weak-types scout 50)
4876
4877	(u* u* 1)
4878)
4879
4880(table acp-for-retreat
4881;;  (u* u* 1)
4882;;  (spear u* 2)
4883;;  (ferak u* 1)
4884;;  (royalferak u* 2)
4885;;  (scout u* 1)
4886  )
4887
4888
4889;;;;;;; EXPERIENCE
4890
4891
4892(define a-xp-types (sword bow spear catapult scout cannon earth1 fire1 air1 skeleton spear wolves seeker
4893   tribesman dbow obow ferak spirit1 crebain guardian poltergeist
4894   ibow
4895))
4896
4897(define b-xp-types (halberd cavalry gladiator crusader longbow zombie shaman bears hellhound thuvi oslt
4898   lsword dsword osword merc croc churambi gibambi
4899   isword ihalberd
4900))
4901
4902(define c-xp-types (mage assassin lmage dervish weaver earth2 fire2 spectre ghoul thug phantomwarrior oschief
4903   dhalberd lhalberd lcavalry squid tentacle mold sludge plesiosaur cutter whaler phantomship royalferak
4904   pterodactyl spirit2 ghost
4905   image
4906))
4907
4908(define d-xp-types (champ apatosaur phantombeast deathknight woodgolem stonegolem irongolem clockgolem
4909   oswarlord ulitar slaver sorcerer bospallian
4910))
4911
4912(define e-xp-types (earth3 fire3 air3 spirit3 lich vampyre dajawyrm dajaturtle hatchling
4913))
4914
4915(define f-xp-types (king usurper minister shogun loremaster emperor shah pharoah greyone talon spawn wocke hero
4916   dhero ohero lhero dranger oranger lranger lwizard owizard chaoscreature demon knight oknight
4917   phantomshoggoth talon spawn leviathan wyrm
4918   ihero iranger iwizard
4919))
4920
4921(define g-xp-types (epic depic oepic lepic archmage larchmage oarchmage nameless
4922   iepic
4923))
4924
4925(define h-xp-types (tyrannosaur iblis legend dlegend olegend llegend thurastes gwyrm
4926   ilegend
4927))
4928
4929(define hero-types (sword halberd bow cavalry scout gladiator longbow crusader weaver mage dervish thuvi spear oslt oschief
4930   lsword lhalberd lbow lmage croc dsword dhalberd dbow
4931   osword ocavalry obow isword ihalberd image))
4932
4933#|(table cxp-per-combat
4934
4935  (hero-types a-xp-types 1)
4936  (hero-types b-xp-types 2)
4937  (hero-types c-xp-types 3)
4938  (hero-types d-xp-types 4)
4939  (hero-types e-xp-types 5)
4940  (hero-types f-xp-types 6)
4941  (hero-types g-xp-types 7)
4942  (hero-types h-xp-types 8)
4943
4944  (hero-types place-types 1)
4945  (hero-types fortress-types 1)
4946  (hero-types node-types 1)
4947  (hero-types resource-types 1)
4948
4949
4950  	(heroic-types a-xp-types 2)
4951  	(heroic-types b-xp-types 3)
4952  	(heroic-types c-xp-types 5)
4953  	(heroic-types d-xp-types 6)
4954  	(heroic-types e-xp-types 8)
4955  	(heroic-types f-xp-types 10)
4956  	(heroic-types g-xp-types 15)
4957  	(heroic-types h-xp-types 20)
4958
4959  	(heroic-types place-types 3)
4960  	(heroic-types fortress-types 3)
4961  	(heroic-types node-types 3)
4962  	(heroic-types resource-types 3)
4963)|#
4964
4965
4966(table cxp-per-destroy
4967
4968  (hero-types a-xp-types 5)
4969  (hero-types b-xp-types 10)
4970  (hero-types c-xp-types 20)
4971  (hero-types d-xp-types 30)
4972  (hero-types e-xp-types 40)
4973  (hero-types f-xp-types 50)
4974  (hero-types g-xp-types 75)
4975  (hero-types h-xp-types 100)
4976
4977  (hero-types place-types 20)
4978  (hero-types fortress-types 20)
4979
4980  	(heroic-types a-xp-types 5)
4981  	(heroic-types b-xp-types 10)
4982  	(heroic-types c-xp-types 20)
4983  	(heroic-types d-xp-types 30)
4984  	(heroic-types e-xp-types 40)
4985  	(heroic-types f-xp-types 50)
4986  	(heroic-types g-xp-types 75)
4987  	(heroic-types h-xp-types 100)
4988
4989  	(heroic-types place-types 20)
4990  	(heroic-types fortress-types 20)
4991
4992	(u* riplegend 1000)
4993
4994)
4995
4996
4997(table cxp-to-change-type
4998  (hero-types heroic-types 100)
4999
5000  (heroic-types heroic-types 1000)
5001  (lranger larchmage 1000)
5002
5003  ((iepic oepic lepic epic depic) (ilegend olegend dlegend llegend legend) 2000)
5004
5005  ((iwizard owizard lwizard wizard) (iarchmage oarchmage larchmage archmage) 1500)
5006
5007  (spear oslt 50)
5008  (oslt oschief 200)
5009  (oschief oswarlord 1000)
5010
5011  ((gibambi gibsword gibmage gibpriest) gibhero 1000)
5012
5013)
5014
5015;; ZOC
5016
5017(table mp-to-traverse-zoc
5018	(u* seed-types 0)
5019	(u* event-types 0)
5020	(u* riplegend 0)
5021  )
5022
5023(table mp-to-enter-zoc
5024	(u* seed-types 0)
5025	(u* event-types 0)
5026	(u* riplegend 0)
5027	(u* lantern 0)
5028
5029  )
5030
5031(table mp-to-leave-zoc
5032	(u* seed-types 0)
5033	(u* event-types 0)
5034	(u* riplegend 0)
5035	(u* lantern 0)
5036)
5037
5038(table mp-to-enter-own
5039	(u* seed-types 0)
5040	(u* event-types 0)
5041	(u* riplegend 0)
5042	(u* lantern 0)
5043)
5044
5045
5046;;; Transports will get you to the edge of the cell, but the
5047;;; passengers have to cross any borders on their own.
5048
5049
5050
5051
5052(table ferry-on-entry
5053	(u* u* 0)
5054	(cutter humanoid-types over-all)
5055	(ulitar sludge over-all)
5056	(dragonegg u* over-all)
5057)
5058
5059(table ferry-on-departure
5060	(u* u* 0)
5061	(cutter humanoid-types over-all)
5062	(dragonegg u* over-all)
5063
5064)
5065
5066(table mp-to-leave-unit
5067	(sludge ulitar 99)
5068)
5069
5070
5071(table hp-min
5072	(u* ruin-types 1)
5073	(u* node-types 1)
5074	(u* resource-types 1)
5075	(u* riddle 1)
5076	(heroic-types riddle 0)
5077	(self-types riddle 0)
5078
5079	(u* lantern 1)
5080)
5081
5082
5083
5084
5085
5086(table protection
5087  ;; Ground units protect cities.
5088  (all-types all-types 50)
5089
5090  (all-types place-types 0)
5091  (all-types node-types 0)
5092  (all-types fortress-types 100)
5093	(place-types enchantment-types 100)
5094	(fortress-types enchantment-types 100)
5095	(wall-types place-types 0)
5096	(place-types wall-types 100)
5097
5098	(wall-types fortress-types 0)
5099	(fortress-types wall-types 100)
5100
5101	(heroic-types high-mage-types 0)
5102	(high-mage-types (epic legend hero ranger knight) 100)
5103
5104	(all-types phantompavilion 0)
5105	(phantompavilion all-types 100)
5106
5107  )
5108
5109
5110;; THIS CAUSES ISSUES WITH CXP
5111;; (table defend-terrain-effect
5112;;  (land-types hills 85)
5113;;  (land-types forest 85)
5114;;  (land-types swamp 85)
5115;;  (land-types mountains 85)
5116;;)
5117
5118
5119
5120
5121(table occupant-combat
5122	(u* u* 0)
5123	(all-types fortress-types 100)
5124	(ranged-types fortress-types 100)
5125	(cutter (longbow bow sword thug champ) 100)
5126	(all-types place-types 100)
5127	(wall-types u* 100)
5128	(phantomwarrior phantompavilion 100)
5129)
5130
5131
5132
5133(add explode-types detonate-with-attack true)
5134
5135(table detonation-unit-range
5136	(fireball u* 1)
5137	(meteor u* 2)
5138	(wastemaker u* 1)
5139	(tsunami u* 2)
5140	(earthquake u* 2)
5141	(faultline u* 2)
5142)
5143
5144(table detonation-damage-at
5145	(u* u* 0)
5146	(tsunami place-types 200)
5147
5148	(fireball u* 14)
5149	(fireball no-resist-types 14)
5150	(fireball low-resist-types 11)
5151	(fireball mid-resist-types 7)
5152	(fireball high-resist-types 4)
5153	(fireball uber-resist-types 2)
5154	(fireball full-resist-types 0)
5155	(fireball chaos-immune-types 0)
5156
5157	(meteor u* 33)
5158	(meteor no-resist-types 33)
5159	(meteor low-resist-types 25)
5160	(meteor mid-resist-types 17)
5161	(meteor high-resist-types 8)
5162	(meteor uber-resist-types 4)
5163	(meteor full-resist-types 0)
5164	(meteor chaos-immune-types 0)
5165
5166	(wastemaker humanoid-types 200)
5167	(wastemaker place-types 200)
5168	(wastemaker fortress-types 200)
5169
5170	(earthquake place-types 50)
5171	(earthquake fortress-types 200)
5172	(earthquake volcano 200)
5173
5174	(faultline land-types 50)
5175	(faultline place-types 50)
5176	(faultline fortress-types 200)
5177	(faultline volcano 200)
5178
5179	(u* self-types 0)
5180
5181)
5182
5183(table detonation-damage-adjacent
5184	(u* u* 0)
5185	(fireball u* 14)
5186	(fireball no-resist-types 14)
5187	(fireball low-resist-types 11)
5188	(fireball mid-resist-types 7)
5189	(fireball high-resist-types 4)
5190	(fireball uber-resist-types 2)
5191	(fireball full-resist-types 0)
5192	(fireball chaos-immune-types 0)
5193
5194	(meteor u* 23)
5195	(meteor no-resist-types 23)
5196	(meteor low-resist-types 18)
5197	(meteor mid-resist-types 12)
5198	(meteor high-resist-types 6)
5199	(meteor uber-resist-types 3)
5200	(meteor full-resist-types 0)
5201	(meteor chaos-immune-types 0)
5202
5203	(wastemaker humanoid-types 200)
5204	(wastemaker place-types 200)
5205	(wastemaker fortress-types 200)
5206
5207	(earthquake place-types 50)
5208	(earthquake fortress-types 200)
5209	(earthquake volcano 200)
5210
5211	(faultline land-types 50)
5212	(faultline place-types 50)
5213	(faultline fortress-types 200)
5214	(faultline volcano 200)
5215
5216	(tsunami place-types 200)
5217	(u* self-types 0)
5218
5219)
5220
5221(table detonation-terrain-range
5222	(wastemaker (land steppe forest hills desert semi-desert) 1)
5223)
5224
5225
5226(table detonation-terrain-damage-chance
5227	(wastemaker (land steppe forest hills desert semi-desert mountains) 100)
5228)
5229
5230
5231(table terrain-damaged-type
5232	(land p-land 100)
5233	(steppe p-land 100)
5234	(forest p-forest 100)
5235	(hills p-hills 100)
5236	(desert p-land 100)
5237	(semi-desert p-land 100)
5238	(mountains p-mountains 100)
5239	(cliffs p-cliffs 100)
5240	(river p-river 100)
5241	(ice p-mountains 100)
5242	(swamp p-forest 100)
5243	(jungle p-forest 100)
5244	(deepforest p-forest 100)
5245
5246)
5247
5248(table acp-to-remove-terrain
5249
5250	(restore wasteland 15)
5251	(mountainchange (desert semi-desert hills steppe land forest) 15)
5252	(deepchange shallows 15)
5253	(shallowchange (sea swamp) 15)
5254	(hillchange  (desert semi-desert steppe land forest) 15)
5255	(plainchange (hills desert semi-desert steppe land forest swamp) 15)
5256	(swampchange (semi-desert steppe land shallows) 15)
5257)
5258
5259
5260(table acp-to-add-terrain
5261
5262	(restore land 15)
5263	(mountainchange mountains 15)
5264	(deepchange sea 15)
5265	(shallowchange shallows 15)
5266	(hillchange hills 15)
5267	(plainchange land 15)
5268	(swampchange swamp 15)
5269
5270)
5271
5272;; ZOINK
5273(table wrecked-type-if-killed
5274	(humanoid-types death-types zombie)
5275	(humanoid-types death-types zombie)
5276
5277	(humanoid-types deathknight skeleton)
5278	(humanoid-types deathknight skeleton)
5279
5280	(humanoid-types vampyre ghoul)
5281	(humanoid-types vampyre ghoul)
5282
5283	(heroic-types vampyre vampyre)
5284
5285	(self-types vampyre vampyre)
5286	(humanoid-types greyone zombie)
5287
5288	(heroic-types greyone spectre)
5289	((oepic depic epic lepic) greyone vampyre)
5290	((olegend dlegend llegend legend) greyone demon)
5291	(self-types greyone lich)
5292
5293	(place-types death-types deadcity)
5294	(place-types greyone deadcity)
5295	(place-types ghoul deadcity)
5296	(place-types vampyre deadcity)
5297	(place-types lich deadcity)
5298	(place-types skeleton deadcity)
5299	(place-types deathknight deadcity)
5300
5301	(crusader greyone deathknight)
5302	(crusader vampyre deathknight)
5303	(crusader lich deathknight)
5304	(crusader spectre deathknight)
5305
5306	(citadel wastemaker castle)
5307	(keep wastemaker castle)
5308	(small-types wastemaker phantomwarrior)
5309	(medium-types wastemaker phantomwarrior)
5310	(large-types wastemaker phantombeast)
5311	(huge-types wastemaker phantomshoggoth)
5312	(gargantuan-types wastemaker nameless)
5313	(place-types wastemaker phantompavilion)
5314	((cutter whaler) wastemaker phantomship)
5315)
5316
5317
5318
5319(table occupant-multiplies-acp
5320	(bless place-types 2.00)
5321	(sanctify fortress-types 2.00)
5322)
5323
5324(table stack-neighbor-allows-capture-by
5325	(guardian u* 0)
5326)
5327
5328(table unit-consumption-per-size
5329)
5330
5331(table unit-consumption-to-grow
5332	(u* gold 9999)
5333)
5334
5335(table material-to-fire
5336	(hatchling flames 3)
5337	(wyrm flames 2)
5338	(gwyrm flames 1)
5339;;	(cutter flames 1)
5340;;	(whaler flames 1)
5341	(mage-types mana 5)
5342	(high-mage-types charge 1)
5343)
5344
5345(table consumption-per-fire
5346	(hatchling flames 3)
5347	(wyrm flames 2)
5348	(gwyrm flames 1)
5349;;	(cutter flames 1)
5350;;	(whaler flames 1)
5351	(mage-types mana 5)
5352	(high-mage-types charge 1)
5353
5354)
5355
5356(table consumption-per-attack
5357	(charm-types mana 1)
5358)
5359
5360(table hit-by
5361	(u* flames true)
5362	(u* mana true)
5363	(u* charge true)
5364)
5365
5366(table material-to-attack
5367	(charm-types mana 1)
5368)
5369
5370;;(table acp-to-change-type
5371;;	(hatchling wyrm 1)
5372;;	(wyrm gwyrm 1)
5373;;	(crusader cavalry 1)
5374;;)
5375
5376(table material-to-change-type
5377	(dragonegg timer 10)
5378	(hatchling timer 20)
5379	(wyrm timer 20)
5380)
5381
5382(table out-length
5383  ;; Net consumers of supply should never give any up automatically.
5384	(bless m* 1)
5385	(mage-types study 2)
5386	(mage-types mana 0)
5387	(high-mage-types mana 0)
5388
5389)
5390
5391(table in-length
5392  ;; Supply to ground units can go several hexes away
5393	(place-types m* 1)
5394	(place-types study 2)
5395	(mage-types mana 0)
5396	(high-mage-types mana 0)
5397	(bless mana 1)
5398)
5399
5400
5401
5402
5403(add all-types lost-vanish-chance 0)
5404
5405;;; The world.
5406
5407;; (world 360 (year-length 12) (axial-tilt 22))
5408
5409
5410;; (set calendar '(usual month))
5411
5412;; (set season-names
5413  ;; 0 is January, 3 is April, 6 is July, 9 is October
5414;;  ((0 2 "winter") (3 5 "spring") (6 8 "summer") (9 11 "autumn")))
5415
5416(table unit-initial-supply
5417	(u* m* 0)
5418  	(ghost timer 3)
5419	(boscorpse timer 3)
5420	(axecorpse timer 3)
5421	(thucorpse timer 3)
5422	(deadwild timer 3)
5423	(boscorpse gold 100)
5424	(axecorpse gold 100)
5425	(thucorpse gold 500)
5426	(deadwild gold 4)
5427	(deadwild anvil 4)
5428	(shot-types timer 20)
5429	(explode-types timer 20)
5430
5431	(lantern study 2000)
5432	(lantern timer 8)
5433
5434)
5435
5436
5437(scorekeeper 1
5438  (title "Attrition Victory")
5439  (keep-score false)
5440  (applies-to (not "independent"))
5441  (do last-side-wins)
5442)
5443
5444(set scorefile-name "1")
5445
5446(doctrine rrr
5447    (construction-run (u* 1))
5448    (resupply-percent 0)
5449    (rearm-percent 0)
5450    (repair-percent 0)
5451)
5452
5453(side-defaults
5454    (default-doctrine rrr)
5455;;    (doctrines
5456;;        (city-u* city-unit-doctrine)
5457;;        (base base-doctrine)
5458;;        (shipyard shipyard-doctrine)
5459;;	)
5460)
5461
5462
5463(set country-radius-max 5)
5464(set country-separation-min 15)
5465(set edge-terrain ice)
5466
5467(add u* start-with 0)
5468(add sword start-with 2)
5469(add halberd start-with 1)
5470(add bow start-with 1)
5471(add cavalry start-with 2)
5472(add city3 start-with 2)
5473(add mage start-with 2)
5474(add hero start-with 1)
5475(add wizard start-with 1)
5476(add tower start-with 2)
5477(add scout start-with 3)
5478(add catapult start-with 1)
5479(add lantern start-with 1)
5480
5481(table independent-density
5482  (faultline (land steppe forest semi-desert) (25 25 25 25))
5483  (banditseed (land steppe forest semi-desert) (65 50 50 25))
5484  (fortseed (hills steppe forest semi-desert) (50 25 25 15))
5485  (dragonseed (mountains hills forest steppe) (30 15 10 5))
5486  (heroseed (land steppe forest semi-desert desert jungle swamp) (5 5 5 5 5 5 5))
5487  (archseed (land steppe forest semi-desert desert hills swamp) (8 8 8 8 8 8 8))
5488  (rangerseed (land steppe forest semi-desert desert jungle swamp) (5 5 5 5 5 5 5))
5489  (knightseed (land steppe forest semi-desert desert hills swamp) (5 5 5 5 5 5 5))
5490
5491  (riplegend (hills forest desert mountains swamp jungle) (1 1 1 1 1 1))
5492
5493  (city1 (land steppe forest mountains hills semi-desert) (50 50 50 10 25 25))
5494  (city2 (land steppe forest mountains hills semi-desert) (25 25 25 10 25 25))
5495  (city3 (land steppe forest mountains hills semi-desert) (15 15 15 5 15 15))
5496  (city4 (land steppe forest mountains hills semi-desert) (25 25 25 10 25 25))
5497  (ohamlet (land steppe forest mountains hills semi-desert) (15 15 15 10 15 15))
5498  (ovillage (land steppe forest mountains hills semi-desert) (15 15 15 10 15 15))
5499  (citadel (land steppe forest mountains hills semi-desert) (15 15 15 15 15 15))
5500  (lab (land steppe forest mountains hills semi-desert) (20 20 20 20 20 20))
5501
5502  (lcity (jungle hills swamp) (10 10 50))
5503  (dcity (steppe mountains hills semi-desert) (5 40 20 5))
5504  (ocity (steppe land) (30 30))
5505  (icity (steppe land jungle mountains hills) (20 20 40 10 10))
5506
5507  (enode mountains 75)
5508  (cnode desert 75)
5509  (snode steppe 75)
5510  (lnode land 75)
5511  (dnode (forest hills swamp) (75 75 75))
5512  (temple (mountains desert steppe forest hills swamp) (20 20 20 20 20 20))
5513
5514  (goldmine (hills mountains) (50 150))
5515  (ironmine (hills mountains wasteland) (50 150 100))
5516  (quarry (mountains hills) (150 150))
5517  (lumber (jungle forest deepforest) (150 150 300))
5518
5519  (deadcity (wasteland desert) (50 10))
5520  (dino1 (land steppe forest hills) (7 7 7 7))
5521  (dino2 (land steppe forest hills) (7 7 7 7))
5522  (fheart forest 10)
5523  (jheart forest 10)
5524  (lair mountains 8)
5525  (pit sea 8)
5526
5527  (thurastes sea 3)
5528  (squid sea 8)
5529  (dajawyrm sea 8)
5530  (dajaturtle sea 4)
5531  (gibambi sea 4)
5532  (churambi sea 4)
5533  (ulitar sea 4)
5534  (plesiosaur sea 4)
5535  (leviathan sea 4)
5536  (mold sea 4)
5537  (sludge sea 4)
5538  (tentacle sea 5)
5539
5540  (zombie (desert forest) (30 30))
5541  (spectre (desert forest) (20 20))
5542  (vampyre (desert forest) (8 8))
5543  (lich (desert forest) (5 5))
5544
5545  (iblis desert 3)
5546  (chaoscreature desert 3)
5547  (demon desert 8)
5548
5549  (phantombeast steppe 4)
5550  (phantomwarrior steppe 8)
5551
5552  (bears forest 60)
5553  (wolves forest 60)
5554  (tribesman forest 20)
5555  (ferak forest 60)
5556  (royalferak forest 60)
5557
5558
5559  (tyrannosaur (forest swamp) (5 10))
5560  (apatosaur (forest swamp) (7 12))
5561  (pterodactyl (forest swamp) (10 15))
5562
5563)
5564
5565(define cell-t* (sea shallows swamp desert semi-desert land forest deepforest jungle steppe wasteland hills mountains))
5566
5567
5568(add cell-t* alt-percentile-min 	(  	0  	5 	10  	15  	15	15  	45
5569   45	45	70	70	85  	85))
5570
5571(add cell-t* alt-percentile-max 	( 	5  	10  	15  	45  	45	45  	70
5572   70	70	85	85	100 	100))
5573
5574(add cell-t* wet-percentile-min 	(  	0   	0  	0   	0  	20	40   	0
5575   60	70   	0	90	0	33))
5576
5577(add cell-t* wet-percentile-max 	(	100 	100 	100	20  	40	100 	60
5578   70	100	90	100	33 	100))
5579
5580;;;	Some defns for the fractal percentile generator.
5581
5582(set alt-blob-density 2000)
5583;;(set alt-blob-height 500)
5584(set alt-blob-size 100)
5585(set alt-smoothing 4)
5586(set wet-blob-density 2000)
5587(set wet-blob-size 100)
5588(set wet-smoothing 4)
5589
5590(table adjacent-terrain-effect
5591	((semi-desert desert) (forest jungle deepforest swamp sea shallows) land)
5592	(desert (land steppe) semi-desert)
5593	(deepforest (land semi-desert jungle steppe) forest)
5594	(forest jungle land)
5595)
5596
5597(table adjacent-terrain-border
5598	(mountains (land steppe forest swamp desert semi-desert wasteland) cliffs)
5599)
5600
5601(table adjacent-terrain-border-chance
5602	(mountains (land steppe forest swamp desert semi-desert wasteland) 20)
5603)
5604
5605(table favored-terrain
5606  (land-types land-t* 100)
5607  (deep-types sea 100)
5608  (amphibious-types t* 100)
5609  (water-types sea 100)
5610  (air-types t* 100)
5611  (sludge sea 0)
5612  (lantern t* 100)
5613)
5614
5615
5616
5617;; DEFINE PLURAL TYPES AND SINGLE TYPES
5618
5619(set action-notices '(
5620
5621	((capture u* place-types) (actee " is taken."))
5622	((destroy u* place-types) (actee " falls."))
5623
5624	((capture u* heroic-types) (actee " joins your cause!"))
5625
5626	((create-at u* spell-types) (actor " casts " actee "!"))
5627	((create-at u* summon-types) (actor " begins summoning " actee "!"))
5628
5629	((unit-completed summon-types) (actor " has been successfully summoned!"))
5630
5631	((unit-type-changed hero-types hero) (actor " have performed such heroic deeds to be renowned throughout the land as heroes!"))
5632	((unit-type-changed hero-types knight) (actor " are the scourge of their enemies and named knights by their lord!"))
5633	((unit-type-changed hero-types ranger) (actor " have assumed the mantle of the ranger."))
5634
5635
5636
5637	((change-type hero-types hero) (actor " have performed such heroic deeds to be renowned throughout the land as a heroes!"))
5638	((change-type hero-types knight) (actor " are the scourge of their enemies and named knights by their lord!"))
5639	((change-type hero-types ranger) (actor " have assumed the mantle of the ranger."))
5640
5641	((fire-at mage-types u*) (actor " wracks " actee " with magick energy!"))
5642	((fire-at (wizard archmage) u*) (actor " wracks " actee " with eldritch energy!"))
5643	((fire-into mage-types u*) (actor " wracks " actee " with magick energy!"))
5644	((fire-into (wizard archmage) u*) (actor " wracks " actee " with eldritch energy!"))
5645
5646
5647	((fire dragon-types u*) (actor " breathes stone-cracking fire upon " actee "!"))
5648	((destroy dragon-types u*) (actor " eats " actee "!"))
5649	((capture charm-types u*) (actee " is beguiled through magic!"))
5650	((retreat scout u*) (actor " sneaks away from " actee "!"))
5651	((retreat scout u*) (actor " sneaks away from " actee "!"))
5652
5653	((destroy death-types basic-types) (actor " turns " actee " into zombies!"))
5654	((destroy death-types specific-types) (actor " turns " actee " into zombies!"))
5655
5656	((destroy deathknight basic-types) (actor " reanimates dead " actee " as skeletons!"))
5657	((destroy deathknight specific-types) (actor " reanimates dead " actee " as skeletons!"))
5658
5659	((destroy vampyre basic-types) (actor " turns " actee " into ghouls!"))
5660	((destroy vampyre specific-types) (actor " turns " actee " into ghouls!"))
5661
5662	((capture vampyre basic-types) (actor " dominates " actee "!"))
5663	((capture vampyre specific-types) (actor " dominates " actee "!"))
5664
5665	((destroy vampyre (hero epic legend)) (actor " drains " actee " of life, creating another vampyre!"))
5666	((destroy vampyre self-types) (actor " drains " actee " of life, creating another vampyre!"))
5667
5668	((destroy greyone basic-types) ("The evil one supplements his army with more undead followers!"))
5669	((destroy greyone specific-types) ("The evil one supplements his army with more undead followers!"))
5670	((destroy greyone (hero ranger knight)) ("The black lord makes another lieutenant out of " actee "!"))
5671	((destroy greyone epic) ("The thrice-damned creates a new servent out of the broken body of " actee "!"))
5672	((destroy greyone legend) ("Using foul arts, the Grey One sacrifices the soul of " actee " for the services of a demon!"))
5673	((destroy greyone self-types (actee " becomes more amenable to the Master of the Dead after joining his ranks!"))
5674
5675	((destroy death-types place-types) (actee " is overrun by the undead and infested with evil energies!"))
5676	((destroy (greyone ghoul vampyre lich skeleton deathknight) place-types) (actee " is overrun by the undead and infested with evil energies!"))
5677	((destroy (greyone vampyre lich spectre) deathknight) (actee " is corrupted by darkness!"))
5678
5679	((destroy wastemaker (keep citadel)) ("The essence of phantom changes " actee " into a mystical place!"))
5680	((destroy wastemaker place-types) ("The essence of phantom turns " actee " into another pavilion of the Phantom Dance!"))
5681	((destroy wastemaker small-types) ("The essence of phantom reduces " actee " into a flock of Phantom Birds!"))
5682	((destroy wastemaker medium-types) ("The essence of phantom fades " actee " until they become Phantom Warriors!"))
5683	((destroy wastemaker large-types) ("The essence of phantom fades " actee " into a great Phantom Beast!"))
5684	((destroy wastemaker huge-types) ("The essence of phantom turns " actee " into a Phantom Giant!"))
5685	((destroy wastemaker gargantuan-types) ("The essence of phantom overwhelms " actee ", leaving in its place a Phantom Shoggoth!"))
5686	((destroy wastemaker (cutter whaler)) ("The essence of phantom weaves the " actee " into a Phantom Ship!"))
5687
5688))
5689)
5690
5691
5692(game-module (design-notes
5693  "It is ambitious"
5694  ))
5695
5696(imf "ang-hunchback-buff" ((32 32) (file "dg_monster132.gif" std 0 0)))
5697(imf "ang-gnome-robe" ((32 32) (file "dg_monster132.gif" std 0 1)))
5698(imf "ang-troll-sword" ((32 32) (file "dg_monster132.gif" std 0 2)))
5699(imf "ang-hobgoblin-fist2" ((32 32) (file "dg_monster132.gif" std 0 3)))
5700(imf "ang-mouse-white" ((32 32) (file "dg_monster132.gif" std 0 4)))
5701(imf "ang-demon-staff" ((32 32) (file "dg_monster132.gif" std 0 5)))
5702(imf "ang-devil-arms" ((32 32) (file "dg_monster132.gif" std 0 6)))
5703(imf "ang-devil-orange" ((32 32) (file "dg_monster132.gif" std 0 7)))
5704(imf "ang-codhead-ankh" ((32 32) (file "dg_monster132.gif" std 0 8)))
5705(imf "ang-longhead-sword" ((32 32) (file "dg_monster132.gif" std 0 9)))
5706(imf "ang-fishhead-sword" ((32 32) (file "dg_monster132.gif" std 0 10)))
5707(imf "ang-3eye-ankh" ((32 32) (file "dg_monster132.gif" std 0 11)))
5708(imf "ang-wolfman-ankh" ((32 32) (file "dg_monster132.gif" std 0 12)))
5709(imf "ang-cyclops-ankh" ((32 32) (file "dg_monster132.gif" std 0 13)))
5710(imf "ang-gnoll-ankh" ((32 32) (file "dg_monster132.gif" std 0 14)))
5711(imf "ang-goblin-ankh" ((32 32) (file "dg_monster132.gif" std 0 15)))
5712
5713(imf "ang-drow-kirk" ((32 32) (file "dg_monster132.gif" std 1 0)))
5714(imf "ang-drow-purple" ((32 32) (file "dg_monster132.gif" std 1 1)))
5715(imf "ang-troll-greatsword" ((32 32) (file "dg_monster132.gif" std 1 2)))
5716(imf "ang-goblin-barb" ((32 32) (file "dg_monster132.gif" std 1 3)))
5717(imf "ang-mouse-gray" ((32 32) (file "dg_monster132.gif" std 1 4)))
5718(imf "ang-demon-dagger" ((32 32) (file "dg_monster132.gif" std 1 5)))
5719(imf "ang-devil-sword" ((32 32) (file "dg_monster132.gif" std 1 6)))
5720(imf "ang-devil-orange-sword" ((32 32) (file "dg_monster132.gif" std 1 7)))
5721(imf "ang-codhead-sword" ((32 32) (file "dg_monster132.gif" std 1 8)))
5722(imf "ang-longhead-ankh" ((32 32) (file "dg_monster132.gif" std 1 9)))
5723(imf "ang-fishhead-ankh" ((32 32) (file "dg_monster132.gif" std 1 10)))
5724(imf "ang-3eye-staff" ((32 32) (file "dg_monster132.gif" std 1 11)))
5725(imf "ang-wolfman-staff" ((32 32) (file "dg_monster132.gif" std 1 12)))
5726(imf "ang-cyclops-glowhand" ((32 32) (file "dg_monster132.gif" std 1 13)))
5727(imf "ang-gnoll-glowhand" ((32 32) (file "dg_monster132.gif" std 1 14)))
5728(imf "ang-goblin-staff" ((32 32) (file "dg_monster132.gif" std 1 15)))
5729
5730(imf "ang-drow-glowhand" ((32 32) (file "dg_monster132.gif" std 2 0)))
5731(imf "ang-drow-staff" ((32 32) (file "dg_monster132.gif" std 2 1)))
5732(imf "ang-hobgoblin-buff" ((32 32) (file "dg_monster132.gif" std 2 2)))
5733(imf "ang-goblin-club" ((32 32) (file "dg_monster132.gif" std 2 3)))
5734(imf "ang-mouse-brown" ((32 32) (file "dg_monster132.gif" std 2 4)))
5735(imf "ang-demon-buff" ((32 32) (file "dg_monster132.gif" std 2 5)))
5736(imf "ang-devil-sword2" ((32 32) (file "dg_monster132.gif" std 2 6)))
5737(imf "ang-devil-orange-scimitar" ((32 32) (file "dg_monster132.gif" std 2 7)))
5738(imf "ang-codhead-cross" ((32 32) (file "dg_monster132.gif" std 2 8)))
5739(imf "ang-longhead-dagger" ((32 32) (file "dg_monster132.gif" std 2 9)))
5740(imf "ang-fishhead-staff" ((32 32) (file "dg_monster132.gif" std 2 10)))
5741(imf "ang-3eye-dagger" ((32 32) (file "dg_monster132.gif" std 2 11)))
5742(imf "ang-wolfman-cape" ((32 32) (file "dg_monster132.gif" std 2 12)))
5743(imf "ang-cyclops-staff" ((32 32) (file "dg_monster132.gif" std 2 13)))
5744(imf "ang-gnoll-dagger" ((32 32) (file "dg_monster132.gif" std 2 14)))
5745(imf "ang-goblin-cape" ((32 32) (file "dg_monster132.gif" std 2 15)))
5746
5747(imf "ang-drow-gold" ((32 32) (file "dg_monster132.gif" std 3 0)))
5748(imf "ang-drow-beard" ((32 32) (file "dg_monster132.gif" std 3 1)))
5749(imf "ang-hobgoblin-black" ((32 32) (file "dg_monster132.gif" std 3 2)))
5750(imf "ang-minotaur-buff" ((32 32) (file "dg_monster132.gif" std 3 3)))
5751(imf "ang-mouse-orange" ((32 32) (file "dg_monster132.gif" std 3 4)))
5752(imf "ang-demon-sword" ((32 32) (file "dg_monster132.gif" std 3 5)))
5753(imf "ang-devil-shield" ((32 32) (file "dg_monster132.gif" std 3 6)))
5754(imf "ang-devil-orange-ankh" ((32 32) (file "dg_monster132.gif" std 3 7)))
5755(imf "ang-codhead-staff" ((32 32) (file "dg_monster132.gif" std 3 8)))
5756(imf "ang-longhead-glowhand2" ((32 32) (file "dg_monster132.gif" std 3 9)))
5757(imf "ang-fishhead-glowhand" ((32 32) (file "dg_monster132.gif" std 3 10)))
5758(imf "ang-3eye-sword" ((32 32) (file "dg_monster132.gif" std 3 11)))
5759(imf "ang-wolfman-cross" ((32 32) (file "dg_monster132.gif" std 3 12)))
5760(imf "ang-cyclops-sword" ((32 32) (file "dg_monster132.gif" std 3 13)))
5761(imf "ang-gnoll-monk" ((32 32) (file "dg_monster132.gif" std 3 14)))
5762(imf "ang-goblin-2scimitar" ((32 32) (file "dg_monster132.gif" std 3 15)))
5763
5764(imf "ang-gnome-2glowhand" ((32 32) (file "dg_monster132.gif" std 4 0)))
5765(imf "ang-drow-2glowhand" ((32 32) (file "dg_monster132.gif" std 4 1)))
5766(imf "ang-hobgoblin-fist" ((32 32) (file "dg_monster132.gif" std 4 2)))
5767(imf "ang-minotaur-axe" ((32 32) (file "dg_monster132.gif" std 4 3)))
5768(imf "ang-ettin" ((32 32) (file "dg_monster132.gif" std 4 4)))
5769(imf "ang-demon-shield" ((32 32) (file "dg_monster132.gif" std 4 5)))
5770(imf "ang-devil-staff" ((32 32) (file "dg_monster132.gif" std 4 6)))
5771(imf "ang-devil-orange-staff" ((32 32) (file "dg_monster132.gif" std 4 7)))
5772(imf "ang-codhead-staff2" ((32 32) (file "dg_monster132.gif" std 4 8)))
5773(imf "ang-longhead-sword2" ((32 32) (file "dg_monster132.gif" std 4 9)))
5774(imf "ang-fishhead-sword2" ((32 32) (file "dg_monster132.gif" std 4 10)))
5775(imf "ang-3eye-shield" ((32 32) (file "dg_monster132.gif" std 4 11)))
5776(imf "ang-wolfman-sword2" ((32 32) (file "dg_monster132.gif" std 4 12)))
5777(imf "ang-cyclops-cross" ((32 32) (file "dg_monster132.gif" std 4 13)))
5778(imf "ang-gnoll-shield" ((32 32) (file "dg_monster132.gif" std 4 14)))
5779(imf "ang-goblin-shield" ((32 32) (file "dg_monster132.gif" std 4 15)))
5780
5781(imf "ang-drow-ankh" ((32 32) (file "dg_monster132.gif" std 5 0)))
5782(imf "ang-hunchback-green" ((32 32) (file "dg_monster132.gif" std 5 1)))
5783(imf "ang-hobgoblin-staff" ((32 32) (file "dg_monster132.gif" std 5 2)))
5784(imf "ang-minotaur-sword" ((32 32) (file "dg_monster132.gif" std 5 3)))
5785(imf "ang-cyclops-4arm" ((32 32) (file "dg_monster132.gif" std 5 4)))
5786(imf "ang-demon-glowhand" ((32 32) (file "dg_monster132.gif" std 5 5)))
5787(imf "ang-devil-glowhand" ((32 32) (file "dg_monster132.gif" std 5 6)))
5788(imf "ang-devil-orange-2glowhand" ((32 32) (file "dg_monster132.gif" std 5 7)))
5789(imf "ang-codhead-sword2" ((32 32) (file "dg_monster132.gif" std 5 8)))
5790(imf "ang-longhead-glowhand" ((32 32) (file "dg_monster132.gif" std 5 9)))
5791(imf "ang-fishhead-shield" ((32 32) (file "dg_monster132.gif" std 5 10)))
5792(imf "ang-3eye-staff2" ((32 32) (file "dg_monster132.gif" std 5 11)))
5793(imf "ang-wolfman-sword3" ((32 32) (file "dg_monster132.gif" std 5 12)))
5794(imf "ang-cyclops-sword2" ((32 32) (file "dg_monster132.gif" std 5 13)))
5795(imf "ang-gnoll-sword2" ((32 32) (file "dg_monster132.gif" std 5 14)))
5796(imf "ang-goblin-sword2" ((32 32) (file "dg_monster132.gif" std 5 15)))
5797
5798(imf "ang-ooze-green" ((32 32) (file "dg_monster332.gif" std 0 0)))
5799(imf "ang-jellyfish-blue" ((32 32) (file "dg_monster332.gif" std 0 1)))
5800(imf "ang-jellyfish-maroon" ((32 32) (file "dg_monster332.gif" std 0 2)))
5801(imf "ang-jellyfish-pink" ((32 32) (file "dg_monster332.gif" std 0 3)))
5802(imf "ang-planer-fire" ((32 32) (file "dg_monster332.gif" std 0 4)))
5803(imf "ang-ent-beige" ((32 32) (file "dg_monster332.gif" std 0 5)))
5804(imf "ang-ent-green" ((32 32) (file "dg_monster332.gif" std 0 6)))
5805(imf "ang-bug-beetle-white" ((32 32) (file "dg_monster332.gif" std 0 7)))
5806(imf "ang-bug-fly-head" ((32 32) (file "dg_monster332.gif" std 0 8)))
5807(imf "ang-spider-red2" ((32 32) (file "dg_monster332.gif" std 0 9)))
5808(imf "ang-marmot-green" ((32 32) (file "dg_monster332.gif" std 0 10)))
5809(imf "ang-horsehead-glowhand" ((32 32) (file "dg_monster332.gif" std 0 11)))
5810(imf "ang-dog-brown" ((32 32) (file "dg_monster332.gif" std 0 12)))
5811
5812(imf "ang-ooze-blue" ((32 32) (file "dg_monster332.gif" std 1 0)))
5813(imf "ang-jellyfish-orange" ((32 32) (file "dg_monster332.gif" std 1 1)))
5814(imf "ang-jellyfish-black" ((32 32) (file "dg_monster332.gif" std 1 2)))
5815(imf "ang-jellyfish-white" ((32 32) (file "dg_monster332.gif" std 1 3)))
5816(imf "ang-planer-mystic" ((32 32) (file "dg_monster332.gif" std 1 4)))
5817(imf "ang-ent-purple" ((32 32) (file "dg_monster332.gif" std 1 5)))
5818(imf "ang-ent-pink" ((32 32) (file "dg_monster332.gif" std 1 6)))
5819(imf "ang-bug-beetle-brown" ((32 32) (file "dg_monster332.gif" std 1 7)))
5820(imf "ang-bug-fly" ((32 32) (file "dg_monster332.gif" std 1 8)))
5821(imf "ang-spider-black" ((32 32) (file "dg_monster332.gif" std 1 9)))
5822(imf "ang-marmot-red" ((32 32) (file "dg_monster332.gif" std 1 10)))
5823(imf "ang-horsehead-scimitar" ((32 32) (file "dg_monster332.gif" std 1 11)))
5824(imf "ang-dog-orange" ((32 32) (file "dg_monster332.gif" std 1 12)))
5825
5826(imf "ang-ooze-black" ((32 32) (file "dg_monster332.gif" std 2 0)))
5827(imf "ang-jellyfish-brown" ((32 32) (file "dg_monster332.gif" std 2 1)))
5828(imf "ang-jellyfish-umber" ((32 32) (file "dg_monster332.gif" std 2 2)))
5829(imf "ang-jellyfish-gray" ((32 32) (file "dg_monster332.gif" std 2 3)))
5830(imf "ang-ent-blue" ((32 32) (file "dg_monster332.gif" std 2 4)))
5831(imf "ang-ent-red" ((32 32) (file "dg_monster332.gif" std 2 5)))
5832(imf "ang-ent-white" ((32 32) (file "dg_monster332.gif" std 2 6)))
5833(imf "ang-bug-beetle-blue" ((32 32) (file "dg_monster332.gif" std 2 7)))
5834(imf "ang-spider-purple" ((32 32) (file "dg_monster332.gif" std 2 8)))
5835(imf "ang-spider-green" ((32 32) (file "dg_monster332.gif" std 2 9)))
5836(imf "ang-marmot-purple-blue" ((32 32) (file "dg_monster332.gif" std 2 10)))
5837(imf "ang-horsehead-glowhand2" ((32 32) (file "dg_monster332.gif" std 2 11)))
5838(imf "ang-dog-gray" ((32 32) (file "dg_monster332.gif" std 2 12)))
5839
5840(imf "ang-ooze-purple" ((32 32) (file "dg_monster332.gif" std 3 0)))
5841(imf "ang-jellyfish-brown2" ((32 32) (file "dg_monster332.gif" std 3 1)))
5842(imf "ang-jellyfish-beige" ((32 32) (file "dg_monster332.gif" std 3 2)))
5843(imf "ang-planer-fog" ((32 32) (file "dg_monster332.gif" std 3 3)))
5844(imf "ang-ent-flame" ((32 32) (file "dg_monster332.gif" std 3 4)))
5845(imf "ang-ent-orange" ((32 32) (file "dg_monster332.gif" std 3 5)))
5846(imf "ang-ent-gray" ((32 32) (file "dg_monster332.gif" std 3 6)))
5847(imf "ang-bug-beetle-gray" ((32 32) (file "dg_monster332.gif" std 3 7)))
5848(imf "ang-spider-red" ((32 32) (file "dg_monster332.gif" std 3 8)))
5849(imf "ang-marmot-vanilla" ((32 32) (file "dg_monster332.gif" std 3 9)))
5850(imf "ang-birdhead-glowhand2" ((32 32) (file "dg_monster332.gif" std 3 10)))
5851(imf "ang-horsehead-glowhand-staff" ((32 32) (file "dg_monster332.gif" std 3 11)))
5852(imf "ang-hard-worker" ((32 32) (file "dg_monster332.gif" std 3 12)))
5853
5854(imf "ang-ooze-brown" ((32 32) (file "dg_monster332.gif" std 4 0)))
5855(imf "ang-jellyfish-beige2" ((32 32) (file "dg_monster332.gif" std 4 1)))
5856(imf "ang-jellyfish-turq" ((32 32) (file "dg_monster332.gif" std 4 2)))
5857(imf "ang-planer-water" ((32 32) (file "dg_monster332.gif" std 4 3)))
5858(imf "ang-ent-brown" ((32 32) (file "dg_monster332.gif" std 4 4)))
5859(imf "ang-ent-beige2" ((32 32) (file "dg_monster332.gif" std 4 5)))
5860(imf "ang-ent-black" ((32 32) (file "dg_monster332.gif" std 4 6)))
5861(imf "ang-bug-beetle-green" ((32 32) (file "dg_monster332.gif" std 4 7)))
5862(imf "ang-spider-blue" ((32 32) (file "dg_monster332.gif" std 4 8)))
5863(imf "ang-marmot-blue" ((32 32) (file "dg_monster332.gif" std 4 9)))
5864(imf "ang-froghead-orange" ((32 32) (file "dg_monster332.gif" std 4 10)))
5865(imf "ang-horsehead-ankh" ((32 32) (file "dg_monster332.gif" std 4 11)))
5866(imf "ang-dog-gray2" ((32 32) (file "dg_monster332.gif" std 4 12)))
5867
5868(imf "ang-cube-gelatinous" ((32 32) (file "dg_monster332.gif" std 5 0)))
5869(imf "ang-jellyfish-purple" ((32 32) (file "dg_monster332.gif" std 5 1)))
5870(imf "ang-jellyfish-green" ((32 32) (file "dg_monster332.gif" std 5 2)))
5871(imf "ang-planer-earth" ((32 32) (file "dg_monster332.gif" std 5 3)))
5872(imf "ang-ent-brown2" ((32 32) (file "dg_monster332.gif" std 5 4)))
5873(imf "ang-ent-turq" ((32 32) (file "dg_monster332.gif" std 5 5)))
5874(imf "ang-bug-purple" ((32 32) (file "dg_monster332.gif" std 5 6)))
5875(imf "ang-bug-beetle-red" ((32 32) (file "dg_monster332.gif" std 5 7)))
5876(imf "ang-spider-brown" ((32 32) (file "dg_monster332.gif" std 5 8)))
5877(imf "ang-marmot-black" ((32 32) (file "dg_monster332.gif" std 5 9)))
5878(imf "ang-froghead-gold" ((32 32) (file "dg_monster332.gif" std 5 10)))
5879(imf "ang-demon-rainbow" ((32 32) (file "dg_monster332.gif" std 5 11)))
5880(imf "ang-dog-beige" ((32 32) (file "dg_monster332.gif" std 5 12)))
5881
5882(imf "ang-chest-small-wood" ((32 32) (file "dg_misc32.gif" std 0 0)))
5883(imf "ang-coins-small-orange" ((32 32) (file "dg_misc32.gif" std 0 1)))
5884(imf "ang-gems-crystal-blue" ((32 32) (file "dg_misc32.gif" std 0 2)))
5885(imf "ang-scroll-pent-dark" ((32 32) (file "dg_misc32.gif" std 0 3)))
5886(imf "ang-tool-pick-dark" ((32 32) (file "dg_misc32.gif" std 0 4)))
5887(imf "ang-blob-oil-black" ((32 32) (file "dg_misc32.gif" std 0 5)))
5888(imf "ang-tool-broken-staff" ((32 32) (file "dg_misc32.gif" std 0 6)))
5889(imf "ang-bones-animal-full" ((32 32) (file "dg_misc32.gif" std 0 7)))
5890(imf "ang-hole-small-green" ((32 32) (file "dg_misc32.gif" std 0 8)))
5891(imf "ang-hole-spike-red" ((32 32) (file "dg_misc32.gif" std 0 9)))
5892(imf "ang-tool-pick-gold" ((32 32) (file "dg_misc32.gif" std 0 10)))
5893(imf "ang-scroll-eye-blue" ((32 32) (file "dg_misc32.gif" std 0 11)))
5894(imf "ang-scroll-demon-horn" ((32 32) (file "dg_misc32.gif" std 0 12)))
5895(imf "ang-scroll-crown-gem" ((32 32) (file "dg_misc32.gif" std 0 13)))
5896(imf "ang-scroll-eye-hole" ((32 32) (file "dg_misc32.gif" std 0 14)))
5897(imf "ang-scroll-gray-pent" ((32 32) (file "dg_misc32.gif" std 0 15)))
5898(imf "ang-scroll-ankh-gold" ((32 32) (file "dg_misc32.gif" std 0 16)))
5899
5900(imf "ang-chest-large-wood" ((32 32) (file "dg_misc32.gif" std 1 0)))
5901(imf "ang-coins-small-silver" ((32 32) (file "dg_misc32.gif" std 1 1)))
5902(imf "ang-gems-diamond-red" ((32 32) (file "dg_misc32.gif" std 1 2)))
5903(imf "ang-potion-flask-dark" ((32 32) (file "dg_misc32.gif" std 1 3)))
5904(imf "ang-tool-pick-blue" ((32 32) (file "dg_misc32.gif" std 1 4)))
5905(imf "ang-hole-large-black" ((32 32) (file "dg_misc32.gif" std 1 5)))
5906(imf "ang-bones-skull" ((32 32) (file "dg_misc32.gif" std 1 6)))
5907(imf "ang-bones-animal-small" ((32 32) (file "dg_misc32.gif" std 1 7)))
5908(imf "ang-hole-small-red" ((32 32) (file "dg_misc32.gif" std 1 8)))
5909(imf "ang-hole-spike-purple" ((32 32) (file "dg_misc32.gif" std 1 9)))
5910(imf "ang-tool-shovel-gold" ((32 32) (file "dg_misc32.gif" std 1 10)))
5911(imf "ang-scroll-eye-red" ((32 32) (file "dg_misc32.gif" std 1 11)))
5912(imf "ang-scroll-door-green" ((32 32) (file "dg_misc32.gif" std 1 12)))
5913(imf "ang-scroll-cross-lips" ((32 32) (file "dg_misc32.gif" std 1 13)))
5914(imf "ang-scroll-gray-pent2" ((32 32) (file "dg_misc32.gif" std 1 14)))
5915(imf "ang-scroll-sword-red" ((32 32) (file "dg_misc32.gif" std 1 15)))
5916(imf "ang-scroll-ankh-red" ((32 32) (file "dg_misc32.gif" std 1 16)))
5917
5918(imf "ang-chest-small-wood2" ((32 32) (file "dg_misc32.gif" std 2 0)))
5919(imf "ang-coins-small-gold" ((32 32) (file "dg_misc32.gif" std 2 1)))
5920(imf "ang-gems-diamond-blue" ((32 32) (file "dg_misc32.gif" std 2 2)))
5921(imf "ang-potion-flask-brown" ((32 32) (file "dg_misc32.gif" std 2 3)))
5922(imf "ang-tool-shovel-gray" ((32 32) (file "dg_misc32.gif" std 2 4)))
5923(imf "ang-hole-spike-yellow" ((32 32) (file "dg_misc32.gif" std 2 5)))
5924(imf "ang-bones-femur-broke" ((32 32) (file "dg_misc32.gif" std 2 6)))
5925(imf "ang-cup-chalice-green" ((32 32) (file "dg_misc32.gif" std 2 7)))
5926(imf "ang-hole-small-blue" ((32 32) (file "dg_misc32.gif" std 2 8)))
5927(imf "ang-hole-spike-lblue" ((32 32) (file "dg_misc32.gif" std 2 9)))
5928(imf "ang-tool-lamp-gold" ((32 32) (file "dg_misc32.gif" std 2 10)))
5929(imf "ang-scroll-sword-hit" ((32 32) (file "dg_misc32.gif" std 2 11)))
5930(imf "ang-scroll-clone-t" ((32 32) (file "dg_misc32.gif" std 2 12)))
5931(imf "ang-scroll-cross-hand" ((32 32) (file "dg_misc32.gif" std 2 13)))
5932(imf "ang-scroll-demon-angry" ((32 32) (file "dg_misc32.gif" std 2 14)))
5933(imf "ang-scroll-sword-green" ((32 32) (file "dg_misc32.gif" std 2 15)))
5934(imf "ang-scroll-door-broke" ((32 32) (file "dg_misc32.gif" std 2 16)))
5935
5936(imf "ang-chest-large-wood2" ((32 32) (file "dg_misc32.gif" std 3 0)))
5937(imf "ang-coins-small-blue" ((32 32) (file "dg_misc32.gif" std 3 1)))
5938(imf "ang-gems-emerald-green" ((32 32) (file "dg_misc32.gif" std 3 2)))
5939(imf "ang-tool-spike" ((32 32) (file "dg_misc32.gif" std 3 3)))
5940(imf "ang-tool-shovel-gray2" ((32 32) (file "dg_misc32.gif" std 3 4)))
5941(imf "ang-door-trap-open" ((32 32) (file "dg_misc32.gif" std 3 5)))
5942(imf "ang-bones-ogre-full" ((32 32) (file "dg_misc32.gif" std 3 6)))
5943(imf "ang-star-gold-blue" ((32 32) (file "dg_misc32.gif" std 3 7)))
5944(imf "ang-hole-small-purple" ((32 32) (file "dg_misc32.gif" std 3 8)))
5945(imf "ang-hole-water-blue" ((32 32) (file "dg_misc32.gif" std 3 9)))
5946(imf "ang-scroll-pent-dark2" ((32 32) (file "dg_misc32.gif" std 3 10)))
5947(imf "ang-scroll-sword-dam" ((32 32) (file "dg_misc32.gif" std 3 11)))
5948(imf "ang-scroll-up-down" ((32 32) (file "dg_misc32.gif" std 3 12)))
5949(imf "ang-scroll-skull" ((32 32) (file "dg_misc32.gif" std 3 13)))
5950(imf "ang-scroll-armor-red" ((32 32) (file "dg_misc32.gif" std 3 14)))
5951(imf "ang-scroll-cross-skull" ((32 32) (file "dg_misc32.gif" std 3 15)))
5952(imf "ang-scroll-eye-potion" ((32 32) (file "dg_misc32.gif" std 3 16)))
5953
5954(imf "ang-chest-small-metal" ((32 32) (file "dg_misc32.gif" std 4 0)))
5955(imf "ang-coins-small-green" ((32 32) (file "dg_misc32.gif" std 4 1)))
5956(imf "ang-scroll-pent-light" ((32 32) (file "dg_misc32.gif" std 4 2)))
5957(imf "ang-tool-lamp" ((32 32) (file "dg_misc32.gif" std 4 3)))
5958(imf "ang-tool-shovel-blue" ((32 32) (file "dg_misc32.gif" std 4 4)))
5959(imf "ang-symbol-red" ((32 32) (file "dg_misc32.gif" std 4 5)))
5960(imf "ang-bones-man-full" ((32 32) (file "dg_misc32.gif" std 4 6)))
5961(imf "ang-ball-crystal-bronze" ((32 32) (file "dg_misc32.gif" std 4 7)))
5962(imf "ang-hole-small-orange" ((32 32) (file "dg_misc32.gif" std 4 8)))
5963(imf "ang-hole-water-green" ((32 32) (file "dg_misc32.gif" std 4 9)))
5964(imf "ang-scroll-pent-dark3" ((32 32) (file "dg_misc32.gif" std 4 10)))
5965(imf "ang-scroll-armor-green" ((32 32) (file "dg_misc32.gif" std 4 11)))
5966(imf "ang-scroll-demon-confuse" ((32 32) (file "dg_misc32.gif" std 4 12)))
5967(imf "ang-scroll-castle-man" ((32 32) (file "dg_misc32.gif" std 4 13)))
5968(imf "ang-scroll-bread" ((32 32) (file "dg_misc32.gif" std 4 14)))
5969(imf "ang-scroll-cross-pent" ((32 32) (file "dg_misc32.gif" std 4 15)))
5970(imf "ang-scroll-fist-armor" ((32 32) (file "dg_misc32.gif" std 4 16)))
5971
5972(imf "ang-chest-large-metal" ((32 32) (file "dg_misc32.gif" std 5 0)))
5973(imf "ang-gems-smooth-multi" ((32 32) (file "dg_misc32.gif" std 5 1)))
5974(imf "ang-scroll-pent-light2" ((32 32) (file "dg_misc32.gif" std 5 2)))
5975(imf "ang-tool-torch" ((32 32) (file "dg_misc32.gif" std 5 3)))
5976(imf "ang-hole-small-brown" ((32 32) (file "dg_misc32.gif" std 5 4)))
5977(imf "ang-symbol-yellow" ((32 32) (file "dg_misc32.gif" std 5 5)))
5978(imf "ang-bones-man-full2" ((32 32) (file "dg_misc32.gif" std 5 6)))
5979(imf "ang-treasure-varied" ((32 32) (file "dg_misc32.gif" std 5 7)))
5980(imf "ang-hole-small-gray" ((32 32) (file "dg_misc32.gif" std 5 8)))
5981(imf "ang-hole-water-red" ((32 32) (file "dg_misc32.gif" std 5 9)))
5982(imf "ang-scroll-pent-light3" ((32 32) (file "dg_misc32.gif" std 5 10)))
5983(imf "ang-scroll-armor-blue" ((32 32) (file "dg_misc32.gif" std 5 11)))
5984(imf "ang-scroll-map" ((32 32) (file "dg_misc32.gif" std 5 12)))
5985(imf "ang-scroll-cross-lips2" ((32 32) (file "dg_misc32.gif" std 5 13)))
5986(imf "ang-scroll-star" ((32 32) (file "dg_misc32.gif" std 5 14)))
5987(imf "ang-scroll-eye-invisible" ((32 32) (file "dg_misc32.gif" std 5 15)))
5988(imf "ang-scroll-fist-armor2" ((32 32) (file "dg_misc32.gif" std 5 16)))
5989
5990(imf "ang-chest-broken-wood" ((32 32) (file "dg_misc32.gif" std 6 0)))
5991(imf "ang-gems-smooth-purple" ((32 32) (file "dg_misc32.gif" std 6 1)))
5992(imf "ang-scroll-pent-dark4" ((32 32) (file "dg_misc32.gif" std 6 2)))
5993(imf "ang-tool-pick" ((32 32) (file "dg_misc32.gif" std 6 3)))
5994(imf "ang-egg-easter" ((32 32) (file "dg_misc32.gif" std 6 4)))
5995(imf "ang-symbol-green" ((32 32) (file "dg_misc32.gif" std 6 5)))
5996(imf "ang-bones-hobbit-full" ((32 32) (file "dg_misc32.gif" std 6 6)))
5997(imf "ang-rubble-stone" ((32 32) (file "dg_misc32.gif" std 6 7)))
5998(imf "ang-hole-spike-green" ((32 32) (file "dg_misc32.gif" std 6 8)))
5999(imf "ang-hole-fire" ((32 32) (file "dg_misc32.gif" std 6 9)))
6000(imf "ang-scroll-pent-light4" ((32 32) (file "dg_misc32.gif" std 6 10)))
6001(imf "ang-scroll-star-yellow" ((32 32) (file "dg_misc32.gif" std 6 11)))
6002(imf "ang-scroll-boomerang" ((32 32) (file "dg_misc32.gif" std 6 12)))
6003(imf "ang-scroll-trap-hole" ((32 32) (file "dg_misc32.gif" std 6 13)))
6004(imf "ang-scroll-eye-door" ((32 32) (file "dg_misc32.gif" std 6 14)))
6005(imf "ang-scroll-eye-gold" ((32 32) (file "dg_misc32.gif" std 6 15)))
6006(imf "ang-scroll-crown-fire" ((32 32) (file "dg_misc32.gif" std 6 16)))
6007
6008(imf "ang-druid-gray-staff" ((32 32) (file "dg_classm32.gif" std 0 0)))
6009(imf "ang-druid-brown-staff" ((32 32) (file "dg_classm32.gif" std 0 1)))
6010(imf "ang-druid-no-staff" ((32 32) (file "dg_classm32.gif" std 0 2)))
6011(imf "ang-druid-halfling-staff" ((32 32) (file "dg_classm32.gif" std 0 3)))
6012(imf "ang-druid-yellow-staff" ((32 32) (file "dg_classm32.gif" std 0 4)))
6013(imf "ang-druid-dwarf-staff" ((32 32) (file "dg_classm32.gif" std 0 5)))
6014(imf "ang-druid-oni-staff" ((32 32) (file "dg_classm32.gif" std 0 6)))
6015(imf "ang-druid-ogre-staff" ((32 32) (file "dg_classm32.gif" std 0 7)))
6016(imf "ang-druid-gnome-staff" ((32 32) (file "dg_classm32.gif" std 0 8)))
6017(imf "ang-druid-drow-staff" ((32 32) (file "dg_classm32.gif" std 0 9)))
6018(imf "ang-druid-troll-staff" ((32 32) (file "dg_classm32.gif" std 0 10)))
6019
6020(imf "ang-enchanter-brown-staff" ((32 32) (file "dg_classm32.gif" std 1 0)))
6021(imf "ang-enchanter-orange-staff" ((32 32) (file "dg_classm32.gif" std 1 1)))
6022(imf "ang-enchanter-purple-staff" ((32 32) (file "dg_classm32.gif" std 1 2)))
6023(imf "ang-enchanter-halfling-staff" ((32 32) (file "dg_classm32.gif" std 1 3)))
6024(imf "ang-enchanter-yellow-staff" ((32 32) (file "dg_classm32.gif" std 1 4)))
6025(imf "ang-enchanter-dwarf-staff" ((32 32) (file "dg_classm32.gif" std 1 5)))
6026(imf "ang-enchanter-oni-staff" ((32 32) (file "dg_classm32.gif" std 1 6)))
6027(imf "ang-enchanter-ogre-staff" ((32 32) (file "dg_classm32.gif" std 1 7)))
6028(imf "ang-enchanter-gnome-staff" ((32 32) (file "dg_classm32.gif" std 1 8)))
6029(imf "ang-enchanter-drow-staff" ((32 32) (file "dg_classm32.gif" std 1 9)))
6030(imf "ang-enchanter-troll-staff" ((32 32) (file "dg_classm32.gif" std 1 10)))
6031
6032(imf "ang-mage-blue-glowhand2" ((32 32) (file "dg_classm32.gif" std 2 0)))
6033(imf "ang-mage-white-glowhand2" ((32 32) (file "dg_classm32.gif" std 2 1)))
6034(imf "ang-mage-red-glowhand" ((32 32) (file "dg_classm32.gif" std 2 2)))
6035(imf "ang-mage-halfling-glowhand" ((32 32) (file "dg_classm32.gif" std 2 3)))
6036(imf "ang-mage--black-glowhand" ((32 32) (file "dg_classm32.gif" std 2 4)))
6037(imf "ang-mage-dwarf-glowhand" ((32 32) (file "dg_classm32.gif" std 2 5)))
6038(imf "ang-mage-oni-glowhand" ((32 32) (file "dg_classm32.gif" std 2 6)))
6039(imf "ang-mage-ogre-glowhand" ((32 32) (file "dg_classm32.gif" std 2 7)))
6040(imf "ang-mage-gnome-glowhand" ((32 32) (file "dg_classm32.gif" std 2 8)))
6041(imf "ang-mage-drow-glowhand" ((32 32) (file "dg_classm32.gif" std 2 9)))
6042(imf "ang-mage-troll-glowhand" ((32 32) (file "dg_classm32.gif" std 2 10)))
6043
6044(imf "ang-paladin-right-sword" ((32 32) (file "dg_classm32.gif" std 3 0)))
6045(imf "ang-paladin-left-sword" ((32 32) (file "dg_classm32.gif" std 3 1)))
6046(imf "ang-paladin-left-scimitar" ((32 32) (file "dg_classm32.gif" std 3 2)))
6047(imf "ang-paladin-halfling-sword" ((32 32) (file "dg_classm32.gif" std 3 3)))
6048(imf "ang-paladin-cross-shield" ((32 32) (file "dg_classm32.gif" std 3 4)))
6049(imf "ang-paladin-dwarf-scimitar" ((32 32) (file "dg_classm32.gif" std 3 5)))
6050(imf "ang-paladin-oni-sword" ((32 32) (file "dg_classm32.gif" std 3 6)))
6051(imf "ang-paladin-ogre-sword" ((32 32) (file "dg_classm32.gif" std 3 7)))
6052(imf "ang-paladin-gnome-sword" ((32 32) (file "dg_classm32.gif" std 3 8)))
6053(imf "ang-paladin-drow-sword" ((32 32) (file "dg_classm32.gif" std 3 9)))
6054(imf "ang-paladin-troll-sword" ((32 32) (file "dg_classm32.gif" std 3 10)))
6055
6056(imf "ang-cleric-ankh-green" ((32 32) (file "dg_classm32.gif" std 4 0)))
6057(imf "ang-cleric-ankh-lblue" ((32 32) (file "dg_classm32.gif" std 4 1)))
6058(imf "ang-cleric-ankh-gray" ((32 32) (file "dg_classm32.gif" std 4 2)))
6059(imf "ang-cleric-halfling-ankh" ((32 32) (file "dg_classm32.gif" std 4 3)))
6060(imf "ang-cleric-ankh-pale" ((32 32) (file "dg_classm32.gif" std 4 4)))
6061(imf "ang-cleric-dwarf-ankh" ((32 32) (file "dg_classm32.gif" std 4 5)))
6062(imf "ang-cleric-oni-ankh" ((32 32) (file "dg_classm32.gif" std 4 6)))
6063(imf "ang-cleric-ogre-ankh" ((32 32) (file "dg_classm32.gif" std 4 7)))
6064(imf "ang-cleric-gnome-ankh" ((32 32) (file "dg_classm32.gif" std 4 8)))
6065(imf "ang-cleric-drow-ankh" ((32 32) (file "dg_classm32.gif" std 4 9)))
6066(imf "ang-cleric-troll-ankh" ((32 32) (file "dg_classm32.gif" std 4 10)))
6067
6068(imf "ang-ranger-no-quiver" ((32 32) (file "dg_classm32.gif" std 5 0)))
6069(imf "ang-ranger-quiver-sword" ((32 32) (file "dg_classm32.gif" std 5 1)))
6070(imf "ang-ranger-quiver-blonde" ((32 32) (file "dg_classm32.gif" std 5 2)))
6071(imf "ang-ranger-halfling-sword" ((32 32) (file "dg_classm32.gif" std 5 3)))
6072(imf "ang-ranger-quiver-sword2" ((32 32) (file "dg_classm32.gif" std 5 4)))
6073(imf "ang-ranger-dwarf-sword" ((32 32) (file "dg_classm32.gif" std 5 5)))
6074(imf "ang-ranger-oni-staff" ((32 32) (file "dg_classm32.gif" std 5 6)))
6075(imf "ang-ranger-ogre-staff" ((32 32) (file "dg_classm32.gif" std 5 7)))
6076(imf "ang-ranger-gnome-dagger" ((32 32) (file "dg_classm32.gif" std 5 8)))
6077(imf "ang-ranger-drow-sword" ((32 32) (file "dg_classm32.gif" std 5 9)))
6078(imf "ang-ranger-troll-sword" ((32 32) (file "dg_classm32.gif" std 5 10)))
6079
6080(imf "ang-thief-blue-dagger" ((32 32) (file "dg_classm32.gif" std 6 0)))
6081(imf "ang-thief-red-dagger" ((32 32) (file "dg_classm32.gif" std 6 1)))
6082(imf "ang-thief-black-dagger" ((32 32) (file "dg_classm32.gif" std 6 2)))
6083(imf "ang-thief-halfling-dagger" ((32 32) (file "dg_classm32.gif" std 6 3)))
6084(imf "ang-thief-blue-hood" ((32 32) (file "dg_classm32.gif" std 6 4)))
6085(imf "ang-thief-dwarf-dagger" ((32 32) (file "dg_classm32.gif" std 6 5)))
6086(imf "ang-thief-oni-dagger" ((32 32) (file "dg_classm32.gif" std 6 6)))
6087(imf "ang-thief-ogre-dagger" ((32 32) (file "dg_classm32.gif" std 6 7)))
6088(imf "ang-thief-gnome-sword" ((32 32) (file "dg_classm32.gif" std 6 8)))
6089(imf "ang-thief-drow-dagger" ((32 32) (file "dg_classm32.gif" std 6 9)))
6090(imf "ang-thief-troll-dagger" ((32 32) (file "dg_classm32.gif" std 6 10)))
6091
6092(imf "ang-fighter-quiver-sword" ((32 32) (file "dg_classm32.gif" std 7 0)))
6093(imf "ang-fighter-quiver-staff" ((32 32) (file "dg_classm32.gif" std 7 1)))
6094(imf "ang-fighter-quiver-sword2" ((32 32) (file "dg_classm32.gif" std 7 2)))
6095(imf "ang-fighter-halfling-axe" ((32 32) (file "dg_classm32.gif" std 7 3)))
6096(imf "ang-fighter-quivere-sword3" ((32 32) (file "dg_classm32.gif" std 7 4)))
6097(imf "ang-fighter-dwarf-dagger" ((32 32) (file "dg_classm32.gif" std 7 5)))
6098(imf "ang-fighter-oni-sword" ((32 32) (file "dg_classm32.gif" std 7 6)))
6099(imf "ang-fighter-ogre-sword" ((32 32) (file "dg_classm32.gif" std 7 7)))
6100(imf "ang-fighter-gnome-sword" ((32 32) (file "dg_classm32.gif" std 7 8)))
6101(imf "ang-fighter-drow-sword" ((32 32) (file "dg_classm32.gif" std 7 9)))
6102(imf "ang-fighter-troll-axe" ((32 32) (file "dg_classm32.gif" std 7 10)))
6103
6104(imf "ang-lightning-silver-up" ((32 32) (file "dg_effects32.gif" std 0 0)))
6105(imf "ang-lightning-red-up" ((32 32) (file "dg_effects32.gif" std 0 1)))
6106(imf "ang-lightning-turq-up" ((32 32) (file "dg_effects32.gif" std 0 2)))
6107(imf "ang-lightning-gold-up" ((32 32) (file "dg_effects32.gif" std 0 3)))
6108(imf "ang-fireball-single-red" ((32 32) (file "dg_effects32.gif" std 0 4)))
6109(imf "ang-fireball-multi-red" ((32 32) (file "dg_effects32.gif" std 0 5)))
6110(imf "ang-fireball-gray-red" ((32 32) (file "dg_effects32.gif" std 0 6)))
6111(imf "ang-fireball-gray-silver" ((32 32) (file "dg_effects32.gif" std 0 7)))
6112(imf "ang-powerball-big-red" ((32 32) (file "dg_effects32.gif" std 0 8)))
6113(imf "ang-arrow-red-up" ((32 32) (file "dg_effects32.gif" std 0 9)))
6114(imf "ang-arrow-green-dur" ((32 32) (file "dg_effects32.gif" std 0 10)))
6115
6116(imf "ang-lightning-silver-side" ((32 32) (file "dg_effects32.gif" std 1 0)))
6117(imf "ang-lightning-red-side" ((32 32) (file "dg_effects32.gif" std 1 1)))
6118(imf "ang-lightning-turq-side" ((32 32) (file "dg_effects32.gif" std 1 2)))
6119(imf "ang-lightning-gold-side" ((32 32) (file "dg_effects32.gif" std 1 3)))
6120(imf "ang-fireball-single-green" ((32 32) (file "dg_effects32.gif" std 1 4)))
6121(imf "ang-fireball-multi-green" ((32 32) (file "dg_effects32.gif" std 1 5)))
6122(imf "ang-fireball-gray-green" ((32 32) (file "dg_effects32.gif" std 1 6)))
6123(imf "ang-fireball-silver-gray" ((32 32) (file "dg_effects32.gif" std 1 7)))
6124(imf "ang-powerball-big-green" ((32 32) (file "dg_effects32.gif" std 1 8)))
6125(imf "ang-arrow-red-right" ((32 32) (file "dg_effects32.gif" std 1 9)))
6126(imf "ang-arrow-green-ddr" ((32 32) (file "dg_effects32.gif" std 1 10)))
6127
6128(imf "ang-lightning-silver-ddl" ((32 32) (file "dg_effects32.gif" std 2 0)))
6129(imf "ang-lightning-red-ddl" ((32 32) (file "dg_effects32.gif" std 2 1)))
6130(imf "ang-lightning-turq-ddl" ((32 32) (file "dg_effects32.gif" std 2 2)))
6131(imf "ang-lightning-gold-ddl" ((32 32) (file "dg_effects32.gif" std 2 3)))
6132(imf "ang-fireball-single-blue" ((32 32) (file "dg_effects32.gif" std 2 4)))
6133(imf "ang-fireball-multi-blue" ((32 32) (file "dg_effects32.gif" std 2 5)))
6134(imf "ang-fireball-gray-blue" ((32 32) (file "dg_effects32.gif" std 2 6)))
6135(imf "ang-fireball-all-color" ((32 32) (file "dg_effects32.gif" std 2 7)))
6136(imf "ang-powerball-big-blue" ((32 32) (file "dg_effects32.gif" std 2 8)))
6137(imf "ang-arrow-red-down" ((32 32) (file "dg_effects32.gif" std 2 9)))
6138(imf "ang-arrow-green-ddl" ((32 32) (file "dg_effects32.gif" std 2 10)))
6139
6140(imf "ang-lightning-silver-ddr" ((32 32) (file "dg_effects32.gif" std 3 0)))
6141(imf "ang-lightning-red-ddr" ((32 32) (file "dg_effects32.gif" std 3 1)))
6142(imf "ang-lightning-turq-ddr" ((32 32) (file "dg_effects32.gif" std 3 2)))
6143(imf "ang-lightning-gold-ddr" ((32 32) (file "dg_effects32.gif" std 3 3)))
6144(imf "ang-fireball-single-turq" ((32 32) (file "dg_effects32.gif" std 3 4)))
6145(imf "ang-fireball-multi-turq" ((32 32) (file "dg_effects32.gif" std 3 5)))
6146(imf "ang-fireball-gray-purple" ((32 32) (file "dg_effects32.gif" std 3 6)))
6147(imf "ang-thunderball-blue-orange" ((32 32) (file "dg_effects32.gif" std 3 7)))
6148(imf "ang-powerball-big-yellow" ((32 32) (file "dg_effects32.gif" std 3 8)))
6149(imf "ang-arrow-red-left" ((32 32) (file "dg_effects32.gif" std 3 9)))
6150(imf "ang-arrow-green-dul" ((32 32) (file "dg_effects32.gif" std 3 10)))
6151
6152(imf "ang-lightning-gray-up" ((32 32) (file "dg_effects32.gif" std 4 0)))
6153(imf "ang-lightning-green-up" ((32 32) (file "dg_effects32.gif" std 4 1)))
6154(imf "ang-lightning-bronze-up" ((32 32) (file "dg_effects32.gif" std 4 2)))
6155(imf "ang-lightning-orange-up" ((32 32) (file "dg_effects32.gif" std 4 3)))
6156(imf "ang-fireball-single-bronze" ((32 32) (file "dg_effects32.gif" std 4 4)))
6157(imf "ang-fireball-multi-bronze" ((32 32) (file "dg_effects32.gif" std 4 5)))
6158(imf "ang-fireball-orange-red" ((32 32) (file "dg_effects32.gif" std 4 6)))
6159(imf "ang-thunderball-blue-purple" ((32 32) (file "dg_effects32.gif" std 4 7)))
6160(imf "ang-powerball-big-purple" ((32 32) (file "dg_effects32.gif" std 4 8)))
6161(imf "ang-arrow-red-dur" ((32 32) (file "dg_effects32.gif" std 4 9)))
6162(imf "ang-arrow-gray-up" ((32 32) (file "dg_effects32.gif" std 4 10)))
6163
6164(imf "ang-lightning-gray-side" ((32 32) (file "dg_effects32.gif" std 5 0)))
6165(imf "ang-lightning-green-side" ((32 32) (file "dg_effects32.gif" std 5 1)))
6166(imf "ang-lightning-bronze-side" ((32 32) (file "dg_effects32.gif" std 5 2)))
6167(imf "ang-lightning-orange-side" ((32 32) (file "dg_effects32.gif" std 5 3)))
6168(imf "ang-fireball-single-purple" ((32 32) (file "dg_effects32.gif" std 5 4)))
6169(imf "ang-fireball-multi-gray" ((32 32) (file "dg_effects32.gif" std 5 5)))
6170(imf "ang-fireball-yellow-green" ((32 32) (file "dg_effects32.gif" std 5 6)))
6171(imf "ang-thunderball-blue-yellow" ((32 32) (file "dg_effects32.gif" std 5 7)))
6172(imf "ang-powerball-big-turq" ((32 32) (file "dg_effects32.gif" std 5 8)))
6173(imf "ang-arrow-red-ddr" ((32 32) (file "dg_effects32.gif" std 5 9)))
6174(imf "ang-arrow-gray-right" ((32 32) (file "dg_effects32.gif" std 5 10)))
6175
6176(imf "ang-lightning-gray-ddl" ((32 32) (file "dg_effects32.gif" std 6 0)))
6177(imf "ang-lightning-green-ddl" ((32 32) (file "dg_effects32.gif" std 6 1)))
6178(imf "ang-lightning-bronze-ddl" ((32 32) (file "dg_effects32.gif" std 6 2)))
6179(imf "ang-lightning-orange-ddl" ((32 32) (file "dg_effects32.gif" std 6 3)))
6180(imf "ang-fireball-single-yellow" ((32 32) (file "dg_effects32.gif" std 6 4)))
6181(imf "ang-fireball-multi-yellow" ((32 32) (file "dg_effects32.gif" std 6 5)))
6182(imf "ang-fireball-turq-blue" ((32 32) (file "dg_effects32.gif" std 6 6)))
6183(imf "ang-thunderball-blue-green" ((32 32) (file "dg_effects32.gif" std 6 7)))
6184(imf "ang-powerball-burst-red" ((32 32) (file "dg_effects32.gif" std 6 8)))
6185(imf "ang-arrow-red-ddl" ((32 32) (file "dg_effects32.gif" std 6 9)))
6186(imf "ang-arrow-gray-down" ((32 32) (file "dg_effects32.gif" std 6 10)))
6187
6188(imf "ang-lightning-gray-ddr" ((32 32) (file "dg_effects32.gif" std 7 0)))
6189(imf "ang-lightning-green-ddr" ((32 32) (file "dg_effects32.gif" std 7 1)))
6190(imf "ang-lightning-bronze-ddr" ((32 32) (file "dg_effects32.gif" std 7 2)))
6191(imf "ang-lightning-orange-ddr" ((32 32) (file "dg_effects32.gif" std 7 3)))
6192(imf "ang-fireball-single-orange" ((32 32) (file "dg_effects32.gif" std 7 4)))
6193(imf "ang-fireball-multi-purple" ((32 32) (file "dg_effects32.gif" std 7 5)))
6194(imf "ang-fireball-lblue-purple" ((32 32) (file "dg_effects32.gif" std 7 6)))
6195(imf "ang-thunderball-blue-blue" ((32 32) (file "dg_effects32.gif" std 7 7)))
6196(imf "ang-powerball-burst-green" ((32 32) (file "dg_effects32.gif" std 7 8)))
6197(imf "ang-arrow-red-dul" ((32 32) (file "dg_effects32.gif" std 7 9)))
6198(imf "ang-arrow-gray-left" ((32 32) (file "dg_effects32.gif" std 7 10)))
6199
6200(imf "ang-lightning-black-up" ((32 32) (file "dg_effects32.gif" std 8 0)))
6201(imf "ang-lightning-blue-up" ((32 32) (file "dg_effects32.gif" std 8 1)))
6202(imf "ang-lightning-purple-up" ((32 32) (file "dg_effects32.gif" std 8 2)))
6203(imf "ang-lightning-rainbow-up" ((32 32) (file "dg_effects32.gif" std 8 3)))
6204(imf "ang-fireball-single-silver" ((32 32) (file "dg_effects32.gif" std 8 4)))
6205(imf "ang-fireball-multi-orange" ((32 32) (file "dg_effects32.gif" std 8 5)))
6206(imf "ang-fireball-gray-lblue" ((32 32) (file "dg_effects32.gif" std 8 6)))
6207(imf "ang-thunderball-blue-red" ((32 32) (file "dg_effects32.gif" std 8 7)))
6208(imf "ang-powerball-burst-blue" ((32 32) (file "dg_effects32.gif" std 8 8)))
6209(imf "ang-arrow-green-up" ((32 32) (file "dg_effects32.gif" std 8 9)))
6210(imf "ang-arrow-gray-dur" ((32 32) (file "dg_effects32.gif" std 8 10)))
6211
6212(imf "ang-lightning-black-side" ((32 32) (file "dg_effects32.gif" std 9 0)))
6213(imf "ang-lightning-blue-side" ((32 32) (file "dg_effects32.gif" std 9 1)))
6214(imf "ang-lightning-purple-side" ((32 32) (file "dg_effects32.gif" std 9 2)))
6215(imf "ang-lightning-rainbow-side" ((32 32) (file "dg_effects32.gif" std 9 3)))
6216(imf "ang-fireball-single-gray" ((32 32) (file "dg_effects32.gif" std 9 4)))
6217(imf "ang-fireball-multi-lblue" ((32 32) (file "dg_effects32.gif" std 9 5)))
6218(imf "ang-fireball-gray-bronze" ((32 32) (file "dg_effects32.gif" std 9 6)))
6219(imf "ang-thunderball-blue-only" ((32 32) (file "dg_effects32.gif" std 9 7)))
6220(imf "ang-powerball-burst-yellow" ((32 32) (file "dg_effects32.gif" std 9 8)))
6221(imf "ang-arrow-green-right" ((32 32) (file "dg_effects32.gif" std 9 9)))
6222(imf "ang-arrow-gray-ddr" ((32 32) (file "dg_effects32.gif" std 9 10)))
6223
6224(imf "ang-lightning-black-ddl" ((32 32) (file "dg_effects32.gif" std 10 0)))
6225(imf "ang-lightning-blue-ddl" ((32 32) (file "dg_effects32.gif" std 10 1)))
6226(imf "ang-lightning-purple-ddl" ((32 32) (file "dg_effects32.gif" std 10 2)))
6227(imf "ang-lightning-rainbow-ddl" ((32 32) (file "dg_effects32.gif" std 10 3)))
6228(imf "ang-fireball-single-black" ((32 32) (file "dg_effects32.gif" std 10 4)))
6229(imf "ang-fireball-multi-silver" ((32 32) (file "dg_effects32.gif" std 10 5)))
6230(imf "ang-fireball-silver-lblue" ((32 32) (file "dg_effects32.gif" std 10 6)))
6231(imf "ang-thunderball-green-only" ((32 32) (file "dg_effects32.gif" std 10 7)))
6232(imf "ang-powerball-burst-purple" ((32 32) (file "dg_effects32.gif" std 10 8)))
6233(imf "ang-arrow-green-down" ((32 32) (file "dg_effects32.gif" std 10 9)))
6234(imf "ang-arrow-gray-ddl" ((32 32) (file "dg_effects32.gif" std 10 10)))
6235
6236(imf "ang-lightning-black-ddr" ((32 32) (file "dg_effects32.gif" std 11 0)))
6237(imf "ang-lightning-blue-ddr" ((32 32) (file "dg_effects32.gif" std 11 1)))
6238(imf "ang-lightning-purple-ddr" ((32 32) (file "dg_effects32.gif" std 11 2)))
6239(imf "ang-lightning-rainbow-ddr" ((32 32) (file "dg_effects32.gif" std 11 3)))
6240(imf "ang-fireball-single-rainbow" ((32 32) (file "dg_effects32.gif" std 11 4)))
6241(imf "ang-fireball-multi-black" ((32 32) (file "dg_effects32.gif" std 11 5)))
6242(imf "ang-fireball-silver-bronze" ((32 32) (file "dg_effects32.gif" std 11 6)))
6243(imf "ang-thunderball-red-only" ((32 32) (file "dg_effects32.gif" std 11 7)))
6244(imf "ang-powerball-burst-lblue" ((32 32) (file "dg_effects32.gif" std 11 8)))
6245(imf "ang-arrow-green-left" ((32 32) (file "dg_effects32.gif" std 11 9)))
6246(imf "ang-arrow-gray-dul" ((32 32) (file "dg_effects32.gif" std 11 10)))
6247
6248(imf "ang-dragon-baby-blue" ((32 32) (file "dg_dragon32.gif" std 0 0)))
6249(imf "ang-dragon-young-blue" ((32 32) (file "dg_dragon32.gif" std 0 1)))
6250(imf "ang-dragon-adult-blue" ((32 32) (file "dg_dragon32.gif" std 0 2)))
6251(imf "ang-dragon-mature-blue" ((32 32) (file "dg_dragon32.gif" std 0 3)))
6252(imf "ang-dragon-wyrm-red" ((32 32) (file "dg_dragon32.gif" std 0 4)))
6253(imf "ang-dragon-ear-black" ((32 32) (file "dg_dragon32.gif" std 0 5)))
6254(imf "ang-dragon-lich-plain" ((32 32) (file "dg_dragon32.gif" std 0 6)))
6255
6256(imf "ang-dragon-baby-gold" ((32 32) (file "dg_dragon32.gif" std 1 0)))
6257(imf "ang-dragon-young-gold" ((32 32) (file "dg_dragon32.gif" std 1 1)))
6258(imf "ang-dragon-adult-gold" ((32 32) (file "dg_dragon32.gif" std 1 2)))
6259(imf "ang-dragon-mature-gold" ((32 32) (file "dg_dragon32.gif" std 1 3)))
6260(imf "ang-dragon-wyrm-blue" ((32 32) (file "dg_dragon32.gif" std 1 4)))
6261(imf "ang-dragon-ear-gray" ((32 32) (file "dg_dragon32.gif" std 1 5)))
6262(imf "ang-dragon-lich-red" ((32 32) (file "dg_dragon32.gif" std 1 6)))
6263
6264(imf "ang-dragon-baby-white" ((32 32) (file "dg_dragon32.gif" std 2 0)))
6265(imf "ang-dragon-young-white" ((32 32) (file "dg_dragon32.gif" std 2 1)))
6266(imf "ang-dragon-adult-white" ((32 32) (file "dg_dragon32.gif" std 2 2)))
6267(imf "ang-dragon-mature-white" ((32 32) (file "dg_dragon32.gif" std 2 3)))
6268(imf "ang-dragon-wyrm-white" ((32 32) (file "dg_dragon32.gif" std 2 4)))
6269(imf "ang-dragon-ear-blue" ((32 32) (file "dg_dragon32.gif" std 2 5)))
6270(imf "ang-dragon-lich-blue" ((32 32) (file "dg_dragon32.gif" std 2 6)))
6271
6272(imf "ang-dragon-baby-green" ((32 32) (file "dg_dragon32.gif" std 3 0)))
6273(imf "ang-dragon-young-green" ((32 32) (file "dg_dragon32.gif" std 3 1)))
6274(imf "ang-dragon-adult-green" ((32 32) (file "dg_dragon32.gif" std 3 2)))
6275(imf "ang-dragon-mature-green" ((32 32) (file "dg_dragon32.gif" std 3 3)))
6276(imf "ang-dragon-wyrm-gray" ((32 32) (file "dg_dragon32.gif" std 3 4)))
6277(imf "ang-dragon-ear-frosted" ((32 32) (file "dg_dragon32.gif" std 3 5)))
6278(imf "ang-dragon-lich-green" ((32 32) (file "dg_dragon32.gif" std 3 6)))
6279
6280(imf "ang-dragon-baby-gray" ((32 32) (file "dg_dragon32.gif" std 4 0)))
6281(imf "ang-dragon-young-gray" ((32 32) (file "dg_dragon32.gif" std 4 1)))
6282(imf "ang-dragon-adult-gray" ((32 32) (file "dg_dragon32.gif" std 4 2)))
6283(imf "ang-dragon-mature-gray" ((32 32) (file "dg_dragon32.gif" std 4 3)))
6284(imf "ang-dragon-wyrm-green" ((32 32) (file "dg_dragon32.gif" std 4 4)))
6285(imf "ang-dragon-ear-white" ((32 32) (file "dg_dragon32.gif" std 4 5)))
6286(imf "ang-dragon-lich-gray" ((32 32) (file "dg_dragon32.gif" std 4 6)))
6287
6288(imf "ang-dragon-baby-red" ((32 32) (file "dg_dragon32.gif" std 5 0)))
6289(imf "ang-dragon-young-red" ((32 32) (file "dg_dragon32.gif" std 5 1)))
6290(imf "ang-dragon-adult-red" ((32 32) (file "dg_dragon32.gif" std 5 2)))
6291(imf "ang-dragon-mature-red" ((32 32) (file "dg_dragon32.gif" std 5 3)))
6292(imf "ang-dragon-wyrm-bronze" ((32 32) (file "dg_dragon32.gif" std 5 4)))
6293(imf "ang-dragon-ear-red" ((32 32) (file "dg_dragon32.gif" std 5 5)))
6294(imf "ang-dragon-lich-red2" ((32 32) (file "dg_dragon32.gif" std 5 6)))
6295
6296(imf "ang-dragon-baby-bronze" ((32 32) (file "dg_dragon32.gif" std 6 0)))
6297(imf "ang-dragon-young-bronze" ((32 32) (file "dg_dragon32.gif" std 6 1)))
6298(imf "ang-dragon-adult-bronze" ((32 32) (file "dg_dragon32.gif" std 6 2)))
6299(imf "ang-dragon-mature-bronze" ((32 32) (file "dg_dragon32.gif" std 6 3)))
6300(imf "ang-dragon-purple-smoke" ((32 32) (file "dg_dragon32.gif" std 6 4)))
6301(imf "ang-dragon-dark-green" ((32 32) (file "dg_dragon32.gif" std 6 5)))
6302(imf "ang-dragon-lich-blue2" ((32 32) (file "dg_dragon32.gif" std 6 6)))
6303
6304(imf "ang-dragon-baby-rainbow" ((32 32) (file "dg_dragon32.gif" std 7 0)))
6305(imf "ang-dragon-young-rainbow" ((32 32) (file "dg_dragon32.gif" std 7 1)))
6306(imf "ang-dragon-adult-rainbow" ((32 32) (file "dg_dragon32.gif" std 7 2)))
6307(imf "ang-dragon-mature-rainbow" ((32 32) (file "dg_dragon32.gif" std 7 3)))
6308(imf "ang-dragon-pink-smoke" ((32 32) (file "dg_dragon32.gif" std 7 4)))
6309(imf "ang-dragon-wyrm-black" ((32 32) (file "dg_dragon32.gif" std 7 5)))
6310(imf "ang-dragon-lich-green2" ((32 32) (file "dg_dragon32.gif" std 7 6)))
6311
6312
6313(imf "ang-wraith-blue-flame" ((32 32) (file "dg_undead32.gif" std 0 0)))
6314(imf "ang-skeleton-blue-half" ((32 32) (file "dg_undead32.gif" std 0 1)))
6315(imf "ang-wight-blue-half" ((32 32) (file "dg_undead32.gif" std 0 2)))
6316(imf "ang-ghost-black-red" ((32 32) (file "dg_undead32.gif" std 0 3)))
6317(imf "ang-skeleton-side-arm" ((32 32) (file "dg_undead32.gif" std 0 4)))
6318(imf "ang-skeleton-left-dagger" ((32 32) (file "dg_undead32.gif" std 0 5)))
6319(imf "ang-skeleton-shield-sword" ((32 32) (file "dg_undead32.gif" std 0 6)))
6320(imf "ang-skeleton-double-glowhand" ((32 32) (file "dg_undead32.gif" std 0 7)))
6321(imf "ang-skeleton-left-scimitar" ((32 32) (file "dg_undead32.gif" std 0 8)))
6322
6323(imf "ang-wraith-red-flame" ((32 32) (file "dg_undead32.gif" std 1 0)))
6324(imf "ang-skeleton-red-half" ((32 32) (file "dg_undead32.gif" std 1 1)))
6325(imf "ang-wight-red-half" ((32 32) (file "dg_undead32.gif" std 1 2)))
6326(imf "ang-ghost-gray-black" ((32 32) (file "dg_undead32.gif" std 1 3)))
6327(imf "ang-skeleton-up-arm" ((32 32) (file "dg_undead32.gif" std 1 4)))
6328(imf "ang-skeleton-right-dagger" ((32 32) (file "dg_undead32.gif" std 1 5)))
6329(imf "ang-skeleton-cape-sword" ((32 32) (file "dg_undead32.gif" std 1 6)))
6330(imf "ang-vampire-black-gold" ((32 32) (file "dg_undead32.gif" std 1 7)))
6331(imf "ang-skeleton-right-flail" ((32 32) (file "dg_undead32.gif" std 1 8)))
6332
6333(imf "ang-wraith-green-flame" ((32 32) (file "dg_undead32.gif" std 2 0)))
6334(imf "ang-skeleton-green-half" ((32 32) (file "dg_undead32.gif" std 2 1)))
6335(imf "ang-wight-green-half" ((32 32) (file "dg_undead32.gif" std 2 2)))
6336(imf "ang-ghost-blue-black" ((32 32) (file "dg_undead32.gif" std 2 3)))
6337(imf "ang-skeleton-jazz-hands" ((32 32) (file "dg_undead32.gif" std 2 4)))
6338(imf "ang-skeleton-left-scimitar2" ((32 32) (file "dg_undead32.gif" std 2 5)))
6339(imf "ang-skeleton-cape-dagger" ((32 32) (file "dg_undead32.gif" std 2 6)))
6340(imf "ang-vampire-blue-gold2" ((32 32) (file "dg_undead32.gif" std 2 7)))
6341(imf "ang-skeleton-glowhand-staff" ((32 32) (file "dg_undead32.gif" std 2 8)))
6342
6343(imf "ang-wraith-purple-flame" ((32 32) (file "dg_undead32.gif" std 3 0)))
6344(imf "ang-skeleton-purple-half" ((32 32) (file "dg_undead32.gif" std 3 1)))
6345(imf "ang-wight-purple-half" ((32 32) (file "dg_undead32.gif" std 3 2)))
6346(imf "ang-ghost-purple-black" ((32 32) (file "dg_undead32.gif" std 3 3)))
6347(imf "ang-skeleton-jazz-fist" ((32 32) (file "dg_undead32.gif" std 3 4)))
6348(imf "ang-skeleton-right-scimitar" ((32 32) (file "dg_undead32.gif" std 3 5)))
6349(imf "ang-skeleton-cape-scimitar" ((32 32) (file "dg_undead32.gif" std 3 6)))
6350(imf "ang-vampire-glowhand-red" ((32 32) (file "dg_undead32.gif" std 3 7)))
6351(imf "ang-skeleton-dual-demon" ((32 32) (file "dg_undead32.gif" std 3 8)))
6352
6353(imf "ang-wraith-orange-flame" ((32 32) (file "dg_undead32.gif" std 4 0)))
6354(imf "ang-skeleton-orange-half" ((32 32) (file "dg_undead32.gif" std 4 1)))
6355(imf "ang-wight-orange-half" ((32 32) (file "dg_undead32.gif" std 4 2)))
6356(imf "ang-wight-brown-green" ((32 32) (file "dg_undead32.gif" std 4 3)))
6357(imf "ang-skeleton-really-happy" ((32 32) (file "dg_undead32.gif" std 4 4)))
6358(imf "ang-skeleton-two-dagger" ((32 32) (file "dg_undead32.gif" std 4 5)))
6359(imf "ang-skeleton-dagger-scimitar" ((32 32) (file "dg_undead32.gif" std 4 6)))
6360(imf "ang-vampire-purple-disco" ((32 32) (file "dg_undead32.gif" std 4 7)))
6361(imf "ang-skeleton-shrug-demon" ((32 32) (file "dg_undead32.gif" std 4 8)))
6362
6363(imf "ang-wraith-gray-flame" ((32 32) (file "dg_undead32.gif" std 5 0)))
6364(imf "ang-skeleton-gray-half" ((32 32) (file "dg_undead32.gif" std 5 1)))
6365(imf "ang-wight-black-half" ((32 32) (file "dg_undead32.gif" std 5 2)))
6366(imf "ang-wight-blue-glow" ((32 32) (file "dg_undead32.gif" std 5 3)))
6367(imf "ang-skeleton-really-depressed" ((32 32) (file "dg_undead32.gif" std 5 4)))
6368(imf "ang-skeleton-two-scimitar" ((32 32) (file "dg_undead32.gif" std 5 5)))
6369(imf "ang-skeleton-glowhand-staff2" ((32 32) (file "dg_undead32.gif" std 5 6)))
6370(imf "ang-skeleton-apehead-dagger" ((32 32) (file "dg_undead32.gif" std 5 7)))
6371(imf "ang-skeleton-wave-pitchfork" ((32 32) (file "dg_undead32.gif" std 5 8)))
6372
6373(imf "ang-wraith-black-flame" ((32 32) (file "dg_undead32.gif" std 6 0)))
6374(imf "ang-skeleton-black-half" ((32 32) (file "dg_undead32.gif" std 6 1)))
6375(imf "ang-ghost-black-gray" ((32 32) (file "dg_undead32.gif" std 6 2)))
6376(imf "ang-wight-red-flame" ((32 32) (file "dg_undead32.gif" std 6 3)))
6377(imf "ang-skeleton-slightly-confused" ((32 32) (file "dg_undead32.gif" std 6 4)))
6378(imf "ang-skeleton-dagger-shield" ((32 32) (file "dg_undead32.gif" std 6 5)))
6379(imf "ang-skeleton-double-glowhand2" ((32 32) (file "dg_undead32.gif" std 6 6)))
6380(imf "ang-skeleton-shield-axe" ((32 32) (file "dg_undead32.gif" std 6 7)))
6381(imf "ang-skeleton-axe-shield" ((32 32) (file "dg_undead32.gif" std 6 8)))
6382
6383
6384(imf "ang-fighter-small-sword" ((32 32) (file "dg_uniques32.gif" std 0 0)))
6385(imf "ang-fishman-purple-bigear" ((32 32) (file "dg_uniques32.gif" std 0 1)))
6386(imf "ang-3eye-glowhand-staff" ((32 32) (file "dg_uniques32.gif" std 0 2)))
6387(imf "ang-saurial-gray-shield" ((32 32) (file "dg_uniques32.gif" std 0 3)))
6388(imf "ang-medusa-green-yellow" ((32 32) (file "dg_uniques32.gif" std 0 4)))
6389(imf "ang-dragon-brown-silver" ((32 32) (file "dg_uniques32.gif" std 0 5)))
6390(imf "ang-vampire-blue-gold" ((32 32) (file "dg_uniques32.gif" std 0 6)))
6391(imf "ang-lich-purple-red" ((32 32) (file "dg_uniques32.gif" std 0 7)))
6392(imf "ang-alien-blue-bighead" ((32 32) (file "dg_uniques32.gif" std 0 8)))
6393
6394(imf "ang-ogre-shield-sword" ((32 32) (file "dg_uniques32.gif" std 1 0)))
6395(imf "ang-dwarf-gold-shield" ((32 32) (file "dg_uniques32.gif" std 1 1)))
6396(imf "ang-3eye-gray-sword" ((32 32) (file "dg_uniques32.gif" std 1 2)))
6397(imf "ang-fishman-skull-shield" ((32 32) (file "dg_uniques32.gif" std 1 3)))
6398(imf "ang-mage-green-glowhand" ((32 32) (file "dg_uniques32.gif" std 1 4)))
6399(imf "ang-dragon-red-frill" ((32 32) (file "dg_uniques32.gif" std 1 5)))
6400(imf "ang-hobbit-ankh-green" ((32 32) (file "dg_uniques32.gif" std 1 6)))
6401(imf "ang-eye-floating-red" ((32 32) (file "dg_uniques32.gif" std 1 7)))
6402(imf "ang-demon-horn-sword" ((32 32) (file "dg_uniques32.gif" std 1 8)))
6403
6404(imf "ang-lord-purple-diseased" ((32 32) (file "dg_uniques32.gif" std 2 0)))
6405(imf "ang-orc-halberd-shield" ((32 32) (file "dg_uniques32.gif" std 2 1)))
6406(imf "ang-fishman-purple-sword" ((32 32) (file "dg_uniques32.gif" std 2 2)))
6407(imf "ang-saurial-black-trident" ((32 32) (file "dg_uniques32.gif" std 2 3)))
6408(imf "ang-king-glowhand-staff" ((32 32) (file "dg_uniques32.gif" std 2 4)))
6409(imf "ang-dragon-blue-silver" ((32 32) (file "dg_uniques32.gif" std 2 5)))
6410(imf "ang-angel-flame-wing" ((32 32) (file "dg_uniques32.gif" std 2 6)))
6411(imf "ang-spider-red-ugly" ((32 32) (file "dg_uniques32.gif" std 2 7)))
6412(imf "ang-skeleton-cape-glowhand" ((32 32) (file "dg_uniques32.gif" std 2 8)))
6413
6414(imf "ang-hobgoblin-sword-cape" ((32 32) (file "dg_uniques32.gif" std 3 0)))
6415(imf "ang-orc-flail-shield" ((32 32) (file "dg_uniques32.gif" std 3 1)))
6416(imf "ang-dwarf-glowhand-staff" ((32 32) (file "dg_uniques32.gif" std 3 2)))
6417(imf "ang-fishman-crystal-staff" ((32 32) (file "dg_uniques32.gif" std 3 3)))
6418(imf "ang-fighter-chromatic-shield" ((32 32) (file "dg_uniques32.gif" std 3 4)))
6419(imf "ang-alien-beige-naked" ((32 32) (file "dg_uniques32.gif" std 3 5)))
6420(imf "ang-angel-black-wing" ((32 32) (file "dg_uniques32.gif" std 3 6)))
6421(imf "ang-lich-glowhand-cape" ((32 32) (file "dg_uniques32.gif" std 3 7)))
6422(imf "ang-hellhound-spiked-tail" ((32 32) (file "dg_uniques32.gif" std 3 8)))
6423
6424(imf "ang-fishman-plate-armor" ((32 32) (file "dg_uniques32.gif" std 4 0)))
6425(imf "ang-orc-red-angry" ((32 32) (file "dg_uniques32.gif" std 4 1)))
6426(imf "ang-ogre-red-staff" ((32 32) (file "dg_uniques32.gif" std 4 2)))
6427(imf "ang-ant-big-red" ((32 32) (file "dg_uniques32.gif" std 4 3)))
6428(imf "ang-mage-red-skin" ((32 32) (file "dg_uniques32.gif" std 4 4)))
6429(imf "ang-minotaur-plate-sword" ((32 32) (file "dg_uniques32.gif" std 4 5)))
6430(imf "ang-dragon-green-gray" ((32 32) (file "dg_uniques32.gif" std 4 6)))
6431(imf "ang-blob-pink-red" ((32 32) (file "dg_uniques32.gif" std 4 7)))
6432(imf "ang-hellhound-two-head" ((32 32) (file "dg_uniques32.gif" std 4 8)))
6433
6434(imf "ang-marmot-angry-staff" ((32 32) (file "dg_uniques32.gif" std 5 0)))
6435(imf "ang-orc-cross-plate" ((32 32) (file "dg_uniques32.gif" std 5 1)))
6436(imf "ang-fighter-gray-skull" ((32 32) (file "dg_uniques32.gif" std 5 2)))
6437(imf "ang-drow-cape-scimitar" ((32 32) (file "dg_uniques32.gif" std 5 3)))
6438(imf "ang-ogre-red-glowhand" ((32 32) (file "dg_uniques32.gif" std 5 4)))
6439(imf "ang-drow-pouch-scimitar" ((32 32) (file "dg_uniques32.gif" std 5 5)))
6440(imf "ang-angel-white-wing" ((32 32) (file "dg_uniques32.gif" std 5 6)))
6441(imf "ang-blob-purple-clear" ((32 32) (file "dg_uniques32.gif" std 5 7)))
6442(imf "ang-alien-red-fist" ((32 32) (file "dg_uniques32.gif" std 5 8)))
6443
6444(imf "ang-orc-red-scimitar" ((32 32) (file "dg_uniques32.gif" std 6 0)))
6445(imf "ang-orc-angry-staff" ((32 32) (file "dg_uniques32.gif" std 6 1)))
6446(imf "ang-demon-orange-flail" ((32 32) (file "dg_uniques32.gif" std 6 2)))
6447(imf "ang-elemental-humanoid-flame" ((32 32) (file "dg_uniques32.gif" std 6 3)))
6448(imf "ang-elemental-humanoid-basalt" ((32 32) (file "dg_uniques32.gif" std 6 4)))
6449(imf "ang-mage-blue-glowhand" ((32 32) (file "dg_uniques32.gif" std 6 5)))
6450(imf "ang-mage-rainbow-glowhand" ((32 32) (file "dg_uniques32.gif" std 6 6)))
6451(imf "ang-king-purple-glowhand" ((32 32) (file "dg_uniques32.gif" std 6 7)))
6452(imf "ang-lord-blue-drow" ((32 32) (file "dg_uniques32.gif" std 6 8)))
6453
6454(imf "ang-king-red-orc" ((32 32) (file "dg_uniques32.gif" std 7 0)))
6455(imf "ang-fighter-gold-gold" ((32 32) (file "dg_uniques32.gif" std 7 1)))
6456(imf "ang-spider-black-ugly" ((32 32) (file "dg_uniques32.gif" std 7 2)))
6457(imf "ang-elemental-humanoid-water" ((32 32) (file "dg_uniques32.gif" std 7 3)))
6458(imf "ang-elemental-humanoid-air" ((32 32) (file "dg_uniques32.gif" std 7 4)))
6459(imf "ang-lord-purple-fishman" ((32 32) (file "dg_uniques32.gif" std 7 5)))
6460(imf "ang-lord-green-staff" ((32 32) (file "dg_uniques32.gif" std 7 6)))
6461(imf "ang-angel-scimitar-cape" ((32 32) (file "dg_uniques32.gif" std 7 7)))
6462(imf "ang-drow-no-armor" ((32 32) (file "dg_uniques32.gif" std 7 8)))
6463
6464(imf "ang-marmot-glowing-purple" ((32 32) (file "dg_uniques32.gif" std 8 0)))
6465(imf "ang-dwarf-orange-glowhand2" ((32 32) (file "dg_uniques32.gif" std 8 1)))
6466(imf "ang-saurial-gray-club" ((32 32) (file "dg_uniques32.gif" std 8 2)))
6467(imf "ang-dragon-three-head" ((32 32) (file "dg_uniques32.gif" std 8 3)))
6468(imf "ang-dragon-white-gold" ((32 32) (file "dg_uniques32.gif" std 8 4)))
6469(imf "ang-phoenix-yellow-gold" ((32 32) (file "dg_uniques32.gif" std 8 5)))
6470(imf "ang-king-half-skeleton" ((32 32) (file "dg_uniques32.gif" std 8 6)))
6471(imf "ang-king-skeleton-staff" ((32 32) (file "dg_uniques32.gif" std 8 7)))
6472(imf "ang-mage-hippie-glowhand" ((32 32) (file "dg_uniques32.gif" std 8 8)))
6473
6474(imf "ang-orc-defiant-sword" ((32 32) (file "dg_uniques32.gif" std 9 0)))
6475(imf "ang-gnome-two-glowhand" ((32 32) (file "dg_uniques32.gif" std 9 1)))
6476(imf "ang-saurial-gray-axe" ((32 32) (file "dg_uniques32.gif" std 9 2)))
6477(imf "ang-thief-black-brown" ((32 32) (file "dg_uniques32.gif" std 9 3)))
6478(imf "ang-gnoll-two-sword" ((32 32) (file "dg_uniques32.gif" std 9 4)))
6479(imf "ang-monster-eye-head" ((32 32) (file "dg_uniques32.gif" std 9 5)))
6480(imf "ang-dragon-purple-blue" ((32 32) (file "dg_uniques32.gif" std 9 6)))
6481(imf "ang-monster-who-knows" ((32 32) (file "dg_uniques32.gif" std 9 7)))
6482(imf "ang-coat-sword-unicorn" ((32 32) (file "dg_uniques32.gif" std 9 8)))
6483
6484
6485(imf "ang-hobbit-purple-diseased" ((32 32) (file "dg_people32.gif" std 0 0)))
6486(imf "ang-jester-orange-bell" ((32 32) (file "dg_people32.gif" std 0 1)))
6487(imf "ang-man-brown-drunk" ((32 32) (file "dg_people32.gif" std 0 2)))
6488
6489(imf "ang-man-cap-pitchfork" ((32 32) (file "dg_people32.gif" std 1 0)))
6490(imf "ang-man-brown-hypnotized" ((32 32) (file "dg_people32.gif" std 1 1)))
6491(imf "ang-man-blonde-beard" ((32 32) (file "dg_people32.gif" std 1 2)))
6492
6493(imf "ang-man-green-hunchback" ((32 32) (file "dg_people32.gif" std 2 0)))
6494(imf "ang-man-green-diseased" ((32 32) (file "dg_people32.gif" std 2 1)))
6495(imf "ang-lord-red-cape" ((32 32) (file "dg_people32.gif" std 2 2)))
6496
6497(imf "ang-man-purple-diseased" ((32 32) (file "dg_people32.gif" std 3 0)))
6498(imf "ang-lord-blue-cape" ((32 32) (file "dg_people32.gif" std 3 1)))
6499(imf "ang-lord-brown-cape" ((32 32) (file "dg_people32.gif" std 3 2)))
6500
6501
6502(imf "ang-archer-blonde-shortbow" ((32 32) (file "dg_humans32.gif" std 0 0)))
6503(imf "ang-drow-ankh-green" ((32 32) (file "dg_humans32.gif" std 0 1)))
6504(imf "ang-orc-cape-sword" ((32 32) (file "dg_humans32.gif" std 0 2)))
6505(imf "ang-drow-cross-shield" ((32 32) (file "dg_humans32.gif" std 0 3)))
6506(imf "ang-ogre-glowhand-staff" ((32 32) (file "dg_humans32.gif" std 0 4)))
6507(imf "ang-mage-double-glowhand" ((32 32) (file "dg_humans32.gif" std 0 5)))
6508
6509(imf "ang-thief-red-cape" ((32 32) (file "dg_humans32.gif" std 1 0)))
6510(imf "ang-dwarf-sword-skirt" ((32 32) (file "dg_humans32.gif" std 1 1)))
6511(imf "ang-mage-white-glowhand" ((32 32) (file "dg_humans32.gif" std 1 2)))
6512(imf "ang-drow-purple-glowhand" ((32 32) (file "dg_humans32.gif" std 1 3)))
6513(imf "ang-drow-stripe-shield" ((32 32) (file "dg_humans32.gif" std 1 4)))
6514(imf "ang-drow-cape-dagger" ((32 32) (file "dg_humans32.gif" std 1 5)))
6515
6516(imf "ang-dwarf-ankh-staff" ((32 32) (file "dg_humans32.gif" std 2 0)))
6517(imf "ang-man-cape-apehead" ((32 32) (file "dg_humans32.gif" std 2 1)))
6518(imf "ang-fighter-sword-dagger" ((32 32) (file "dg_humans32.gif" std 2 2)))
6519(imf "ang-ninja-jumpsuit-dagger" ((32 32) (file "dg_humans32.gif" std 2 3)))
6520(imf "ang-woman-white-glowhand" ((32 32) (file "dg_humans32.gif" std 2 4)))
6521(imf "ang-drow-cape-staff" ((32 32) (file "dg_humans32.gif" std 2 5)))
6522
6523(imf "ang-ogre-staff-glowhand" ((32 32) (file "dg_humans32.gif" std 3 0)))
6524(imf "ang-archer-longbow-green" ((32 32) (file "dg_humans32.gif" std 3 1)))
6525(imf "ang-dwarf-double-glowhand" ((32 32) (file "dg_humans32.gif" std 3 2)))
6526(imf "ang-drow-black-glowhand" ((32 32) (file "dg_humans32.gif" std 3 3)))
6527(imf "ang-fighter-ankh-cape" ((32 32) (file "dg_humans32.gif" std 3 4)))
6528(imf "ang-fighter-gold-helmet" ((32 32) (file "dg_humans32.gif" std 3 5)))
6529
6530(imf "ang-fighter-staff-beard" ((32 32) (file "dg_humans32.gif" std 4 0)))
6531(imf "ang-fighter-dagger-apehead" ((32 32) (file "dg_humans32.gif" std 4 1)))
6532(imf "ang-dwarf-brown-staff" ((32 32) (file "dg_humans32.gif" std 4 2)))
6533(imf "ang-thief-double-dagger" ((32 32) (file "dg_humans32.gif" std 4 3)))
6534(imf "ang-hobbit-staff-glowhand" ((32 32) (file "dg_humans32.gif" std 4 4)))
6535(imf "ang-fighter-gold-cross" ((32 32) (file "dg_humans32.gif" std 4 5)))
6536
6537(imf "ang-fighter-gold-cross2" ((32 32) (file "dg_humans32.gif" std 5 0)))
6538(imf "ang-fighter-gold-sword" ((32 32) (file "dg_humans32.gif" std 5 1)))
6539(imf "ang-ogre-chain-axe" ((32 32) (file "dg_humans32.gif" std 5 2)))
6540(imf "ang-fighter-double-scimitar" ((32 32) (file "dg_humans32.gif" std 5 3)))
6541(imf "ang-priest-ankh-apehead" ((32 32) (file "dg_humans32.gif" std 5 4)))
6542(imf "ang-ogre-gold-cross" ((32 32) (file "dg_humans32.gif" std 5 5)))
6543
6544(imf "ang-dwarf-orange-glowhand" ((32 32) (file "dg_humans32.gif" std 6 0)))
6545(imf "ang-dwarf-scimitar-beard" ((32 32) (file "dg_humans32.gif" std 6 1)))
6546(imf "ang-dwarf-blue-cape" ((32 32) (file "dg_humans32.gif" std 6 2)))
6547(imf "ang-mage-purple-glowhand" ((32 32) (file "dg_humans32.gif" std 6 3)))
6548(imf "ang-drow-black-glowhand2" ((32 32) (file "dg_humans32.gif" std 6 4)))
6549(imf "ang-fighter-sword-dagger2" ((32 32) (file "dg_humans32.gif" std 6 5)))
6550
6551
6552(imf "ang-man-brown-stone" ((32 32) (file "dg_monster632.gif" std 0 0)))
6553(imf "ang-man-blue-gem" ((32 32) (file "dg_monster632.gif" std 0 1)))
6554(imf "ang-man-flaming-arms" ((32 32) (file "dg_monster632.gif" std 0 2)))
6555(imf "ang-mushhead-single-sword" ((32 32) (file "dg_monster632.gif" std 0 3)))
6556(imf "ang-goblin-red-scimitar" ((32 32) (file "dg_monster632.gif" std 0 4)))
6557(imf "ang-hand-purple-skeleton" ((32 32) (file "dg_monster632.gif" std 0 5)))
6558(imf "ang-tornado-gold-flame" ((32 32) (file "dg_monster632.gif" std 0 6)))
6559(imf "ang-tornado-gray-regular" ((32 32) (file "dg_monster632.gif" std 0 7)))
6560(imf "ang-saurial-ankh-staff" ((32 32) (file "dg_monster632.gif" std 0 8)))
6561(imf "ang-saurial-single-scimitar" ((32 32) (file "dg_monster632.gif" std 0 9)))
6562(imf "ang-saurial-cross-cloak" ((32 32) (file "dg_monster632.gif" std 0 10)))
6563(imf "ang-turtle-green-brown" ((32 32) (file "dg_monster632.gif" std 0 11)))
6564(imf "ang-scorpian-pink-giant" ((32 32) (file "dg_monster632.gif" std 0 12)))
6565
6566(imf "ang-man-pink-stone" ((32 32) (file "dg_monster632.gif" std 1 0)))
6567(imf "ang-man-cloak-stone" ((32 32) (file "dg_monster632.gif" std 1 1)))
6568(imf "ang-man-dressed-stone" ((32 32) (file "dg_monster632.gif" std 1 2)))
6569(imf "ang-mushhead-single-scimitar" ((32 32) (file "dg_monster632.gif" std 1 3)))
6570(imf "ang-goblin-green-glowhand" ((32 32) (file "dg_monster632.gif" std 1 4)))
6571(imf "ang-skeleton-eye-purple" ((32 32) (file "dg_monster632.gif" std 1 5)))
6572(imf "ang-tornado-blue-flame" ((32 32) (file "dg_monster632.gif" std 1 6)))
6573(imf "ang-tornado-turq-flame" ((32 32) (file "dg_monster632.gif" std 1 7)))
6574(imf "ang-saurial-scimitar-red" ((32 32) (file "dg_monster632.gif" std 1 8)))
6575(imf "ang-saurial-polearm-shirtless" ((32 32) (file "dg_monster632.gif" std 1 9)))
6576(imf "ang-saurial-axe-shield" ((32 32) (file "dg_monster632.gif" std 1 10)))
6577(imf "ang-turtle-pink-brown" ((32 32) (file "dg_monster632.gif" std 1 11)))
6578(imf "ang-scorpian-yellow-giant" ((32 32) (file "dg_monster632.gif" std 1 12)))
6579
6580(imf "ang-man-gray-stone" ((32 32) (file "dg_monster632.gif" std 2 0)))
6581(imf "ang-man-fang-stone" ((32 32) (file "dg_monster632.gif" std 2 1)))
6582(imf "ang-man-turq-spacesuit" ((32 32) (file "dg_monster632.gif" std 2 2)))
6583(imf "ang-mushhead-flail-shield" ((32 32) (file "dg_monster632.gif" std 2 3)))
6584(imf "ang-goblin-blue-sword" ((32 32) (file "dg_monster632.gif" std 2 4)))
6585(imf "ang-head-purple-skeleton" ((32 32) (file "dg_monster632.gif" std 2 5)))
6586(imf "ang-tornado-lblue-flame" ((32 32) (file "dg_monster632.gif" std 2 6)))
6587(imf "ang-tornado-black-regular" ((32 32) (file "dg_monster632.gif" std 2 7)))
6588(imf "ang-saurial-lblue-frozen" ((32 32) (file "dg_monster632.gif" std 2 8)))
6589(imf "ang-saurial-red-pitchfork" ((32 32) (file "dg_monster632.gif" std 2 9)))
6590(imf "ang-saurial-barbarian-fist" ((32 32) (file "dg_monster632.gif" std 2 10)))
6591(imf "ang-turtle-gray-brown" ((32 32) (file "dg_monster632.gif" std 2 11)))
6592(imf "ang-scorpian-gray-giant" ((32 32) (file "dg_monster632.gif" std 2 12)))
6593
6594(imf "ang-man-purple-stone" ((32 32) (file "dg_monster632.gif" std 3 0)))
6595(imf "ang-dino-red-frilled" ((32 32) (file "dg_monster632.gif" std 3 1)))
6596(imf "ang-man-cobalt-spacesuit" ((32 32) (file "dg_monster632.gif" std 3 2)))
6597(imf "ang-mushhead-staff-cloak" ((32 32) (file "dg_monster632.gif" std 3 3)))
6598(imf "ang-goblin-pink-plate" ((32 32) (file "dg_monster632.gif" std 3 4)))
6599(imf "ang-dino-claw-hand" ((32 32) (file "dg_monster632.gif" std 3 5)))
6600(imf "ang-tornado-blue-lightning" ((32 32) (file "dg_monster632.gif" std 3 6)))
6601(imf "ang-tornado-varicolored-strange" ((32 32) (file "dg_monster632.gif" std 3 7)))
6602(imf "ang-saurial-club-uni" ((32 32) (file "dg_monster632.gif" std 3 8)))
6603(imf "ang-saurial-half-ghost" ((32 32) (file "dg_monster632.gif" std 3 9)))
6604(imf "ang-serpent-blue-sea" ((32 32) (file "dg_monster632.gif" std 3 10)))
6605(imf "ang-turtle-brown-green" ((32 32) (file "dg_monster632.gif" std 3 11)))
6606(imf "ang-scorpian-blue-giant" ((32 32) (file "dg_monster632.gif" std 3 12)))
6607
6608(imf "ang-man-gloweye-stone" ((32 32) (file "dg_monster632.gif" std 4 0)))
6609(imf "ang-man-sleeveless-spacesuit" ((32 32) (file "dg_monster632.gif" std 4 1)))
6610(imf "ang-man-red-spacesuit" ((32 32) (file "dg_monster632.gif" std 4 2)))
6611(imf "ang-mushhead-sword-dagger" ((32 32) (file "dg_monster632.gif" std 4 3)))
6612(imf "ang-goblin-yellow-halberd" ((32 32) (file "dg_monster632.gif" std 4 4)))
6613(imf "ang-dino-gray-tusk" ((32 32) (file "dg_monster632.gif" std 4 5)))
6614(imf "ang-tornado-purple-lightning" ((32 32) (file "dg_monster632.gif" std 4 6)))
6615(imf "ang-saurial-tunic-staff" ((32 32) (file "dg_monster632.gif" std 4 7)))
6616(imf "ang-man-blue-shield" ((32 32) (file "dg_monster632.gif" std 4 8)))
6617(imf "ang-saurial-glowhand-staff" ((32 32) (file "dg_monster632.gif" std 4 9)))
6618(imf "ang-elemental-lblue-water" ((32 32) (file "dg_monster632.gif" std 4 10)))
6619(imf "ang-turtle-blue-brown" ((32 32) (file "dg_monster632.gif" std 4 11)))
6620(imf "ang-scorpian-brown-giant" ((32 32) (file "dg_monster632.gif" std 4 12)))
6621
6622(imf "ang-man-electric-stone" ((32 32) (file "dg_monster632.gif" std 5 0)))
6623(imf "ang-man-melting-spacesuit" ((32 32) (file "dg_monster632.gif" std 5 1)))
6624(imf "ang-man-staff-spacesuit" ((32 32) (file "dg_monster632.gif" std 5 2)))
6625(imf "ang-mushhead-glowhand-staff" ((32 32) (file "dg_monster632.gif" std 5 3)))
6626(imf "ang-goblin-gray-plate" ((32 32) (file "dg_monster632.gif" std 5 4)))
6627(imf "ang-dino-green-tusk" ((32 32) (file "dg_monster632.gif" std 5 5)))
6628(imf "ang-tornado-orange-lightning" ((32 32) (file "dg_monster632.gif" std 5 6)))
6629(imf "ang-saurial-gray-naked" ((32 32) (file "dg_monster632.gif" std 5 7)))
6630(imf "ang-saurial-blue-melting" ((32 32) (file "dg_monster632.gif" std 5 8)))
6631(imf "ang-saurial-crown-staff" ((32 32) (file "dg_monster632.gif" std 5 9)))
6632(imf "ang-eye-red-blue" ((32 32) (file "dg_monster632.gif" std 5 10)))
6633(imf "ang-turtle-gold-brown" ((32 32) (file "dg_monster632.gif" std 5 11)))
6634(imf "ang-scorpian-black-giant" ((32 32) (file "dg_monster632.gif" std 5 12)))
6635
6636
6637(imf "ang-mage-black-caped" ((32 32) (file "dg_abyss.gif" std 0 0)))
6638(imf "ang-thief-black-cloak" ((32 32) (file "dg_abyss.gif" std 0 1)))
6639(imf "ang-fighter-cross-shield" ((32 32) (file "dg_abyss.gif" std 0 2)))
6640(imf "ang-mage-black-cloak" ((32 32) (file "dg_abyss.gif" std 0 3)))
6641
6642(imf "ang-mage-red-cloak" ((32 32) (file "dg_abyss.gif" std 1 0)))
6643(imf "ang-fighter-ape-head" ((32 32) (file "dg_abyss.gif" std 1 1)))
6644(imf "ang-fighter-skull-shield" ((32 32) (file "dg_abyss.gif" std 1 2)))
6645(imf "ang-mage-two-sword" ((32 32) (file "dg_abyss.gif" std 1 3)))
6646
6647(imf "ang-fighter-plain-shield" ((32 32) (file "dg_abyss.gif" std 2 0)))
6648(imf "ang-fighter-skinny-axe" ((32 32) (file "dg_abyss.gif" std 2 1)))
6649(imf "ang-fighter-red-leggings" ((32 32) (file "dg_abyss.gif" std 2 2)))
6650
6651(imf "ang-pirate-red-cap" ((32 32) (file "dg_abyss.gif" std 3 0)))
6652(imf "ang-fighter-animal-fur" ((32 32) (file "dg_abyss.gif" std 3 1)))
6653(imf "ang-fighter-lblue-duel" ((32 32) (file "dg_abyss.gif" std 3 2)))
6654
6655(imf "spec-city-bubble1" ((32 32) (file "korea.gif" std 4 5)))
6656(imf "spec-city-bubble2" ((32 32) (file "korea.gif" std 4 6)))
6657(imf "spec-phantom-blob" ((32 32) (file "korea.gif" std 4 7)))
6658(imf "spec-phantom-nameless" ((32 32) (file "korea.gif" std 4 8)))
6659
6660(imf "spec-phantom-castle" ((32 32) (file "korea.gif" std 5 5)))
6661(imf "spec-golem-wood" ((32 32) (file "korea.gif" std 5 6)))
6662(imf "spec-golem-stone" ((32 32) (file "korea.gif" std 5 7)))
6663(imf "spec-golem-iron" ((32 32) (file "korea.gif" std 5 8)))
6664(imf "spec-golem-brass" ((32 32) (file "korea.gif" std 5 9)))
6665
6666(imf "spec-phantom-ship" ((32 32) (file "korea.gif" std 6 5)))
6667(imf "spec-phantom-pavilion" ((32 32) (file "korea.gif" std 6 6)))
6668(imf "spec-phantom-beast" ((32 32) (file "korea.gif" std 6 7)))
6669(imf "spec-phantom-wisp" ((32 32) (file "korea.gif" std 6 8)))
6670(imf "spec-phantom-warrior" ((32 32) (file "korea.gif" std 6 9)))
6671
6672(imf "spec-mine-gray" ((32 32) (file "korea.gif" std 7 0)))
6673(imf "spec-mine-brown" ((32 32) (file "korea.gif" std 7 1)))
6674(imf "spec-mine-green" ((32 32) (file "korea.gif" std 7 2)))
6675(imf "spec-tree-brown" ((32 32) (file "korea.gif" std 7 3)))
6676(imf "spec-volcano-flow" ((32 32) (file "korea.gif" std 7 4)))
6677(imf "spec-wildlife-bear" ((32 32) (file "korea.gif" std 7 5)))
6678(imf "spec-fish-levi" ((32 32) (file "korea.gif" std 7 6)))
6679(imf "spec-fish-bighead" ((32 32) (file "korea.gif" std 7 7)))
6680(imf "spec-fish-spot" ((32 32) (file "korea.gif" std 7 8)))
6681(imf "spec-tent2" ((32 32) (file "korea.gif" std 7 9)))
6682
6683(imf "tolk-river" ((44 48 border) (file "tolk-rivers.gif")))
6684
6685(imf "tolk-hills" ((1 1) 38250 43095 14025))
6686(imf "tolk-jungle" ((1 1) 53040 54825 27795))
6687(imf "tolk-swamp" ((1 1) 62475 53550 39270))
6688(imf "tolk-dunes" ((1 1) 65025 59925 37740))
6689(imf "tolk-plains" ((1 1) 35700 47940 12495))
6690(imf "tolk-forest" ((1 1) 17595 30345 10455))
6691(imf "tolk-mountains" ((1 1) 43350 31365 24255))
6692(imf "tolk-ice" ((1 1) 57375 62475 63495))
6693
6694(imf "tolk-hills" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 0)))
6695(imf "tolk-jungle" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 1)))
6696(imf "tolk-swamp" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 2)))
6697(imf "tolk-dunes" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 3)))
6698(imf "tolk-plains" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 4)))
6699(imf "tolk-forest" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 5)))
6700(imf "tolk-mountains" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 6)))
6701(imf "tolk-ice" ((12 13 terrain) (x 8 14 0) (file "advt12x13.gif" std 0 7)))
6702
6703(imf "tolk-mountains" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 0)))
6704(imf "tolk-hills" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 1)))
6705(imf "tolk-ocean" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 2)))
6706(imf "tolk-lake" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 3)))
6707(imf "tolk-forest" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 4)))
6708(imf "tolk-plains" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 5)))
6709(imf "tolk-jungle" ((24 26 terrain) (x 8 26 0) (file "tolk-terrain24x26.gif" std 0 6)))
6710(imf "tolk-ice" ((24 26 terrain) (x 8 26 0 terrain) (file "tolk-terrain24x26.gif" std 0 7)))
6711(imf "tolk-dunes" ((24 26 terrain) (x 8 26 0 terrain) (file "tolk-terrain24x26.gif" std 0 8)))
6712(imf "tolk-swamp" ((24 26 terrain) (x 8 26 0 terrain) (file "tolk-terrain24x26.gif" std 0 9)))
6713(imf "tolk-wasteland" ((24 26 terrain) (x 8 26 0 terrain) (file "tolk-terrain24x26.gif" std 0 10)))
6714(imf "tolk-steppe" ((24 26 terrain) (x 8 26 0 terrain) (file "tolk-terrain24x26.gif" std 0 11)))
6715
6716(imf "tolk-mountains" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 0)))
6717(imf "tolk-hills" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 1)))
6718(imf "tolk-ocean" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 2)))
6719(imf "tolk-lake" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 3)))
6720(imf "tolk-forest" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 4)))
6721(imf "tolk-plains" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 5)))
6722(imf "tolk-jungle" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 6)))
6723(imf "tolk-ice" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 7)))
6724(imf "tolk-dunes" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 8)))
6725(imf "tolk-swamp" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 9)))
6726(imf "tolk-wasteland" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 10)))
6727(imf "tolk-steppe" ((44 48 terrain) (x 8 46 0) (file "tolk-terrain.gif" std 0 11)))
6728
6729(imf "tolk-hills" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 2)))
6730(imf "tolk-jungle" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 36)))
6731(imf "tolk-dunes" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 70)))
6732(imf "tolk-ocean" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 104)))
6733(imf "tolk-plains" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 138)))
6734(imf "tolk-forest" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 172)))
6735(imf "tolk-mountains" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 206)))
6736(imf "tolk-lake" ((32 32 tile) (file "tolk-terrain32x32.gif" 2 240)))
6737(imf "tolk-wasteland" ((32 32 tile) (file "tolk-terrain32x32.gif" 36 2)))
6738(imf "tolk-ice" ((32 32 tile) (file "tolk-terrain32x32.gif" 36 36)))
6739(imf "tolk-swamp" ((32 32 tile) (file "tolk-terrain32x32.gif" 36 70)))
6740(imf "tolk-steppe" ((32 32 tile) (file "tolk-terrain32x32.gif" 36 104)))
6741
6742(imf "opal-swordsman-sho" ((88 88) (file "opal-88x88-1.gif" std 0 0)))
6743
6744(imf "opal-swordsman-liz" ((88 88) (file "opal-88x88-1.gif" std 1 0)))
6745
6746(imf "opal-swordsman-ari" ((88 88) (file "opal-88x88-1.gif" std 2 0)))
6747
6748(imf "opal-swordsman-oni" ((88 88) (file "opal-88x88-1.gif" std 3 0)))
6749
6750(imf "spec-keepruin" ((32 32) (file "spec1.gif" std 6 5)))
6751(imf "spec-citadelruin" ((32 32) (file "spec1.gif" std 6 6)))
6752(imf "spec-castle" ((32 32) (file "spec1.gif" std 6 7)))
6753(imf "spec-fort" ((32 32) (file "spec1.gif" std 6 8)))
6754(imf "spec-doorway" ((32 32) (file "spec1.gif" std 6 9)))
6755
6756(imf "spec-tower"  ((32 32) (file "spec1.gif" std 9 0)))
6757(imf "spec-keep"  ((32 32) (file "spec1.gif" std 9 1)))
6758(imf "spec-citadel"  ((32 32) (file "spec1.gif" std 9 2)))
6759(imf "spec-needle"  ((32 32) (file "spec1.gif" std 9 3)))
6760(imf "spec-hamlet"  ((32 32) (file "spec1.gif" std 9 4)))
6761(imf "spec-ogvillage"  ((32 32) (file "spec1.gif" std 9 5)))
6762(imf "spec-lair"  ((32 32) (file "spec1.gif" std 9 6)))
6763(imf "spec-heart"  ((32 32) (file "spec1.gif" std 9 7)))
6764(imf "spec-node"  ((32 32) (file "spec1.gif" std 9 8)))
6765(imf "spec-spell"  ((32 32) (file "spec1.gif" std 9 9)))
6766
6767(imf "spec-blank"  ((8 8) (file "spec8.gif" std 0 0)))
6768(imf "spec-al"  ((8 8) (file "spec8.gif" std 1 0)))
6769(imf "spec-ar"  ((8 8) (file "spec8.gif" std 2 0)))
6770(imf "spec-con"  ((8 8) (file "spec8.gif" std 3 0)))
6771(imf "spec-sho"  ((8 8) (file "spec8.gif" std 4 0)))
6772(imf "spec-oni"  ((8 8) (file "spec8.gif" std 5 0)))
6773(imf "spec-emp"  ((8 8) (file "spec8.gif" std 6 0)))
6774(imf "spec-bed"  ((8 8) (file "spec8.gif" std 7 0)))
6775(imf "spec-cit"  ((8 8) (file "spec8.gif" std 8 0)))
6776(imf "spec-und"  ((8 8) (file "spec8.gif" std 9 0)))
6777(imf "spec-liz"  ((8 8) (file "spec8.gif" std 10 0)))
6778(imf "spec-kra"  ((8 8) (file "spec8.gif" std 11 0)))
6779
6780(imf "ba-archer-dwarf" ((32 32) (file "battles1.gif" std 8 2)))
6781(imf "ba-archer-drow" ((32 32) (file "battles1.gif" std 8 3)))
6782(imf "ba-swamp" ((32 32) (file "battles1.gif" std 8 4)))
6783(imf "ba-castle" ((32 32) (file "battles1.gif" std 8 6)))
6784
6785(imf "ba-orc-mage-a" ((32 32) (file "battles1.gif" std 7 0)))
6786(imf "ba-orc-mage-b" ((32 32) (file "battles1.gif" std 7 1)))
6787(imf "ba-orc-mage-c" ((32 32) (file "battles1.gif" std 7 2)))
6788(imf "ba-orc-archer" ((32 32) (file "battles1.gif" std 7 3)))
6789(imf "ba-cannon" ((32 32) (file "battles1.gif" std 7 4)))
6790
6791(imf "isoph-mountains" ((32 32 tile) (file "isoph32x32.gif" 2 2)))
6792(imf "isoph-hills" ((32 32 tile) (file "isoph32x32.gif" 2 36)))
6793(imf "isoph-forest" ((32 32 tile) (file "isoph32x32.gif" 2 70)))
6794(imf "isoph-light-forest" ((32 32 tile) (file "isoph32x32.gif" 2 104)))
6795
6796(imf "isoph-mountains" ((44 48 terrain) (x 8 46 0) (file "isoph44x48.gif" std 0 0)))
6797(imf "isoph-hills" ((44 48 terrain) (x 8 46 0) (file "isoph44x48.gif" std 0 1)))
6798(imf "isoph-light-forest" ((44 48 terrain) (x 8 46 0) (file "isoph44x48.gif" std 0 2)))
6799(imf "isoph-forest" ((44 48 terrain) (x 8 46 0) (file "isoph44x48.gif" std 0 3)))
6800
6801(imf "kiwiterr-mountains" ((32 32 tile) (file "kiwiterr32x32.gif" 2 2)))
6802(imf "kiwiterr-hills" ((32 32 tile) (file "kiwiterr32x32.gif" 2 36)))
6803(imf "kiwiterr-forest" ((32 32 tile) (file "kiwiterr32x32.gif" 2 70)))
6804(imf "kiwiterr-jungle" ((32 32 tile) (file "kiwiterr32x32.gif" 2 104)))
6805(imf "kiwiterr-grass" ((32 32 tile) (file "kiwiterr32x32.gif" 2 138)))
6806(imf "kiwiterr-swamp" ((32 32 tile) (file "kiwiterr32x32.gif" 2 172)))
6807(imf "kiwiterr-rubble" ((32 32 tile) (file "kiwiterr32x32.gif" 2 206)))
6808
6809(imf "kiwiterr-mountains" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 0)))
6810(imf "kiwiterr-hills" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 1)))
6811(imf "kiwiterr-forest" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 2)))
6812(imf "kiwiterr-jungle" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 3)))
6813(imf "kiwiterr-grass" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 4)))
6814(imf "kiwiterr-swamp" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 5)))
6815(imf "kiwiterr-rubble" ((44 48 terrain) (x 8 46 0) (file "kiwiterr44x48.gif" std 0 6)))
6816
6817(imf "kiwiterr-hills" ((1 1) 140 156 8))
6818(imf "kiwiterr-mountains" ((1 1) 43350 31365 24255))
6819(imf "kiwiterr-forest" ((1 1) 17595 30345 10455))
6820(imf "kiwiterr-jungle" ((1 1) 41 165 16))
6821(imf "kiwiterr-plains" ((1 1) 35700 47940 12495))
6822(imf "kiwiterr-swamp" ((1 1) 13107 39321 0))
6823(imf "kiwiterr-rubble" ((1 1) 156 132 123))
6824