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 2015-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-teuton-worker", { 35 Name = "Bura", 36 Parent = "unit-template-worker", 37 Civilization = "teuton", 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 a 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", 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 Variations = { 111 { 112 "variation-id", "brown-hair", 113 } 114 }, 115 Sounds = { 116-- "selected", "basic-teuton-voices-selected-group", 117-- "acknowledge", "basic-teuton-voices-acknowledge", 118-- "ready", "teuton-bauer-ready", 119-- "help", "basic-teuton-voices-help", 120 "dead", "basic-human-voices-dead", 121 "hit", "mace-attack", 122 "miss", "attack-miss" 123 } 124} ) 125 126DefineUnitType("unit-teuton-swordsman", { 127 Name = "Swordsman", 128 Parent = "unit-template-infantry", 129 Civilization = "teuton", 130 Description = "The dauntless West Germanic swordsmen ravage the battlefield with their longswords, being second to few other warriors in combat.", 131-- Background = "\"Krieger\" is the German word for \"warrior\".", 132 Image = {"file", "human/units/body_warrior.png", "size", {72, 72}}, 133 Shadow = {"file", "human/units/shadow.png", "size", {72, 72}}, 134 LayerImages = { 135 {"layer", "hair", "file", "human/units/brown_hair_warrior.png"}, 136 {"layer", "left-arm", "file", "human/units/left_arm.png"}, 137 {"layer", "right-arm", "file", "human/units/right_arm.png"}, 138 {"layer", "right-hand", "file", "human/units/right_hand.png"}, 139 {"layer", "clothing", "file", "teuton/units/chainmail.png"}, 140 {"layer", "clothing-left-arm", "file", "teuton/units/chainmail_left_arm.png"}, 141 {"layer", "clothing-right-arm", "file", "teuton/units/chainmail_right_arm.png"}, 142 {"layer", "pants", "file", "human/units/pants.png"}, 143 {"layer", "boots", "file", "teuton/units/leather_shoes.png"}, 144 {"layer", "helmet", "file", "teuton/units/iron_helm.png"}, 145 {"layer", "weapon", "file", "teuton/units/long_iron_sword.png"} 146 }, 147 Animations = "animations-melee-unit-new", Icon = "icon-saxon-swordsman", 148 DefaultEquipment = { 149 {"weapon", "unit-short-sword"}, 150 {"shield", "unit-wooden-shield"}, 151 {"boots", "unit-boots"} 152 }, 153 Costs = {"time", 50, "copper", 600}, 154 Corpse = "unit-human-dead-body", 155 DaySightRangeBonus = 1, 156 NightSightRangeBonus = -1, 157 WeaponClasses = {"sword", "thrusting-sword"}, 158 HackDamage = true, 159 ButtonKey = "w", 160 ButtonHint = "Train S~!wordsman", 161 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 162 Variations = { 163 { 164 "variation-id", "brown-hair", 165 "upgrade-forbidden", "upgrade-old", 166 "weight", 4 167 }, 168 { 169 "variation-id", "black-hair", 170 "icon", "icon-saxon-swordsman-black-hair", 171 "layer-file", "hair", "human/units/black_hair_warrior.png", 172 "upgrade-forbidden", "upgrade-old", 173 "weight", 2 174 }, 175 { 176 "variation-id", "blond-hair", 177 "icon", "icon-saxon-swordsman-blond-hair", 178 "layer-file", "hair", "human/units/blond_hair_warrior.png", 179 "upgrade-forbidden", "upgrade-old", 180 "weight", 4 181 }, 182 { 183 "variation-id", "red-hair", 184 "icon", "icon-saxon-swordsman-red-hair", 185 "layer-file", "hair", "human/units/red_hair_warrior.png", 186 "upgrade-forbidden", "upgrade-old", 187 "weight", 4 188 }, 189 { 190 "layer", "left-arm", 191 "variation-id", "left-arm", 192 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 193 "upgrade-forbidden", "upgrade-teuton-iron-shield", 194 "item-not-equipped", "unit-bronze-shield", 195 "item-not-equipped", "unit-heater-shield", 196 "item-not-equipped", "unit-iron-shield", 197 "item-not-equipped", "unit-kite-shield", 198 "item-not-equipped", "unit-thrymgjol-shield", 199 "item-not-equipped", "unit-goblin-rimmed-shield", 200 "item-not-equipped", "unit-goblin-embossed-shield" 201 }, 202 { 203 "layer", "left-arm", 204 "variation-id", "shield-left-arm", 205 "file", "human/units/left_arm_shield.png", 206 "upgrade-required", "upgrade-germanic-bronze-shield", 207 "item-equipped", "unit-bronze-shield", 208 "item-equipped", "unit-heater-shield", 209 "item-equipped", "unit-iron-shield", 210 "item-equipped", "unit-kite-shield", 211 "item-equipped", "unit-thrymgjol-shield", 212 "item-equipped", "unit-goblin-rimmed-shield", 213 "item-equipped", "unit-goblin-embossed-shield" 214 }, 215 { 216 "layer", "weapon", 217 "variation-id", "broad-bronze-sword", 218 "file", "germanic/units/broad_bronze_sword.png", 219 "upgrade-forbidden", "upgrade-teuton-spatha", 220 "item-not-equipped", "unit-spatha", 221 "item-not-equipped", "unit-frankish-spatha", 222 "item-not-equipped", "unit-goblin-short-sword", 223 "item-not-equipped", "unit-goblin-broad-sword", 224 "item-not-equipped", "unit-goblin-long-sword" 225 }, 226 { 227 "layer", "weapon", 228 "variation-id", "long-iron-sword", 229 "file", "teuton/units/long_iron_sword.png", 230 "upgrade-required", "upgrade-teuton-spatha", 231 "item-equipped", "unit-spatha", 232 "item-equipped", "unit-frankish-spatha", 233 "item-equipped", "unit-goblin-short-sword", 234 "item-equipped", "unit-goblin-broad-sword", 235 "item-equipped", "unit-goblin-long-sword" 236 }, 237 { 238 "layer", "shield", 239 "variation-id", "no-shield", 240 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 241 "upgrade-forbidden", "upgrade-teuton-iron-shield", 242 "item-not-equipped", "unit-bronze-shield", 243 "item-not-equipped", "unit-heater-shield", 244 "item-not-equipped", "unit-iron-shield", 245 "item-not-equipped", "unit-kite-shield", 246 "item-not-equipped", "unit-thrymgjol-shield", 247 "item-not-equipped", "unit-goblin-rimmed-shield", 248 "item-not-equipped", "unit-goblin-embossed-shield" 249 }, 250 { 251 "layer", "shield", 252 "variation-id", "bronze-shield", 253 "file", "germanic/units/bronze_shield.png", 254 "upgrade-required", "upgrade-germanic-bronze-shield", 255 "item-equipped", "unit-bronze-shield", 256 "item-equipped", "unit-heater-shield", 257 "upgrade-forbidden", "upgrade-teuton-iron-shield", 258 "item-not-equipped", "unit-iron-shield", 259 "item-not-equipped", "unit-kite-shield", 260 "item-not-equipped", "unit-thrymgjol-shield", 261 "item-not-equipped", "unit-goblin-rimmed-shield", 262 "item-not-equipped", "unit-goblin-embossed-shield" 263 }, 264 { 265 "layer", "shield", 266 "variation-id", "iron-shield", 267 "file", "teuton/units/saxon_shield.png", 268 "upgrade-required", "upgrade-teuton-iron-shield", 269 "item-equipped", "unit-iron-shield", 270 "item-equipped", "unit-kite-shield", 271 "item-equipped", "unit-thrymgjol-shield", 272 "item-equipped", "unit-goblin-rimmed-shield", 273 "item-equipped", "unit-goblin-embossed-shield" 274 } 275 }, 276 Sounds = { 277-- "selected", "basic-teuton-voices-selected-group", 278-- "acknowledge", "basic-teuton-voices-acknowledge", 279-- "ready", "basic-teuton-voices-ready", 280-- "help", "basic-teuton-voices-help", 281 "dead", "basic-human-voices-dead", 282 "hit", "sword-attack", 283 "miss", "attack-miss" 284 } 285} ) 286 287DefineUnitType("unit-teuton-veteran-swordsman", { 288 Name = "Veteran Swordsman", 289 Parent = "unit-template-veteran-infantry", 290 Civilization = "teuton", 291 Description = "These high-ranking swordsmen have honed their combat skills to a greater degree than many of their counterparts.", 292-- Background = "\"Adel\" is the German word for \"noble\".", 293 Image = {"file", "human/units/body_warrior.png", "size", {72, 72}}, 294 Shadow = {"file", "human/units/shadow.png", "size", {72, 72}}, 295 LayerImages = { 296 {"layer", "hair", "file", "human/units/brown_hair_warrior.png"}, 297 {"layer", "left-arm", "file", "human/units/left_arm.png"}, 298 {"layer", "right-arm", "file", "human/units/right_arm.png"}, 299 {"layer", "right-hand", "file", "human/units/right_hand.png"}, 300 {"layer", "clothing", "file", "teuton/units/chainmail.png"}, 301 {"layer", "clothing-left-arm", "file", "teuton/units/chainmail_left_arm.png"}, 302 {"layer", "clothing-right-arm", "file", "teuton/units/chainmail_right_arm.png"}, 303 {"layer", "pants", "file", "human/units/pants.png"}, 304 {"layer", "boots", "file", "teuton/units/leather_shoes.png"}, 305 {"layer", "helmet", "file", "teuton/units/iron_helm.png"}, 306 {"layer", "weapon", "file", "teuton/units/long_iron_sword.png"} 307 }, 308 Animations = "animations-melee-unit-new", Icon = "icon-veteran-saxon-swordsman", 309 DefaultEquipment = { 310 {"weapon", "unit-short-sword"}, 311 {"shield", "unit-wooden-shield"}, 312 {"boots", "unit-boots"} 313 }, 314 Corpse = "unit-human-dead-body", 315 DaySightRangeBonus = 1, 316 NightSightRangeBonus = -1, 317 WeaponClasses = {"sword", "thrusting-sword"}, 318 HackDamage = true, 319 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 320 Variations = { 321 { 322 "variation-id", "brown-hair", 323 "upgrade-forbidden", "upgrade-old", 324 "weight", 4 325 }, 326 { 327 "variation-id", "black-hair", 328 "icon", "icon-veteran-saxon-swordsman-black-hair", 329 "layer-file", "hair", "human/units/black_hair_warrior.png", 330 "upgrade-forbidden", "upgrade-old", 331 "weight", 2 332 }, 333 { 334 "variation-id", "blond-hair", 335 "icon", "icon-veteran-saxon-swordsman-blond-hair", 336 "layer-file", "hair", "human/units/blond_hair_warrior.png", 337 "upgrade-forbidden", "upgrade-old", 338 "weight", 4 339 }, 340 { 341 "variation-id", "red-hair", 342 "icon", "icon-veteran-saxon-swordsman-red-hair", 343 "layer-file", "hair", "human/units/red_hair_warrior.png", 344 "upgrade-forbidden", "upgrade-old", 345 "weight", 4 346 }, 347 { 348 "layer", "left-arm", 349 "variation-id", "left-arm", 350 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 351 "upgrade-forbidden", "upgrade-teuton-iron-shield", 352 "item-not-equipped", "unit-bronze-shield", 353 "item-not-equipped", "unit-heater-shield", 354 "item-not-equipped", "unit-iron-shield", 355 "item-not-equipped", "unit-kite-shield", 356 "item-not-equipped", "unit-thrymgjol-shield", 357 "item-not-equipped", "unit-goblin-rimmed-shield", 358 "item-not-equipped", "unit-goblin-embossed-shield" 359 }, 360 { 361 "layer", "left-arm", 362 "variation-id", "shield-left-arm", 363 "file", "human/units/left_arm_shield.png", 364 "upgrade-required", "upgrade-germanic-bronze-shield", 365 "item-equipped", "unit-bronze-shield", 366 "item-equipped", "unit-heater-shield", 367 "item-equipped", "unit-iron-shield", 368 "item-equipped", "unit-kite-shield", 369 "item-equipped", "unit-thrymgjol-shield", 370 "item-equipped", "unit-goblin-rimmed-shield", 371 "item-equipped", "unit-goblin-embossed-shield" 372 }, 373 { 374 "layer", "weapon", 375 "variation-id", "broad-bronze-sword", 376 "file", "germanic/units/broad_bronze_sword.png", 377 "upgrade-forbidden", "upgrade-teuton-spatha", 378 "item-not-equipped", "unit-spatha", 379 "item-not-equipped", "unit-frankish-spatha", 380 "item-not-equipped", "unit-goblin-short-sword", 381 "item-not-equipped", "unit-goblin-broad-sword", 382 "item-not-equipped", "unit-goblin-long-sword" 383 }, 384 { 385 "layer", "weapon", 386 "variation-id", "long-iron-sword", 387 "file", "teuton/units/long_iron_sword.png", 388 "upgrade-required", "upgrade-teuton-spatha", 389 "item-equipped", "unit-spatha", 390 "item-equipped", "unit-frankish-spatha", 391 "item-equipped", "unit-goblin-short-sword", 392 "item-equipped", "unit-goblin-broad-sword", 393 "item-equipped", "unit-goblin-long-sword" 394 }, 395 { 396 "layer", "shield", 397 "variation-id", "no-shield", 398 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 399 "upgrade-forbidden", "upgrade-teuton-iron-shield", 400 "item-not-equipped", "unit-bronze-shield", 401 "item-not-equipped", "unit-heater-shield", 402 "item-not-equipped", "unit-iron-shield", 403 "item-not-equipped", "unit-kite-shield", 404 "item-not-equipped", "unit-thrymgjol-shield", 405 "item-not-equipped", "unit-goblin-rimmed-shield", 406 "item-not-equipped", "unit-goblin-embossed-shield" 407 }, 408 { 409 "layer", "shield", 410 "variation-id", "bronze-shield", 411 "file", "germanic/units/bronze_shield.png", 412 "upgrade-required", "upgrade-germanic-bronze-shield", 413 "item-equipped", "unit-bronze-shield", 414 "item-equipped", "unit-heater-shield", 415 "upgrade-forbidden", "upgrade-teuton-iron-shield", 416 "item-not-equipped", "unit-iron-shield", 417 "item-not-equipped", "unit-kite-shield", 418 "item-not-equipped", "unit-thrymgjol-shield", 419 "item-not-equipped", "unit-goblin-rimmed-shield", 420 "item-not-equipped", "unit-goblin-embossed-shield" 421 }, 422 { 423 "layer", "shield", 424 "variation-id", "iron-shield", 425 "file", "teuton/units/saxon_shield.png", 426 "upgrade-required", "upgrade-teuton-iron-shield", 427 "item-equipped", "unit-iron-shield", 428 "item-equipped", "unit-kite-shield", 429 "item-equipped", "unit-thrymgjol-shield", 430 "item-equipped", "unit-goblin-rimmed-shield", 431 "item-equipped", "unit-goblin-embossed-shield" 432 } 433 }, 434 Sounds = { 435-- "selected", "basic-teuton-voices-selected-group", 436-- "acknowledge", "basic-teuton-voices-acknowledge", 437-- "ready", "basic-teuton-voices-ready", 438-- "help", "basic-teuton-voices-help", 439 "dead", "basic-human-voices-dead", 440 "hit", "sword-attack", 441 "miss", "attack-miss" 442 } 443} ) 444 445DefineUnitType("unit-teuton-heroic-swordsman", { 446 Name = "Warlord", 447 Parent = "unit-template-heroic-infantry", 448 Civilization = "teuton", 449 Description = "Amongst the most skilled in the land, these swordsmen often serve as retainers for chieftains and kings.", 450-- Background = "\"Truhtîn\", or \"trohtîn\", is a Middle High German word for \"lord\" or \"warlord\".", 451 Image = {"file", "human/units/body_warrior.png", "size", {72, 72}}, 452 Shadow = {"file", "human/units/shadow.png", "size", {72, 72}}, 453 LayerImages = { 454 {"layer", "hair", "file", "human/units/brown_hair_warrior.png"}, 455 {"layer", "left-arm", "file", "human/units/left_arm.png"}, 456 {"layer", "right-arm", "file", "human/units/right_arm.png"}, 457 {"layer", "right-hand", "file", "human/units/right_hand.png"}, 458 {"layer", "clothing", "file", "teuton/units/chainmail.png"}, 459 {"layer", "clothing-left-arm", "file", "teuton/units/chainmail_left_arm.png"}, 460 {"layer", "clothing-right-arm", "file", "teuton/units/chainmail_right_arm.png"}, 461 {"layer", "pants", "file", "human/units/pants.png"}, 462 {"layer", "boots", "file", "teuton/units/leather_shoes.png"}, 463 {"layer", "helmet", "file", "teuton/units/iron_helm.png"}, 464 {"layer", "weapon", "file", "teuton/units/long_iron_sword.png"} 465 }, 466 Animations = "animations-melee-unit-new", Icon = "icon-heroic-saxon-swordsman", 467 DefaultEquipment = { 468 {"weapon", "unit-short-sword"}, 469 {"shield", "unit-wooden-shield"}, 470 {"boots", "unit-boots"} 471 }, 472 Corpse = "unit-human-dead-body", 473 DaySightRangeBonus = 1, 474 NightSightRangeBonus = -1, 475 WeaponClasses = {"sword", "thrusting-sword"}, 476 HackDamage = true, 477 CanCastSpell = {"spell-puncture"}, 478 AutoCastActive = {"spell-puncture"}, 479 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing", "unit-elixir-of-strength"}, 480 Variations = { 481 { 482 "variation-id", "brown-hair", 483 "upgrade-forbidden", "upgrade-old", 484 "weight", 4 485 }, 486 { 487 "variation-id", "black-hair", 488 "icon", "icon-heroic-saxon-swordsman-black-hair", 489 "layer-file", "hair", "human/units/black_hair_warrior.png", 490 "upgrade-forbidden", "upgrade-old", 491 "weight", 2 492 }, 493 { 494 "variation-id", "blond-hair", 495 "icon", "icon-heroic-saxon-swordsman-blond-hair", 496 "layer-file", "hair", "human/units/blond_hair_warrior.png", 497 "upgrade-forbidden", "upgrade-old", 498 "weight", 4 499 }, 500 { 501 "variation-id", "red-hair", 502 "icon", "icon-heroic-saxon-swordsman-red-hair", 503 "layer-file", "hair", "human/units/red_hair_warrior.png", 504 "upgrade-forbidden", "upgrade-old", 505 "weight", 4 506 }, 507 { 508 "layer", "left-arm", 509 "variation-id", "left-arm", 510 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 511 "upgrade-forbidden", "upgrade-teuton-iron-shield", 512 "item-not-equipped", "unit-bronze-shield", 513 "item-not-equipped", "unit-heater-shield", 514 "item-not-equipped", "unit-iron-shield", 515 "item-not-equipped", "unit-kite-shield", 516 "item-not-equipped", "unit-thrymgjol-shield", 517 "item-not-equipped", "unit-goblin-rimmed-shield", 518 "item-not-equipped", "unit-goblin-embossed-shield" 519 }, 520 { 521 "layer", "left-arm", 522 "variation-id", "shield-left-arm", 523 "file", "human/units/left_arm_shield.png", 524 "upgrade-required", "upgrade-germanic-bronze-shield", 525 "item-equipped", "unit-bronze-shield", 526 "item-equipped", "unit-heater-shield", 527 "item-equipped", "unit-iron-shield", 528 "item-equipped", "unit-kite-shield", 529 "item-equipped", "unit-thrymgjol-shield", 530 "item-equipped", "unit-goblin-rimmed-shield", 531 "item-equipped", "unit-goblin-embossed-shield" 532 }, 533 { 534 "layer", "weapon", 535 "variation-id", "broad-bronze-sword", 536 "file", "germanic/units/broad_bronze_sword.png", 537 "upgrade-forbidden", "upgrade-teuton-spatha", 538 "item-not-equipped", "unit-spatha", 539 "item-not-equipped", "unit-frankish-spatha", 540 "item-not-equipped", "unit-goblin-short-sword", 541 "item-not-equipped", "unit-goblin-broad-sword", 542 "item-not-equipped", "unit-goblin-long-sword" 543 }, 544 { 545 "layer", "weapon", 546 "variation-id", "long-iron-sword", 547 "file", "teuton/units/long_iron_sword.png", 548 "upgrade-required", "upgrade-teuton-spatha", 549 "item-equipped", "unit-spatha", 550 "item-equipped", "unit-frankish-spatha", 551 "item-equipped", "unit-goblin-short-sword", 552 "item-equipped", "unit-goblin-broad-sword", 553 "item-equipped", "unit-goblin-long-sword" 554 }, 555 { 556 "layer", "shield", 557 "variation-id", "no-shield", 558 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 559 "upgrade-forbidden", "upgrade-teuton-iron-shield", 560 "item-not-equipped", "unit-bronze-shield", 561 "item-not-equipped", "unit-heater-shield", 562 "item-not-equipped", "unit-iron-shield", 563 "item-not-equipped", "unit-kite-shield", 564 "item-not-equipped", "unit-thrymgjol-shield", 565 "item-not-equipped", "unit-goblin-rimmed-shield", 566 "item-not-equipped", "unit-goblin-embossed-shield" 567 }, 568 { 569 "layer", "shield", 570 "variation-id", "bronze-shield", 571 "file", "germanic/units/bronze_shield.png", 572 "upgrade-required", "upgrade-germanic-bronze-shield", 573 "item-equipped", "unit-bronze-shield", 574 "item-equipped", "unit-heater-shield", 575 "upgrade-forbidden", "upgrade-teuton-iron-shield", 576 "item-not-equipped", "unit-iron-shield", 577 "item-not-equipped", "unit-kite-shield", 578 "item-not-equipped", "unit-thrymgjol-shield", 579 "item-not-equipped", "unit-goblin-rimmed-shield", 580 "item-not-equipped", "unit-goblin-embossed-shield" 581 }, 582 { 583 "layer", "shield", 584 "variation-id", "iron-shield", 585 "file", "teuton/units/saxon_shield.png", 586 "upgrade-required", "upgrade-teuton-iron-shield", 587 "item-equipped", "unit-iron-shield", 588 "item-equipped", "unit-kite-shield", 589 "item-equipped", "unit-thrymgjol-shield", 590 "item-equipped", "unit-goblin-rimmed-shield", 591 "item-equipped", "unit-goblin-embossed-shield" 592 } 593 }, 594 Sounds = { 595-- "selected", "basic-teuton-voices-selected-group", 596-- "acknowledge", "basic-teuton-voices-acknowledge", 597-- "ready", "basic-teuton-voices-ready", 598-- "help", "basic-teuton-voices-help", 599 "dead", "basic-human-voices-dead", 600 "hit", "sword-attack", 601 "miss", "attack-miss" 602 } 603}) 604 605DefineUnitType("unit-teuton-spearman", { 606 Name = "Spearman", 607 Parent = "unit-template-spearman", 608 Civilization = "teuton", 609 Description = "With spears in hand, these warriors stoically defend their homelands.", 610 Image = {"file", "human/units/body_warrior.png", "size", {72, 72}}, 611 Shadow = {"file", "human/units/shadow.png", "size", {72, 72}}, 612 LayerImages = { 613 {"layer", "hair", "file", "suebi/units/suebi_red_hair.png"}, 614 {"layer", "left-arm", "file", "human/units/left_arm.png"}, 615 {"layer", "right-arm", "file", "human/units/right_arm_spear.png"}, 616 {"layer", "clothing", "file", "teuton/units/cherusci_shirt.png"}, 617 {"layer", "clothing-left-arm", "file", "teuton/units/cherusci_shirt_left_arm.png"}, 618 {"layer", "clothing-right-arm", "file", "teuton/units/cherusci_shirt_right_arm_spear.png"}, 619 {"layer", "pants", "file", "human/units/pants.png"}, 620 {"layer", "boots", "file", "human/units/shoes.png"}, 621 {"layer", "weapon", "file", "human/units/spear.png"}, 622 }, 623 Animations = "animations-melee-unit-new", Icon = "icon-teuton-spearman", 624 DefaultEquipment = { 625 {"weapon", "unit-short-spear"}, 626 {"shield", "unit-wooden-shield"}, 627 {"boots", "unit-boots"} 628 }, 629 Corpse = "unit-human-dead-body", 630 DaySightRangeBonus = 1, 631 NightSightRangeBonus = -1, 632 Mana = {Enable = true, Max = 75, Value = 75, Increase = 1}, 633 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 634 ButtonKey = "e", 635 ButtonHint = "Train Sp~!earman", 636 Variations = { 637 { 638 "variation-id", "red-hair" 639 }, 640 { 641 "layer", "left-arm", 642 "variation-id", "left-arm", 643 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 644 "upgrade-forbidden", "upgrade-teuton-iron-shield", 645 "item-not-equipped", "unit-bronze-shield", 646 "item-not-equipped", "unit-heater-shield", 647 "item-not-equipped", "unit-iron-shield", 648 "item-not-equipped", "unit-kite-shield", 649 "item-not-equipped", "unit-thrymgjol-shield", 650 "item-not-equipped", "unit-goblin-rimmed-shield", 651 "item-not-equipped", "unit-goblin-embossed-shield" 652 }, 653 { 654 "layer", "left-arm", 655 "variation-id", "shield-left-arm", 656 "file", "human/units/left_arm_shield.png", 657 "upgrade-required", "upgrade-germanic-bronze-shield", 658 "item-equipped", "unit-bronze-shield", 659 "item-equipped", "unit-heater-shield", 660 "item-equipped", "unit-iron-shield", 661 "item-equipped", "unit-kite-shield", 662 "item-equipped", "unit-thrymgjol-shield", 663 "item-equipped", "unit-goblin-rimmed-shield", 664 "item-equipped", "unit-goblin-embossed-shield" 665 }, 666 { 667 "layer", "shield", 668 "variation-id", "no-shield", 669 "upgrade-forbidden", "upgrade-germanic-bronze-shield", 670 "upgrade-forbidden", "upgrade-teuton-iron-shield", 671 "item-not-equipped", "unit-bronze-shield", 672 "item-not-equipped", "unit-heater-shield", 673 "item-not-equipped", "unit-iron-shield", 674 "item-not-equipped", "unit-kite-shield", 675 "item-not-equipped", "unit-thrymgjol-shield", 676 "item-not-equipped", "unit-goblin-rimmed-shield", 677 "item-not-equipped", "unit-goblin-embossed-shield" 678 }, 679 { 680 "layer", "shield", 681 "variation-id", "bronze-shield", 682 "file", "germanic/units/bronze_shield.png", 683 "upgrade-required", "upgrade-germanic-bronze-shield", 684 "item-equipped", "unit-bronze-shield", 685 "item-equipped", "unit-heater-shield", 686 "upgrade-forbidden", "upgrade-teuton-iron-shield", 687 "item-not-equipped", "unit-iron-shield", 688 "item-not-equipped", "unit-kite-shield", 689 "item-not-equipped", "unit-thrymgjol-shield", 690 "item-not-equipped", "unit-goblin-rimmed-shield", 691 "item-not-equipped", "unit-goblin-embossed-shield" 692 }, 693 { 694 "layer", "shield", 695 "variation-id", "iron-shield", 696 "file", "teuton/units/cherusci_shield_player_color.png", 697 "upgrade-required", "upgrade-teuton-iron-shield", 698 "item-equipped", "unit-iron-shield", 699 "item-equipped", "unit-kite-shield", 700 "item-equipped", "unit-thrymgjol-shield", 701 "item-equipped", "unit-goblin-rimmed-shield", 702 "item-equipped", "unit-goblin-embossed-shield" 703 } 704 }, 705 Sounds = { 706-- "selected", "basic-teuton-voices-selected-group", 707-- "acknowledge", "basic-teuton-voices-acknowledge", 708-- "ready", "basic-teuton-voices-ready", 709-- "help", "basic-teuton-voices-help", 710 "dead", "basic-human-voices-dead" 711 } 712} ) 713 714DefineUnitType("unit-teuton-archer", { 715-- Name = "Scuzzo", 716 Name = "Archer", 717 Parent = "unit-template-archer", 718 Civilization = "teuton", 719 Description = "Teuton archers are a perilous lot. They excel at ambushing enemies in the forests of their homelands.", 720-- Background = "\"Scuzzo\" is an Old High German word for \"archer\".", 721-- Background = "\"Schutze\" is a German word for \"archer\".", 722 Image = {"file", "human/units/body_archer.png", "size", {72, 72}}, 723 Shadow = {"file", "human/units/shadow_archer.png", "size", {72, 72}}, 724 LayerImages = { 725 {"layer", "hair", "file", "human/units/blond_hair_archer.png"}, 726 {"layer", "left-arm", "file", "human/units/left_arm_archer.png"}, 727 {"layer", "right-arm", "file", "human/units/right_arm_archer.png"}, 728 {"layer", "clothing", "file", "germanic/units/coat_archer.png"}, 729 {"layer", "clothing-left-arm", "file", "germanic/units/coat_left_arm_archer.png"}, 730 {"layer", "clothing-right-arm", "file", "germanic/units/coat_right_arm_archer.png"}, 731 {"layer", "pants", "file", "human/units/pants_archer.png"}, 732 {"layer", "boots", "file", "human/units/shoes_archer.png"}, 733 {"layer", "weapon", "file", "human/units/bow_and_bronze_knife.png"}, 734 {"layer", "helmet", "file", "germanic/units/wool_hat_archer.png"}, 735 {"layer", "backpack", "file", "human/units/quiver.png"} 736 }, 737 Animations = "animations-goblin-archer", Icon = "icon-teuton-archer", 738 DefaultEquipment = { 739 {"boots", "unit-boots"}, 740 {"arrows", "unit-arrows"} 741 }, 742 Corpse = "unit-human-dead-body", 743 DaySightRangeBonus = 1, 744 NightSightRangeBonus = -1, 745 BonusAgainstAir = 50, 746 Mana = {Enable = true, Max = 75, Value = 75, Increase = 1}, 747 WeaponClasses = {"bow"}, 748 PierceDamage = true, 749 CanCastSpell = {"spell-precise-shot"}, 750 AutoCastActive = {"spell-precise-shot"}, 751 ButtonKey = "a", 752 ButtonHint = "Train ~!Archer", 753 RequirementsString = "Carpenter's Shop/Lumber Mill", 754 AiDrops = {"unit-composite-bow", "unit-longbow", "unit-arrows", "unit-barbed-arrows", "unit-bodkin-arrows", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 755 Variations = { 756 { 757 "variation-id", "blond-hair" 758 } 759 }, 760 Sounds = { 761-- "selected", "basic-teuton-voices-selected-group", 762-- "acknowledge", "basic-teuton-voices-acknowledge", 763-- "ready", "basic-teuton-voices-ready", 764-- "help", "basic-teuton-voices-help", 765 "dead", "basic-human-voices-dead", 766 "hit", "dagger-attack", 767 "miss", "attack-miss" 768 } 769} ) 770 771DefineUnitType("unit-teuton-gunpowder-infantry", { 772 Name = "Gunpowder Infantry", 773 Parent = "unit-template-gunpowder-infantry", 774 Civilization = "teuton", 775 Description = "With the invention of gunpowder Teuton craftsmen were able to construct formidable weapons of war, bringing fire and desolation.", 776 Image = {"file", "teuton/units/austrian_musketeer.png", "size", {72, 72}}, 777 Animations = "animations-gunpowder-infantry", Icon = "icon-austrian-musketeer", 778 DefaultEquipment = { 779 {"weapon", "unit-hand-cannon"}, 780 {"boots", "unit-boots"} 781 }, 782 Corpse = "unit-human-dead-body", 783 DaySightRangeBonus = 1, 784 NightSightRangeBonus = -1, 785 AiDrops = {"unit-hand-cannon", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 786 Variations = { 787 { 788 "variation-id", "1" 789 }, 790 { 791 "variation-id", "2", 792 "file", "teuton/units/austrian_musketeer_extra_1.png" 793 } 794 }, 795 Sounds = { 796-- "selected", "basic-teuton-voices-selected-group", 797-- "acknowledge", "basic-teuton-voices-acknowledge", 798-- "ready", "basic-teuton-voices-ready", 799-- "help", "basic-teuton-voices-help", 800 "dead", "basic-human-voices-dead" 801 } 802} ) 803 804DefineUnitType("unit-teuton-ritter", { 805-- Name = "Ritter", 806 Name = "Knight", 807 Parent = "unit-template-cavalry", 808 Civilization = "teuton", 809 Description = "The Teutons excel in mounted combat. Their well-armored and trained heavy cavalry strikes fear in the hearts of their enemies whenever they are seen upon the battlefield.", 810-- Background = "\"Ritter\" is the German word for \"knight\".", 811 Image = {"file", "teuton/units/ritter.png", "size", {72, 72}}, 812 LayerImages = { 813 {"layer", "shield", "file", "teuton/units/ritter_shield.png"} 814 }, 815 Animations = "animations-melee-unit", 816 Icon = "icon-teuton-ritter", 817 DefaultEquipment = { 818 {"weapon", "unit-short-sword"}, 819 {"shield", "unit-wooden-shield"}, 820 {"boots", "unit-boots"} 821 }, 822 Armor = 3, BasicDamage = 11, -- +1 armor, +1 damage 823 Points = 85, -- +10 points 824 DaySightRangeBonus = 1, 825 NightSightRangeBonus = -1, 826 WeaponClasses = {"sword"}, 827 HackDamage = true, 828 InvertedEastArms = true, 829 InvertedSoutheastArms = true, 830 ButtonKey = "k", 831 ButtonHint = "Train ~!Knight", 832 RequirementsString = "Smithy and Stables", 833 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 834 Corpse = "unit-human-dead-body", 835 Sounds = { 836-- "selected", "basic-teuton-voices-selected-group", 837-- "acknowledge", "basic-teuton-voices-acknowledge", 838-- "ready", "basic-teuton-voices-ready", 839-- "help", "basic-teuton-voices-help", 840 "dead", "basic-human-voices-dead", 841 "hit", "sword-attack", 842 "miss", "attack-miss" 843 } 844} ) 845 846DefineUnitType("unit-teuton-knight-lord", { 847-- Name = "Landesherr", 848 Name = "Knight Lord", 849 Parent = "unit-template-heroic-cavalry", 850 Civilization = "teuton", 851 Description = "Heavily-armored and possessing years of martial and horse-riding training, Teuton lords sweep the battlefield cutting down their foes.", 852-- Background = "\"Landesherr\" is a German word for \"landed lord\".", 853 Image = {"file", "teuton/units/ritter.png", "size", {72, 72}}, 854 LayerImages = { 855 {"layer", "shield", "file", "teuton/units/ritter_shield.png"} 856 }, 857 Animations = "animations-melee-unit", 858 Icon = "icon-conrad-the-red", 859 DefaultEquipment = { 860 {"weapon", "unit-short-sword"}, 861 {"shield", "unit-wooden-shield"}, 862 {"boots", "unit-boots"} 863 }, 864 Armor = 3, BasicDamage = 13, -- +1 armor, +1 damage 865 Points = 110, -- +10 points 866 DaySightRangeBonus = 1, 867 NightSightRangeBonus = -1, 868 WeaponClasses = {"sword"}, 869 HackDamage = true, 870 InvertedEastArms = true, 871 InvertedSoutheastArms = true, 872 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing", "unit-elixir-of-strength"}, 873 Corpse = "unit-human-dead-body", 874 Sounds = { 875-- "selected", "basic-teuton-voices-selected-group", 876-- "acknowledge", "basic-teuton-voices-acknowledge", 877-- "ready", "basic-teuton-voices-ready", 878-- "help", "basic-teuton-voices-help", 879 "dead", "basic-human-voices-dead", 880 "hit", "sword-attack", 881 "miss", "attack-miss" 882 } 883} ) 884 885DefineUnitType("unit-teuton-priest", { 886 Name = "Cleric", 887 Parent = "unit-template-priest", 888 Civilization = "teuton", 889 Description = "Teuton clerics attend to the spiritual needs of their congregation. They store religious and secular knowledge, including prayers and medicinal techniques.", 890 Image = {"file", "teuton/units/cleric.png", "size", {72, 72}}, 891 Animations = "animations-melee-unit-new", 892 Icon = "icon-frankish-cleric", 893 DefaultEquipment = { 894-- {"weapon", "unit-mace"}, 895 {"boots", "unit-boots"} 896 }, 897 Corpse = "unit-human-dead-body", 898-- WeaponClasses = {"mace"}, 899 BluntDamage = true, 900 StartingAbilities = {"upgrade-barkskin", "upgrade-blessing", "upgrade-far-sight", "upgrade-healing", "upgrade-inspire", "upgrade-precision", "upgrade-regeneration", "upgrade-shocking-grasp", "upgrade-slow-ability", "upgrade-wither"}, 901 CanCastSpell = {"spell-barkskin", "spell-blessing", "spell-far-sight", "spell-healing", "spell-inspire", "spell-precision", "spell-regeneration", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 902 AutoCastActive = {"spell-barkskin", "spell-blessing", "spell-healing", "spell-inspire", "spell-precision", "spell-regeneration", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 903 AiDrops = {"unit-boots", "unit-cheese", "unit-potion-of-healing"}, 904 RequirementsString = "Any Deity or Religion", 905 Variations = { 906 { 907 "variation-id", "cleric", 908 "upgrade-required", "upgrade-deity-christian-god", 909 "upgrade-forbidden", "upgrade-deity-odin", 910 "upgrade-forbidden", "upgrade-deity-thor", 911 "upgrade-forbidden", "upgrade-deity-loki", 912 "upgrade-forbidden", "upgrade-deity-frey" 913 }, 914 { 915 "variation-id", "gudjan", 916 "file", "germanic/units/priest.png", 917 "icon", "icon-germanic-priest", 918 "type-name", "Gudjan", 919 "upgrade-forbidden", "upgrade-deity-christian-god" 920 } 921 }, 922 Sounds = { 923-- "selected", "basic-teuton-voices-selected-group", 924-- "acknowledge", "basic-teuton-voices-acknowledge", 925-- "ready", "basic-teuton-voices-ready", 926-- "help", "basic-teuton-voices-help", 927 "dead", "basic-human-voices-dead", 928 "hit", "fist-attack", 929 "miss", "attack-miss" 930 } 931} ) 932 933DefineUnitType("unit-teuton-catapult", { 934 Name = "Catapult", 935 Parent = "unit-template-catapult", 936 Civilization = "teuton", 937 Description = "These engines of war can be of great use in battering enemy fortifications.", 938 Image = {"file", "teuton/units/catapult.png", "size", {72, 72}}, 939 Animations = "animations-teuton-catapult", Icon = "icon-teuton-catapult", 940 Missile = "missile-catapult-sandstone-rock", 941 FireMissile = "missile-flaming-catapult-rock", 942 BluntDamage = true, 943 ButtonKey = "c", 944 ButtonHint = "Build ~!Catapult", 945 RequirementsString = "Carpenter's Shop/Lumber Mill, Smithy and Engineering", 946 Sounds = { 947-- "acknowledge", "ballista-acknowledge", 948-- "ready", "dwarven-ballista-ready", 949-- "help", "basic-teuton-voices-help", 950 "dead", "explosion" 951 } 952} ) 953 954DefineUnitType("unit-teuton-kogge", { 955 Name = "Cog", 956 Parent = "unit-template-transport-ship", 957 Civilization = "teuton", 958 Description = "A mainstay of the Hanseatic vessels of the North Sea, the Kogge, or Cog, is a sturdy ship capable of carrying a large amount of cargo. It is well-suited for commerce, the transport of troops and naval warfare alike.", 959 Image = {"file", "teuton/units/kogge.png", "size", {72, 72}}, 960 LightImage = {"file", "teuton/units/kogge_water.png"}, 961 Icon = "icon-teuton-kogge", 962 ButtonKey = "c", 963 ButtonHint = "Build ~!Cog", 964 RequirementsString = "Carpenter's Shop/Lumber Mill", 965 Sounds = { 966-- "help", "basic-teuton-voices-help" 967 } 968}) 969 970DefineUnitType("unit-teuton-town-hall", { 971 Name = "Town Hall", 972 Parent = "unit-template-town-hall", 973 Civilization = "teuton", 974 Description = "The rathaus, or town hall, is the political center of Teuton settlements.", 975-- Background = "The appearance of the Rathaus is based on the Tallinn Town Hall, which was originally built by Hanseatic merchants.", 976 Background = "The appearance of the Town Hall is based on the Tallinn Town Hall, which was originally built by Hanseatic merchants.", 977 Image = {"file", "teuton/buildings/town_hall.png", "size", {128, 128}}, 978 Shadow = {"file", "teuton/buildings/town_hall_shadow.png", "size", {128, 128}}, 979 Icon = "icon-teuton-town-hall", 980 AiDrops = {"unit-boots"}, 981 DropSpells = {"spell-anglo-saxon-allegiance", "spell-frank-allegiance", "spell-goth-allegiance", "spell-suebi-allegiance", "spell-teuton-allegiance"}, 982 Variations = { 983 { 984 "variation-id", "town-hall", 985 "file", "germanic/buildings/town_hall.png", 986 "shadow-file", "germanic/buildings/town_hall_shadow.png", 987 "icon", "icon-germanic-town-hall", 988 "animations", "animations-germanic-town-hall", 989 "construction", "construction-germanic-town-hall", 990 "type-name", "Chieftain's Hall", 991 "upgrade-forbidden", "upgrade-masonry" 992 }, 993 { 994 "variation-id", "town-hall", 995 "upgrade-required", "upgrade-masonry" 996 } 997 }, 998 Sounds = { 999-- "help", "basic-teuton-voices-help-town" 1000 } 1001} ) 1002 1003DefineUnitType("unit-teuton-stronghold", { 1004-- Name = "Burg", 1005 Name = "Stronghold", 1006 Parent = "unit-template-stronghold", 1007 Civilization = "teuton", 1008 Description = "These tall and sturdy structures are built on strategic positions, allowing for easier control and protection of their environs.", 1009 Image = {"file", "teuton/buildings/stronghold.png", "size", {128, 128}}, 1010 Shadow = {"file", "teuton/buildings/stronghold_shadow.png", "size", {128, 128}}, 1011 Icon = "icon-teuton-stronghold", 1012 RequirementsString = "Barracks and Masonry", 1013 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-frankish-spatha", "unit-short-spear", "unit-long-spear", "unit-pike", "unit-composite-bow", "unit-longbow", "unit-hand-cannon", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-arrows", "unit-barbed-arrows", "unit-bodkin-arrows", "unit-pilum"}, 1014 DropSpells = {"spell-anglo-saxon-allegiance", "spell-frank-allegiance", "spell-goth-allegiance", "spell-suebi-allegiance", "spell-teuton-allegiance"}, 1015 Sounds = { 1016-- "help", "basic-teuton-voices-help-town" 1017 } 1018} ) 1019 1020DefineUnitType("unit-teuton-farm", { 1021 Name = "Farm", 1022 Parent = "unit-template-farm", 1023 Civilization = "teuton", 1024 Description = "Farms are essential for supporting a settlement's population.", 1025 Image = {"file", "teuton/buildings/farm.png", "size", {64, 64}}, 1026 Shadow = {"file", "teuton/buildings/farm_shadow.png", "size", {64, 64}}, 1027 Icon = "icon-teuton-farm", 1028 Variations = { 1029 { 1030 "variation-id", "farm", 1031 "file", "germanic/buildings/farm.png", 1032 "shadow-file", "germanic/buildings/farm_shadow.png", 1033 "icon", "icon-germanic-farm", 1034 "upgrade-forbidden", "upgrade-masonry" 1035 }, 1036 { 1037 "variation-id", "farm", 1038 "upgrade-required", "upgrade-masonry" 1039 } 1040 }, 1041 Sounds = { 1042 "selected", "corral-selected", 1043 "ready", "corral-ready", 1044-- "help", "basic-teuton-voices-help-town", 1045 "dead", "building-destroyed" 1046 } 1047} ) 1048 1049DefineUnitType("unit-teuton-barracks", { 1050 Parent = "unit-template-barracks", 1051 Civilization = "teuton", 1052 Description = "Though they have always been fierce, as ages passed Teuton armies became more and more disciplined. In these structures their soldiers train for coming battles with their foes.", 1053 Image = {"file", "teuton/buildings/barracks.png", "size", {96, 96}}, 1054 Shadow = {"file", "teuton/buildings/barracks_shadow.png", "size", {96, 96}}, 1055 Icon = "icon-teuton-barracks", 1056 Trains = {"unit-teuton-swordsman", "unit-suebi-swordsman", "unit-frank-swordsman", "unit-teuton-spearman", "unit-frank-spearman", "unit-teuton-archer", "unit-teuton-ritter", "unit-frank-horseman", "unit-teuton-catapult"}, 1057 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-frankish-spatha", "unit-short-spear", "unit-long-spear", "unit-pike", "unit-composite-bow", "unit-longbow", "unit-hand-cannon", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-arrows", "unit-barbed-arrows", "unit-bodkin-arrows"}, 1058 Variations = { 1059 { 1060 "variation-id", "barracks", 1061 "type-name", "War Lodge", 1062 "file", "germanic/buildings/barracks.png", 1063 "shadow-file", "germanic/buildings/barracks_shadow.png", 1064 "icon", "icon-germanic-barracks", 1065 "upgrade-forbidden", "upgrade-masonry", 1066 "terrain-forbidden", "snow", 1067 "forbidden-season", "winter" 1068 }, 1069 { 1070 "variation-id", "barracks-snow-winter", 1071 "type-name", "War Lodge", 1072 "file", "germanic/buildings/barracks_snow.png", 1073 "shadow-file", "germanic/buildings/barracks_shadow.png", 1074 "icon", "icon-germanic-barracks", 1075 "upgrade-forbidden", "upgrade-masonry", 1076 "terrain", "dirt", 1077 "terrain", "dry-mud", 1078 "terrain", "grass", 1079 "terrain", "snow", 1080 "season", "winter" 1081 }, 1082 { 1083 "variation-id", "barracks-snow", 1084 "type-name", "War Lodge", 1085 "file", "germanic/buildings/barracks_snow.png", 1086 "shadow-file", "germanic/buildings/barracks_shadow.png", 1087 "icon", "icon-germanic-barracks", 1088 "upgrade-forbidden", "upgrade-masonry", 1089 "terrain", "snow" 1090 }, 1091 { 1092 "variation-id", "barracks", 1093 "upgrade-required", "upgrade-masonry" 1094 } 1095 }, 1096 Sounds = { 1097-- "help", "basic-teuton-voices-help-town" 1098 } 1099} ) 1100 1101DefineUnitType("unit-teuton-lumber-mill", { 1102 Name = "Lumber Mill", 1103 Parent = "unit-template-lumber-mill", 1104 Civilization = "teuton", 1105 Description = "A lumber mill provides a settlement with more advanced methods for processing timber, and it is also in this structure where woodworkers seek to improve arrows and construction techniques.", 1106 Image = {"file", "english/buildings/lumber_mill.png", "size", {96, 96}}, 1107 Shadow = {"file", "english/buildings/lumber_mill_shadow.png", "size", {96, 96}}, 1108 Icon = "icon-english-lumber-mill", 1109 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-composite-bow", "unit-longbow", "unit-arrows", "unit-barbed-arrows", "unit-bodkin-arrows", "unit-pilum"}, 1110 Variations = { 1111 { 1112 "variation-id", "lumber-mill", 1113 "file", "germanic/buildings/carpenters_shop.png", 1114 "shadow-file", "germanic/buildings/carpenters_shop_shadow.png", 1115 "icon", "icon-germanic-carpenters-shop", 1116 "type-name", "Carpenter's Shop", 1117 "upgrade-forbidden", "upgrade-masonry" 1118 }, 1119 { 1120 "variation-id", "lumber-mill", 1121 "upgrade-required", "upgrade-masonry" 1122 } 1123 }, 1124 Sounds = { 1125-- "help", "basic-teuton-voices-help-town" 1126 } 1127} ) 1128 1129DefineUnitType("unit-teuton-smithy", { 1130 Parent = "unit-template-smithy", 1131 Civilization = "teuton", 1132 Description = "It is in these smithies that Teutonic craftsmen prepare and seek to continuously improve the arms warriors will wield into battle.", 1133 Image = {"file", "teuton/buildings/smithy.png", "size", {96, 96}}, 1134 Shadow = {"file", "teuton/buildings/smithy_shadow.png", "size", {96, 96}}, 1135 Icon = "icon-teuton-smithy", 1136 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-frankish-spatha", "unit-hand-cannon", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield"}, 1137 Variations = { 1138 { 1139 "variation-id", "smithy", 1140 "file", "germanic/buildings/smithy.png", 1141 "shadow-file", "germanic/buildings/smithy_shadow.png", 1142 "icon", "icon-germanic-smithy", 1143 "upgrade-forbidden", "upgrade-masonry" 1144 }, 1145 { 1146 "variation-id", "smithy", 1147 "upgrade-required", "upgrade-masonry" 1148 } 1149 }, 1150 Sounds = { 1151-- "help", "basic-teuton-voices-help-town" 1152 } 1153} ) 1154 1155DefineUnitType("unit-teuton-masons-shop", { 1156 Parent = "unit-template-masons-shop", 1157 Civilization = "teuton", 1158 Description = "Stonemasons work the stone gathered from quarries.", 1159 Image = {"file", "teuton/buildings/masons_shop.png", "size", {96, 96}}, 1160 Shadow = {"file", "teuton/buildings/masons_shop_shadow.png", "size", {96, 96}}, 1161 Icon = "icon-teuton-masons-shop", 1162 Variations = { 1163 { 1164 "variation-id", "masons-shop", 1165 "file", "germanic/buildings/masons_shop.png", 1166 "shadow-file", "germanic/buildings/masons_shop_shadow.png", 1167 "icon", "icon-germanic-masons-shop", 1168 "construction", "construction-land-active", 1169 "upgrade-forbidden", "upgrade-masonry" 1170 }, 1171 { 1172 "variation-id", "masons-shop", 1173 "upgrade-required", "upgrade-masonry" 1174 } 1175 }, 1176 Sounds = { 1177-- "help", "basic-teuton-voices-help-town" 1178 } 1179} ) 1180 1181DefineUnitType("unit-teuton-stables", { 1182 Parent = "unit-template-stables", 1183 Civilization = "teuton", 1184 Description = "The fierce Teutons are renowned for their heavy cavalry. Any military center of import will have stables to provide the well-bred horses such forces require.", 1185 Image = {"file", "teuton/buildings/stables.png", "size", {96, 96}}, 1186 Shadow = {"file", "teuton/buildings/stables_shadow.png", "size", {96, 96}}, 1187 Icon = "icon-teuton-stables", 1188 Drops = {"unit-horse"}, 1189 RequirementsString = "Carpenter's Shop/Lumber Mill", 1190 Variations = { 1191 { 1192 "variation-id", "stables", 1193 "file", "germanic/buildings/stables.png", 1194 "shadow-file", "germanic/buildings/stables_shadow.png", 1195 "icon", "icon-germanic-stables", 1196 "upgrade-forbidden", "upgrade-masonry" 1197 }, 1198 { 1199 "variation-id", "stables", 1200 "upgrade-required", "upgrade-masonry" 1201 } 1202 }, 1203 Sounds = { 1204-- "help", "basic-teuton-voices-help-town" 1205 } 1206} ) 1207 1208DefineUnitType("unit-teuton-temple", { 1209 Name = "Church", 1210 Parent = "unit-template-temple", 1211 Civilization = "teuton", 1212 Description = "In early times, Teutons professed faith in polytheistic deities in their houses of worship, the most important one being Woden. Eventually, Christian missionaries managed to expand their faith to the entirety of the Teutonic lands, overtaking the earlier paganism.", 1213 Image = {"file", "teuton/buildings/church.png", "size", {96, 96}}, 1214 Shadow = {"file", "teuton/buildings/church_shadow.png", "size", {96, 96}}, 1215 Icon = "icon-teuton-church", 1216 RequirementsString = "Carpenter's Shop/Lumber Mill", 1217 Variations = { 1218 { 1219 "variation-id", "church", 1220 "upgrade-required", "upgrade-deity-christian-god", 1221 "upgrade-forbidden", "upgrade-deity-odin", 1222 "upgrade-forbidden", "upgrade-deity-thor", 1223 "upgrade-forbidden", "upgrade-deity-loki", 1224 "upgrade-forbidden", "upgrade-deity-frey" 1225 }, 1226 { 1227 "variation-id", "germanic-temple", 1228 "file", "germanic/buildings/temple.png", 1229 "shadow-file", "germanic/buildings/temple_shadow.png", 1230 "icon", "icon-germanic-temple", 1231 "type-name", "Temple", 1232 "upgrade-forbidden", "upgrade-deity-christian-god" 1233 } 1234 }, 1235 Sounds = { 1236-- "help", "basic-teuton-voices-help-town" 1237 } 1238} ) 1239 1240DefineUnitType("unit-teuton-market", { 1241 Parent = "unit-template-market", 1242 Civilization = "teuton", 1243 Description = "Medieval fairs were widespread throughout Europe, bringing in significant revenues to the cities they were located in.", 1244 Image = {"file", "teuton/buildings/market.png", "size", {96, 96}}, 1245 Shadow = {"file", "teuton/buildings/market_shadow.png", "size", {96, 96}}, 1246 Animations = "animations-building", Icon = "icon-teuton-market", 1247 RequirementsString = "Carpenter's Shop/Lumber Mill", 1248 SoldUnits = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-frankish-spatha", "unit-composite-bow", "unit-longbow", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-arrows", "unit-barbed-arrows", "unit-bodkin-arrows", "unit-pilum"}, 1249 Variations = { 1250 { 1251 "variation-id", "market", 1252 "file", "germanic/buildings/market.png", 1253 "shadow-file", "germanic/buildings/market_shadow.png", 1254 "icon", "icon-germanic-market", 1255 "upgrade-forbidden", "upgrade-masonry" 1256 }, 1257 { 1258 "variation-id", "market", 1259 "upgrade-required", "upgrade-masonry" 1260 } 1261 }, 1262 Sounds = { 1263-- "help", "basic-teuton-voices-help-town" 1264 } 1265} ) 1266 1267DefineUnitType("unit-teuton-university", { 1268 Name = "University", 1269 Parent = "unit-template-university", 1270 Civilization = "teuton", 1271 Description = "As the society of the Holy Roman Empire increased in sophistication, its first universities were founded. Initially providing higher education in theology and law, universities would eventually encompass many other areas of knowledge, such as natural science.", 1272 Image = {"file", "teuton/buildings/university.png", "size", {96, 96}}, 1273 Shadow = {"file", "teuton/buildings/university_shadow.png", "size", {96, 96}}, 1274 Icon = "icon-teuton-university", 1275 RequirementsString = "Writing", 1276 Sounds = { 1277-- "help", "basic-teuton-voices-help-town" 1278 } 1279} ) 1280 1281DefineUnitType("unit-teuton-watch-tower", { 1282 Name = "Watch Tower", 1283 Parent = "unit-template-watch-tower", 1284 Civilization = "teuton", 1285 Description = "These timber-made towers are built in frontier regions, keeping watch of possible attackers.", 1286 Image = {"file", "teuton/buildings/watch_tower.png", "size", {64, 64}}, 1287 Shadow = {"file", "teuton/buildings/watch_tower_shadow.png", "size", {64, 64}}, 1288 Icon = "icon-teuton-watch-tower", 1289 Sounds = { 1290-- "help", "basic-teuton-voices-help-town" 1291 } 1292} ) 1293 1294DefineUnitType("unit-teuton-guard-tower", { 1295 Name = "Guard Tower", 1296 Parent = "unit-template-guard-tower", 1297 Civilization = "teuton", 1298 Description = "Solid stone towers are an essential addition to any fortified position of strategic importance, allowing archers to shoot from a vantage position.", 1299 Image = {"file", "teuton/buildings/guard_tower.png", "size", {64, 64}}, 1300 Shadow = {"file", "teuton/buildings/guard_tower_shadow.png", "size", {64, 64}}, 1301 Icon = "icon-teuton-guard-tower", 1302 RequirementsString = "Carpenter's Shop/Lumber Mill and Masonry", 1303 Sounds = { 1304-- "help", "basic-teuton-voices-help-town" 1305 } 1306} ) 1307 1308DefineUnitType("unit-teuton-catapult-tower", { 1309 Name = "Catapult Tower", 1310 Parent = "unit-template-heavy-tower", 1311 Civilization = "teuton", 1312 Description = "With the discovery of new engineering methods, the construction of a catapult tower became possible. Enhancing the defense of settlements, it throws heavy projectiles that smash nearby enemy groups.", 1313 Image = {"file", "teuton/buildings/catapult_tower.png", "size", {64, 64}}, 1314 Shadow = {"file", "teuton/buildings/catapult_tower_shadow.png", "size", {64, 64}}, 1315 Icon = "icon-teuton-catapult-tower", 1316 Missile = "missile-catapult-sandstone-rock", 1317 FireMissile = "missile-flaming-catapult-rock", 1318 BluntDamage = true, 1319 Sounds = { 1320-- "help", "basic-teuton-voices-help-town", 1321 "fire-missile", "catapult-attack" 1322 } 1323} ) 1324 1325DefineUnitType("unit-teuton-dock", { 1326 Name = "Dock", 1327 Parent = "unit-template-dock", 1328 Civilization = "teuton", 1329 Description = "Shipbuilding is an ancient craft in the Teuton shores. Already in antiquity they constructed sturdy ships, capable of assaulting the vulnerable coasts to the west. During medieval times, their shipbuilding flourished even further, as the Hanseatic League dominated commerce in the Baltic and North Seas.", 1330 Image = {"file", "teuton/buildings/dock.png", "size", {96, 96}}, 1331 Shadow = {"file", "teuton/buildings/dock_shadow.png", "size", {96, 96}}, 1332 Animations = "animations-building", Icon = "icon-teuton-dock", 1333 Trains = {"unit-teuton-kogge"}, 1334 RequirementsString = "Carpenter's Shop/Lumber Mill", 1335 Variations = { 1336 { 1337 "variation-id", "dock", 1338 "file", "germanic/buildings/dock.png", 1339 "shadow-file", "germanic/buildings/dock_shadow.png", 1340 "icon", "icon-germanic-dock", 1341 "upgrade-forbidden", "upgrade-masonry" 1342 }, 1343 { 1344 "variation-id", "dock", 1345 "upgrade-required", "upgrade-masonry" 1346 } 1347 }, 1348 Sounds = { 1349-- "help", "basic-teuton-voices-help-town" 1350 } 1351} ) 1352 1353DefineUnitType("unit-teuton-wall", { 1354 Parent = "unit-template-wall", 1355 Civilization = "teuton", 1356 TerrainType = "teuton-wall", 1357 Image = {"file", "teuton/buildings/wall.png", "size", {32, 32}}, 1358 Icon = "icon-teuton-wall", 1359 Description = "Teuton stonemasons build sturdy walls, fortifying their cities and strongholds from enemy attack." 1360} ) 1361