1--       _________ __                 __
2--      /   _____//  |_____________ _/  |______     ____  __ __  ______
3--      \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
4--      /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
5--     /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
6--             \/                  \/          \//_____/            \/
7--  ______________________                           ______________________
8--                        T H E   W A R   B E G I N S
9--         Stratagus - A free fantasy real time strategy game engine
10--
11--      (c) Copyright 2014-2019 by Andrettin
12--
13--      This program is free software; you can redistribute it and/or modify
14--      it under the terms of the GNU General Public License as published by
15--      the Free Software Foundation; either version 2 of the License, or
16--      (at your option) any later version.
17--
18--      This program is distributed in the hope that it will be useful,
19--      but WITHOUT ANY WARRANTY; without even the implied warranty of
20--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21--      GNU General Public License for more details.
22--
23--      You should have received a copy of the GNU General Public License
24--      along with this program; if not, write to the Free Software
25--      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26--
27
28--=============================================================================
29--	Define unit-types.
30--
31--	NOTE: Save can generate this table.
32--
33
34DefineUnitType("unit-germanic-worker", {
35	Name = "Bura", -- Bûra = "Bauer" in Proto-Germanic, according to the "Wortschatz der Germanischen Spracheinheit" by August Fick; another possibility of a name is "Theva", "Thrahila" or "Thregila", all of which mean "Knecht" or "Thrall"
36	Parent = "unit-template-worker",
37	Civilization = "germanic",
38	Description = "Hardworking and robust, buras are the lifeblood of Germanic society, tending the fields and performing most of the manual labor required.",
39	Quote = "\"He began to grow, and to gain in strength,\nOxen he ruled, and plows made ready,\nHouses he built, and barns he fashioned,\nCarts he made, and the plow he managed.\"\n- Rigsthula",
40	Background = "\"Bûra\" is the Proto-Germanic word for \"peasant\" or \"farmer\".",
41	Image = {"file", "germanic/units/worker.png", "size", {72, 72}},
42	Animations = "animations-worker", Icon = "icon-germanic-worker",
43	DefaultEquipment = {
44		{"boots", "unit-boots"}
45	},
46	Corpse = "unit-human-dead-body",
47	DaySightRangeBonus = 1,
48	NightSightRangeBonus = -1,
49	WeaponClasses = {"mace", "axe"},
50	BluntDamage = true,
51	AiDrops = {"unit-hammer", "unit-mining-pick", "unit-boots", "unit-cheese", "unit-carrots"},
52	CanGatherResources = {
53		{
54			"resource-id", "gold", -- this needs to be on top
55			"file-when-loaded", "germanic/units/worker_with_gold.png"
56		},
57		{
58			"resource-id", "silver",
59			"file-when-loaded", "germanic/units/worker_with_gold.png"
60		},
61		{
62			"resource-id", "copper",
63			"file-when-loaded", "germanic/units/worker_with_gold.png"
64		},
65		{
66			"resource-id", "iron",
67			"file-when-loaded", "germanic/units/worker_with_gold.png"
68		},
69		{
70			"resource-id", "mithril",
71			"file-when-loaded", "germanic/units/worker_with_gold.png"
72		},
73		{
74			"resource-id", "lumber",
75			"file-when-loaded", "germanic/units/worker_with_lumber.png"
76		},
77		{
78			"resource-id", "stone",
79			"file-when-loaded", "germanic/units/worker_with_gold.png"
80		},
81		{
82			"resource-id", "limestone",
83			"file-when-loaded", "germanic/units/worker_with_gold.png"
84		},
85		{
86			"resource-id", "coal",
87			"file-when-loaded", "germanic/units/worker_with_gold.png"
88		},
89		{
90			"resource-id", "jewelry",
91			"file-when-loaded", "germanic/units/worker_with_gold.png"
92		},
93		{
94			"resource-id", "furniture",
95			"file-when-loaded", "germanic/units/worker_with_gold.png"
96		},
97		{
98			"resource-id", "leather",
99			"file-when-loaded", "germanic/units/worker_with_gold.png"
100		},
101		{
102			"resource-id", "diamonds",
103			"file-when-loaded", "germanic/units/worker_with_gold.png"
104		},
105		{
106			"resource-id", "emeralds",
107			"file-when-loaded", "germanic/units/worker_with_gold.png"
108		}
109	},
110	Sounds = {
111		"selected", "basic-germanic-voices-selected-group",
112		"acknowledge", "basic-germanic-voices-acknowledge",
113		"attack", "basic-germanic-voices-attack",
114		"ready", "basic-germanic-voices-ready",
115		"help", "basic-germanic-voices-help",
116		"dead", "basic-human-voices-dead",
117		"hit", "mace-attack",
118		"miss", "attack-miss"
119	}
120} )
121
122DefineUnitType("unit-germanic-warrior", {
123	Name = "Erala", -- Erala = "Warrior" in Proto-Germanic, according to the "Wortschatz der Germanischen Spracheinheit" by August Fick
124	Parent = "unit-template-infantry",
125	Civilization = "germanic",
126	Description = "Germanic tribes are known for their fierceness in combat, and these sword-wielding warriors act accordingly.",
127	Quote = "\"His spear he shook, his shield he brandished,\nHis horse he spurred, with his sword he hewed;\nWars he raised, and reddened the field,\nWarriors slew he, and land he won.\"\n- Rigsthula",
128	Background = "\"Erala\" is the Proto-Germanic word for \"warrior\". The warrior's helmet is based on the Nordic Bronze Age Viksø helmets, which were used for ceremonial occasions.",
129	Image = {"file", "germanic/units/warrior.png", "size", {72, 72}},
130	Animations = "animations-melee-unit", Icon = "icon-germanic-warrior",
131	DefaultEquipment = {
132		{"weapon", "unit-short-sword"},
133		{"shield", "unit-wooden-shield"},
134		{"boots", "unit-boots"}
135	},
136	Costs = {"time", 50, "copper", 600},
137	Corpse = "unit-human-dead-body",
138	DaySightRangeBonus = 1,
139	NightSightRangeBonus = -1,
140	WeaponClasses = {"sword", "thrusting-sword"},
141	HackDamage = true,
142	AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-wooden-shield", "unit-bronze-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"},
143	Variations = {
144		{
145			"variation-id", "blond-hair",
146			"upgrade-forbidden", "upgrade-old",
147			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
148			"item-class-not-equipped", "shield",
149			"weight", 8
150		},
151		{
152			"variation-id", "black-hair",
153			"file", "germanic/units/warrior_brown_hair.png",
154			"icon", "icon-germanic-warrior-black-hair",
155			"upgrade-forbidden", "upgrade-old",
156			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
157			"item-class-not-equipped", "shield",
158			"weight", 1
159		},
160		{
161			"variation-id", "brown-hair",
162			"file", "germanic/units/warrior_brown_hair.png",
163			"icon", "icon-germanic-warrior-brown-hair",
164			"upgrade-forbidden", "upgrade-old",
165			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
166			"item-class-not-equipped", "shield",
167			"weight", 8
168		},
169		{
170			"variation-id", "gray-hair",
171			"file", "germanic/units/warrior_gray_hair.png",
172			"icon", "icon-germanic-warrior-gray-hair",
173			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
174			"item-class-not-equipped", "shield",
175			"weight", 2
176		},
177		{
178			"variation-id", "red-hair",
179			"file", "germanic/units/warrior_red_hair.png",
180			"icon", "icon-germanic-warrior-red-hair",
181			"upgrade-forbidden", "upgrade-old",
182			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
183			"item-class-not-equipped", "shield",
184			"weight", 8
185		},
186		{
187			"variation-id", "blond-hair",
188			"file", "germanic/units/warrior_bronze_shield.png",
189			"upgrade-forbidden", "upgrade-old",
190			"upgrade-required", "upgrade-germanic-bronze-shield",
191			"item-class-equipped", "shield",
192			"weight", 8
193		},
194		{
195			"variation-id", "black-hair",
196			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
197			"icon", "icon-germanic-warrior-black-hair",
198			"upgrade-forbidden", "upgrade-old",
199			"upgrade-required", "upgrade-germanic-bronze-shield",
200			"item-class-equipped", "shield",
201			"weight", 1
202		},
203		{
204			"variation-id", "brown-hair",
205			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
206			"icon", "icon-germanic-warrior-brown-hair",
207			"upgrade-forbidden", "upgrade-old",
208			"upgrade-required", "upgrade-germanic-bronze-shield",
209			"item-class-equipped", "shield",
210			"weight", 8
211		},
212		{
213			"variation-id", "gray-hair",
214			"file", "germanic/units/warrior_gray_hair_bronze_shield.png",
215			"icon", "icon-germanic-warrior-gray-hair",
216			"upgrade-required", "upgrade-germanic-bronze-shield",
217			"item-class-equipped", "shield",
218			"weight", 2
219		},
220		{
221			"variation-id", "red-hair",
222			"file", "germanic/units/warrior_red_hair_bronze_shield.png",
223			"icon", "icon-germanic-warrior-red-hair",
224			"upgrade-forbidden", "upgrade-old",
225			"upgrade-required", "upgrade-germanic-bronze-shield",
226			"item-class-equipped", "shield",
227			"weight", 8
228		}
229	},
230	Sounds = {
231		"selected", "basic-germanic-voices-selected-group",
232		"acknowledge", "basic-germanic-voices-acknowledge",
233		"attack", "basic-germanic-voices-attack",
234		"ready", "basic-germanic-voices-ready",
235		"help", "basic-germanic-voices-help",
236		"dead", "basic-human-voices-dead",
237		"hit", "sword-attack",
238		"miss", "attack-miss"
239	}
240} )
241
242DefineUnitType("unit-germanic-veteran-warrior", {
243	Name = "Kuni",
244	Parent = "unit-template-veteran-infantry",
245	Civilization = "germanic",
246	Description = "Having honed their swordsmanship to a greater degree, high-ranking Germanic warriors are a force to be reckoned with.",
247	Background = "\"Kuni\" is the Proto-Germanic word for \"noble\".",
248	Image = {"file", "germanic/units/warrior.png", "size", {72, 72}},
249	Animations = "animations-melee-unit", Icon = "icon-germanic-veteran-warrior",
250	DefaultEquipment = {
251		{"weapon", "unit-short-sword"},
252		{"shield", "unit-wooden-shield"},
253		{"boots", "unit-boots"}
254	},
255	Corpse = "unit-human-dead-body",
256	DaySightRangeBonus = 1,
257	NightSightRangeBonus = -1,
258	WeaponClasses = {"sword", "thrusting-sword"},
259	HackDamage = true,
260	AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-wooden-shield", "unit-bronze-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"},
261	Variations = {
262		{
263			"variation-id", "blond-hair",
264			"upgrade-forbidden", "upgrade-old",
265			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
266			"item-class-not-equipped", "shield",
267			"weight", 8
268		},
269		{
270			"variation-id", "black-hair",
271			"file", "germanic/units/warrior_brown_hair.png",
272			"icon", "icon-germanic-veteran-warrior-black-hair",
273			"upgrade-forbidden", "upgrade-old",
274			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
275			"item-class-not-equipped", "shield",
276			"weight", 1
277		},
278		{
279			"variation-id", "brown-hair",
280			"file", "germanic/units/warrior_brown_hair.png",
281			"icon", "icon-germanic-veteran-warrior-brown-hair",
282			"upgrade-forbidden", "upgrade-old",
283			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
284			"item-class-not-equipped", "shield",
285			"weight", 8
286		},
287		{
288			"variation-id", "gray-hair",
289			"file", "germanic/units/warrior_gray_hair.png",
290			"icon", "icon-germanic-veteran-warrior-gray-hair",
291			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
292			"item-class-not-equipped", "shield",
293			"weight", 2
294		},
295		{
296			"variation-id", "red-hair",
297			"file", "germanic/units/warrior_red_hair.png",
298			"icon", "icon-germanic-veteran-warrior-red-hair",
299			"upgrade-forbidden", "upgrade-old",
300			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
301			"item-class-not-equipped", "shield",
302			"weight", 8
303		},
304		{
305			"variation-id", "blond-hair",
306			"file", "germanic/units/warrior_bronze_shield.png",
307			"upgrade-forbidden", "upgrade-old",
308			"upgrade-required", "upgrade-germanic-bronze-shield",
309			"item-class-equipped", "shield",
310			"weight", 8
311		},
312		{
313			"variation-id", "black-hair",
314			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
315			"icon", "icon-germanic-veteran-warrior-black-hair",
316			"upgrade-forbidden", "upgrade-old",
317			"upgrade-required", "upgrade-germanic-bronze-shield",
318			"item-class-equipped", "shield",
319			"weight", 1
320		},
321		{
322			"variation-id", "brown-hair",
323			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
324			"icon", "icon-germanic-veteran-warrior-brown-hair",
325			"upgrade-forbidden", "upgrade-old",
326			"upgrade-required", "upgrade-germanic-bronze-shield",
327			"item-class-equipped", "shield",
328			"weight", 8
329		},
330		{
331			"variation-id", "gray-hair",
332			"file", "germanic/units/warrior_gray_hair_bronze_shield.png",
333			"icon", "icon-germanic-veteran-warrior-gray-hair",
334			"upgrade-required", "upgrade-germanic-bronze-shield",
335			"item-class-equipped", "shield",
336			"weight", 2
337		},
338		{
339			"variation-id", "red-hair",
340			"file", "germanic/units/warrior_red_hair_bronze_shield.png",
341			"icon", "icon-germanic-veteran-warrior-red-hair",
342			"upgrade-forbidden", "upgrade-old",
343			"upgrade-required", "upgrade-germanic-bronze-shield",
344			"item-class-equipped", "shield",
345			"weight", 8
346		}
347	},
348	Sounds = {
349		"selected", "basic-germanic-voices-selected-group",
350		"acknowledge", "basic-germanic-voices-acknowledge",
351		"attack", "basic-germanic-voices-attack",
352		"ready", "basic-germanic-voices-ready",
353		"help", "basic-germanic-voices-help",
354		"dead", "basic-human-voices-dead",
355		"hit", "sword-attack",
356		"miss", "attack-miss"
357	}
358} )
359
360DefineUnitType("unit-germanic-chieftain", {
361	Name = "Druhtana",
362	Parent = "unit-template-heroic-infantry",
363	Civilization = "germanic",
364	Description = "Germanic chieftains combine both martial prowess and leadership skills, bringing forth their formidable hosts into battle.",
365	Background = "\"Druhtana\" is the Proto-Germanic word for \"retinue leader\" and \"prince\".",
366	Image = {"file", "germanic/units/warrior.png", "size", {72, 72}},
367	Animations = "animations-melee-unit", Icon = "icon-germanic-chieftain",
368	DefaultEquipment = {
369		{"weapon", "unit-short-sword"},
370		{"shield", "unit-wooden-shield"},
371		{"boots", "unit-boots"}
372	},
373	Corpse = "unit-human-dead-body",
374	DaySightRangeBonus = 1,
375	NightSightRangeBonus = -1,
376	WeaponClasses = {"sword", "thrusting-sword"},
377	HackDamage = true,
378	CanCastSpell = {"spell-puncture"},
379	AutoCastActive = {"spell-puncture"},
380	AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-wooden-shield", "unit-bronze-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing", "unit-elixir-of-strength"},
381	Variations = {
382		{
383			"variation-id", "blond-hair",
384			"upgrade-forbidden", "upgrade-old",
385			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
386			"item-class-not-equipped", "shield",
387			"weight", 8
388		},
389		{
390			"variation-id", "black-hair",
391			"file", "germanic/units/warrior_brown_hair.png",
392			"icon", "icon-germanic-chieftain-black-hair",
393			"upgrade-forbidden", "upgrade-old",
394			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
395			"item-class-not-equipped", "shield",
396			"weight", 1
397		},
398		{
399			"variation-id", "brown-hair",
400			"file", "germanic/units/warrior_brown_hair.png",
401			"icon", "icon-germanic-chieftain-brown-hair",
402			"upgrade-forbidden", "upgrade-old",
403			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
404			"item-class-not-equipped", "shield",
405			"weight", 8
406		},
407		{
408			"variation-id", "gray-hair",
409			"file", "germanic/units/warrior_gray_hair.png",
410			"icon", "icon-germanic-chieftain-gray-hair",
411			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
412			"item-class-not-equipped", "shield",
413			"weight", 2
414		},
415		{
416			"variation-id", "red-hair",
417			"file", "germanic/units/warrior_red_hair.png",
418			"icon", "icon-germanic-chieftain-red-hair",
419			"upgrade-forbidden", "upgrade-old",
420			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
421			"item-class-not-equipped", "shield",
422			"weight", 8
423		},
424		{
425			"variation-id", "blond-hair",
426			"file", "germanic/units/warrior_bronze_shield.png",
427			"upgrade-forbidden", "upgrade-old",
428			"upgrade-required", "upgrade-germanic-bronze-shield",
429			"item-class-equipped", "shield",
430			"weight", 8
431		},
432		{
433			"variation-id", "black-hair",
434			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
435			"icon", "icon-germanic-chieftain-black-hair",
436			"upgrade-forbidden", "upgrade-old",
437			"upgrade-required", "upgrade-germanic-bronze-shield",
438			"item-class-equipped", "shield",
439			"weight", 1
440		},
441		{
442			"variation-id", "brown-hair",
443			"file", "germanic/units/warrior_brown_hair_bronze_shield.png",
444			"icon", "icon-germanic-chieftain-brown-hair",
445			"upgrade-forbidden", "upgrade-old",
446			"upgrade-required", "upgrade-germanic-bronze-shield",
447			"item-class-equipped", "shield",
448			"weight", 8
449		},
450		{
451			"variation-id", "gray-hair",
452			"file", "germanic/units/warrior_gray_hair_bronze_shield.png",
453			"icon", "icon-germanic-chieftain-gray-hair",
454			"upgrade-required", "upgrade-germanic-bronze-shield",
455			"item-class-equipped", "shield",
456			"weight", 2
457		},
458		{
459			"variation-id", "red-hair",
460			"file", "germanic/units/warrior_red_hair_bronze_shield.png",
461			"icon", "icon-germanic-chieftain-red-hair",
462			"upgrade-forbidden", "upgrade-old",
463			"upgrade-required", "upgrade-germanic-bronze-shield",
464			"item-class-equipped", "shield",
465			"weight", 8
466		}
467	},
468	Sounds = {
469		"selected", "basic-germanic-voices-selected-group",
470		"acknowledge", "basic-germanic-voices-acknowledge",
471		"attack", "basic-germanic-voices-attack",
472		"ready", "basic-germanic-voices-ready",
473		"help", "basic-germanic-voices-help",
474		"dead", "basic-human-voices-dead",
475		"hit", "sword-attack",
476		"miss", "attack-miss"
477	}
478} )
479
480DefineUnitType("unit-germanic-spearman", {
481	Name = "Spearman",
482	Parent = "unit-template-spearman",
483	Civilization = "germanic",
484	Class = "", -- because the unit is not ready for being playable
485--	Description = "Germanic tribes are known for their fierceness in combat, and these sword-wielding warriors act accordingly.",
486	Quote = "\"Soon grew up the sons of Jarl,\nBeasts they tamed, and bucklers rounded,\nShafts they fashioned, and spears they shook.\"\n- Rigsthula",
487--	Background = "\"Erala\" is the Proto-Germanic word for \"warrior\".",
488	Image = {"file", "human/units/body_warrior.png", "size", {72, 72}},
489	Shadow = {"file", "human/units/shadow.png", "size", {72, 72}},
490	LayerImages = {
491		{"layer", "hair", "file", "human/units/brown_hair_warrior.png"},
492		{"layer", "left-arm", "file", "human/units/left_arm.png"},
493		{"layer", "right-arm", "file", "human/units/right_arm_spear.png"},
494		{"layer", "clothing", "file", "germanic/units/coat_warrior.png"},
495		{"layer", "clothing-left-arm", "file", "germanic/units/coat_left_arm.png"},
496		{"layer", "clothing-right-arm", "file", "germanic/units/coat_right_arm_spear.png"},
497		{"layer", "pants", "file", "human/units/pants.png"},
498		{"layer", "boots", "file", "human/units/shoes.png"},
499		{"layer", "weapon", "file", "human/units/spear.png"},
500	},
501	Animations = "animations-melee-unit-new", Icon = "icon-germanic-warrior",
502	DefaultEquipment = {
503		{"weapon", "unit-short-spear"},
504		{"shield", "unit-wooden-shield"},
505		{"boots", "unit-boots"}
506	},
507	Corpse = "unit-human-dead-body",
508	DaySightRangeBonus = 1,
509	NightSightRangeBonus = -1,
510	Mana = {Enable = true, Max = 75, Value = 75, Increase = 1},
511	AiDrops = {"unit-short-spear", "unit-long-spear", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"},
512	Variations = {
513		{
514			"layer", "hair",
515			"variation-id", "brown-hair",
516			"upgrade-forbidden", "upgrade-old"
517		},
518		{
519			"layer", "hair",
520			"variation-id", "black-hair",
521			"layer-file", "hair", "human/units/black_hair_warrior.png",
522			"upgrade-forbidden", "upgrade-old"
523		},
524		{
525			"layer", "hair",
526			"variation-id", "blond-hair",
527			"layer-file", "hair", "human/units/blond_hair_warrior.png",
528			"upgrade-forbidden", "upgrade-old"
529		},
530		{
531			"layer", "hair",
532			"variation-id", "gray-hair",
533			"layer-file", "hair", "human/units/gray_hair_warrior.png",
534		},
535		{
536			"layer", "hair",
537			"variation-id", "red-hair",
538			"layer-file", "hair", "human/units/red_hair_warrior.png",
539			"upgrade-forbidden", "upgrade-old"
540		},
541		{
542			"layer", "left-arm",
543			"variation-id", "left-arm",
544			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
545			"item-not-equipped", "unit-bronze-shield",
546			"item-not-equipped", "unit-iron-shield",
547			"item-not-equipped", "unit-kite-shield",
548			"item-not-equipped", "unit-heater-shield",
549			"item-not-equipped", "unit-thrymgjol-shield",
550			"item-not-equipped", "unit-goblin-rimmed-shield",
551			"item-not-equipped", "unit-goblin-embossed-shield"
552		},
553		{
554			"layer", "left-arm",
555			"variation-id", "shield-left-arm",
556			"file", "human/units/left_arm_shield.png",
557			"upgrade-required", "upgrade-germanic-bronze-shield",
558			"item-equipped", "unit-bronze-shield",
559			"item-equipped", "unit-heater-shield",
560			"item-equipped", "unit-iron-shield",
561			"item-equipped", "unit-kite-shield",
562			"item-equipped", "unit-thrymgjol-shield",
563			"item-equipped", "unit-goblin-rimmed-shield",
564			"item-equipped", "unit-goblin-embossed-shield"
565		},
566		{
567			"layer", "shield",
568			"variation-id", "no-shield",
569			"upgrade-forbidden", "upgrade-germanic-bronze-shield",
570			"item-not-equipped", "unit-bronze-shield",
571			"item-not-equipped", "unit-iron-shield",
572			"item-not-equipped", "unit-kite-shield",
573			"item-not-equipped", "unit-heater-shield",
574			"item-not-equipped", "unit-thrymgjol-shield",
575			"item-not-equipped", "unit-goblin-rimmed-shield",
576			"item-not-equipped", "unit-goblin-embossed-shield"
577		},
578		{
579			"layer", "shield",
580			"variation-id", "bronze-shield",
581			"file", "germanic/units/bronze_shield.png",
582			"upgrade-required", "upgrade-germanic-bronze-shield",
583			"item-equipped", "unit-bronze-shield",
584			"item-equipped", "unit-heater-shield",
585			"item-not-equipped", "unit-iron-shield",
586			"item-not-equipped", "unit-kite-shield",
587			"item-not-equipped", "unit-thrymgjol-shield",
588			"item-not-equipped", "unit-goblin-rimmed-shield",
589			"item-not-equipped", "unit-goblin-embossed-shield"
590		},
591		{
592			"layer", "shield",
593			"variation-id", "iron-shield",
594			"file", "teuton/units/saxon_shield.png",
595			"item-equipped", "unit-iron-shield",
596			"item-equipped", "unit-kite-shield",
597			"item-equipped", "unit-thrymgjol-shield",
598			"item-equipped", "unit-goblin-rimmed-shield",
599			"item-equipped", "unit-goblin-embossed-shield"
600		}
601	},
602	HiddenInEditor = true,
603	Sounds = {
604		"selected", "basic-germanic-voices-selected-group",
605		"acknowledge", "basic-germanic-voices-acknowledge",
606		"attack", "basic-germanic-voices-attack",
607		"ready", "basic-germanic-voices-ready",
608		"help", "basic-germanic-voices-help",
609		"dead", "basic-human-voices-dead"
610	}
611} )
612
613DefineUnitType("unit-germanic-archer", {
614	Name = "Skutan",
615	Parent = "unit-template-archer",
616	Civilization = "germanic",
617	Description = "These warriors specialize in the art of archery, which they employ against their enemies with great lethality.",
618	Quote = "\"There sat the house-lord, wound strings for the bow,\nShafts he fashioned, and bows he shaped.\"\n- Rigsthula",
619	Background = "\"Skutan\" is the Proto-Germanic word for \"archer\".",
620	Image = {"file", "human/units/body_archer.png", "size", {72, 72}},
621	Shadow = {"file", "human/units/shadow_archer.png", "size", {72, 72}},
622	LayerImages = {
623		{"layer", "hair", "file", "human/units/red_hair_archer.png"},
624		{"layer", "left-arm", "file", "human/units/left_arm_archer.png"},
625		{"layer", "right-arm", "file", "human/units/right_arm_archer.png"},
626		{"layer", "clothing", "file", "germanic/units/coat_archer.png"},
627		{"layer", "clothing-left-arm", "file", "germanic/units/coat_left_arm_archer.png"},
628		{"layer", "clothing-right-arm", "file", "germanic/units/coat_right_arm_archer.png"},
629		{"layer", "pants", "file", "human/units/pants_archer.png"},
630		{"layer", "boots", "file", "human/units/shoes_archer.png"},
631		{"layer", "weapon", "file", "human/units/bow_and_bronze_knife.png"},
632		{"layer", "helmet", "file", "germanic/units/wool_hat_archer.png"},
633		{"layer", "backpack", "file", "human/units/quiver.png"}
634	},
635	Animations = "animations-goblin-archer", Icon = "icon-germanic-archer",
636	DefaultEquipment = {
637		{"boots", "unit-boots"},
638		{"arrows", "unit-arrows"}
639	},
640	Corpse = "unit-human-dead-body",
641	DaySightRangeBonus = 1,
642	NightSightRangeBonus = -1,
643	BonusAgainstAir = 50,
644	Mana = {Enable = true, Max = 75, Value = 75, Increase = 1},
645	WeaponClasses = {"bow"},
646	PierceDamage = true,
647	CanCastSpell = {"spell-precise-shot"},
648	AutoCastActive = {"spell-precise-shot"},
649	RequirementsString = "Carpenter's Shop",
650	AiDrops = {"unit-composite-bow", "unit-longbow", "unit-arrows", "unit-barbed-arrows", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"},
651	Variations = {
652		{
653			"variation-id", "red-hair",
654			"upgrade-forbidden", "upgrade-old",
655			"weight", 4
656		},
657		{
658			"variation-id", "gray-hair",
659			"layer-file", "hair", "human/units/gray_hair_archer.png",
660			"icon", "icon-germanic-archer-gray-hair",
661			"weight", 1
662		},
663		{
664			"variation-id", "blond-hair",
665			"layer-file", "hair", "human/units/blond_hair_archer.png",
666			"icon", "icon-germanic-archer-blond-hair",
667			"upgrade-forbidden", "upgrade-old",
668			"weight", 4
669		}
670	},
671	Sounds = {
672		"selected", "basic-germanic-voices-selected-group",
673		"acknowledge", "basic-germanic-voices-acknowledge",
674		"attack", "basic-germanic-voices-attack",
675		"ready", "basic-germanic-voices-ready",
676		"help", "basic-germanic-voices-help",
677		"dead", "basic-human-voices-dead",
678		"hit", "dagger-attack",
679		"miss", "attack-miss"
680	}
681} )
682
683DefineUnitType("unit-germanic-priest", {
684	Name = "Gudjan",
685	Parent = "unit-template-priest",
686	Civilization = "germanic",
687	Description = "Germanic priests perform the rituals of their people, working magic to aid them.",
688	Image = {"file", "germanic/units/priest.png", "size", {72, 72}},
689	Animations = "animations-melee-unit-new",
690	Icon = "icon-germanic-priest",
691	DefaultEquipment = {
692--		{"weapon", "unit-mace"},
693		{"boots", "unit-boots"}
694	},
695	Corpse = "unit-human-dead-body",
696--	WeaponClasses = {"mace"},
697	BluntDamage = true,
698	ButtonKey = "g",
699	ButtonHint = "Train ~!Gudjan",
700	StartingAbilities = {"upgrade-barkskin", "upgrade-far-sight", "upgrade-inspire", "upgrade-precision", "upgrade-regeneration", "upgrade-shocking-grasp", "upgrade-slow-ability", "upgrade-wither"},
701	CanCastSpell = {"spell-barkskin", "spell-far-sight", "spell-inspire", "spell-healing", "spell-precision", "spell-regeneration", "spell-shocking-grasp", "spell-slow", "spell-wither"},
702	AutoCastActive = {"spell-barkskin", "spell-inspire", "spell-healing", "spell-precision", "spell-regeneration", "spell-shocking-grasp", "spell-slow", "spell-wither"},
703	AiDrops = {"unit-boots", "unit-cheese", "unit-potion-of-healing"},
704	Sounds = {
705		"selected", "basic-germanic-voices-selected-group",
706		"acknowledge", "basic-germanic-voices-acknowledge",
707		"ready", "basic-germanic-voices-ready",
708		"help", "basic-germanic-voices-help",
709		"dead", "basic-human-voices-dead",
710		"hit", "fist-attack",
711		"miss", "attack-miss"
712	}
713})
714
715DefineUnitType("unit-germanic-transport-ship", {
716	Parent = "unit-template-transport-ship",
717	Civilization = "germanic",
718	Description = "Seafaring was a major element of Germanic peoples' way of life, as they sailed throughout the Baltic and beyond. The ship was a status symbol, depicted in many of their drawings, and its form was used as inspiration for the \"stone ship\" tombs scattered throughout Scandinavia.",
719	Image = {"file", "germanic/units/transport_ship.png", "size", {72, 72}},
720	LightImage = {"file", "germanic/units/transport_ship_water.png"},
721	Icon = "icon-germanic-transport-ship",
722	RequirementsString = "Carpenter's Shop",
723	Sounds = {
724		"help", "basic-germanic-voices-help"
725	}
726})
727
728DefineUnitType("unit-germanic-town-hall", {
729	Name = "Chieftain's Hall",
730	Parent = "unit-template-town-hall",
731	Civilization = "germanic",
732	Description = "The chieftain's hall serves both as the dwelling of a Germanic tribe's chieftain and as the center of its political life.",
733	Image = {"file", "germanic/buildings/town_hall.png", "size", {128, 128}},
734	Shadow = {"file", "germanic/buildings/town_hall_shadow.png", "size", {128, 128}},
735	Animations = "animations-germanic-town-hall", Icon = "icon-germanic-town-hall",
736	Construction = "construction-germanic-town-hall",
737	AiDrops = {"unit-boots"},
738	Sounds = {
739		"help", "basic-germanic-voices-help-town"
740	}
741} )
742
743DefineUnitType("unit-germanic-farm", {
744	Name = "Farm",
745	Parent = "unit-template-farm",
746	Civilization = "germanic",
747	Description = "Farms are essential for supporting a settlement's population.",
748	Background = "The bronze age predecessors of the Germanic peoples had a variety of plants and animals in their farms. Wheat, millet and peas figured among the crops planted, while the most common animals were sheep and pigs. The animals bred by them were generally smaller than their modern counterparts, but they were sturdier.",
749	Image = {"file", "germanic/buildings/farm.png", "size", {64, 64}},
750	Shadow = {"file", "germanic/buildings/farm_shadow.png", "size", {64, 64}},
751	Icon = "icon-germanic-farm",
752	Sounds = {
753		"selected", "corral-selected",
754		"ready", "corral-ready",
755		"help", "basic-germanic-voices-help-town",
756		"dead", "building-destroyed"
757	}
758} )
759
760DefineUnitType("unit-germanic-barracks", {
761	Name = "War Lodge",
762	Parent = "unit-template-barracks",
763	Civilization = "germanic",
764	Description = "The Germanic war lodge serves as a gathering place for the tribe's warriors.",
765	Image = {"file", "germanic/buildings/barracks.png", "size", {96, 96}},
766	Shadow = {"file", "germanic/buildings/barracks_shadow.png", "size", {96, 96}},
767	Icon = "icon-germanic-barracks",
768	AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-short-spear", "unit-long-spear", "unit-composite-bow", "unit-longbow", "unit-wooden-shield", "unit-bronze-shield", "unit-boots", "unit-arrows", "unit-barbed-arrows"},
769	Variations = {
770		{
771			"variation-id", "barracks",
772			"terrain-forbidden", "snow",
773			"forbidden-season", "winter"
774		},
775		{
776			"variation-id", "barracks-snow-winter",
777			"file", "germanic/buildings/barracks_snow.png",
778			"terrain", "dirt",
779			"terrain", "dry-mud",
780			"terrain", "grass",
781			"terrain", "snow",
782			"season", "winter"
783		},
784		{
785			"variation-id", "barracks-snow",
786			"file", "germanic/buildings/barracks_snow.png",
787			"terrain", "snow"
788		}
789	},
790	Sounds = {
791		"help", "basic-germanic-voices-help-town"
792	}
793} )
794
795DefineUnitType("unit-germanic-carpenters-shop", {
796	Name = "Carpenter's Shop",
797	Parent = "unit-template-lumber-mill",
798	Civilization = "germanic",
799	Description = "Germanic carpenters work hard to provide settlements with all their woodworking needs.",
800	Image = {"file", "germanic/buildings/carpenters_shop.png", "size", {96, 96}},
801	Shadow = {"file", "germanic/buildings/carpenters_shop_shadow.png", "size", {96, 96}},
802	Icon = "icon-germanic-carpenters-shop",
803	ButtonKey = "r",
804	ButtonHint = "Build Carpente~!r's Shop",
805	AiDrops = {"unit-short-spear", "unit-long-spear", "unit-composite-bow", "unit-longbow", "unit-arrows", "unit-barbed-arrows"},
806	Sounds = {
807		"help", "basic-germanic-voices-help-town"
808	}
809} )
810
811DefineUnitType("unit-germanic-smithy", {
812	Name = "Smithy",
813	Parent = "unit-template-smithy",
814	Civilization = "germanic",
815	Description = "It is in these smithies that Germanic craftsmen prepare and seek to continuously improve the arms warriors will wield into battle.",
816	Image = {"file", "germanic/buildings/smithy.png", "size", {96, 96}},
817	Shadow = {"file", "germanic/buildings/smithy_shadow.png", "size", {96, 96}},
818	Icon = "icon-germanic-smithy",
819	AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-wooden-shield", "unit-bronze-shield"},
820	Sounds = {
821		"help", "basic-germanic-voices-help-town"
822	}
823})
824
825DefineUnitType("unit-germanic-temple", {
826	Name = "Temple",
827	Parent = "unit-template-temple",
828	Civilization = "germanic",
829	Description = "In Germanic sacred sites their priests practice various rituals, including the sacrifice of objects, livestock - and sometimes even people. Some of these locations were also used to observe celestial bodies and their movements.",
830	Image = {"file", "germanic/buildings/temple.png", "size", {96, 96}},
831	Shadow = {"file", "germanic/buildings/temple_shadow.png", "size", {96, 96}},
832	Icon = "icon-germanic-temple",
833	Trains = {"unit-germanic-priest"},
834	RequirementsString = "Carpenter's Shop",
835	Sounds = {
836		"help", "basic-germanic-voices-help-town"
837	}
838})
839
840DefineUnitType("unit-germanic-market", {
841	Parent = "unit-template-market",
842	Civilization = "germanic",
843	Description = "Trade has brought many benefits to Germanic societies. Through exchanges with their southern Celtic neighbors, they obtained contact with new materials - such as bronze.",
844	Image = {"file", "germanic/buildings/market.png", "size", {96, 96}},
845	Shadow = {"file", "germanic/buildings/market_shadow.png", "size", {96, 96}},
846	Animations = "animations-building", Icon = "icon-germanic-market",
847	RequirementsString = "Carpenter's Shop",
848	SoldUnits = {"unit-short-sword", "unit-broad-sword", "unit-composite-bow", "unit-longbow", "unit-wooden-shield", "unit-bronze-shield", "unit-boots", "unit-arrows", "unit-barbed-arrows"},
849	Sounds = {
850		"help", "basic-germanic-voices-help-town"
851	}
852} )
853
854DefineUnitType("unit-germanic-dock", {
855	Name = "Dock",
856	Parent = "unit-template-dock",
857	Civilization = "germanic",
858	Description = "Germanic peoples were skilled shipwrights. They often lived close to the shore and built sturdy ships capable sailing the seas.",
859	Image = {"file", "germanic/buildings/dock.png", "size", {96, 96}},
860	Shadow = {"file", "germanic/buildings/dock_shadow.png", "size", {96, 96}},
861	Animations = "animations-building", Icon = "icon-germanic-dock",
862	RequirementsString = "Carpenter's Shop",
863	Sounds = {
864		"help", "basic-germanic-voices-help-town"
865	}
866} )
867