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 2013-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-dwarven-miner", { 35 Name = "Miner", 36 Parent = "unit-template-worker", 37 Civilization = "dwarf", 38 Description = "Dwarven miners are the grunt workers of dwarven society. They take the precious ores out of the ground, but do not ever take part in the crafting of weapons or artifacts. Although their expertise makes them quite efficient in mining, this comes at the cost of neglecting training in the harvesting of timber.", 39 Background = "In Norse mythology, dwarves were shown to have an affinity for metals, and often they lived in mountainous homes.", 40 Image = {"file", "dwarf/units/miner.png", "size", {72, 72}}, 41 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-miner", 42 DefaultEquipment = { 43 {"boots", "unit-boots"} 44 }, 45 Corpse = "unit-dwarven-dead-body", 46 WeaponClasses = {"mace", "axe"}, 47 BluntDamage = true, 48 ButtonKey = "m", 49 ButtonHint = "Train ~!Miner", 50 AiDrops = {"unit-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 51 CopperGatheringBonus = 1, 52 SilverGatheringBonus = 1, 53 GoldGatheringBonus = 1, 54 IronGatheringBonus = 1, 55 MithrilGatheringBonus = 1, 56 CoalGatheringBonus = 1, 57 LumberGatheringBonus = -1, 58 FurnitureGatheringBonus = -1, 59 GemsGatheringBonus = 1, 60 CanGatherResources = { 61 { 62 "resource-id", "gold", 63 "file-when-loaded", "dwarf/units/miner_with_gold.png" 64 }, 65 { 66 "resource-id", "silver", 67 "file-when-loaded", "dwarf/units/miner_with_gold.png" 68 }, 69 { 70 "resource-id", "copper", 71 "file-when-loaded", "dwarf/units/miner_with_gold.png" 72 }, 73 { 74 "resource-id", "iron", 75 "file-when-loaded", "dwarf/units/miner_with_gold.png" 76 }, 77 { 78 "resource-id", "mithril", 79 "file-when-loaded", "dwarf/units/miner_with_gold.png" 80 }, 81 { 82 "resource-id", "lumber", 83 "file-when-loaded", "dwarf/units/miner_with_lumber.png" 84 }, 85 { 86 "resource-id", "stone", 87 "file-when-loaded", "dwarf/units/miner_with_gold.png" 88 }, 89 { 90 "resource-id", "limestone", 91 "file-when-loaded", "dwarf/units/miner_with_gold.png" 92 }, 93 { 94 "resource-id", "coal", 95 "file-when-loaded", "dwarf/units/miner_with_coal.png" 96 }, 97 { 98 "resource-id", "jewelry", 99 "file-when-loaded", "dwarf/units/miner_with_gold.png" 100 }, 101 { 102 "resource-id", "furniture", 103 "file-when-loaded", "dwarf/units/miner_with_gold.png" 104 }, 105 { 106 "resource-id", "leather", 107 "file-when-loaded", "dwarf/units/miner_with_gold.png" 108 }, 109 { 110 "resource-id", "diamonds", 111 "file-when-loaded", "dwarf/units/miner_with_gold.png" 112 }, 113 { 114 "resource-id", "emeralds", 115 "file-when-loaded", "dwarf/units/miner_with_gold.png" 116 } 117 }, 118 Sounds = { 119 "selected", "basic-dwarf-voices-selected-group", 120 "acknowledge", "dwarven-miner-acknowledge", 121 "attack", "basic-dwarf-voices-attack", 122 "ready", "dwarven-miner-ready", 123 "help", "basic-dwarf-voices-help", 124 "dead", "basic-dwarf-voices-dead", 125 "hit", "mace-attack", 126 "miss", "attack-miss" 127 } 128} ) 129 130DefineUnitType("unit-dwarven-skilled-miner", { 131 Name = "Skilled Miner", 132 Parent = "unit-template-skilled-miner", 133 Civilization = "dwarf", 134 Description = "Dwarven miners who become experienced in their craft can harvest metals more efficiently than others.", 135 Image = {"file", "dwarf/units/miner.png", "size", {72, 72}}, 136 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-skilled-miner", 137 DefaultEquipment = { 138 {"boots", "unit-boots"} 139 }, 140 Corpse = "unit-dwarven-dead-body", 141 WeaponClasses = {"mace"}, 142 BluntDamage = true, 143 AiDrops = {"unit-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 144 CanGatherResources = { 145 { 146 "resource-id", "gold", 147 "file-when-loaded", "dwarf/units/miner_with_gold.png" 148 }, 149 { 150 "resource-id", "silver", 151 "file-when-loaded", "dwarf/units/miner_with_gold.png" 152 }, 153 { 154 "resource-id", "copper", 155 "file-when-loaded", "dwarf/units/miner_with_gold.png" 156 }, 157 { 158 "resource-id", "iron", 159 "file-when-loaded", "dwarf/units/miner_with_gold.png" 160 }, 161 { 162 "resource-id", "mithril", 163 "file-when-loaded", "dwarf/units/miner_with_gold.png" 164 }, 165 { 166 "resource-id", "lumber", 167 "file-when-loaded", "dwarf/units/miner_with_lumber.png" 168 }, 169 { 170 "resource-id", "stone", 171 "file-when-loaded", "dwarf/units/miner_with_gold.png" 172 }, 173 { 174 "resource-id", "limestone", 175 "file-when-loaded", "dwarf/units/miner_with_gold.png" 176 }, 177 { 178 "resource-id", "coal", 179 "file-when-loaded", "dwarf/units/miner_with_coal.png" 180 }, 181 { 182 "resource-id", "jewelry", 183 "file-when-loaded", "dwarf/units/miner_with_gold.png" 184 }, 185 { 186 "resource-id", "furniture", 187 "file-when-loaded", "dwarf/units/miner_with_gold.png" 188 }, 189 { 190 "resource-id", "leather", 191 "file-when-loaded", "dwarf/units/miner_with_gold.png" 192 }, 193 { 194 "resource-id", "diamonds", 195 "file-when-loaded", "dwarf/units/miner_with_gold.png" 196 }, 197 { 198 "resource-id", "emeralds", 199 "file-when-loaded", "dwarf/units/miner_with_gold.png" 200 } 201 }, 202 Sounds = { 203 "selected", "basic-dwarf-voices-selected-group", 204 "acknowledge", "dwarven-miner-acknowledge", 205 "attack", "basic-dwarf-voices-attack", 206 "ready", "dwarven-miner-ready", 207 "help", "basic-dwarf-voices-help", 208 "dead", "basic-dwarf-voices-dead", 209 "hit", "mace-attack", 210 "miss", "attack-miss" 211 } 212} ) 213 214DefineUnitType("unit-dwarven-expert-miner", { 215 Name = "Expert Miner", 216 Parent = "unit-template-expert-miner", 217 Civilization = "dwarf", 218 Description = "The dwarves who have mastered the craft of mining can gather metals with extreme efficiency.", 219 Image = {"file", "dwarf/units/miner.png", "size", {72, 72}}, 220 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-expert-miner", 221 DefaultEquipment = { 222 {"boots", "unit-boots"} 223 }, 224 Corpse = "unit-dwarven-dead-body", 225 WeaponClasses = {"mace"}, 226 BluntDamage = true, 227 AiDrops = {"unit-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 228 CanGatherResources = { 229 { 230 "resource-id", "gold", 231 "file-when-loaded", "dwarf/units/miner_with_gold.png" 232 }, 233 { 234 "resource-id", "silver", 235 "file-when-loaded", "dwarf/units/miner_with_gold.png" 236 }, 237 { 238 "resource-id", "copper", 239 "file-when-loaded", "dwarf/units/miner_with_gold.png" 240 }, 241 { 242 "resource-id", "iron", 243 "file-when-loaded", "dwarf/units/miner_with_gold.png" 244 }, 245 { 246 "resource-id", "mithril", 247 "file-when-loaded", "dwarf/units/miner_with_gold.png" 248 }, 249 { 250 "resource-id", "lumber", 251 "file-when-loaded", "dwarf/units/miner_with_lumber.png" 252 }, 253 { 254 "resource-id", "stone", 255 "file-when-loaded", "dwarf/units/miner_with_gold.png" 256 }, 257 { 258 "resource-id", "limestone", 259 "file-when-loaded", "dwarf/units/miner_with_gold.png" 260 }, 261 { 262 "resource-id", "coal", 263 "file-when-loaded", "dwarf/units/miner_with_coal.png" 264 }, 265 { 266 "resource-id", "jewelry", 267 "file-when-loaded", "dwarf/units/miner_with_gold.png" 268 }, 269 { 270 "resource-id", "furniture", 271 "file-when-loaded", "dwarf/units/miner_with_gold.png" 272 }, 273 { 274 "resource-id", "leather", 275 "file-when-loaded", "dwarf/units/miner_with_gold.png" 276 }, 277 { 278 "resource-id", "diamonds", 279 "file-when-loaded", "dwarf/units/miner_with_gold.png" 280 }, 281 { 282 "resource-id", "emeralds", 283 "file-when-loaded", "dwarf/units/miner_with_gold.png" 284 } 285 }, 286 Sounds = { 287 "selected", "basic-dwarf-voices-selected-group", 288 "acknowledge", "dwarven-miner-acknowledge", 289 "attack", "basic-dwarf-voices-attack", 290 "ready", "dwarven-miner-ready", 291 "help", "basic-dwarf-voices-help", 292 "dead", "basic-dwarf-voices-dead", 293 "hit", "mace-attack", 294 "miss", "attack-miss" 295 } 296} ) 297 298DefineUnitType("unit-dwarven-runesmith", { 299 Name = "Runesmith", 300 Parent = "unit-template-journeyman-smith", 301 Civilization = "dwarf", 302 Description = "Dwarven runesmiths are renowned throughout Nidavellir for their craft. They carve arcane runes into the weapons and armor they make, infusing them with power.", 303 Image = {"file", "dwarf/units/runesmith.png", "size", {72, 72}}, 304 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-runesmith", 305 DefaultEquipment = { 306 {"weapon", "unit-runesmiths-hammer"}, 307 {"boots", "unit-boots"} 308 }, 309 Armor = 3, 310 Corpse = "unit-dwarven-dead-body", 311 WeaponClasses = {"mace"}, 312 BluntDamage = true, 313 AiDrops = {"unit-hammer", "unit-runesmiths-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 314 CanGatherResources = { 315 { 316 "resource-id", "gold", 317 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 318 }, 319 { 320 "resource-id", "silver", 321 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 322 }, 323 { 324 "resource-id", "copper", 325 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 326 }, 327 { 328 "resource-id", "iron", 329 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 330 }, 331 { 332 "resource-id", "mithril", 333 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 334 }, 335 { 336 "resource-id", "lumber", 337 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 338 }, 339 { 340 "resource-id", "stone", 341 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 342 }, 343 { 344 "resource-id", "limestone", 345 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 346 }, 347 { 348 "resource-id", "coal", 349 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 350 }, 351 { 352 "resource-id", "jewelry", 353 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 354 }, 355 { 356 "resource-id", "furniture", 357 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 358 }, 359 { 360 "resource-id", "leather", 361 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 362 }, 363 { 364 "resource-id", "diamonds", 365 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 366 }, 367 { 368 "resource-id", "emeralds", 369 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 370 } 371 }, 372 Sounds = { 373 "selected", "basic-dwarf-voices-selected-group", 374 "acknowledge", "dwarven-miner-acknowledge", 375 "attack", "basic-dwarf-voices-attack", 376 "ready", "dwarven-miner-ready", 377 "help", "basic-dwarf-voices-help", 378 "dead", "basic-dwarf-voices-dead", 379 "hit", "mace-attack", 380 "miss", "attack-miss" 381 } 382} ) 383 384DefineUnitType("unit-dwarven-runemaster", { 385 Name = "Runemaster", 386 Parent = "unit-template-master-smith", 387 Civilization = "dwarf", 388 Description = "Except for those with almost supernatural skill, the highest rank a runecrafter can rise to is that of the runemaster.", 389 Image = {"file", "dwarf/units/runesmith.png", "size", {72, 72}}, 390 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-runemaster", 391 DefaultEquipment = { 392 {"weapon", "unit-runesmiths-hammer"}, 393 {"boots", "unit-boots"} 394 }, 395 Armor = 5, 396 Corpse = "unit-dwarven-dead-body", 397 WeaponClasses = {"mace"}, 398 BluntDamage = true, 399 AiDrops = {"unit-hammer", "unit-runesmiths-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 400 CanGatherResources = { 401 { 402 "resource-id", "gold", 403 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 404 }, 405 { 406 "resource-id", "silver", 407 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 408 }, 409 { 410 "resource-id", "copper", 411 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 412 }, 413 { 414 "resource-id", "iron", 415 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 416 }, 417 { 418 "resource-id", "mithril", 419 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 420 }, 421 { 422 "resource-id", "lumber", 423 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 424 }, 425 { 426 "resource-id", "stone", 427 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 428 }, 429 { 430 "resource-id", "limestone", 431 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 432 }, 433 { 434 "resource-id", "coal", 435 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 436 }, 437 { 438 "resource-id", "jewelry", 439 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 440 }, 441 { 442 "resource-id", "furniture", 443 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 444 }, 445 { 446 "resource-id", "leather", 447 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 448 }, 449 { 450 "resource-id", "diamonds", 451 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 452 }, 453 { 454 "resource-id", "emeralds", 455 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 456 } 457 }, 458 Sounds = { 459 "selected", "basic-dwarf-voices-selected-group", 460 "acknowledge", "dwarven-miner-acknowledge", 461 "attack", "basic-dwarf-voices-attack", 462 "ready", "dwarven-miner-ready", 463 "help", "basic-dwarf-voices-help", 464 "dead", "basic-dwarf-voices-dead", 465 "hit", "mace-attack", 466 "miss", "attack-miss" 467 } 468} ) 469 470DefineUnitType("unit-dwarven-arcanister", { 471 Name = "Arcanister", 472 Parent = "unit-template-grandmaster-smith", 473 Civilization = "dwarf", 474 Description = "The most powerful of all the runecrafters, the dwarven arcanister's skill in runesmithing is unrivaled, and the glyphs he carves into weapons and armor are imbued with tremendous power.", 475 Image = {"file", "dwarf/units/runesmith.png", "size", {72, 72}}, 476 Animations = "animations-dwarven-miner", Icon = "icon-dwarven-arcanister", 477 DefaultEquipment = { 478 {"weapon", "unit-runesmiths-hammer"}, 479 {"boots", "unit-boots"} 480 }, 481 Armor = 6, 482 Corpse = "unit-dwarven-dead-body", 483 WeaponClasses = {"mace"}, 484 BluntDamage = true, 485 AiDrops = {"unit-hammer", "unit-runesmiths-hammer", "unit-mining-pick", "unit-boots", "unit-cheese"}, 486 CanGatherResources = { 487 { 488 "resource-id", "gold", 489 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 490 }, 491 { 492 "resource-id", "silver", 493 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 494 }, 495 { 496 "resource-id", "copper", 497 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 498 }, 499 { 500 "resource-id", "iron", 501 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 502 }, 503 { 504 "resource-id", "mithril", 505 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 506 }, 507 { 508 "resource-id", "lumber", 509 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 510 }, 511 { 512 "resource-id", "stone", 513 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 514 }, 515 { 516 "resource-id", "limestone", 517 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 518 }, 519 { 520 "resource-id", "coal", 521 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 522 }, 523 { 524 "resource-id", "jewelry", 525 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 526 }, 527 { 528 "resource-id", "furniture", 529 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 530 }, 531 { 532 "resource-id", "leather", 533 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 534 }, 535 { 536 "resource-id", "diamonds", 537 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 538 }, 539 { 540 "resource-id", "emeralds", 541 "file-when-loaded", "dwarf/units/runesmith_with_gold.png" 542 } 543 }, 544 Sounds = { 545 "selected", "basic-dwarf-voices-selected-group", 546 "acknowledge", "dwarven-miner-acknowledge", 547 "attack", "basic-dwarf-voices-attack", 548 "ready", "dwarven-miner-ready", 549 "help", "basic-dwarf-voices-help", 550 "dead", "basic-dwarf-voices-dead", 551 "hit", "mace-attack", 552 "miss", "attack-miss" 553 } 554} ) 555 556DefineUnitType("unit-dwarven-militia", { 557 Parent = "unit-template-militia", 558 Civilization = "dwarf", 559 Description = "When enemies approach, dwarven miners pick up arms from the nearest storage center in defense of their homelands.", 560 Image = {"file", "dwarf/units/militia.png", "size", {72, 72}}, 561 Animations = "animations-dwarven-militia", Icon = "icon-dwarven-militia", 562 DefaultEquipment = { 563 {"weapon", "unit-battle-axe"}, 564 {"shield", "unit-round-shield"}, 565 {"boots", "unit-boots"} 566 }, 567 Corpse = "unit-dwarven-dead-body", 568 WeaponClasses = {"axe"}, 569 HackDamage = true, 570 AiDrops = {"unit-battle-axe", "unit-round-shield", "unit-boots", "unit-cheese"}, 571 Sounds = { 572 "selected", "basic-dwarf-voices-selected-group", 573 "acknowledge", "dwarven-miner-acknowledge", 574 "attack", "basic-dwarf-voices-attack", 575 "ready", "dwarven-miner-ready", 576 "help", "basic-dwarf-voices-help", 577 "dead", "basic-dwarf-voices-dead", 578 "hit", "axe-attack", 579 "miss", "attack-miss" 580 } 581} ) 582 583DefineUnitType("unit-dwarven-axefighter", { 584 Name = "Axefighter", 585 Parent = "unit-template-infantry", 586 Civilization = "dwarf", 587 Description = "Dwarven axefighters wield mighty battle axes, which make them feared opponents in close-range combat. Veteran axefighters often use the pay they've managed to spare to purchase steel armor for themselves at the local smithy.", 588 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 589 LayerImages = { 590 {"layer", "right-arm", "file", "dwarf/units/right_arm_warrior.png"}, 591 {"layer", "right-hand", "file", "dwarf/units/right_hand_warrior.png"}, 592 {"layer", "left-arm", "file", "dwarf/units/left_arm_shield.png"}, 593 {"layer", "clothing-right-arm", "file", "dwarf/units/shoulder_pad_right_arm_warrior.png"}, 594 {"layer", "clothing-left-arm", "file", "dwarf/units/shoulder_pad_left_arm.png"}, 595 {"layer", "hair", "file", "dwarf/units/red_hair_warrior.png"}, 596 {"layer", "weapon", "file", "dwarf/units/weapons/axe.png"}, 597 {"layer", "shield", "file", "dwarf/units/shields/round_shield.png"} 598 }, 599 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-axefighter", 600 DefaultEquipment = { 601 {"weapon", "unit-battle-axe"}, 602-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 603 {"boots", "unit-boots"} 604 }, 605 Corpse = "unit-dwarven-dead-body", 606 WeaponClasses = {"axe", "mace"}, 607 HackDamage = true, 608 InvertedEastArms = true, 609 InvertedSoutheastArms = true, 610 ButtonKey = "a", 611 ButtonHint = "Train ~!Axefighter", 612 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 613 Variations = { 614 { 615 "variation-id", "red-hair", 616 "upgrade-forbidden", "upgrade-old", 617 "weight", 4 618 }, 619 { 620 "variation-id", "gray-hair", 621 "layer-file", "hair", "dwarf/units/gray_hair_warrior.png", 622 "icon", "icon-dwarven-axefighter-gray-hair", 623 "weight", 1 624 }, 625 { 626 "variation-id", "orange-hair", 627 "layer-file", "hair", "dwarf/units/orange_hair_warrior.png", 628 "upgrade-forbidden", "upgrade-old", 629 "weight", 4 630 }, 631 { 632 "variation-id", "blond-hair", 633 "layer-file", "hair", "dwarf/units/blond_hair_warrior.png", 634 "icon", "icon-dwarven-axefighter-blond-hair", 635 "upgrade-forbidden", "upgrade-old", 636 "weight", 4 637 }, 638 { 639 "variation-id", "black-hair", 640 "layer-file", "hair", "dwarf/units/black_hair_warrior.png", 641 "icon", "icon-dwarven-axefighter-black-hair", 642 "upgrade-forbidden", "upgrade-old", 643 "weight", 4 644 }, 645 { 646 "variation-id", "brown-hair", 647 "layer-file", "hair", "dwarf/units/brown_hair_warrior.png", 648 "icon", "icon-dwarven-axefighter-brown-hair", 649 "upgrade-forbidden", "upgrade-old", 650 "weight", 4 651 }, 652 { 653 "layer", "weapon", 654 "variation-id", "axe", 655 "upgrade-forbidden", "upgrade-dwarven-great-axe", 656 "item-not-equipped", "unit-club", 657 "item-not-equipped", "unit-hammer", 658 "item-not-equipped", "unit-runesmiths-hammer", 659 "item-not-equipped", "unit-mining-pick", 660 "item-not-equipped", "unit-great-axe" 661 }, 662 { 663 "layer", "weapon", 664 "variation-id", "double-axe", 665 "file", "dwarf/units/weapons/double_axe.png", 666 "upgrade-required", "upgrade-dwarven-great-axe", 667 "item-not-equipped", "unit-club", 668 "item-not-equipped", "unit-hammer", 669 "item-not-equipped", "unit-runesmiths-hammer", 670 "item-not-equipped", "unit-mining-pick", 671 "item-equipped", "unit-great-axe" 672 }, 673 { 674 "layer", "weapon", 675 "variation-id", "mace", 676 "file", "dwarf/units/weapons/mace.png", 677 "item-equipped", "unit-club", 678 "item-equipped", "unit-hammer", 679 "item-equipped", "unit-runesmiths-hammer", 680 "item-equipped", "unit-mining-pick" 681 }, 682 { 683 "layer", "shield", 684 "variation-id", "round-shield", 685 "upgrade-forbidden", "upgrade-faction-brising-clan", 686 "upgrade-forbidden", "upgrade-faction-lyr", 687 "item-not-equipped", "unit-brising-round-shield" 688 }, 689 { 690 "layer", "shield", 691 "variation-id", "round-shield", 692 "item-equipped", "unit-round-shield" 693 }, 694 { 695 "layer", "shield", 696 "variation-id", "brising-round-shield", 697 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 698 "upgrade-required", "upgrade-faction-brising-clan", 699 "item-not-equipped", "unit-round-shield" 700 }, 701 { 702 "layer", "shield", 703 "variation-id", "brising-round-shield", 704 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 705 "upgrade-required", "upgrade-faction-lyr", 706 "item-not-equipped", "unit-round-shield" 707 }, 708 { 709 "layer", "shield", 710 "variation-id", "brising-round-shield", 711 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 712 "item-equipped", "unit-brising-round-shield" 713 } 714 }, 715 Sounds = { 716 "selected", "basic-dwarf-voices-selected-group", 717 "acknowledge", "basic-dwarf-voices-acknowledge", 718 "attack", "basic-dwarf-voices-attack", 719 "ready", "dwarven-axefighter-ready", 720 "help", "basic-dwarf-voices-help", 721 "dead", "basic-dwarf-voices-dead", 722 "hit", "axe-attack", 723 "miss", "attack-miss" 724 } 725} ) 726 727DefineUnitType("unit-dwarven-steelclad", { 728 Name = "Steelclad", 729 Parent = "unit-template-veteran-infantry", 730 Civilization = "dwarf", 731 Description = "The more experienced dwarven steelclad fighters wear heavy chain mail and plate armor, for which they are rightly famous.", 732 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 733 LayerImages = { 734 {"layer", "right-arm", "file", "dwarf/units/right_arm_warrior.png"}, 735 {"layer", "right-hand", "file", "dwarf/units/right_hand_warrior.png"}, 736 {"layer", "left-arm", "file", "dwarf/units/left_arm_shield.png"}, 737 {"layer", "clothing-right-arm", "file", "dwarf/units/shoulder_pad_right_arm_warrior.png"}, 738 {"layer", "clothing-left-arm", "file", "dwarf/units/shoulder_pad_left_arm.png"}, 739 {"layer", "hair", "file", "dwarf/units/red_hair_warrior.png"}, 740 {"layer", "helmet", "file", "dwarf/units/helmets/steelclad_helmet.png"}, 741 {"layer", "weapon", "file", "dwarf/units/weapons/axe.png"}, 742 {"layer", "shield", "file", "dwarf/units/shields/round_shield.png"} 743 }, 744 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-steelclad", 745 DefaultEquipment = { 746 {"weapon", "unit-battle-axe"}, 747-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 748 {"boots", "unit-boots"} 749 }, 750 Armor = 4, 751 Corpse = "unit-dwarven-dead-body", 752 WeaponClasses = {"axe", "mace"}, 753 HackDamage = true, 754 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 755 InvertedEastArms = true, 756 InvertedSoutheastArms = true, 757 Variations = { 758 { 759 "variation-id", "red-hair", 760 "upgrade-forbidden", "upgrade-old", 761 "weight", 4 762 }, 763 { 764 "variation-id", "gray-hair", 765 "layer-file", "hair", "dwarf/units/gray_hair_warrior.png", 766 "icon", "icon-dwarven-steelclad-gray-hair", 767 "weight", 1 768 }, 769 { 770 "variation-id", "orange-hair", 771 "layer-file", "hair", "dwarf/units/orange_hair_warrior.png", 772 "upgrade-forbidden", "upgrade-old", 773 "weight", 4 774 }, 775 { 776 "variation-id", "blond-hair", 777 "layer-file", "hair", "dwarf/units/blond_hair_warrior.png", 778 "icon", "icon-dwarven-steelclad-blond-hair", 779 "upgrade-forbidden", "upgrade-old", 780 "weight", 4 781 }, 782 { 783 "variation-id", "black-hair", 784 "layer-file", "hair", "dwarf/units/black_hair_warrior.png", 785 "icon", "icon-dwarven-steelclad-black-hair", 786 "upgrade-forbidden", "upgrade-old", 787 "weight", 4 788 }, 789 { 790 "variation-id", "brown-hair", 791 "layer-file", "hair", "dwarf/units/brown_hair_warrior.png", 792 "icon", "icon-dwarven-steelclad-brown-hair", 793 "upgrade-forbidden", "upgrade-old", 794 "weight", 4 795 }, 796 { 797 "layer", "weapon", 798 "variation-id", "axe", 799 "upgrade-forbidden", "upgrade-dwarven-great-axe", 800 "item-not-equipped", "unit-club", 801 "item-not-equipped", "unit-hammer", 802 "item-not-equipped", "unit-runesmiths-hammer", 803 "item-not-equipped", "unit-mining-pick", 804 "item-not-equipped", "unit-great-axe" 805 }, 806 { 807 "layer", "weapon", 808 "variation-id", "double-axe", 809 "file", "dwarf/units/weapons/double_axe.png", 810 "upgrade-required", "upgrade-dwarven-great-axe", 811 "item-not-equipped", "unit-club", 812 "item-not-equipped", "unit-hammer", 813 "item-not-equipped", "unit-runesmiths-hammer", 814 "item-not-equipped", "unit-mining-pick", 815 "item-equipped", "unit-great-axe" 816 }, 817 { 818 "layer", "weapon", 819 "variation-id", "mace", 820 "file", "dwarf/units/weapons/mace.png", 821 "item-equipped", "unit-club", 822 "item-equipped", "unit-hammer", 823 "item-equipped", "unit-runesmiths-hammer", 824 "item-equipped", "unit-mining-pick" 825 }, 826 { 827 "layer", "shield", 828 "variation-id", "round-shield", 829 "upgrade-forbidden", "upgrade-faction-brising-clan", 830 "upgrade-forbidden", "upgrade-faction-lyr", 831 "item-not-equipped", "unit-brising-round-shield" 832 }, 833 { 834 "layer", "shield", 835 "variation-id", "round-shield", 836 "item-equipped", "unit-round-shield" 837 }, 838 { 839 "layer", "shield", 840 "variation-id", "brising-round-shield", 841 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 842 "upgrade-required", "upgrade-faction-brising-clan", 843 "item-not-equipped", "unit-round-shield" 844 }, 845 { 846 "layer", "shield", 847 "variation-id", "brising-round-shield", 848 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 849 "upgrade-required", "upgrade-faction-lyr", 850 "item-not-equipped", "unit-round-shield" 851 }, 852 { 853 "layer", "shield", 854 "variation-id", "brising-round-shield", 855 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 856 "item-equipped", "unit-brising-round-shield" 857 } 858 }, 859 Sounds = { 860 "selected", "basic-dwarf-voices-selected-group", 861 "acknowledge", "basic-dwarf-voices-acknowledge", 862 "attack", "basic-dwarf-voices-attack", 863 "ready", "dwarven-steelclad-ready", 864 "help", "basic-dwarf-voices-help", 865 "dead", "basic-dwarf-voices-dead", 866 "hit", "axe-attack", 867 "miss", "attack-miss" 868 } 869}) 870 871DefineUnitType("unit-dwarven-thane", { 872 Name = "Stonelord", 873 Parent = "unit-template-heroic-infantry", 874 Civilization = "dwarf", 875 Description = "Clad in shining armor, these dwarves look like kings from under the mountains. They wield the axe with masterful skill, and though slow on their feet, these dwarves are a testament to the prowess of their kin. Stonelords can yield varied political power, ranging from local chiefs to rulers of realms. One of the first stonelords was Modsognir, the legendary chieftain who led his tribe against the perils of Svarinshaug.", 876 Quote = "\"There was Modsognir the mightiest made\nOf all the dwarfs, and Durin next;\nMany a likeness of apes they made,\nThe dwarves in the earth, as Durin said.\"\n- Dwarven Traditional Poetry", 877 Background = "In Norse mythology, the dwarven leader Modsognir appears in the ~<Voluspo~> as one of the first dwarves and the mightiest of them.", 878 Image = {"file", "dwarf/units/thane.png", "size", {72, 72}}, 879 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-thane", 880 DefaultEquipment = { 881 {"weapon", "unit-battle-axe"}, 882-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 883 {"boots", "unit-boots"} 884 }, 885 Armor = 6, 886 Corpse = "unit-dwarven-dead-body", 887 WeaponClasses = {"axe", "mace"}, 888 HackDamage = true, 889 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing", "unit-elixir-of-strength", "unit-elixir-of-vitality"}, 890 Variations = { 891 { 892 "variation-id", "red-hair", 893 "upgrade-forbidden", "upgrade-old", 894 "weight", 4 895 }, 896 { 897 "variation-id", "gray-hair", 898 "file", "dwarf/units/thane_gray_hair.png", 899 "icon", "icon-dwarven-thane-gray-hair", 900 "weight", 1 901 }, 902 { 903 "variation-id", "orange-hair", 904 "file", "dwarf/units/thane_orange_hair.png", 905 "upgrade-forbidden", "upgrade-old", 906 "weight", 4 907 }, 908 { 909 "variation-id", "blond-hair", 910 "file", "dwarf/units/thane_blond_hair.png", 911 "icon", "icon-dwarven-thane-blond-hair", 912 "upgrade-forbidden", "upgrade-old", 913 "weight", 4 914 }, 915 { 916 "variation-id", "black-hair", 917 "file", "dwarf/units/thane_black_hair.png", 918 "icon", "icon-dwarven-thane-black-hair", 919 "upgrade-forbidden", "upgrade-old", 920 "weight", 4 921 }, 922 { 923 "variation-id", "brown-hair", 924 "file", "dwarf/units/thane_brown_hair.png", 925 "icon", "icon-dwarven-thane-brown-hair", 926 "upgrade-forbidden", "upgrade-old", 927 "weight", 4 928 } 929 }, 930 Sounds = { 931 "selected", "basic-dwarf-voices-selected-group", 932 "acknowledge", "basic-dwarf-voices-acknowledge", 933 "attack", "basic-dwarf-voices-attack", 934 "ready", "dwarven-steelclad-ready", 935 "help", "basic-dwarf-voices-help", 936 "dead", "basic-dwarf-voices-dead", 937 "hit", "axe-attack", 938 "miss", "attack-miss" 939 } 940} ) 941 942DefineUnitType("unit-dwarven-guard", { 943 Name = "Guard", 944 Parent = "unit-template-spearman", 945 Civilization = "dwarf", 946 Description = "Dwarven guards are the first line of defense of the dwarven homelands. With their sturdy shields, they can often mount an unassailable defense against attackers.", 947 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 948 LayerImages = { 949 {"layer", "right-arm", "file", "dwarf/units/right_arm_spear.png"}, 950 {"layer", "left-arm", "file", "dwarf/units/left_arm_shield.png"}, 951 {"layer", "clothing-right-arm", "file", "dwarf/units/shoulder_pad_right_arm_spear.png"}, 952 {"layer", "clothing-left-arm", "file", "dwarf/units/shoulder_pad_left_arm.png"}, 953 {"layer", "hair", "file", "dwarf/units/brown_hair_warrior.png"}, 954 {"layer", "weapon", "file", "dwarf/units/weapons/spear.png"}, 955 {"layer", "shield", "file", "dwarf/units/shields/heater_shield.png"} 956 }, 957 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-guard", 958 DefaultEquipment = { 959 {"weapon", "unit-short-spear"}, 960-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 961 {"boots", "unit-boots"} 962 }, 963 HitPoints = 65, 964 Armor = 2, 965 Corpse = "unit-dwarven-dead-body", 966 PierceDamage = true, 967 InvertedEastArms = true, 968 InvertedSoutheastArms = true, 969 ButtonKey = "g", 970 ButtonHint = "Train ~!Guard", 971 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 972 Variations = { 973 { 974 "variation-id", "brown-hair", 975 "weight", 4 976 } 977 }, 978 Sounds = { 979 "selected", "basic-dwarf-voices-selected-group", 980 "acknowledge", "basic-dwarf-voices-acknowledge", 981 "attack", "basic-dwarf-voices-attack", 982 "ready", "basic-dwarf-voices-ready", 983 "help", "basic-dwarf-voices-help", 984 "dead", "basic-dwarf-voices-dead" 985 } 986} ) 987 988DefineUnitType("unit-dwarven-stalwart", { 989 Name = "Stalwart", 990 Parent = "unit-template-veteran-spearman", 991 Civilization = "dwarf", 992 Description = "The wiles of experience and training turn guards into worthy soldiers. These stalwart troops are equipped to match their skills, and can hold their ground against all but the most visceral assault. It is a dangerous thing to lose a foothold to one such as these, for it will not be easily reprised.", 993 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 994 LayerImages = { 995 {"layer", "right-arm", "file", "dwarf/units/right_arm_spear.png"}, 996 {"layer", "left-arm", "file", "dwarf/units/left_arm_shield.png"}, 997 {"layer", "clothing-right-arm", "file", "dwarf/units/shoulder_pad_right_arm_spear.png"}, 998 {"layer", "clothing-left-arm", "file", "dwarf/units/shoulder_pad_left_arm.png"}, 999 {"layer", "hair", "file", "dwarf/units/brown_hair_warrior.png"}, 1000 {"layer", "weapon", "file", "dwarf/units/weapons/spear.png"}, 1001 {"layer", "shield", "file", "dwarf/units/shields/heater_shield.png"} 1002 }, 1003 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-stalwart", 1004 DefaultEquipment = { 1005 {"weapon", "unit-short-spear"}, 1006-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 1007 {"boots", "unit-boots"} 1008 }, 1009 HitPoints = 80, 1010 Armor = 2, 1011 Corpse = "unit-dwarven-dead-body", 1012 PierceDamage = true, 1013 InvertedEastArms = true, 1014 InvertedSoutheastArms = true, 1015 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1016 Variations = { 1017 { 1018 "variation-id", "brown-hair", 1019 "weight", 4 1020 } 1021 }, 1022 Sounds = { 1023 "selected", "basic-dwarf-voices-selected-group", 1024 "acknowledge", "basic-dwarf-voices-acknowledge", 1025 "attack", "basic-dwarf-voices-attack", 1026 "ready", "basic-dwarf-voices-ready", 1027 "help", "basic-dwarf-voices-help", 1028 "dead", "basic-dwarf-voices-dead" 1029 } 1030} ) 1031 1032DefineUnitType("unit-dwarven-sentinel", { 1033 Name = "Sentinel", 1034 Parent = "unit-template-heroic-spearman", 1035 Civilization = "dwarf", 1036 Description = "Champions among their fellow troops, the dwarven sentinels form the bulwark of their battle lines. Leading a direct assault against a line that they fortify is often out of the question; it tends toward being suicidal, rather than merely ineffectual. These dwarves are masters of the melee, and can hold a patch of earth with the singleminded tenacity of an oak.", 1037 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 1038 LayerImages = { 1039 {"layer", "right-arm", "file", "dwarf/units/right_arm_spear.png"}, 1040 {"layer", "left-arm", "file", "dwarf/units/left_arm_shield.png"}, 1041 {"layer", "clothing-right-arm", "file", "dwarf/units/shoulder_pad_right_arm_spear.png"}, 1042 {"layer", "clothing-left-arm", "file", "dwarf/units/shoulder_pad_left_arm.png"}, 1043 {"layer", "hair", "file", "dwarf/units/brown_hair_warrior.png"}, 1044 {"layer", "weapon", "file", "dwarf/units/weapons/spear.png"}, 1045 {"layer", "shield", "file", "dwarf/units/shields/heater_shield.png"} 1046 }, 1047 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-sentinel", 1048 DefaultEquipment = { 1049 {"weapon", "unit-short-spear"}, 1050-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 1051 {"boots", "unit-boots"} 1052 }, 1053 HitPoints = 95, 1054 Armor = 2, 1055 Corpse = "unit-dwarven-dead-body", 1056 PierceDamage = true, 1057 InvertedEastArms = true, 1058 InvertedSoutheastArms = true, 1059 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1060 Variations = { 1061 { 1062 "variation-id", "brown-hair", 1063 "weight", 2 1064 }, 1065 { 1066 "variation-id", "brown-hair", 1067 "weight", 2, 1068 "icon", "icon-dwarven-sentinel-open-mouth" 1069 } 1070 }, 1071 Sounds = { 1072 "selected", "basic-dwarf-voices-selected-group", 1073 "acknowledge", "basic-dwarf-voices-acknowledge", 1074 "attack", "basic-dwarf-voices-attack", 1075 "ready", "basic-dwarf-voices-ready", 1076 "help", "basic-dwarf-voices-help", 1077 "dead", "basic-dwarf-voices-dead" 1078 } 1079} ) 1080 1081DefineUnitType("unit-dwarven-scout", { 1082 Name = "Scout", 1083 Parent = "unit-template-archer", 1084 Civilization = "dwarf", 1085-- Description = "Dwarven scouts use their lighter armor to their advantage, ranging ahead of the main force and reporting back on troop movements and dispositions, or securing important objectives. Outside of battle, they are often used to relay messages between dwarven communities. These scouts were instrumental for pathfinding during the migration of the group of dwarves led by Dvalin, who left the Heart Mountains, passed through swamps, and finally established themselves in a desert.", -- use the latter part of this for the pathfinder 1086 Description = "Dwarven scouts use their speed to their advantage, ranging ahead of the main force and reporting back on troop movements and dispositions. Outside of battle, they are often used to relay messages between dwarven communities. However, they pay for their speed with the poorer protection provided by their lighter armor.", 1087-- Background = "In Norse mythology, there is a mention in the ~<Voluspo~> of a throng of dwarves led by Dvalin who moved away from the rocks and into the sands, these migrants being the ancestors of Lofar.", -- use this for the pathfinder 1088 Image = {"file", "dwarf/units/dwarven_scout.png", "size", {72, 72}}, 1089 Animations = "animations-weapon-thrower", Icon = "icon-dwarven-scout", 1090 DefaultEquipment = { 1091 {"weapon", "unit-throwing-axe"}, 1092 {"boots", "unit-boots"} 1093 }, 1094 BasicDamage = 11, 1095 Missile = "missile-throwing-axe", 1096 FireMissile = "missile-flaming-throwing-axe", 1097 MaxAttackRange = 4, 1098 Corpse = "unit-dwarven-dead-body", 1099 WeaponClasses = {"throwing-axe"}, 1100 HackDamage = true, 1101 ButtonKey = "s", 1102 ButtonHint = "Train ~!Scout", 1103 RequirementsString = "Lumber Mill", 1104 StartingAbilities = {"upgrade-scouting"}, 1105 AiDrops = {"unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1106 Variations = { 1107 { 1108 "variation-id", "orange-hair-short-beard", 1109 "upgrade-forbidden", "upgrade-old", 1110 "weight", 4 1111 }, 1112 { 1113 "variation-id", "orange-hair-braided-beard", 1114 "icon", "icon-dwarven-scout-braided-beard", 1115 "upgrade-forbidden", "upgrade-old", 1116 "weight", 4 1117 }, 1118 { 1119 "variation-id", "blond-hair-short-beard", 1120 "file", "dwarf/units/dwarven_scout_blond_hair.png", 1121 "icon", "icon-dwarven-scout-blond-hair", 1122 "upgrade-forbidden", "upgrade-old", 1123 "weight", 4 1124 }, 1125 { 1126 "variation-id", "blond-hair-braided-beard", 1127 "file", "dwarf/units/dwarven_scout_blond_hair.png", 1128 "icon", "icon-dwarven-scout-blond-hair-braided-beard", 1129 "upgrade-forbidden", "upgrade-old", 1130 "weight", 4 1131 }, 1132 { 1133 "variation-id", "black-hair-short-beard", 1134 "file", "dwarf/units/dwarven_scout_black_hair.png", 1135 "icon", "icon-dwarven-scout-black-hair", 1136 "upgrade-forbidden", "upgrade-old", 1137 "weight", 4 1138 }, 1139 { 1140 "variation-id", "black-hair-braided-beard", 1141 "file", "dwarf/units/dwarven_scout_black_hair.png", 1142 "icon", "icon-dwarven-scout-black-hair-braided-beard", 1143 "upgrade-forbidden", "upgrade-old", 1144 "weight", 4 1145 }, 1146 { 1147 "variation-id", "gray-hair-short-beard", 1148 "file", "dwarf/units/dwarven_scout_gray_hair.png", 1149 "icon", "icon-dwarven-scout-gray-hair", 1150 "weight", 1 1151 }, 1152 { 1153 "variation-id", "gray-hair-braided-beard", 1154 "file", "dwarf/units/dwarven_scout_gray_hair.png", 1155 "icon", "icon-dwarven-scout-gray-hair-braided-beard", 1156 "weight", 1 1157 } 1158 }, 1159 Sounds = { 1160 "selected", "basic-dwarf-voices-selected-group", 1161 "acknowledge", "basic-dwarf-voices-acknowledge", 1162 "attack", "basic-dwarf-voices-attack", 1163 "ready", "dwarven-scout-ready", 1164 "fire-missile", "throwing-axe", 1165 "help", "basic-dwarf-voices-help", 1166 "dead", "basic-dwarf-voices-dead" 1167 } 1168} ) 1169 1170DefineUnitType("unit-dwarven-pathfinder", { 1171 Name = "Pathfinder", 1172 Parent = "unit-template-veteran-shooter", 1173 Civilization = "dwarf", 1174 Description = "These hardy dwarves are sometimes away from their caves for long periods, scouting and patrolling the borders. They spend this time watching for invaders, and fighting bandits and thieves who encroach on dwarven territory. Their deftly thrown axes can rival the power and accuracy of a gnomish marksman.", 1175 Image = {"file", "dwarf/units/dwarven_scout.png", "size", {72, 72}}, 1176 Animations = "animations-weapon-thrower", Icon = "icon-dwarven-pathfinder", 1177 DefaultEquipment = { 1178 {"weapon", "unit-throwing-axe"}, 1179 {"boots", "unit-boots"} 1180 }, 1181 BasicDamage = 12, 1182 Missile = "missile-throwing-axe", 1183 FireMissile = "missile-flaming-throwing-axe", 1184 MaxAttackRange = 4, 1185 Corpse = "unit-dwarven-dead-body", 1186 WeaponClasses = {"throwing-axe"}, 1187 HackDamage = true, 1188 StartingAbilities = {"upgrade-scouting"}, 1189 AiDrops = {"unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1190 Variations = { 1191 { 1192 "variation-id", "orange-hair", 1193 "upgrade-forbidden", "upgrade-old", 1194 "weight", 4 1195 }, 1196 { 1197 "variation-id", "blond-hair", 1198 "file", "dwarf/units/dwarven_scout_blond_hair.png", 1199 "icon", "icon-dwarven-pathfinder-blond-hair", 1200 "upgrade-forbidden", "upgrade-old", 1201 "weight", 4 1202 }, 1203 { 1204 "variation-id", "black-hair", 1205 "file", "dwarf/units/dwarven_scout_black_hair.png", 1206 "icon", "icon-dwarven-pathfinder-black-hair", 1207 "upgrade-forbidden", "upgrade-old", 1208 "weight", 4 1209 }, 1210 { 1211 "variation-id", "gray-hair", 1212 "file", "dwarf/units/dwarven_scout_gray_hair.png", 1213 "icon", "icon-dwarven-pathfinder-gray-hair", 1214 "weight", 1 1215 } 1216 }, 1217 Sounds = { 1218 "selected", "basic-dwarf-voices-selected-group", 1219 "acknowledge", "basic-dwarf-voices-acknowledge", 1220 "attack", "basic-dwarf-voices-attack", 1221 "help", "basic-dwarf-voices-help", 1222 "dead", "basic-dwarf-voices-dead" 1223 } 1224} ) 1225 1226DefineUnitType("unit-dwarven-explorer", { 1227 Name = "Explorer", 1228 Parent = "unit-template-heroic-shooter", 1229 Civilization = "dwarf", 1230 Description = "Dwarven Explorers are peerless survivalists. Using only the equipment they carry, they can range for months around the forests and mountains looking for new seams of ore and deposits of minerals. Whilst their skill in a melee is less than some other dwarves, they are unmatched with throwing axes, having practiced this skill hunting in the mountains. Their maneuverability makes them dangerous and tricky foes.", 1231 Image = {"file", "dwarf/units/dwarven_scout.png", "size", {72, 72}}, 1232 Animations = "animations-weapon-thrower", Icon = "icon-dwarven-explorer", 1233 DefaultEquipment = { 1234 {"weapon", "unit-throwing-axe"}, 1235 {"boots", "unit-boots"} 1236 }, 1237 BasicDamage = 13, 1238 Missile = "missile-throwing-axe", 1239 FireMissile = "missile-flaming-throwing-axe", 1240 MaxAttackRange = 4, 1241 Corpse = "unit-dwarven-dead-body", 1242 WeaponClasses = {"throwing-axe"}, 1243 HackDamage = true, 1244 StartingAbilities = {"upgrade-scouting"}, 1245 AiDrops = {"unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-boots", "unit-cheese", "unit-potion-of-healing", "unit-elixir-of-dexterity"}, 1246 Variations = { 1247 { 1248 "variation-id", "orange-hair", 1249 "upgrade-forbidden", "upgrade-old", 1250 "weight", 4 1251 }, 1252 { 1253 "variation-id", "blond-hair", 1254 "file", "dwarf/units/dwarven_scout_blond_hair.png", 1255 "icon", "icon-dwarven-explorer-blond-hair", 1256 "upgrade-forbidden", "upgrade-old", 1257 "weight", 4 1258 }, 1259 { 1260 "variation-id", "black-hair", 1261 "file", "dwarf/units/dwarven_scout_black_hair.png", 1262 "icon", "icon-dwarven-explorer-black-hair", 1263 "upgrade-forbidden", "upgrade-old", 1264 "weight", 4 1265 }, 1266 { 1267 "variation-id", "gray-hair", 1268 "file", "dwarf/units/dwarven_scout_gray_hair.png", 1269 "icon", "icon-dwarven-explorer-gray-hair", 1270 "weight", 1 1271 } 1272 }, 1273 Sounds = { 1274 "selected", "basic-dwarf-voices-selected-group", 1275 "acknowledge", "basic-dwarf-voices-acknowledge", 1276 "attack", "basic-dwarf-voices-attack", 1277 "help", "basic-dwarf-voices-help", 1278 "dead", "basic-dwarf-voices-dead" 1279 } 1280} ) 1281 1282DefineUnitType("unit-dwarven-thunderer", { 1283 Name = "Thunderer", 1284 Parent = "unit-template-gunpowder-infantry", 1285 Civilization = "dwarf", 1286 Description = "Many of the races of Nidavellir have been mystified by the power of dwarven Thunderers, who are able to hurl death from afar through the apparatus of these strange wands they carried into battle. The deafening noise of these 'thundersticks' is terrifying to behold, and is made more so by the secrecy which dwarves wrap about their workings.", 1287 Image = {"file", "dwarf/units/thunderer.png", "size", {72, 72}}, 1288 Animations = "animations-gunpowder-infantry", Icon = "icon-dwarven-thunderer", 1289 DefaultEquipment = { 1290 {"weapon", "unit-hand-cannon"}, 1291 {"boots", "unit-boots"} 1292 }, 1293 Corpse = "unit-dwarven-dead-body", 1294 AiDrops = {"unit-hand-cannon", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1295 Sounds = { 1296 "selected", "basic-dwarf-voices-selected-group", 1297 "acknowledge", "basic-dwarf-voices-acknowledge", 1298 "attack", "basic-dwarf-voices-attack", 1299 "ready", "basic-dwarf-voices-ready", 1300 "help", "basic-dwarf-voices-help", 1301 "dead", "basic-dwarf-voices-dead" 1302 } 1303} ) 1304 1305DefineUnitType("unit-dwarven-yale-rider", { 1306 Name = "Yale Rider", 1307 Parent = "unit-template-cavalry", 1308 Civilization = "dwarf", 1309 Description = "Although dwarves have a stronger affinity for fighting on foot than many other peoples, they nevertheless possess formidable cavalry in the form of yale riders. These mounted dwarves are fierce in the battlefield, and their yales can easily traverse the mountainous terrain dwarves usually inhabit.", 1310 Image = {"file", "dwarf/units/yale_rider_red_hair_gray_fur.png", "size", {72, 72}}, 1311 Animations = "animations-melee-unit", Icon = "icon-dwarven-yale-rider", 1312 DefaultEquipment = { 1313 {"weapon", "unit-battle-axe"}, 1314-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 1315 {"boots", "unit-boots"} 1316 }, 1317 Corpse = "unit-dwarven-dead-body", 1318 WeaponClasses = {"axe"}, 1319 HackDamage = true, 1320 ButtonKey = "y", 1321 ButtonHint = "Train ~!Yale Rider", 1322 RequirementsString = "Smithy and Yale Pen", 1323 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1324 Variations = { 1325 { 1326 "variation-id", "red-hair-gray-fur", 1327 "upgrade-forbidden", "upgrade-old", 1328 "weight", 4 1329 }, 1330 { 1331 "variation-id", "red-hair-brown-fur", 1332 "file", "dwarf/units/yale_rider_red_hair_brown_fur.png", 1333 "upgrade-forbidden", "upgrade-old", 1334 "weight", 4 1335 }, 1336 { 1337 "variation-id", "black-hair-brown-fur", 1338 "file", "dwarf/units/yale_rider_black_hair_brown_fur.png", 1339 "icon", "icon-dwarven-yale-rider-black-hair", 1340 "upgrade-forbidden", "upgrade-old", 1341 "weight", 4 1342 }, 1343 { 1344 "variation-id", "black-hair-gray-brown-fur", 1345 "file", "dwarf/units/yale_rider_black_hair_gray_brown_fur.png", 1346 "icon", "icon-dwarven-yale-rider-black-hair", 1347 "upgrade-forbidden", "upgrade-old", 1348 "weight", 4 1349 }, 1350 { 1351 "variation-id", "blond-hair-brown-fur", 1352 "file", "dwarf/units/yale_rider_blond_hair_brown_fur.png", 1353 "icon", "icon-dwarven-yale-rider-blond-hair", 1354 "upgrade-forbidden", "upgrade-old", 1355 "weight", 4 1356 }, 1357 { 1358 "variation-id", "brown-hair-brown-fur", 1359 "file", "dwarf/units/yale_rider_brown_hair_brown_fur.png", 1360 "icon", "icon-dwarven-yale-rider-brown-hair", 1361 "upgrade-forbidden", "upgrade-old", 1362 "weight", 4 1363 }, 1364 { 1365 "variation-id", "brown-hair-white-fur", 1366 "file", "dwarf/units/yale_rider_brown_hair_white_fur.png", 1367 "icon", "icon-dwarven-yale-rider-brown-hair", 1368 "upgrade-forbidden", "upgrade-old", 1369 "weight", 4 1370 }, 1371 { 1372 "variation-id", "gray-hair-gray-brown-fur", 1373 "file", "dwarf/units/yale_rider_gray_hair_gray_brown_fur.png", 1374 "icon", "icon-dwarven-yale-rider-gray-hair", 1375 "weight", 1 1376 }, 1377 { 1378 "variation-id", "orange-hair-brown-fur", 1379 "file", "dwarf/units/yale_rider_orange_hair_brown_fur.png", 1380 "icon", "icon-dwarven-yale-rider-orange-hair", 1381 "upgrade-forbidden", "upgrade-old", 1382 "weight", 4 1383 }, 1384 { 1385 "variation-id", "orange-hair-white-fur", 1386 "file", "dwarf/units/yale_rider_orange_hair_white_fur.png", 1387 "icon", "icon-dwarven-yale-rider-orange-hair", 1388 "upgrade-forbidden", "upgrade-old", 1389 "weight", 4 1390 } 1391 }, 1392 Sounds = { 1393 "selected", "yale-rider-selected-group", 1394 "acknowledge", "yale-rider-acknowledge", 1395 "attack", "basic-dwarf-voices-attack", 1396 "ready", "dwarven-yale-rider-ready", 1397 "help", "basic-dwarf-voices-help", 1398 "dead", "basic-dwarf-voices-dead", 1399 "hit", "axe-attack", 1400 "miss", "attack-miss" 1401 } 1402} ) 1403 1404DefineUnitType("unit-dwarven-yale-lord", { 1405 Name = "Yale Lord", 1406 Parent = "unit-template-heroic-cavalry", 1407 Civilization = "dwarf", 1408 Description = "Few things are more terrifying than a yale lord leading a throng of mounted dwarves into a crushing charge. Masters of the hills, yale lords are most often present in dwarven clans living above ground.", 1409 Image = {"file", "dwarf/units/yale_rider_red_hair_gray_fur.png", "size", {72, 72}}, 1410 Animations = "animations-melee-unit", Icon = "icon-dwarven-yale-lord", 1411 DefaultEquipment = { 1412 {"weapon", "unit-battle-axe"}, 1413-- {"shield", "unit-round-shield"}, -- commented out to make the Brising Round Shield icon appear when proper 1414 {"boots", "unit-boots"} 1415 }, 1416 Corpse = "unit-dwarven-dead-body", 1417 WeaponClasses = {"axe"}, 1418 HackDamage = true, 1419 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-cheese", "unit-potion-of-healing", "unit-elixir-of-strength"}, 1420 Variations = { 1421 { 1422 "variation-id", "red-hair-gray-fur", 1423 "upgrade-forbidden", "upgrade-old", 1424 "weight", 4 1425 }, 1426 { 1427 "variation-id", "red-hair-brown-fur", 1428 "file", "dwarf/units/yale_rider_red_hair_brown_fur.png", 1429 "upgrade-forbidden", "upgrade-old", 1430 "weight", 4 1431 }, 1432 { 1433 "variation-id", "black-hair-brown-fur", 1434 "file", "dwarf/units/yale_rider_black_hair_brown_fur.png", 1435 "icon", "icon-dwarven-yale-lord-black-hair", 1436 "upgrade-forbidden", "upgrade-old", 1437 "weight", 4 1438 }, 1439 { 1440 "variation-id", "black-hair-gray-brown-fur", 1441 "file", "dwarf/units/yale_rider_black_hair_gray_brown_fur.png", 1442 "icon", "icon-dwarven-yale-lord-black-hair", 1443 "upgrade-forbidden", "upgrade-old", 1444 "weight", 4 1445 }, 1446 { 1447 "variation-id", "blond-hair-brown-fur", 1448 "file", "dwarf/units/yale_rider_blond_hair_brown_fur.png", 1449 "icon", "icon-dwarven-yale-lord-blond-hair", 1450 "upgrade-forbidden", "upgrade-old", 1451 "weight", 4 1452 }, 1453 { 1454 "variation-id", "brown-hair-brown-fur", 1455 "file", "dwarf/units/yale_rider_brown_hair_brown_fur.png", 1456 "icon", "icon-dwarven-yale-lord-brown-hair", 1457 "upgrade-forbidden", "upgrade-old", 1458 "weight", 4 1459 }, 1460 { 1461 "variation-id", "brown-hair-white-fur", 1462 "file", "dwarf/units/yale_rider_brown_hair_white_fur.png", 1463 "icon", "icon-dwarven-yale-lord-brown-hair", 1464 "upgrade-forbidden", "upgrade-old", 1465 "weight", 4 1466 }, 1467 { 1468 "variation-id", "gray-hair-gray-brown-fur", 1469 "file", "dwarf/units/yale_rider_gray_hair_gray_brown_fur.png", 1470 "icon", "icon-dwarven-yale-lord-gray-hair", 1471 "weight", 1 1472 }, 1473 { 1474 "variation-id", "orange-hair-brown-fur", 1475 "file", "dwarf/units/yale_rider_orange_hair_brown_fur.png", 1476 "icon", "icon-dwarven-yale-lord-orange-hair", 1477 "upgrade-forbidden", "upgrade-old", 1478 "weight", 4 1479 }, 1480 { 1481 "variation-id", "orange-hair-white-fur", 1482 "file", "dwarf/units/yale_rider_orange_hair_white_fur.png", 1483 "icon", "icon-dwarven-yale-lord-orange-hair", 1484 "upgrade-forbidden", "upgrade-old", 1485 "weight", 4 1486 } 1487 }, 1488 Sounds = { 1489 "selected", "yale-rider-selected-group", 1490 "acknowledge", "yale-rider-acknowledge", 1491 "attack", "basic-dwarf-voices-attack", 1492 "ready", "dwarven-yale-rider-ready", 1493 "help", "basic-dwarf-voices-help", 1494 "dead", "basic-dwarf-voices-dead", 1495 "hit", "axe-attack", 1496 "miss", "attack-miss" 1497 } 1498} ) 1499 1500DefineUnitType("unit-dwarven-witness", { 1501 Name = "Witness", 1502 Parent = "unit-template-priest", 1503 Civilization = "dwarf", 1504-- Description = "A witness functions as the eyes of the dwarves' history, a deep lore that they almost never share with outsiders. The presence of a witness inspires dwarven warriors with the knowledge that their deeds (and their deaths) will not go unrecorded. The person of a witness is considered sacred, and witnesses are often used as envoys between dwarven clans. The earliest known dwarven witness was Thjodrorir, sage of the Brising Clan. The best known of them, however, was Dvalin. He created the dwarven runes and shifted lorekeeping away from being an oral practice.", 1505 Description = "A witness functions as the eyes of the dwarves' history, a deep lore that they almost never share with outsiders. The presence of a witness inspires dwarven warriors with the knowledge that their deeds (and their deaths) will not go unrecorded. The person of a witness is considered sacred, and witnesses are often used as envoys between dwarven clans.", 1506 Quote = "\"Might he sang for the gods, and glory for dwarves,\nAnd wisdom for Hroptatyr wise.\"\n- Dwarven Traditional Poetry", 1507 Background = "In the ~<Hovamol~>, Thjodrorir was a dwarf who knew a potent magic charm, and Dvalin was a dwarf who was said to have taught the art of runes to his people.", 1508 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 1509 LayerImages = { 1510 {"layer", "right-arm", "file", "dwarf/units/right_arm_warrior.png"}, 1511 {"layer", "right-hand", "file", "dwarf/units/right_hand_warrior.png"}, 1512 {"layer", "left-arm", "file", "dwarf/units/left_arm.png"}, 1513 {"layer", "clothing", "file", "dwarf/units/robe.png"}, 1514 {"layer", "hair", "file", "dwarf/units/gray_hair_warrior.png"}, 1515 {"layer", "helmet", "file", "dwarf/units/helmets/witness_tiara.png"}, 1516 {"layer", "weapon", "file", "dwarf/units/weapons/mace.png"} 1517 }, 1518 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-witness", 1519 DefaultEquipment = { 1520-- {"weapon", "unit-mace"}, 1521 {"boots", "unit-boots"} 1522 }, 1523 Corpse = "unit-dwarven-dead-body", 1524 WeaponClasses = {"mace"}, 1525 BluntDamage = true, 1526 InvertedEastArms = true, 1527 InvertedSoutheastArms = true, 1528 StartingAbilities = {"upgrade-far-sight", "upgrade-inspire", "upgrade-precision", "upgrade-shocking-grasp", "upgrade-slow-ability", "upgrade-wither"}, 1529 CanCastSpell = {"spell-far-sight", "spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1530 AutoCastActive = {"spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1531 AiDrops = {"unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1532 Sounds = { 1533 "selected", "basic-dwarf-voices-selected-group", 1534 "acknowledge", "basic-dwarf-voices-acknowledge", 1535 "attack", "basic-dwarf-voices-attack", 1536 "ready", "basic-dwarf-voices-ready", 1537 "help", "basic-dwarf-voices-help", 1538 "dead", "basic-dwarf-voices-dead", 1539 "hit", "mace-attack", 1540 "miss", "attack-miss" 1541 } 1542} ) 1543 1544DefineUnitType("unit-dwarven-annalist", { 1545 Name = "Annalist", 1546 Parent = "unit-template-veteran-priest", 1547 Civilization = "dwarf", 1548 Description = "Dwarven annalists are the historians of their ancient and proud race. They are few in number, and their very existence is not generally known to the other peoples of Nidavellir.", 1549 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 1550 LayerImages = { 1551 {"layer", "right-arm", "file", "dwarf/units/right_arm_warrior.png"}, 1552 {"layer", "right-hand", "file", "dwarf/units/right_hand_warrior.png"}, 1553 {"layer", "left-arm", "file", "dwarf/units/left_arm.png"}, 1554 {"layer", "clothing", "file", "dwarf/units/robe.png"}, 1555 {"layer", "hair", "file", "dwarf/units/gray_hair_warrior.png"}, 1556 {"layer", "helmet", "file", "dwarf/units/helmets/witness_tiara.png"}, 1557 {"layer", "weapon", "file", "dwarf/units/weapons/mace.png"} 1558 }, 1559 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-annalist", 1560 DefaultEquipment = { 1561-- {"weapon", "unit-mace"}, 1562 {"boots", "unit-boots"} 1563 }, 1564 Corpse = "unit-dwarven-dead-body", 1565 WeaponClasses = {"mace"}, 1566 BluntDamage = true, 1567 InvertedEastArms = true, 1568 InvertedSoutheastArms = true, 1569 StartingAbilities = {"upgrade-far-sight", "upgrade-inspire", "upgrade-precision", "upgrade-shocking-grasp", "upgrade-slow-ability", "upgrade-wither"}, 1570 CanCastSpell = {"spell-far-sight", "spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1571 AutoCastActive = {"spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1572 AiDrops = {"unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1573 Sounds = { 1574 "selected", "basic-dwarf-voices-selected-group", 1575 "acknowledge", "basic-dwarf-voices-acknowledge", 1576 "attack", "basic-dwarf-voices-attack", 1577 "ready", "basic-dwarf-voices-ready", 1578 "help", "basic-dwarf-voices-help", 1579 "dead", "basic-dwarf-voices-dead", 1580 "hit", "mace-attack", 1581 "miss", "attack-miss" 1582 } 1583} ) 1584 1585DefineUnitType("unit-dwarven-loremaster", { 1586 Name = "Loremaster", 1587 Parent = "unit-template-high-priest", 1588 Civilization = "dwarf", 1589 Description = "Loremasters are the sages of the dwarven race. Their counsel is greatly valued by war-leaders and chieftains, and they are viewed with awe by ordinary dwarves, for they alone have plumbed the deepest and most closely-held secrets of dwarven knowledge. It is said that where a loremaster stands, there is the soul of the dwarves.", 1590 Image = {"file", "dwarf/units/body_warrior.png", "size", {72, 72}}, 1591 LayerImages = { 1592 {"layer", "right-arm", "file", "dwarf/units/right_arm_warrior.png"}, 1593 {"layer", "right-hand", "file", "dwarf/units/right_hand_warrior.png"}, 1594 {"layer", "left-arm", "file", "dwarf/units/left_arm.png"}, 1595 {"layer", "clothing", "file", "dwarf/units/robe.png"}, 1596 {"layer", "hair", "file", "dwarf/units/gray_hair_warrior.png"}, 1597 {"layer", "helmet", "file", "dwarf/units/helmets/witness_tiara.png"}, 1598 {"layer", "weapon", "file", "dwarf/units/weapons/mace.png"} 1599 }, 1600 Animations = "animations-dwarven-axefighter", Icon = "icon-dwarven-loremaster", 1601 DefaultEquipment = { 1602-- {"weapon", "unit-mace"}, 1603 {"boots", "unit-boots"} 1604 }, 1605 Corpse = "unit-dwarven-dead-body", 1606 WeaponClasses = {"mace"}, 1607 BluntDamage = true, 1608 InvertedEastArms = true, 1609 InvertedSoutheastArms = true, 1610 StartingAbilities = {"upgrade-far-sight", "upgrade-inspire", "upgrade-precision", "upgrade-shocking-grasp", "upgrade-slow-ability", "upgrade-wither"}, 1611 CanCastSpell = {"spell-far-sight", "spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1612 AutoCastActive = {"spell-inspire", "spell-healing", "spell-precision", "spell-shocking-grasp", "spell-slow", "spell-wither"}, 1613 AiDrops = {"unit-boots", "unit-cheese", "unit-potion-of-healing"}, 1614 Sounds = { 1615 "selected", "basic-dwarf-voices-selected-group", 1616 "acknowledge", "basic-dwarf-voices-acknowledge", 1617 "attack", "basic-dwarf-voices-attack", 1618 "ready", "basic-dwarf-voices-ready", 1619 "help", "basic-dwarf-voices-help", 1620 "dead", "basic-dwarf-voices-dead", 1621 "hit", "mace-attack", 1622 "miss", "attack-miss" 1623 } 1624} ) 1625 1626DefineUnitType("unit-dwarven-gryphon-rider", { 1627 Name = "Gryphon Rider", 1628 Parent = "unit-template-flying-rider", 1629 Civilization = "dwarf", 1630 Description = "Only a few dwarves are able to bond with the mighty gryphons. Those who do may become gryphon riders, and discover the world of the skies upon the backs of these flying beasts.", 1631 Quote = "\"Ha ha! Gryphons as mounts, that is naught but the stuff of legends! Is there no end to your folly?\"\n- Relgorn, Chieftain of the Norlund Clan", 1632 Image = {"file", "dwarf/units/gryphon_rider.png", "size", {100, 100}}, 1633 Animations = "animations-dwarven-gryphon-rider", Icon = "icon-dwarven-gryphon-rider", 1634 DefaultEquipment = { 1635 {"weapon", "unit-throwing-axe"}, 1636 {"boots", "unit-boots"} 1637 }, 1638 Missile = "missile-throwing-axe", 1639 FireMissile = "missile-flaming-throwing-axe", 1640 BasicDamage = 14, 1641 MaxAttackRange = 4, 1642 WeaponClasses = {"throwing-axe"}, 1643 HackDamage = true, 1644 ButtonKey = "p", 1645 ButtonHint = "Train Gry~!phon Rider", 1646 RequirementsString = "Bastion and Lumber Mill", 1647 AiDrops = {"unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-boots", "unit-cheese", "unit-potion-of-healing", "unit-elixir-of-dexterity"}, 1648 Variations = { 1649 { 1650 "variation-id", "black-hair-brown-feathers", 1651 "upgrade-forbidden", "upgrade-old", 1652 "weight", 4 1653 }, 1654 { 1655 "variation-id", "brown-hair-blue-feathers", 1656 "file", "dwarf/units/gryphon_rider_brown_hair_blue_feathers.png", 1657 "icon", "icon-dwarven-gryphon-rider-brown-hair", 1658 "upgrade-forbidden", "upgrade-old", 1659 "weight", 4 1660 }, 1661 { 1662 "variation-id", "gray-hair-brown-feathers", 1663 "file", "dwarf/units/gryphon_rider_gray_hair_brown_feathers.png", 1664 "weight", 1 1665 }, 1666 { 1667 "variation-id", "red-hair-gray-feathers", 1668 "file", "dwarf/units/gryphon_rider_red_hair_gray_feathers.png", 1669 "icon", "icon-dwarven-gryphon-rider-red-hair", 1670 "upgrade-forbidden", "upgrade-old", 1671 "weight", 4 1672 } 1673 }, 1674 Sounds = { 1675 "selected", "basic-dwarf-voices-selected-group", 1676 "acknowledge", "basic-dwarf-voices-acknowledge", 1677 "attack", "basic-dwarf-voices-attack", 1678 "ready", "dwarven-gryphon-rider-ready", 1679 "help", "basic-dwarf-voices-help", 1680 "dead", "gryphon-dead" 1681 } 1682} ) 1683 1684DefineUnitType("unit-dwarven-ballista", { 1685 Name = "Ballista", 1686 Parent = "unit-template-ballista", 1687 Civilization = "dwarf", 1688 Description = "Dwarves employ heavy ballistas as their siege weapon of choice, with devastating effects on enemy fortifications.", 1689 Image = {"file", "dwarf/units/dwarven_ballista.png", "size", {64, 64}}, 1690 Animations = "animations-dwarven-ballista", Icon = "icon-dwarven-ballista", 1691 Missile = "missile-dwarven-ballista-bolt", 1692 FireMissile = "missile-flaming-dwarven-ballista-bolt", 1693 PierceDamage = true, 1694 ButtonKey = "b", 1695 ButtonHint = "Build ~!Ballista", 1696 Sounds = { 1697-- "acknowledge", "ballista-acknowledge", 1698 "ready", "dwarven-ballista-ready", 1699 "help", "basic-dwarf-voices-help", 1700 "dead", "explosion" 1701 } 1702}) 1703 1704DefineUnitType("unit-dwarven-transport-ship", { 1705 Name = "Transport", 1706 Parent = "unit-template-transport-ship", 1707 Civilization = "dwarf", 1708 Description = "Sailing the Deep Sea and underground rivers alike, these ships are manned by hearty dwarven crews. Every journey brings back new tales, be it of a kobold dwarf-eating tribe, or of treacherous goblin pirates...", 1709 Image = {"file", "dwarf/units/transport.png", "size", {72, 72}}, 1710 LightImage = {"file", "dwarf/units/transport_water.png"}, 1711 Icon = "icon-dwarven-transport-ship", 1712 Variations = { 1713 { 1714 "variation-id", "dwarf", 1715 "upgrade-forbidden", "upgrade-faction-brising-clan", 1716 "upgrade-forbidden", "upgrade-faction-lyr", 1717 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1718 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1719 "upgrade-forbidden", "upgrade-faction-joruvellir" 1720 }, 1721 { 1722 "variation-id", "brising", 1723 "file", "dlcs/brising_faction_flair/graphics/units/brising_transport.png", 1724 "icon", "icon-brising-transport-ship", 1725 "upgrade-required", "upgrade-faction-brising-clan" 1726 }, 1727 { 1728 "variation-id", "brising", 1729 "file", "dlcs/brising_faction_flair/graphics/units/brising_transport.png", 1730 "icon", "icon-brising-transport-ship", 1731 "upgrade-required", "upgrade-faction-lyr" 1732 }, 1733 { 1734 "variation-id", "joruvellir", 1735 "file", "dlcs/joruvellir_faction_flair/graphics/units/joruvellir_transport.png", 1736 "icon", "icon-joruvellir-transport-ship", 1737 "upgrade-required", "upgrade-faction-goldhoof-clan" 1738 }, 1739 { 1740 "variation-id", "joruvellir", 1741 "file", "dlcs/joruvellir_faction_flair/graphics/units/joruvellir_transport.png", 1742 "icon", "icon-joruvellir-transport-ship", 1743 "upgrade-required", "upgrade-faction-eikinskjaldi-clan" 1744 }, 1745 { 1746 "variation-id", "joruvellir", 1747 "file", "dlcs/joruvellir_faction_flair/graphics/units/joruvellir_transport.png", 1748 "icon", "icon-joruvellir-transport-ship", 1749 "upgrade-required", "upgrade-faction-joruvellir" 1750 } 1751 }, 1752 Sounds = { 1753 "help", "basic-dwarf-voices-help" 1754 } 1755}) 1756 1757DefineUnitType("unit-dwarven-ballista-warship", { 1758 Name = "Ballista Warship", 1759 Parent = "unit-template-siege-warship", 1760 Civilization = "dwarf", 1761 Description = "The complicated mechanism utilized for ballista warships was made possible through the excellent craftsmanship of dwarven engineers.", 1762 Image = {"file", "dwarf/units/ballista_warship.png", "size", {72, 72}}, 1763 LightImage = {"file", "dwarf/units/ballista_warship_water.png"}, 1764 Icon = "icon-dwarven-ballista-warship", 1765 Missile = "missile-dwarven-ballista-bolt", 1766 FireMissile = "missile-flaming-dwarven-ballista-bolt", 1767 PierceDamage = true, 1768 SideAttack = false, 1769 Sounds = { 1770 "help", "basic-dwarf-voices-help" 1771 } 1772}) 1773 1774DefineUnitType("unit-dwarven-town-hall", { 1775 Name = "Mead Hall", 1776 Parent = "unit-template-town-hall", 1777 Civilization = "dwarf", 1778 Description = "The mead hall is the center of any sizable dwarven settlement, where they gather to discuss the issues facing the community and drink their strong mead. It was in one such hall that Fjalar and Galar feasted on the mead they made out of the blood of a dwarven sage, believing that it would grant them his breadth of knowledge. One of the most magnificent mead halls ever built is that of Lyr.", 1779 Background = "Mead was a recurring theme in Germanic mythology, from which dwarves originate. In one particular myth, the dwarves Fjalar and Galar invited the sage Kvasir to a large feast in their dwelling, only to murder him and brew his blood into a special mead, the ~<Mead of Poetry~>. As the pair of ruthless dwarves expected, drinking the mead imbibed them with Kvasir's breadth of knowledge. In the ~<Voluspo~> it is mentioned that a dwarven hall made of gold existed in Nidavellir. The hall of Lyr is mentioned in the ~<Svipdagsmol~>.", 1780 Image = {"file", "dwarf/buildings/town_hall.png", "size", {128, 128}}, 1781 Shadow = {"file", "dwarf/buildings/town_hall_shadow.png", "size", {128, 128}}, 1782 Icon = "icon-dwarven-town-hall", 1783 Costs = {"lumber", 0, "stone", 2400}, 1784 RepairCosts = {"lumber", 0, "stone", 1}, 1785 FireResistance = 20, 1786 ButtonHint = "Build Mead ~!Hall", 1787 Drops = {"unit-stone-pile"}, 1788 AiDrops = {"unit-boots"}, 1789 DropSpells = {"spell-joruvellir-allegiance"}, 1790 Variations = { 1791 { 1792 "variation-id", "mead-hall", 1793 "upgrade-forbidden", "upgrade-faction-brising-clan", 1794 "upgrade-forbidden", "upgrade-faction-lyr", 1795 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1796 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1797 "upgrade-forbidden", "upgrade-faction-joruvellir", 1798 "terrain-forbidden", "snow", 1799 "forbidden-season", "winter" 1800 }, 1801 { 1802 "variation-id", "mead-hall-snow-winter", 1803 "file", "dwarf/buildings/town_hall_snow.png", 1804 "upgrade-forbidden", "upgrade-faction-brising-clan", 1805 "upgrade-forbidden", "upgrade-faction-lyr", 1806 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1807 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1808 "upgrade-forbidden", "upgrade-faction-joruvellir", 1809 "terrain", "dirt", 1810 "terrain", "dry-mud", 1811 "terrain", "grass", 1812 "terrain", "snow", 1813 "season", "winter" 1814 }, 1815 { 1816 "variation-id", "mead-hall-snow", 1817 "file", "dwarf/buildings/town_hall_snow.png", 1818 "upgrade-forbidden", "upgrade-faction-brising-clan", 1819 "upgrade-forbidden", "upgrade-faction-lyr", 1820 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1821 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1822 "upgrade-forbidden", "upgrade-faction-joruvellir", 1823 "terrain", "snow" 1824 }, 1825 { 1826 "variation-id", "brising-mead-hall", 1827 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall.png", 1828 "icon", "icon-brising-town-hall", 1829 "upgrade-required", "upgrade-faction-brising-clan", 1830 "terrain-forbidden", "snow", 1831 "forbidden-season", "winter" 1832 }, 1833 { 1834 "variation-id", "brising-mead-hall", 1835 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall.png", 1836 "icon", "icon-brising-town-hall", 1837 "upgrade-required", "upgrade-faction-lyr", 1838 "terrain-forbidden", "snow", 1839 "forbidden-season", "winter" 1840 }, 1841 { 1842 "variation-id", "brising-mead-hall-snow-winter", 1843 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall_snow.png", 1844 "icon", "icon-brising-town-hall", 1845 "upgrade-required", "upgrade-faction-brising-clan", 1846 "terrain", "dirt", 1847 "terrain", "dry-mud", 1848 "terrain", "grass", 1849 "terrain", "snow", 1850 "season", "winter" 1851 }, 1852 { 1853 "variation-id", "brising-mead-hall-snow-winter", 1854 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall_snow.png", 1855 "icon", "icon-brising-town-hall", 1856 "upgrade-required", "upgrade-faction-lyr", 1857 "terrain", "dirt", 1858 "terrain", "dry-mud", 1859 "terrain", "grass", 1860 "terrain", "snow", 1861 "season", "winter" 1862 }, 1863 { 1864 "variation-id", "brising-mead-hall-snow", 1865 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall_snow.png", 1866 "icon", "icon-brising-town-hall", 1867 "upgrade-required", "upgrade-faction-brising-clan", 1868 "terrain", "snow" 1869 }, 1870 { 1871 "variation-id", "brising-mead-hall-snow", 1872 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_town_hall_snow.png", 1873 "icon", "icon-brising-town-hall", 1874 "upgrade-required", "upgrade-faction-lyr", 1875 "terrain", "snow" 1876 }, 1877 { 1878 "variation-id", "joruvellir-mead-hall", 1879 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall.png", 1880 "upgrade-required", "upgrade-faction-goldhoof-clan", 1881 "terrain-forbidden", "snow", 1882 "forbidden-season", "winter" 1883 }, 1884 { 1885 "variation-id", "joruvellir-mead-hall", 1886 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall.png", 1887 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 1888 "terrain-forbidden", "snow", 1889 "forbidden-season", "winter" 1890 }, 1891 { 1892 "variation-id", "joruvellir-mead-hall", 1893 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall.png", 1894 "upgrade-required", "upgrade-faction-joruvellir", 1895 "terrain-forbidden", "snow", 1896 "forbidden-season", "winter" 1897 }, 1898 { 1899 "variation-id", "joruvellir-mead-hall-snow-winter", 1900 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1901 "upgrade-required", "upgrade-faction-goldhoof-clan", 1902 "terrain", "dirt", 1903 "terrain", "dry-mud", 1904 "terrain", "grass", 1905 "terrain", "snow", 1906 "season", "winter" 1907 }, 1908 { 1909 "variation-id", "joruvellir-mead-hall-snow-winter", 1910 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1911 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 1912 "terrain", "dirt", 1913 "terrain", "dry-mud", 1914 "terrain", "grass", 1915 "terrain", "snow", 1916 "season", "winter" 1917 }, 1918 { 1919 "variation-id", "joruvellir-mead-hall-snow-winter", 1920 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1921 "upgrade-required", "upgrade-faction-joruvellir", 1922 "terrain", "dirt", 1923 "terrain", "dry-mud", 1924 "terrain", "grass", 1925 "terrain", "snow", 1926 "season", "winter" 1927 }, 1928 { 1929 "variation-id", "joruvellir-mead-hall-snow", 1930 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1931 "upgrade-required", "upgrade-faction-goldhoof-clan", 1932 "terrain", "snow" 1933 }, 1934 { 1935 "variation-id", "joruvellir-mead-hall-snow", 1936 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1937 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 1938 "terrain", "snow" 1939 }, 1940 { 1941 "variation-id", "joruvellir-mead-hall-snow", 1942 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_town_hall_snow.png", 1943 "upgrade-required", "upgrade-faction-joruvellir", 1944 "terrain", "snow" 1945 } 1946 }, 1947 Sounds = { 1948 "help", "basic-dwarf-voices-help-town" 1949 } 1950}) 1951 1952DefineUnitType("unit-dwarven-stronghold", { 1953 Name = "Bastion", 1954 Parent = "unit-template-stronghold", 1955 Civilization = "dwarf", 1956 Description = "A dwarven settlement that has reached a certain status will often oversee the construction of a bastion, enhancing its defensive capabilities.", 1957 Quote = "\"Now answer me, warder, the question I ask,\nFor now the truth would I know:\nWhat call they the hall, encompassed here\nWith flickering magic flames?\"\n- Dwarven Traditional Poetry (Durin)", 1958 Image = {"file", "dwarf/buildings/stronghold.png", "size", {128, 128}}, 1959 Shadow = {"file", "dwarf/buildings/stronghold_shadow.png", "size", {128, 128}}, 1960 Icon = "icon-dwarven-stronghold", 1961 Costs = {"lumber", 0, "stone", 3600}, 1962 RepairCosts = {"lumber", 0}, 1963 Missile = "missile-throwing-axe", 1964 FireMissile = "missile-flaming-throwing-axe", 1965 BasicDamage = 11, 1966 MaxAttackRange = 5, 1967 FireResistance = 20, 1968 HackDamage = true, 1969 PierceDamage = false, 1970 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-short-spear", "unit-long-spear", "unit-pike", "unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-hand-cannon", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots"}, 1971 RequirementsString = "War Hall and Masonry", 1972 DropSpells = {"spell-joruvellir-allegiance"}, 1973 Variations = { 1974 { 1975 "variation-id", "bastion", 1976 "upgrade-forbidden", "upgrade-faction-brising-clan", 1977 "upgrade-forbidden", "upgrade-faction-lyr", 1978 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1979 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1980 "upgrade-forbidden", "upgrade-faction-joruvellir", 1981 "terrain-forbidden", "snow", 1982 "forbidden-season", "winter" 1983 }, 1984 { 1985 "variation-id", "bastion-snow-winter", 1986 "file", "dwarf/buildings/stronghold_snow.png", 1987 "upgrade-forbidden", "upgrade-faction-brising-clan", 1988 "upgrade-forbidden", "upgrade-faction-lyr", 1989 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 1990 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 1991 "upgrade-forbidden", "upgrade-faction-joruvellir", 1992 "terrain", "dirt", 1993 "terrain", "dry-mud", 1994 "terrain", "grass", 1995 "terrain", "snow", 1996 "season", "winter" 1997 }, 1998 { 1999 "variation-id", "bastion-snow", 2000 "file", "dwarf/buildings/stronghold_snow.png", 2001 "upgrade-forbidden", "upgrade-faction-brising-clan", 2002 "upgrade-forbidden", "upgrade-faction-lyr", 2003 "upgrade-forbidden", "upgrade-faction-goldhoof-clan", 2004 "upgrade-forbidden", "upgrade-faction-eikinskjaldi-clan", 2005 "upgrade-forbidden", "upgrade-faction-joruvellir", 2006 "terrain", "snow" 2007 }, 2008 { 2009 "variation-id", "brising-bastion", 2010 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold.png", 2011 "icon", "icon-brising-stronghold", 2012 "upgrade-required", "upgrade-faction-brising-clan", 2013 "terrain-forbidden", "snow", 2014 "forbidden-season", "winter" 2015 }, 2016 { 2017 "variation-id", "brising-bastion", 2018 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold.png", 2019 "icon", "icon-brising-stronghold", 2020 "upgrade-required", "upgrade-faction-lyr", 2021 "terrain-forbidden", "snow", 2022 "forbidden-season", "winter" 2023 }, 2024 { 2025 "variation-id", "brising-bastion-snow-winter", 2026 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold_snow.png", 2027 "icon", "icon-brising-stronghold", 2028 "upgrade-required", "upgrade-faction-brising-clan", 2029 "terrain", "dirt", 2030 "terrain", "dry-mud", 2031 "terrain", "grass", 2032 "terrain", "snow", 2033 "season", "winter" 2034 }, 2035 { 2036 "variation-id", "brising-bastion-snow-winter", 2037 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold_snow.png", 2038 "icon", "icon-brising-stronghold", 2039 "upgrade-required", "upgrade-faction-lyr", 2040 "terrain", "dirt", 2041 "terrain", "dry-mud", 2042 "terrain", "grass", 2043 "terrain", "snow", 2044 "season", "winter" 2045 }, 2046 { 2047 "variation-id", "brising-bastion-snow", 2048 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold_snow.png", 2049 "icon", "icon-brising-stronghold", 2050 "upgrade-required", "upgrade-faction-brising-clan", 2051 "terrain", "snow" 2052 }, 2053 { 2054 "variation-id", "brising-bastion-snow", 2055 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_stronghold_snow.png", 2056 "icon", "icon-brising-stronghold", 2057 "upgrade-required", "upgrade-faction-lyr", 2058 "terrain", "snow" 2059 }, 2060 { 2061 "variation-id", "joruvellir-bastion", 2062 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold.png", 2063 "upgrade-required", "upgrade-faction-goldhoof-clan", 2064 "terrain-forbidden", "snow", 2065 "forbidden-season", "winter" 2066 }, 2067 { 2068 "variation-id", "joruvellir-bastion", 2069 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold.png", 2070 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 2071 "terrain-forbidden", "snow", 2072 "forbidden-season", "winter" 2073 }, 2074 { 2075 "variation-id", "joruvellir-bastion", 2076 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold.png", 2077 "upgrade-required", "upgrade-faction-joruvellir", 2078 "terrain-forbidden", "snow", 2079 "forbidden-season", "winter" 2080 }, 2081 { 2082 "variation-id", "joruvellir-bastion-snow-winter", 2083 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2084 "upgrade-required", "upgrade-faction-goldhoof-clan", 2085 "terrain", "dirt", 2086 "terrain", "dry-mud", 2087 "terrain", "grass", 2088 "terrain", "snow", 2089 "season", "winter" 2090 }, 2091 { 2092 "variation-id", "joruvellir-bastion-snow-winter", 2093 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2094 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 2095 "terrain", "dirt", 2096 "terrain", "dry-mud", 2097 "terrain", "grass", 2098 "terrain", "snow", 2099 "season", "winter" 2100 }, 2101 { 2102 "variation-id", "joruvellir-bastion-snow-winter", 2103 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2104 "upgrade-required", "upgrade-faction-joruvellir", 2105 "terrain", "dirt", 2106 "terrain", "dry-mud", 2107 "terrain", "grass", 2108 "terrain", "snow", 2109 "season", "winter" 2110 }, 2111 { 2112 "variation-id", "joruvellir-bastion-snow", 2113 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2114 "upgrade-required", "upgrade-faction-goldhoof-clan", 2115 "terrain", "snow" 2116 }, 2117 { 2118 "variation-id", "joruvellir-bastion-snow", 2119 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2120 "upgrade-required", "upgrade-faction-eikinskjaldi-clan", 2121 "terrain", "snow" 2122 }, 2123 { 2124 "variation-id", "joruvellir-bastion-snow", 2125 "file", "dlcs/joruvellir_faction_flair/graphics/buildings/joruvellir_stronghold_snow.png", 2126 "upgrade-required", "upgrade-faction-joruvellir", 2127 "terrain", "snow" 2128 } 2129 }, 2130 Sounds = { 2131 "help", "basic-dwarf-voices-help-town", 2132 "fire-missile", "throwing-axe" 2133 } 2134}) 2135 2136DefineUnitType("unit-dwarven-mushroom-farm", { 2137 Name = "Mushroom Farm", 2138 Parent = "unit-template-farm", 2139 Civilization = "dwarf", 2140 Description = "For aeons, dwarves have practiced mushroom farming underground. At first, their crude agricultural methods allowed them only to use mushroom farming as a supplementary means of nutrition, so that they could remain in a given area for a longer time before migrating. Eventually, however, dwarven mushroom farming techniques developed to the point that dwarves were able to establish their first permanent communities.", 2141 Quote = "\"This is how we get our food, me lad. Since we are a tad close to the surface here, some sunlight shines down through the cracks in the roof. If we baby the plants, we can usually get enough. They taste unco' foul but that's how we ha' survived all these long years.\"\n- Hamel, Lord of Knalga", 2142 Image = {"file", "dwarf/buildings/mushroom_farm.png", "size", {64, 64}}, 2143 Shadow = {"file", "dwarf/buildings/mushroom_farm_shadow.png", "size", {64, 64}}, 2144 Icon = "icon-dwarven-mushroom-farm", 2145 Costs = {"lumber", 0, "stone", 750}, 2146 RepairCosts = {"lumber", 0, "stone", 1}, 2147 FireResistance = 20, 2148 Drops = {"unit-wood-pile", "unit-stone-pile"}, 2149 Variations = { 2150 { 2151 "variation-id", "mushroom-farm", 2152 "terrain-forbidden", "snow", 2153 "forbidden-season", "winter" 2154 }, 2155 { 2156 "variation-id", "mushroom-farm-snow-winter", 2157 "file", "dwarf/buildings/mushroom_farm_snow.png", 2158 "terrain", "dirt", 2159 "terrain", "dry-mud", 2160 "terrain", "grass", 2161 "terrain", "snow", 2162 "season", "winter" 2163 }, 2164 { 2165 "variation-id", "mushroom-farm-snow", 2166 "file", "dwarf/buildings/mushroom_farm_snow.png", 2167 "terrain", "snow" 2168 } 2169 }, 2170 Sounds = { 2171 "help", "basic-dwarf-voices-help-town" 2172 } 2173} ) 2174 2175DefineUnitType("unit-dwarven-barracks", { 2176 Name = "War Hall", 2177 Parent = "unit-template-barracks", 2178 Civilization = "dwarf", 2179 Description = "The war hall is where dwarves meet to train and hone their axefighting skills. Since early times, dwarves have faced many perils in the dark plains and caves of Nidavellir, such as goblins or hostile dwarven clans. To fight off these menaces, clans gradually developed means of organizing themselves militarily.", 2180 Quote = "\"Loud roar the dwarves by the doors of stone,\nThe masters of the rocks: would you know yet more?\"\n- Dwarven Traditional Poetry", 2181 Image = {"file", "dwarf/buildings/barracks.png", "size", {96, 96}}, 2182 Shadow = {"file", "dwarf/buildings/barracks_shadow.png", "size", {96, 96}}, 2183 Icon = "icon-dwarven-barracks", 2184 Costs = {"lumber", 0, "stone", 1350}, 2185 RepairCosts = {"lumber", 0, "stone", 1}, 2186 FireResistance = 20, 2187 ButtonKey = "w", 2188 ButtonHint = "Build ~!War Hall", 2189 Drops = {"unit-stone-pile"}, 2190 AiDrops = {"unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-short-spear", "unit-long-spear", "unit-pike", "unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-hand-cannon", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots"}, 2191 Variations = { 2192 { 2193 "variation-id", "barracks", 2194 "terrain-forbidden", "snow", 2195 "forbidden-season", "winter" 2196 }, 2197 { 2198 "variation-id", "barracks-snow-winter", 2199 "file", "dwarf/buildings/barracks_snow.png", 2200 "terrain", "dirt", 2201 "terrain", "dry-mud", 2202 "terrain", "grass", 2203 "terrain", "snow", 2204 "season", "winter" 2205 }, 2206 { 2207 "variation-id", "barracks-snow", 2208 "file", "dwarf/buildings/barracks_snow.png", 2209 "terrain", "snow" 2210 } 2211 }, 2212 Sounds = { 2213 "help", "basic-dwarf-voices-help-town" 2214 } 2215} ) 2216 2217DefineUnitType("unit-dwarven-lumber-mill", { 2218 Name = "Lumber Mill", 2219 Parent = "unit-template-lumber-mill", 2220 Civilization = "dwarf", 2221 Description = "Dwarven culture places a great emphasis on handling stone and metal, to the detriment of woodworking. Nevertheless, the lumber mill employs a number of dwarven artisans skilled in woodworking, who strive to improve methods of lumber production and the scouts' throwing axes.", 2222 Background = "In Norse mythology, one instance related to dwarven woodwork to be found is the crafting of the ship Skidbladnir and the throwing spear Gungnir by the sons of Ivaldi. Skidbladnir is mentioned in the ~<Grimnismol~>.", 2223 Image = {"file", "dwarf/buildings/lumber_mill.png", "size", {96, 96}}, 2224 Shadow = {"file", "dwarf/buildings/lumber_mill_shadow.png", "size", {96, 96}}, 2225 Icon = "icon-dwarven-lumber-mill", 2226 Costs = {"time", 165, "copper", 660, "lumber", 0, "stone", 1485}, 2227 RepairCosts = {"lumber", 0, "stone", 1}, 2228 FireResistance = 20, 2229 Drops = {"unit-stone-pile"}, 2230 AiDrops = {"unit-short-spear", "unit-long-spear", "unit-pike", "unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe"}, 2231 Variations = { 2232 { 2233 "variation-id", "lumber-mill", 2234 "terrain-forbidden", "snow", 2235 "forbidden-season", "winter" 2236 }, 2237 { 2238 "variation-id", "lumber-mill-snow-winter", 2239 "file", "dwarf/buildings/lumber_mill_snow.png", 2240 "terrain", "dirt", 2241 "terrain", "dry-mud", 2242 "terrain", "grass", 2243 "terrain", "snow", 2244 "season", "winter" 2245 }, 2246 { 2247 "variation-id", "lumber-mill-snow", 2248 "file", "dwarf/buildings/lumber_mill_snow.png", 2249 "terrain", "snow" 2250 } 2251 }, 2252 Sounds = { 2253 "help", "basic-dwarf-voices-help-town" 2254 } 2255} ) 2256 2257DefineUnitType("unit-dwarven-smithy", { 2258 Name = "Smithy", 2259 Parent = "unit-template-smithy", 2260 Civilization = "dwarf", 2261-- Description = "Smithing is a highly-valued skill in dwarven society, and it is in this structure that dwarven smiths gather to produce weapons and armor for troops. Dwarves are renowned for their smithing abilities, and their craft attracts many non-dwarven customers. The most prestigious of dwarven metalworkers are the runesmiths, Thursagan being the greatest among them.", 2262 Description = "Smithing is a highly-valued skill in dwarven society, leading many to dedicate themselves to that profession. Dwarven smiths are renowned for their abilities, and their craft attracts many foreign customers. The most prestigious of dwarven metalworkers are the runesmiths.", 2263 Quote = "\"The land of Untersberg's banner bold\nComes not from its own land;\nIt comes from Dwarfdom, grim and old\nMade by a runesmith's hand.\"\n- The Scepter of Fire", 2264 Background = "One of the primary talents of the dwarves in Norse mythology was smithing. In a number of myths, dwarven smiths would craft marvelous artifacts for the gods, and sometimes even for mortals.", 2265-- Background = "One of the primary talents of the dwarves in Norse mythology was smithing. In a number of myths, dwarven smiths would craft marvelous artifacts for the gods, and sometimes even for mortals. One example of such an artifact is Mjollnir, the famous hammer of the Norse god Thor, which was made by the dwarves Brokk and Eitri. Another example is the sword Gram, crafted by the dwarf Regin in the ~<Reginsmol~>.\n\nRunesmiths feature in the Battle for Wesnoth, and are mentioned in ~<The Sceptre of Fire~> poem.", 2266 Image = {"file", "dwarf/buildings/smithy.png", "size", {96, 96}}, 2267 Shadow = {"file", "dwarf/buildings/smithy_shadow.png", "size", {96, 96}}, 2268 Icon = "icon-dwarven-smithy", 2269 Costs = {"time", 190, "copper", 800, "lumber", 0, "stone", 1560}, 2270 RepairCosts = {"lumber", 0, "stone", 1}, 2271 FireResistance = 20, 2272 Drops = {"unit-stone-pile"}, 2273 AiDrops = {"unit-runesmiths-hammer", "unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-hand-cannon", "unit-round-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-spatha"}, -- drops Spatha to allow dropping dwarven unique swords 2274 Variations = { 2275 { 2276 "variation-id", "smithy", 2277 "terrain-forbidden", "snow", 2278 "forbidden-season", "winter" 2279 }, 2280 { 2281 "variation-id", "smithy-snow-winter", 2282 "file", "dwarf/buildings/smithy_snow.png", 2283 "terrain", "dirt", 2284 "terrain", "dry-mud", 2285 "terrain", "grass", 2286 "terrain", "snow", 2287 "season", "winter" 2288 }, 2289 { 2290 "variation-id", "smithy-snow", 2291 "file", "dwarf/buildings/smithy_snow.png", 2292 "terrain", "snow" 2293 } 2294 }, 2295 Sounds = { 2296 "help", "basic-dwarf-voices-help-town" 2297 } 2298} ) 2299 2300DefineUnitType("unit-dwarven-masons-shop", { 2301 Parent = "unit-template-masons-shop", 2302 Civilization = "dwarf", 2303 Description = "Dwarven construction makes heavy use of stone as a material, so that the existence of a mason's shop in a settlement is all the more important.", 2304 Background = "Dwarves are strongly associated with stone in Norse mythology, making their homes in rocky hills and stony caves. In the ~<Voluspo~> they are called \"the masters of the rocks\".", 2305 Image = {"file", "dwarf/buildings/masons_shop.png", "size", {96, 96}}, 2306 Shadow = {"file", "dwarf/buildings/masons_shop_shadow.png", "size", {96, 96}}, 2307 Icon = "icon-dwarven-masons-shop", 2308 Costs = {"time", 165, "copper", 660, "lumber", 0, "stone", 1485}, 2309 RepairCosts = {"lumber", 0, "stone", 1}, 2310 FireResistance = 20, 2311 Variations = { 2312 { 2313 "variation-id", "masons-shop", 2314 "terrain-forbidden", "snow", 2315 "forbidden-season", "winter" 2316 }, 2317 { 2318 "variation-id", "masons-shop-snow-winter", 2319 "file", "dwarf/buildings/masons_shop_snow.png", 2320 "terrain", "dirt", 2321 "terrain", "dry-mud", 2322 "terrain", "grass", 2323 "terrain", "snow", 2324 "season", "winter" 2325 }, 2326 { 2327 "variation-id", "masons-shop-snow", 2328 "file", "dwarf/buildings/masons_shop_snow.png", 2329 "terrain", "snow" 2330 } 2331 }, 2332 Sounds = { 2333 "help", "basic-dwarf-voices-help-town" 2334 } 2335} ) 2336 2337DefineUnitType("unit-dwarven-yale-pen", { 2338 Name = "Yale Pen", 2339 Parent = "unit-template-stables", 2340 Civilization = "dwarf", 2341 Description = "Although the underground dwarves shun mounted combat, their wild hill-dwelling kin cherish it as a noble tradition. The mobility given by the yale is crucial for traversing their homelands' hills and peaks. Dwarves have been breeding yales since time immemorial, the animals being valuable not only as mounts, but also as beasts of carry.", 2342 Image = {"file", "dwarf/buildings/yale_pen.png", "size", {96, 96}}, 2343 Shadow = {"file", "dwarf/buildings/yale_pen_shadow.png", "size", {96, 96}}, 2344 Icon = "icon-dwarven-yale-pen", 2345 RepairCosts = {"stone", 1}, 2346 Costs = {"lumber", 600, "stone", 300}, 2347 RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, 2348 FireResistance = 20, 2349 Inexhaustible = true, 2350 CanHarvest = true, 2351 StartingResources = {1000}, 2352 GivesResource = "leather", 2353 MaxHarvesters = 3, 2354 ButtonKey = "y", 2355 ButtonHint = "Build ~!Yale Pen", 2356 Drops = {"unit-stone-pile", "unit-yale"}, 2357 BuildingRulesString = "Cannot be built close to town halls", 2358 Variations = { 2359 { 2360 "variation-id", "yale-pen", 2361 "terrain-forbidden", "snow", 2362 "forbidden-season", "winter" 2363 }, 2364 { 2365 "variation-id", "yale-pen-snow-winter", 2366 "file", "dwarf/buildings/yale_pen_snow.png", 2367 "terrain", "dirt", 2368 "terrain", "dry-mud", 2369 "terrain", "grass", 2370 "terrain", "snow", 2371 "season", "winter" 2372 }, 2373 { 2374 "variation-id", "yale-pen-snow", 2375 "file", "dwarf/buildings/yale_pen_snow.png", 2376 "terrain", "snow" 2377 } 2378 }, 2379 Sounds = { 2380 "selected", "yale-pen-selected", 2381 "help", "basic-dwarf-voices-help-town" 2382 } 2383} ) 2384 2385DefineUnitType("unit-dwarven-temple", { 2386 Name = "Temple", 2387 Parent = "unit-template-temple", 2388 Civilization = "dwarf", 2389 Description = "Dwarven temples are built as underground vaults, where they keep their mystic texts. The temple vault has many layers, with only dwarven sages of the highest caliber being granted access to the deepest ones.", 2390 Image = {"file", "dwarf/buildings/temple.png", "size", {96, 96}}, 2391 Shadow = {"file", "dwarf/buildings/temple_shadow.png", "size", {96, 96}}, 2392 Icon = "icon-dwarven-temple", 2393 Costs = {"lumber", 0, "stone", 1500}, 2394 RepairCosts = {"lumber", 0, "stone", 1}, 2395 FireResistance = 20, 2396 Drops = {"unit-stone-pile"}, 2397 Variations = { 2398 { 2399 "variation-id", "temple", 2400 "terrain-forbidden", "snow", 2401 "forbidden-season", "winter" 2402 }, 2403 { 2404 "variation-id", "temple-snow-winter", 2405 "file", "dwarf/buildings/temple_snow.png", 2406 "terrain", "dirt", 2407 "terrain", "dry-mud", 2408 "terrain", "grass", 2409 "terrain", "snow", 2410 "season", "winter" 2411 }, 2412 { 2413 "variation-id", "temple-snow", 2414 "file", "dwarf/buildings/temple_snow.png", 2415 "terrain", "snow" 2416 } 2417 }, 2418 Sounds = { 2419 "help", "basic-dwarf-voices-help-town" 2420 } 2421} ) 2422 2423DefineUnitType("unit-dwarven-sentry-tower", { 2424 Name = "Sentry Tower", 2425 Parent = "unit-template-watch-tower", 2426 Civilization = "dwarf", 2427 Description = "In these solid towers dwarves keep watch of threats approaching their settlements.", 2428 Image = {"file", "dwarf/buildings/sentry_tower.png", "size", {64, 64}}, 2429 Shadow = {"file", "dwarf/buildings/sentry_tower_shadow.png", "size", {64, 64}}, 2430 Animations = "animations-dwarven-sentry-tower", Icon = "icon-dwarven-sentry-tower", 2431 Costs = {"lumber", 0, "stone", 600}, 2432 RepairCosts = {"lumber", 0}, 2433 FireResistance = 20, 2434 HitPoints = 250, -- 300 with masonry 2435 Construction = "construction-dwarven-sentry-tower", 2436 ButtonHint = "Build Sentry ~!Tower", 2437 Variations = { 2438 { 2439 "variation-id", "sentry-tower", 2440 "terrain-forbidden", "snow", 2441 "forbidden-season", "winter" 2442 }, 2443 { 2444 "variation-id", "sentry-tower-snow-winter", 2445 "file", "dwarf/buildings/sentry_tower_snow.png", 2446 "terrain", "dirt", 2447 "terrain", "dry-mud", 2448 "terrain", "grass", 2449 "terrain", "snow", 2450 "season", "winter" 2451 }, 2452 { 2453 "variation-id", "sentry-tower-snow", 2454 "file", "dwarf/buildings/sentry_tower_snow.png", 2455 "terrain", "snow" 2456 } 2457 }, 2458 Sounds = { 2459 "help", "basic-dwarf-voices-help-town" 2460 } 2461} ) 2462 2463DefineUnitType("unit-dwarven-guard-tower", { 2464 Name = "Guard Tower", 2465 Parent = "unit-template-guard-tower", 2466 Civilization = "dwarf", 2467 Description = "Often garrisoned by dwarven scouts, these towers are an essential part of a dwarven settlement's sturdy defenses.", 2468 Image = {"file", "dwarf/buildings/guard_tower.png", "size", {64, 64}}, 2469 Shadow = {"file", "dwarf/buildings/guard_tower_shadow.png", "size", {64, 64}}, 2470 Icon = "icon-dwarven-guard-tower", 2471 Costs = {"lumber", 0, "stone", 450}, 2472 RepairCosts = {"lumber", 0}, 2473 Missile = "missile-throwing-axe", 2474 FireMissile = "missile-flaming-throwing-axe", 2475 BasicDamage = 11, 2476 MaxAttackRange = 5, 2477 FireResistance = 20, 2478 HitPoints = 325, -- 390 with masonry 2479 HackDamage = true, 2480 PierceDamage = false, 2481 Variations = { 2482 { 2483 "variation-id", "guard-tower", 2484 "terrain-forbidden", "snow", 2485 "forbidden-season", "winter" 2486 }, 2487 { 2488 "variation-id", "guard-tower-snow-winter", 2489 "file", "dwarf/buildings/guard_tower_snow.png", 2490 "terrain", "dirt", 2491 "terrain", "dry-mud", 2492 "terrain", "grass", 2493 "terrain", "snow", 2494 "season", "winter" 2495 }, 2496 { 2497 "variation-id", "guard-tower-snow", 2498 "file", "dwarf/buildings/guard_tower_snow.png", 2499 "terrain", "snow" 2500 } 2501 }, 2502 Sounds = { 2503 "help", "basic-dwarf-voices-help-town", 2504 "fire-missile", "throwing-axe" 2505 } 2506} ) 2507 2508DefineUnitType("unit-dwarven-ballista-tower", { 2509 Name = "Ballista Tower", 2510 Parent = "unit-template-heavy-tower", 2511 Civilization = "dwarf", 2512 Description = "A marvel of dwarven engineering, ballista towers make dwarven settlements nigh-impregnable.", 2513 Image = {"file", "dwarf/buildings/ballista_tower.png", "size", {64, 64}}, 2514 Shadow = {"file", "dwarf/buildings/ballista_tower_shadow.png", "size", {64, 64}}, 2515 Icon = "icon-dwarven-ballista-tower", 2516 Costs = {"lumber", 0, "stone", 900}, 2517 RepairCosts = {"lumber", 0}, 2518 Missile = "missile-dwarven-ballista-bolt", 2519 FireMissile = "missile-flaming-dwarven-ballista-bolt", 2520 FireResistance = 20, 2521 PierceDamage = true, 2522 Variations = { 2523 { 2524 "variation-id", "ballista-tower", 2525 "terrain-forbidden", "snow", 2526 "forbidden-season", "winter" 2527 }, 2528 { 2529 "variation-id", "ballista-tower-snow-winter", 2530 "file", "dwarf/buildings/ballista_tower_snow.png", 2531 "terrain", "dirt", 2532 "terrain", "dry-mud", 2533 "terrain", "grass", 2534 "terrain", "snow", 2535 "season", "winter" 2536 }, 2537 { 2538 "variation-id", "ballista-tower-snow", 2539 "file", "dwarf/buildings/ballista_tower_snow.png", 2540 "terrain", "snow" 2541 } 2542 }, 2543 Sounds = { 2544 "help", "basic-dwarf-voices-help-town", 2545 "fire-missile", "catapult-attack" 2546 } 2547} ) 2548 2549DefineUnitType("unit-dwarven-cannon-tower", { 2550 Name = "Cannon Tower", 2551 Parent = "unit-template-cannon-tower", 2552 Civilization = "dwarf", 2553 Description = "With the advent of gunpowder, dwarven engineers were quick to make use of it for defensive purposes.", 2554 Image = {"file", "dwarf/buildings/cannon_tower.png", "size", {64, 64}}, 2555 Shadow = {"file", "dwarf/buildings/cannon_tower_shadow.png", "size", {64, 64}}, 2556 Icon = "icon-dwarven-cannon-tower", 2557 Costs = {"lumber", 0, "stone", 900}, 2558 RepairCosts = {"lumber", 0}, 2559 FireResistance = 20, 2560 Variations = { 2561 { 2562 "variation-id", "cannon-tower", 2563 "terrain-forbidden", "snow", 2564 "forbidden-season", "winter" 2565 }, 2566 { 2567 "variation-id", "cannon-tower-snow-winter", 2568 "file", "dwarf/buildings/cannon_tower_snow.png", 2569 "terrain", "dirt", 2570 "terrain", "dry-mud", 2571 "terrain", "grass", 2572 "terrain", "snow", 2573 "season", "winter" 2574 }, 2575 { 2576 "variation-id", "cannon-tower-snow", 2577 "file", "dwarf/buildings/cannon_tower_snow.png", 2578 "terrain", "snow" 2579 } 2580 }, 2581 Sounds = { 2582 "help", "basic-dwarf-voices-help-town" 2583 } 2584} ) 2585 2586DefineUnitType("unit-dwarven-market", { 2587 Parent = "unit-template-market", 2588 Civilization = "dwarf", 2589 Description = "Commerce is an important part of the dwarven quotidian. Not only are various metals exchanged, but vital supplies of wood are traded to underground settlements.", 2590 Image = {"file", "dwarf/buildings/market.png", "size", {96, 96}}, 2591 Shadow = {"file", "dwarf/buildings/market_shadow.png", "size", {96, 96}}, 2592 Animations = "animations-building", Icon = "icon-dwarven-market", 2593 Costs = {"lumber", 900, "stone", 450}, 2594 RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, 2595 FireResistance = 20, 2596 SoldUnits = {"unit-runesmiths-hammer", "unit-battle-axe", "unit-broad-axe", "unit-great-axe", "unit-throwing-axe", "unit-sharp-throwing-axe", "unit-bearded-throwing-axe", "unit-thrusting-sword", "unit-round-shield", "unit-brising-round-shield", "unit-joruvellir-wooden-shield", "unit-heater-shield", "unit-thrymgjol-shield", "unit-boots", "unit-wool-shoes", "unit-furry-wool-shoes"}, 2597 Variations = { 2598 { 2599 "variation-id", "market", 2600 "terrain-forbidden", "snow", 2601 "forbidden-season", "winter" 2602 }, 2603 { 2604 "variation-id", "market-snow-winter", 2605 "file", "dwarf/buildings/market_snow.png", 2606 "terrain", "dirt", 2607 "terrain", "dry-mud", 2608 "terrain", "grass", 2609 "terrain", "snow", 2610 "season", "winter" 2611 }, 2612 { 2613 "variation-id", "market-snow", 2614 "file", "dwarf/buildings/market_snow.png", 2615 "terrain", "snow" 2616 } 2617 }, 2618 Sounds = { 2619 "help", "basic-dwarf-voices-help-town" 2620 } 2621} ) 2622 2623DefineUnitType("unit-dwarven-academy", { 2624 Name = "Academy", 2625 Parent = "unit-template-university", 2626 Civilization = "dwarf", 2627 Description = "Though strongly bound to tradition, dwarves also possess inquisitive minds. In their academies, scholars seek to understand the mysteries of nature.", 2628 Image = {"file", "dwarf/buildings/academy.png", "size", {96, 96}}, 2629 Shadow = {"file", "dwarf/buildings/academy_shadow.png", "size", {96, 96}}, 2630 Icon = "icon-dwarven-academy", 2631 RequirementsString = "Writing", 2632 Variations = { 2633 { 2634 "variation-id", "academy", 2635 "terrain-forbidden", "snow", 2636 "forbidden-season", "winter" 2637 }, 2638 { 2639 "variation-id", "academy-snow-winter", 2640 "file", "dwarf/buildings/academy_snow.png", 2641 "terrain", "dirt", 2642 "terrain", "dry-mud", 2643 "terrain", "grass", 2644 "terrain", "snow", 2645 "season", "winter" 2646 }, 2647 { 2648 "variation-id", "academy-snow", 2649 "file", "dwarf/buildings/academy_snow.png", 2650 "terrain", "snow" 2651 } 2652 }, 2653 Sounds = { 2654 "help", "basic-dwarf-voices-help-town" 2655 } 2656} ) 2657 2658DefineUnitType("unit-dwarven-dock", { 2659 Name = "Dock", 2660 Parent = "unit-template-dock", 2661 Civilization = "dwarf", 2662 Description = "Although nautical dwarves are few in number, dwarven shipwrighting is a refined craft. They construct sturdy ships, capable of braving oceans and subterranean rivers alike.", 2663 Image = {"file", "dwarf/buildings/dock.png", "size", {96, 96}}, 2664 Shadow = {"file", "dwarf/buildings/dock_shadow.png", "size", {96, 96}}, 2665 Animations = "animations-building", Icon = "icon-dwarven-dock", 2666 Costs = {"time", 200, "copper", 800, "lumber", 900, "stone", 450}, 2667 RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, 2668 FireResistance = 20, 2669-- Drops = {"unit-stone-pile"}, 2670 Variations = { 2671 { 2672 "variation-id", "dock", 2673 "terrain-forbidden", "snow", 2674 "forbidden-season", "winter" 2675 }, 2676 { 2677 "variation-id", "dock-snow-winter", 2678 "file", "dwarf/buildings/dock_snow.png", 2679 "terrain", "dirt", 2680 "terrain", "dry-mud", 2681 "terrain", "grass", 2682 "terrain", "snow", 2683 "season", "winter" 2684 }, 2685 { 2686 "variation-id", "dock-snow", 2687 "file", "dwarf/buildings/dock_snow.png", 2688 "terrain", "snow" 2689 } 2690 }, 2691 Sounds = { 2692 "help", "basic-dwarf-voices-help-town" 2693 } 2694} ) 2695 2696DefineUnitType("unit-dwarven-wall", { 2697 Parent = "unit-template-wall", 2698 Civilization = "dwarf", 2699 TerrainType = "dwarven-wall", 2700 Image = {"file", "dwarf/buildings/wall.png", "size", {32, 32}}, 2701 Icon = "icon-dwarven-wall", 2702 Description = "Masters of stonecraft, dwarves erect mighty walls in the protection of their settlements. The fabled gate Thrymgjol, built by the sons of the dwarf Solblindi, is said to provide the strongest protection of all.", 2703 Background = "The Thrymgjol gate and its makers, the sons of the dwarf Solblindi, are mentioned in the ~<Svipdagsmol~> of Norse mythology. The name \"Thrymgjol\" means \"loud-clanging\".", 2704 HitPoints = 250 -- +50 HP 2705} ) 2706 2707Load("scripts/civilizations/dwarf/units_joruvellir.lua") 2708Load("scripts/civilizations/dwarf/units_brising.lua") 2709 2710DefineUnitType("unit-surghan-mercenary-axefighter", { 2711 Parent = "unit-dwarven-axefighter", 2712 Civilization = "dwarf", 2713 Faction = "surghan-mercenaries", 2714 Description = "These scoundrels will hire their axes to the largest bidder, no questions asked. They have participated in a number of engagements, the most dangerous of which was the pursuit of a group of dwarves into the lair of the wyrm Svafnir and beyond.", 2715 Quote = "\"It must be one of those Surghan mercenaries. I'll bet those Shinsplitters have hired more of them. That's bad news for us, for they are deadly, combat-hardened warriors.\"\n- Baglur, Retired Norlund Warrior", 2716 Icon = "icon-surghan-mercenary-axefighter", 2717 BasicDamage = 11, -- +2 damage 2718 Points = 60, -- +10 points 2719 Variations = { 2720 { 2721 "variation-id", "red-hair" 2722 }, 2723 { 2724 "layer", "weapon", 2725 "variation-id", "axe", 2726 "upgrade-forbidden", "upgrade-dwarven-great-axe", 2727 "item-not-equipped", "unit-club", 2728 "item-not-equipped", "unit-hammer", 2729 "item-not-equipped", "unit-runesmiths-hammer", 2730 "item-not-equipped", "unit-mining-pick", 2731 "item-not-equipped", "unit-great-axe" 2732 }, 2733 { 2734 "layer", "weapon", 2735 "variation-id", "double-axe", 2736 "file", "dwarf/units/weapons/double_axe.png", 2737 "upgrade-required", "upgrade-dwarven-great-axe", 2738 "item-not-equipped", "unit-club", 2739 "item-not-equipped", "unit-hammer", 2740 "item-not-equipped", "unit-runesmiths-hammer", 2741 "item-not-equipped", "unit-mining-pick", 2742 "item-equipped", "unit-great-axe" 2743 }, 2744 { 2745 "layer", "weapon", 2746 "variation-id", "mace", 2747 "file", "dwarf/units/weapons/mace.png", 2748 "item-equipped", "unit-club", 2749 "item-equipped", "unit-hammer", 2750 "item-equipped", "unit-runesmiths-hammer", 2751 "item-equipped", "unit-mining-pick" 2752 }, 2753 { 2754 "layer", "shield", 2755 "variation-id", "round-shield", 2756 "item-not-equipped", "unit-brising-round-shield" 2757 }, 2758 { 2759 "layer", "shield", 2760 "variation-id", "round-shield", 2761 "item-equipped", "unit-round-shield" 2762 }, 2763 { 2764 "layer", "shield", 2765 "variation-id", "brising-round-shield", 2766 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 2767 "item-equipped", "unit-brising-round-shield" 2768 } 2769 } 2770} ) 2771 2772DefineUnitType("unit-surghan-mercenary-steelclad", { 2773 Parent = "unit-dwarven-steelclad", 2774 Civilization = "dwarf", 2775 Faction = "surghan-mercenaries", 2776 Description = "These scoundrels will hire their axes to the largest bidder, no questions asked. They have participated in a number of engagements, the most dangerous of which was the pursuit of a group of dwarves into the lair of the wyrm Svafnir and beyond.", 2777 Quote = "\"It must be one of those Surghan mercenaries. I'll bet those Shinsplitters have hired more of them. That's bad news for us, for they are deadly, combat-hardened warriors.\"\n- Baglur, Retired Norlund Warrior", 2778 Icon = "icon-surghan-mercenary-steelclad", 2779 BasicDamage = 12, -- +2 damage 2780 Points = 85, -- +10 points 2781 Variations = { 2782 { 2783 "variation-id", "red-hair" 2784 }, 2785 { 2786 "layer", "weapon", 2787 "variation-id", "axe", 2788 "upgrade-forbidden", "upgrade-dwarven-great-axe", 2789 "item-not-equipped", "unit-club", 2790 "item-not-equipped", "unit-hammer", 2791 "item-not-equipped", "unit-runesmiths-hammer", 2792 "item-not-equipped", "unit-mining-pick", 2793 "item-not-equipped", "unit-great-axe" 2794 }, 2795 { 2796 "layer", "weapon", 2797 "variation-id", "double-axe", 2798 "file", "dwarf/units/weapons/double_axe.png", 2799 "upgrade-required", "upgrade-dwarven-great-axe", 2800 "item-not-equipped", "unit-club", 2801 "item-not-equipped", "unit-hammer", 2802 "item-not-equipped", "unit-runesmiths-hammer", 2803 "item-not-equipped", "unit-mining-pick", 2804 "item-equipped", "unit-great-axe" 2805 }, 2806 { 2807 "layer", "weapon", 2808 "variation-id", "mace", 2809 "file", "dwarf/units/weapons/mace.png", 2810 "item-equipped", "unit-club", 2811 "item-equipped", "unit-hammer", 2812 "item-equipped", "unit-runesmiths-hammer", 2813 "item-equipped", "unit-mining-pick" 2814 }, 2815 { 2816 "layer", "shield", 2817 "variation-id", "round-shield", 2818 "item-not-equipped", "unit-brising-round-shield" 2819 }, 2820 { 2821 "layer", "shield", 2822 "variation-id", "brising-round-shield", 2823 "file", "dlcs/brising_faction_flair/graphics/units/brising_round_shield.png", 2824 "item-equipped", "unit-brising-round-shield" 2825 } 2826 } 2827} ) 2828 2829DefineUnitType("unit-surghan-mercenary-thane", { 2830 Parent = "unit-dwarven-thane", 2831 Civilization = "dwarf", 2832 Faction = "surghan-mercenaries", 2833 Description = "These scoundrels will hire their axes to the largest bidder, no questions asked. They have participated in a number of engagements, the most dangerous of which was the pursuit of a group of dwarves into the lair of the wyrm Svafnir and beyond.", 2834 Quote = "\"It must be one of those Surghan mercenaries. I'll bet those Shinsplitters have hired more of them. That's bad news for us, for they are deadly, combat-hardened warriors.\"\n- Baglur, Retired Norlund Warrior", 2835 Icon = "icon-surghan-mercenary-thane", 2836 BasicDamage = 14, -- +2 damage 2837 Points = 110, -- +10 points 2838 Variations = {} 2839} ) 2840