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-- units.ccl - Define the orc unit-types. 12-- 13-- (c) Copyright 2001-2005 by Lutz Sammer and Jimmy Salmon 14-- 15-- This program is free software; you can redistribute it and/or modify 16-- it under the terms of the GNU General Public License as published by 17-- the Free Software Foundation; either version 2 of the License, or 18-- (at your option) any later version. 19-- 20-- This program is distributed in the hope that it will be useful, 21-- but WITHOUT ANY WARRANTY; without even the implied warranty of 22-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23-- GNU General Public License for more details. 24-- 25-- You should have received a copy of the GNU General Public License 26-- along with this program; if not, write to the Free Software 27-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 28-- 29 30 31 32--============================================================================= 33-- Define unit-types. 34-- 35DefineUnitType("unit-grunt", { Name = _("Grunt"), 36 Image = {"file", "orc/units/grunt.png", "size", {72, 72}}, 37 Animations = "animations-grunt", Icon = "icon-grunt", 38 Costs = {"time", 60, "gold", 600}, 39 Speed = 10, 40 HitPoints = 60, 41 DrawLevel = 40, 42 TileSize = {1, 1}, BoxSize = {31, 31}, 43 SightRange = 4, ComputerReactionRange = 6, PersonReactionRange = 4, 44 Armor = 2, BasicDamage = 6, PiercingDamage = 3, Missile = "missile-none", 45 MaxAttackRange = 1, 46 Priority = 60, 47 Points = 50, 48 Demand = 1, 49 Corpse = "unit-orc-dead-body", 50 Type = "land", 51 RightMouseAction = "attack", 52 CanAttack = true, 53 CanTargetLand = true, 54 LandUnit = true, 55 organic = true, 56 SelectableByRectangle = true, 57 Sounds = { 58 "selected", "grunt-selected", 59 "acknowledge", "grunt-acknowledge", 60 "ready", "grunt-ready", 61 "help", "basic orc voices help 1", 62 "dead", "basic orc voices dead"} } ) 63 64DefineUnitType("unit-peon", { Name = _("Peon"), 65 Image = {"file", "orc/units/peon.png", "size", {72, 72}}, 66 Animations = "animations-peon", Icon = "icon-peon", 67 Costs = {"time", 45, "gold", 400}, 68 Speed = 10, 69 HitPoints = 30, 70 DrawLevel = 40, 71 TileSize = {1, 1}, BoxSize = {31, 31}, 72 SightRange = 4, ComputerReactionRange = 6, PersonReactionRange = 4, 73 AutoRepairRange = 4, 74 BasicDamage = 3, PiercingDamage = 2, Missile = "missile-none", 75 MaxAttackRange = 1, 76 Priority = 50, 77 Points = 30, 78 Demand = 1, 79 Corpse = "unit-orc-dead-body", 80 Type = "land", 81 RightMouseAction = "harvest", 82 CanAttack = true, RepairRange = 1, 83 CanTargetLand = true, 84 LandUnit = true, 85 Coward = true, 86 CanGatherResources = { 87 {"file-when-loaded", "orc/units/peon_with_gold.png", 88 "resource-id", "gold", 89 "resource-capacity", 100, 90 "wait-at-resource", 150, 91 "wait-at-depot", 150}, 92 {"file-when-loaded", "orc/units/peon_with_wood.png", 93 "resource-id", "wood", 94 "resource-capacity", 100, 95 "resource-step", 2, 96 "wait-at-resource", 24, 97 "wait-at-depot", 150, 98 "terrain-harvester"}}, 99 organic = true, 100 SelectableByRectangle = true, 101 Sounds = { 102 "selected", "peon-selected", 103 "acknowledge", "peon-acknowledge", 104 "ready", "peon-ready", 105 "help", "basic orc voices help 1", 106 "dead", "basic orc voices dead"} } ) 107 108DefineUnitType("unit-attack-peon", { Name = _("Peon"), 109 Image = {"file", "orc/units/peon.png", "size", {72, 72}}, 110 Animations = "animations-peon", Icon = "icon-peon", 111 Costs = {"time", 45, "gold", 400}, 112 Speed = 10, 113 HitPoints = 30, 114 DrawLevel = 40, 115 TileSize = {1, 1}, BoxSize = {31, 31}, 116 SightRange = 4, ComputerReactionRange = 6, PersonReactionRange = 4, 117 BasicDamage = 3, PiercingDamage = 2, Missile = "missile-none", 118 MaxAttackRange = 1, 119 Priority = 50, 120 Points = 30, 121 Demand = 1, 122 Corpse = "unit-orc-dead-body", 123 Type = "land", 124 RightMouseAction = "harvest", 125 CanAttack = true, RepairRange = 1, 126 CanTargetLand = true, 127 LandUnit = true, 128 CanGatherResources = { 129 {"file-when-loaded", "orc/units/peon_with_gold.png", 130 "resource-id", "gold", 131 "resource-capacity", 100, 132 "wait-at-resource", 150, 133 "wait-at-depot", 150}, 134 {"file-when-loaded", "orc/units/peon_with_wood.png", 135 "resource-id", "wood", 136 "resource-capacity", 100, 137 "resource-step", 2, 138 "wait-at-resource", 24, 139 "wait-at-depot", 150, 140 "terrain-harvester"}}, 141 organic = true, 142 SelectableByRectangle = true, 143 Sounds = { 144 "selected", "peon-selected", 145 "acknowledge", "peon-acknowledge", 146 "ready", "peon-ready", 147 "help", "basic orc voices help 1", 148 "dead", "basic orc voices dead"} } ) 149 150DefineUnitType("unit-catapult", { Name = _("Catapult"), 151 Image = {"file", "orc/units/catapult.png", "size", {64, 64}}, 152 Animations = "animations-catapult", Icon = "icon-catapult", 153 Costs = {"time", 250, "gold", 900, "wood", 300}, 154 Speed = 5, 155 HitPoints = 110, 156 DrawLevel = 40, 157 TileSize = {1, 1}, BoxSize = {63, 63}, 158 SightRange = 9, ComputerReactionRange = 11, PersonReactionRange = 9, 159 BasicDamage = 80, PiercingDamage = 0, Missile = "missile-catapult-rock", 160 MinAttackRange = 2, MaxAttackRange = 8, 161 Priority = 70, 162 Points = 100, 163 Demand = 1, 164 ExplodeWhenKilled = "missile-explosion", 165 Type = "land", 166 LandUnit = true, 167 RightMouseAction = "attack", 168 CanAttack = true, 169 CanTargetLand = true, CanTargetSea = true, 170 GroundAttack = true, 171 SelectableByRectangle = true, 172 Sounds = { 173 "selected", "catapult-selected", 174 "acknowledge", "catapult-acknowledge", 175 "ready", "catapult-ready", 176 "help", "basic orc voices help 1", 177 "dead", "explosion"} } ) 178 179DefineUnitType("unit-catapult-super", { Name = _("Catapult"), 180 Image = {"file", "orc/units/catapult.png", "size", {64, 64}}, 181 Animations = "animations-catapult", Icon = "icon-catapult", 182 Costs = {"time", 250, "gold", 900, "wood", 300}, 183 Speed = 0, 184 HitPoints = 150, 185 DrawLevel = 40, 186 TileSize = {1, 1}, BoxSize = {63, 63}, 187 SightRange = 10, ComputerReactionRange = 11, PersonReactionRange = 10, 188 Armor = 5, BasicDamage = 80, PiercingDamage = 0, Missile = "missile-ballista-bolt", 189 MinAttackRange = 4, MaxAttackRange = 10, 190 Priority = 72, 191 Points = 200, 192 Demand = 1, 193 ExplodeWhenKilled = "missile-explosion", 194 Type = "land", 195 LandUnit = true, 196 RightMouseAction = "attack", 197 CanAttack = true, 198 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 199 GroundAttack = true, 200 SelectableByRectangle = false, 201 Sounds = { 202 "selected", "catapult-selected", 203 "acknowledge", "catapult-acknowledge", 204 "ready", "catapult-ready", 205 "help", "basic orc voices help 1", 206 "dead", "explosion"} } ) 207 208DefineUnitType("unit-ogre", { Name = _("Ogre"), 209 Image = {"file", "orc/units/ogre.png", "size", {72, 72}}, 210 Animations = "animations-ogre", Icon = "icon-ogre", 211 Costs = {"time", 90, "gold", 800, "wood", 100}, 212 Speed = 13, 213 HitPoints = 90, 214 DrawLevel = 40, 215 TileSize = {1, 1}, BoxSize = {42, 42}, 216 SightRange = 4, ComputerReactionRange = 6, PersonReactionRange = 4, 217 Armor = 4, BasicDamage = 8, PiercingDamage = 4, Missile = "missile-none", 218 MaxAttackRange = 1, 219 Priority = 63, 220 Points = 100, 221 Demand = 1, 222 Corpse = "unit-orc-dead-body", 223 Type = "land", 224 RightMouseAction = "attack", 225 CanAttack = true, 226 CanTargetLand = true, 227 LandUnit = true, 228 organic = true, 229 SelectableByRectangle = true, 230 Sounds = { 231 "selected", "ogre-selected", 232 "acknowledge", "ogre-acknowledge", 233 "ready", "ogre-ready", 234 "help", "basic orc voices help 1", 235 "dead", "basic orc voices dead"} } ) 236 237DefineUnitType("unit-axethrower", { Name = _("Troll Axethrower"), 238 Image = {"file", "orc/units/troll_axethrower.png", "size", {72, 72}}, 239 Animations = "animations-axethrower", Icon = "icon-axethrower", 240 Costs = {"time", 70, "gold", 500, "wood", 50}, 241 Speed = 10, 242 HitPoints = 40, 243 DrawLevel = 40, 244 TileSize = {1, 1}, BoxSize = {36, 36}, 245 SightRange = 5, ComputerReactionRange = 7, PersonReactionRange = 5, 246 BasicDamage = 3, PiercingDamage = 6, Missile = "missile-axe", 247 MaxAttackRange = 4, 248 Priority = 50, 249 Points = 60, 250 Demand = 1, 251 Corpse = "unit-orc-dead-body", 252 Type = "land", 253 RightMouseAction = "attack", 254 CanAttack = true, 255 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 256 LandUnit = true, 257 organic = true, 258 SelectableByRectangle = true, 259 Sounds = { 260 "selected", "axethrower-selected", 261 "acknowledge", "axethrower-acknowledge", 262 "ready", "axethrower-ready", 263 "help", "basic orc voices help 1", 264 "dead", "basic orc voices dead"} } ) 265 266DefineUnitType("unit-death-knight", { Name = _("Death Knight"), 267 Image = {"file", "orc/units/death_knight.png", "size", {72, 72}}, 268 Animations = "animations-death-knight", Icon = "icon-death-knight", 269 Costs = {"time", 120, "gold", 1200}, 270 Speed = 8, 271 HitPoints = 60, 272 DrawLevel = 40, 273 Mana = {Enable = true}, 274 TileSize = {1, 1}, BoxSize = {39, 39}, 275 SightRange = 9, ComputerReactionRange = 11, PersonReactionRange = 9, 276 BasicDamage = 0, PiercingDamage = 9, Missile = "missile-touch-of-death", 277 MaxAttackRange = 3, 278 Priority = 70, 279 Points = 100, 280 Demand = 1, 281 Type = "land", 282 RightMouseAction = "attack", 283 CanAttack = true, 284 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 285 CanCastSpell = { 286 "spell-death-coil", 287 "spell-haste", 288 "spell-raise-dead", 289 "spell-whirlwind", 290 "spell-unholy-armor", 291 "spell-death-and-decay"}, 292 LandUnit = true, 293 Coward = true, 294 isundead = true, 295 organic = true, 296 SelectableByRectangle = true, 297 Sounds = { 298 "selected", "death-knight-selected", 299 "acknowledge", "death-knight-acknowledge", 300 "ready", "death-knight-ready", 301 "help", "basic orc voices help 1", 302 "dead", "basic orc voices dead"} } ) 303 304DefineUnitType("unit-ogre-mage", { Name = _("Ogre Mage"), 305 Image = {"file", "orc/units/ogre.png", "size", {72, 72}}, 306 Animations = "animations-ogre-mage", Icon = "icon-ogre-mage", 307 Costs = {"time", 90, "gold", 800, "wood", 100}, 308 Level = {Max = 0, Value = 2, Increase = 0, Enable = true}, 309 Speed = 13, 310 HitPoints = 90, 311 DrawLevel = 40, 312 Mana = {Enable = true}, 313 TileSize = {1, 1}, BoxSize = {42, 42}, 314 SightRange = 5, ComputerReactionRange = 7, PersonReactionRange = 5, 315 Armor = 4, BasicDamage = 8, PiercingDamage = 4, Missile = "missile-none", 316 MaxAttackRange = 1, 317 Priority = 65, 318 Points = 110, 319 Demand = 1, 320 Corpse = "unit-orc-dead-body", 321 Type = "land", 322 RightMouseAction = "attack", 323 CanAttack = true, 324 CanTargetLand = true, 325 CanCastSpell = {"spell-eye-of-vision", "spell-runes", "spell-bloodlust"}, 326 LandUnit = true, 327 organic = true, 328 SelectableByRectangle = true, 329 Sounds = { 330 "selected", "ogre-mage-selected", 331 "acknowledge", "ogre-mage-acknowledge", 332 "ready", "ogre-mage-ready", 333 "help", "basic orc voices help 1", 334 "dead", "basic orc voices dead"} } ) 335 336DefineUnitType("unit-goblin-sappers", { Name = _("Goblin Sappers"), 337 Image = {"file", "orc/units/goblin_sappers.png", "size", {56, 56}}, 338 Animations = "animations-goblin-sappers", Icon = "icon-goblin-sappers", 339 Costs = {"time", 200, "gold", 700, "wood", 250}, 340 Speed = 11, 341 HitPoints = 40, 342 DrawLevel = 40, 343 TileSize = {1, 1}, BoxSize = {37, 37}, 344 SightRange = 4, ComputerReactionRange = 4, PersonReactionRange = 2, 345 BasicDamage = 4, PiercingDamage = 2, Missile = "missile-none", 346 MaxAttackRange = 1, 347 Priority = 55, 348 Points = 100, 349 Demand = 1, 350 Type = "land", 351 RightMouseAction = "spell-cast", 352 CanCastSpell = {"spell-suicide-bomber"}, 353 CanAttack = true, 354 CanTargetLand = true, 355 LandUnit = true, 356 volatile = true, 357 organic = true, 358 SelectableByRectangle = true, 359 Sounds = { 360 "selected", "goblin-sappers-selected", 361 "acknowledge", "goblin-sappers-acknowledge", 362 "ready", "goblin-sappers-ready", 363 "help", "basic orc voices help 1", 364 "dead", "explosion"} } ) 365 366DefineUnitType("unit-berserker", { Name = _("Berserker"), 367 Image = {"file", "orc/units/troll_axethrower.png", "size", {72, 72}}, 368 Animations = "animations-axethrower", Icon = "icon-berserker", 369 Costs = {"time", 70, "gold", 500, "wood", 50}, 370 Level = 2, 371 Speed = 10, 372 HitPoints = 50, 373 DrawLevel = 40, 374 TileSize = {1, 1}, BoxSize = {36, 36}, 375 SightRange = 6, ComputerReactionRange = 9, PersonReactionRange = 6, 376 BasicDamage = 3, PiercingDamage = 6, Missile = "missile-axe", 377 MaxAttackRange = 4, 378 Priority = 57, 379 Points = 70, 380 Demand = 1, 381 Corpse = "unit-orc-dead-body", 382 Type = "land", 383 RightMouseAction = "attack", 384 CanAttack = true, 385 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 386 LandUnit = true, 387 organic = true, 388 SelectableByRectangle = true, 389 Sounds = { 390 "selected", "berserker-selected", 391 "acknowledge", "berserker-acknowledge", 392 "ready", "berserker-ready", 393 "help", "basic orc voices help 1", 394 "dead", "basic orc voices dead"} } ) 395 396DefineUnitType("unit-evil-knight", { Name = _("Teron Gorefiend"), 397 Image = {"file", "orc/units/death_knight.png", "size", {72, 72}}, 398 Animations = "animations-death-knight", Icon = "icon-evil-knight", 399 Costs = {"time", 120, "gold", 1200}, 400 Speed = 8, 401 HitPoints = 180, 402 DrawLevel = 40, 403 Mana = {Enable = true}, 404 TileSize = {1, 1}, BoxSize = {39, 39}, 405 SightRange = 9, ComputerReactionRange = 11, PersonReactionRange = 9, 406 Armor = 2, BasicDamage = 0, PiercingDamage = 16, Missile = "missile-touch-of-death", 407 MaxAttackRange = 4, 408 Priority = 70, 409 Points = 100, 410 Demand = 1, 411 Corpse = "unit-orc-dead-body", 412 Type = "land", 413 RightMouseAction = "attack", 414 CanAttack = true, 415 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 416 LandUnit = true, 417 Coward = true, 418 isundead = true, 419 organic = true, 420 CanCastSpell = { 421 "spell-death-coil", 422 "spell-haste", 423 "spell-raise-dead", 424 "spell-whirlwind", 425 "spell-unholy-armor", 426 "spell-death-and-decay"}, 427 SelectableByRectangle = true, 428 Sounds = { 429 "selected", "teron-gorefiend-selected", 430 "acknowledge", "teron-gorefiend-acknowledge", 431-- "ready", "teron-gorefiend-ready", 432 "help", "basic orc voices help 1", 433 "dead", "basic orc voices dead"} } ) 434 435DefineUnitType("unit-fad-man", { Name = _("Dentarg"), 436 Image = {"file", "orc/units/ogre.png", "size", {72, 72}}, 437 Animations = "animations-ogre", Icon = "icon-fad-man", 438 Costs = {"time", 90, "gold", 800, "wood", 100}, 439 Speed = 13, 440 HitPoints = 300, 441 DrawLevel = 40, 442 Mana = {Enable = true}, 443 TileSize = {1, 1}, BoxSize = {42, 42}, 444 SightRange = 6, ComputerReactionRange = 6, PersonReactionRange = 4, 445 Armor = 8, BasicDamage = 18, PiercingDamage = 6, Missile = "missile-none", 446 MaxAttackRange = 1, 447 Priority = 63, 448 Points = 100, 449 Demand = 1, 450 Corpse = "unit-orc-dead-body", 451 Type = "land", 452 RightMouseAction = "attack", 453 CanAttack = true, 454 CanTargetLand = true, 455 CanCastSpell = {"spell-eye-of-vision", "spell-runes", "spell-bloodlust"}, 456 LandUnit = true, 457 organic = true, 458 SelectableByRectangle = true, 459 Sounds = { 460 "selected", "dentarg-selected", 461 "acknowledge", "dentarg-acknowledge", 462-- "ready", "dentarg-ready", 463 "help", "basic orc voices help 1", 464 "dead", "basic orc voices dead"} } ) 465 466DefineUnitType("unit-beast-cry", { Name = _("Grom Hellscream"), 467 Image = {"file", "orc/units/grunt.png", "size", {72, 72}}, 468 Animations = "animations-footman", Icon = "icon-beast-cry", 469 Costs = {"time", 60, "gold", 600}, 470 Speed = 10, 471 HitPoints = 240, 472 DrawLevel = 40, 473 TileSize = {1, 1}, BoxSize = {31, 31}, 474 SightRange = 5, ComputerReactionRange = 6, PersonReactionRange = 4, 475 Armor = 8, BasicDamage = 16, PiercingDamage = 6, Missile = "missile-none", 476 MaxAttackRange = 1, 477 Priority = 60, 478 Points = 50, 479 Demand = 1, 480 Corpse = "unit-orc-dead-body", 481 Type = "land", 482 RightMouseAction = "attack", 483 CanAttack = true, 484 CanTargetLand = true, 485 LandUnit = true, 486 organic = true, 487 SelectableByRectangle = true, 488 Sounds = { 489 "selected", "grom-hellscream-selected", 490 "acknowledge", "grom-hellscream-acknowledge", 491-- "ready", "grom-hellscream-ready", 492 "help", "basic orc voices help 1", 493 "dead", "basic orc voices dead"} } ) 494 495DefineUnitType("unit-orc-oil-tanker", { Name = _("Oil tanker"), 496 Image = {"file", "orc/units/oil_tanker_empty.png", "size", {72, 72}}, 497 Animations = "animations-orc-oil-tanker", Icon = "icon-orc-oil-tanker", 498 Costs = {"time", 50, "gold", 400, "wood", 200}, 499 Speed = 10, 500 HitPoints = 90, 501 DrawLevel = 40, 502 TileSize = {2, 2}, BoxSize = {63, 63}, 503 SightRange = 4, 504 Armor = 10, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 505 MaxAttackRange = 1, 506 Priority = 50, AnnoyComputerFactor = 10, 507 Points = 40, 508 Demand = 1, 509 Corpse = "unit-dead-sea-body", 510 Type = "naval", 511 RightMouseAction = "harvest", 512 SeaUnit = true, Coward = true, 513 CanGatherResources = { 514 {"file-when-empty", "orc/units/oil_tanker_empty.png", 515 "file-when-loaded", "orc/units/oil_tanker_full.png", 516 "resource-id", "oil", 517 "refinery-harvester", 518 "resource-capacity", 100, 519 "wait-at-resource", 100, 520 "wait-at-depot", 100 }}, 521 SelectableByRectangle = true, 522 Sounds = { 523 "selected", "orc-oil-tanker-selected", 524 "acknowledge", "orc-oil-tanker-acknowledge", 525 "ready", "orc-oil-tanker-ready", 526 "help", "basic orc voices help 1", 527 "dead", "ship sinking"} } ) 528 529DefineUnitType("unit-orc-transport", { Name = _("Transport"), 530 Image = {"file", "orc/units/transport.png", "size", {72, 72}}, 531 Animations = "animations-orc-transport", Icon = "icon-orc-transport", 532 Costs = {"time", 70, "gold", 600, "wood", 200, "oil", 500}, 533 RepairHp = 4, 534 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 535 Speed = 10, 536 HitPoints = 150, 537 DrawLevel = 40, 538 MaxOnBoard = 6, 539 TileSize = {2, 2}, BoxSize = {63, 63}, 540 SightRange = 4, 541 BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 542 MaxAttackRange = 1, 543 Priority = 70, AnnoyComputerFactor = 15, 544 Points = 50, 545 Demand = 1, 546 Corpse = "unit-dead-sea-body", 547 Type = "naval", 548 RightMouseAction = "sail", 549 SeaUnit = true, 550 CanTransport = {"LandUnit", "only"}, 551 SelectableByRectangle = true, 552 Sounds = { 553 "selected", "orc-transport-selected", 554 "acknowledge", "orc-transport-acknowledge", 555 "ready", "orc-transport-ready", 556 "help", "basic orc voices help 1", 557 "dead", "ship sinking"} } ) 558 559DefineUnitType("unit-orc-destroyer", { Name = _("Troll Destroyer"), 560 Image = {"file", "orc/units/troll_destroyer.png", "size", {88, 88}}, 561 Animations = "animations-troll-destroyer", Icon = "icon-orc-destroyer", 562 Costs = {"time", 90, "gold", 700, "wood", 350, "oil", 700}, 563 Speed = 10, 564 HitPoints = 100, 565 DrawLevel = 40, 566 TileSize = {2, 2}, BoxSize = {63, 63}, 567 SightRange = 8, ComputerReactionRange = 10, PersonReactionRange = 8, 568 Armor = 10, BasicDamage = 35, PiercingDamage = 0, Missile = "missile-small-cannon", 569 MaxAttackRange = 4, 570 Priority = 65, AnnoyComputerFactor = 20, 571 Points = 150, 572 Demand = 1, 573 Corpse = "unit-dead-sea-body", 574 Type = "naval", 575 RightMouseAction = "attack", 576 CanAttack = true, 577 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 578 SeaUnit = true, 579 SideAttack = true, 580 SelectableByRectangle = true, 581 Sounds = { 582 "selected", "troll-destroyer-selected", 583 "acknowledge", "troll-destroyer-acknowledge", 584 "ready", "troll-destroyer-ready", 585 "help", "basic orc voices help 1", 586 "dead", "ship sinking"} } ) 587 588DefineUnitType("unit-ogre-juggernaught", { Name = _("Ogre Juggernaught"), 589 Image = {"file", "orc/units/ogre_juggernaught.png", "size", {88, 88}}, 590 Animations = "animations-battleship", Icon = "icon-ogre-juggernaught", 591 Costs = {"time", 140, "gold", 1000, "wood", 500, "oil", 1000}, 592 Speed = 6, 593 HitPoints = 150, 594 DrawLevel = 40, 595 TileSize = {2, 2}, BoxSize = {70, 70}, 596 SightRange = 8, ComputerReactionRange = 10, PersonReactionRange = 8, 597 Armor = 15, BasicDamage = 130, PiercingDamage = 0, Missile = "missile-big-cannon", 598 MaxAttackRange = 6, 599 Priority = 63, AnnoyComputerFactor = 25, 600 Points = 300, 601 Demand = 1, 602 Corpse = "unit-dead-sea-body", 603 Type = "naval", 604 RightMouseAction = "attack", 605 CanAttack = true, 606 CanTargetLand = true, CanTargetSea = true, 607 GroundAttack = true, 608 SeaUnit = true, 609 SideAttack = true, 610 SelectableByRectangle = true, 611 Sounds = { 612 "selected", "ogre-juggernaught-selected", 613 "acknowledge", "ogre-juggernaught-acknowledge", 614 "ready", "ogre-juggernaught-ready", 615 "help", "basic orc voices help 1", 616 "dead", "ship sinking"} } ) 617 618DefineUnitType("unit-dragon", { Name = _("Dragon"), 619 Image = {"file", "orc/units/dragon.png", "size", {88, 80}}, 620 Shadow = ShadowDefinition(2), 621 Animations = "animations-dragon", Icon = "icon-dragon", 622 Costs = {"time", 250, "gold", 2500}, 623 Speed = 14, 624 HitPoints = 100, 625 DrawLevel = 60, 626 TileSize = {2, 2}, BoxSize = {71, 71}, 627 SightRange = 6, ComputerReactionRange = 8, PersonReactionRange = 6, 628 Armor = 5, BasicDamage = 0, PiercingDamage = 16, Missile = "missile-dragon-breath", 629 MaxAttackRange = 4, 630 Priority = 65, 631 Points = 150, 632 Demand = 1, 633 Type = "fly", 634 RightMouseAction = "attack", 635 CanAttack = true, 636 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 637 AirUnit = true, 638 DetectCloak = true, 639 organic = true, 640 SelectableByRectangle = true, 641 Sounds = { 642 "selected", "dragon-selected", 643 "acknowledge", "dragon-acknowledge", 644 "ready", "dragon-ready", 645 "help", "basic orc voices help 1", 646 "dead", "explosion"} } ) 647 648DefineUnitType("unit-fire-breeze", { Name = _("Deathwing"), 649 Image = {"file", "orc/units/dragon.png", "size", {88, 80}}, 650 Shadow = ShadowDefinition(2), 651 Animations = "animations-fire-breeze", Icon = "icon-fire-breeze", 652 Costs = {"time", 250, "gold", 2500}, 653 Speed = 14, 654 HitPoints = 800, 655 DrawLevel = 60, 656 TileSize = {2, 2}, BoxSize = {71, 71}, 657 SightRange = 9, ComputerReactionRange = 8, PersonReactionRange = 6, 658 Armor = 10, BasicDamage = 10, PiercingDamage = 25, Missile = "missile-dragon-breath", 659 MaxAttackRange = 5, 660 Priority = 65, 661 Points = 150, 662 Demand = 1, 663 Type = "fly", 664 RightMouseAction = "attack", 665 CanAttack = true, 666 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 667 AirUnit = true, 668 DetectCloak = true, 669 organic = true, 670 SelectableByRectangle = true, 671 Sounds = { 672 "selected", "deathwing-selected", 673 "acknowledge", "deathwing-acknowledge", 674-- "ready", "deathwing-ready", 675 "help", "basic orc voices help 1", 676 "dead", "explosion"} } ) 677 678 679UnitTypeFiles["unit-orc-submarine"] = {summer = "orc/units/giant_turtle.png", 680 winter = "orc/units/giant_turtle.png", 681 wasteland = "tilesets/wasteland/orc/units/giant_turtle.png", 682 swamp = "tilesets/swamp/orc/units/giant_turtle.png"} 683 684DefineUnitType("unit-orc-submarine", { Name = _("Giant Turtle"), 685 Image = {"size", {72, 72}}, 686 Animations = "animations-orc-submarine", Icon = "icon-giant-turtle", 687 Costs = {"time", 100, "gold", 800, "wood", 150, "oil", 900}, 688 Speed = 7, 689 HitPoints = 60, 690 DrawLevel = 30, 691 TileSize = {2, 2}, BoxSize = {63, 63}, 692 SightRange = 5, ComputerReactionRange = 7, PersonReactionRange = 5, 693 BasicDamage = 50, PiercingDamage = 0, Missile = "missile-turtle-missile", 694 MaxAttackRange = 4, 695 Priority = 60, AnnoyComputerFactor = 20, 696 Points = 120, 697 Demand = 1, 698 Corpse = "unit-dead-sea-body", 699 Type = "naval", 700 RightMouseAction = "attack", 701 CanAttack = true, 702 CanTargetSea = true, 703 SeaUnit = true, 704 PermanentCloak = true, 705 DetectCloak = true, 706 SelectableByRectangle = true, 707 Sounds = { 708 "selected", "giant-turtle-selected", 709 "acknowledge", "giant-turtle-acknowledge", 710 "ready", "giant-turtle-ready", 711 "help", "basic orc voices help 1", 712 "dead", "ship sinking"} } ) 713 714DefineUnitType("unit-zeppelin", { Name = _("Goblin Zeppelin"), 715 Image = {"file", "orc/units/goblin_zeppelin.png", "size", {72, 72}}, 716 Shadow = ShadowDefinition(2), 717 Animations = "animations-goblin-zeppelin", Icon = "icon-zeppelin", 718 Costs = {"time", 65, "gold", 500, "wood", 100}, 719 Speed = 17, 720 HitPoints = 150, 721 DrawLevel = 60, 722 TileSize = {2, 2}, BoxSize = {63, 63}, 723 SightRange = 9, ComputerReactionRange = 19, PersonReactionRange = 15, 724 Armor = 2, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 725 MaxAttackRange = 1, 726 Priority = 40, 727 Points = 40, 728 Demand = 1, 729 Type = "fly", 730 RightMouseAction = "move", 731 AirUnit = true, Coward = true, 732 DetectCloak = true, 733 SelectableByRectangle = true, 734 OnReady = AiExploreUnit, 735 Sounds = { 736 "selected", "goblin-zeppelin-selected", 737 "acknowledge", "goblin-zeppelin-acknowledge", 738 "ready", "goblin-zeppelin-ready", 739 "help", "basic orc voices help 1", 740 "dead", "explosion"} } ) 741 742DefineUnitType("unit-eye-of-vision", { Name = _("Eye of Kilrogg"), 743 Image = {"file", "orc/units/eye_of_kilrogg.png", "size", {32, 32}}, 744 Shadow = ShadowDefinition(0), 745 Animations = "animations-eye-of-vision", Icon = "icon-eye-of-kilrogg", 746 Speed = 42, 747 HitPoints = 100, 748 DrawLevel = 60, 749 TileSize = {1, 1}, BoxSize = {31, 31}, 750 SightRange = 3, ComputerReactionRange = 20, PersonReactionRange = 10, 751 BasicDamage = 1, PiercingDamage = 0, Missile = "missile-none", 752 MaxAttackRange = 1, 753 Priority = 0, 754 DecayRate = 3, 755 Demand = 0, 756 Type = "fly", 757 RightMouseAction = "move", 758 AirUnit = true, 759 DetectCloak = true, 760 SelectableByRectangle = true, 761 Sounds = { 762 "selected", "eye-of-kilrogg-selected", 763-- "acknowledge", "eye-of-kilrogg-acknowledge", 764-- "ready", "eye-of-kilrogg-ready", 765 "help", "basic orc voices help 1", 766-- "dead", "eye-of-kilrogg-dead" 767 } } ) 768 769DefineUnitType("unit-quick-blade", { Name = _("Korgath Bladefist"), 770 Image = {"file", "orc/units/grunt.png", "size", {72, 72}}, 771 Animations = "animations-quick-blade", Icon = "icon-quick-blade", 772 Costs = {"time", 60, "gold", 600}, 773 Speed = 10, 774 HitPoints = 240, 775 DrawLevel = 40, 776 TileSize = {1, 1}, BoxSize = {31, 31}, 777 SightRange = 5, ComputerReactionRange = 6, PersonReactionRange = 4, 778 Armor = 8, BasicDamage = 16, PiercingDamage = 6, Missile = "missile-none", 779 MaxAttackRange = 1, 780 Priority = 60, 781 Points = 50, 782 Demand = 1, 783 Corpse = "unit-orc-dead-body", 784 Type = "land", 785 RightMouseAction = "attack", 786 CanAttack = true, 787 CanTargetLand = true, 788 LandUnit = true, 789 organic = true, 790 SelectableByRectangle = true, 791 Sounds = { 792 "selected", "korgath-bladefist-selected", 793 "acknowledge", "korgath-bladefist-acknowledge", 794-- "ready", "korgath-bladefist-ready", 795 "help", "basic orc voices help 1", 796 "dead", "basic orc voices dead"} } ) 797 798DefineUnitType("unit-double-head", { Name = _("Cho'gall"), 799 Image = {"file", "orc/units/ogre.png", "size", {72, 72}}, 800 Animations = "animations-double-head", Icon = "icon-double-head", 801 Costs = {"time", 100, "gold", 1100, "wood", 50}, 802 Speed = 13, 803 HitPoints = 100, 804 DrawLevel = 40, 805 Mana = {Enable = true}, 806 TileSize = {1, 1}, BoxSize = {42, 42}, 807 SightRange = 5, ComputerReactionRange = 7, PersonReactionRange = 5, 808 BasicDamage = 10, PiercingDamage = 5, Missile = "missile-none", 809 MaxAttackRange = 1, 810 Priority = 65, 811 Points = 120, 812 Demand = 1, 813 Corpse = "unit-orc-dead-body", 814 Type = "land", 815 RightMouseAction = "attack", 816 CanAttack = true, 817 CanTargetLand = true, 818 CanCastSpell = {"spell-eye-of-vision-double-head", "spell-runes-double-head", "spell-bloodlust-double-head"}, 819 LandUnit = true, 820 hero = true, 821 organic = true, 822 SelectableByRectangle = true, 823 Sounds = { 824 "selected", "cho-gall-selected", 825 "acknowledge", "cho-gall-acknowledge", 826-- "ready", "cho-gall-ready", 827 "help", "basic orc voices help 1", 828 "dead", "basic orc voices dead"} } ) 829 830DefineUnitType("unit-ice-bringer", { Name = _("Gul'dan"), 831 Image = {"file", "orc/units/death_knight.png", "size", {72, 72}}, 832 Animations = "animations-ice-bringer", Icon = "icon-ice-bringer", 833 Costs = {"time", 120, "gold", 1200}, 834 Speed = 8, 835 HitPoints = 40, 836 DrawLevel = 40, 837 Mana = {Enable = true}, 838 TileSize = {1, 1}, BoxSize = {33, 33}, 839 SightRange = 8, ComputerReactionRange = 10, PersonReactionRange = 8, 840 BasicDamage = 0, PiercingDamage = 3, Missile = "missile-touch-of-death", 841 MaxAttackRange = 3, 842 Priority = 70, 843 Points = 120, 844 Demand = 1, 845 Type = "land", 846 RightMouseAction = "attack", 847 CanAttack = true, 848 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 849 LandUnit = true, 850 hero = true, 851 CanCastSpell = { 852 "spell-death-coil", 853 "spell-haste", 854 "spell-raise-dead", 855 "spell-whirlwind", 856 "spell-unholy-armor", 857 "spell-death-and-decay"}, 858 isundead = true, 859 organic = true, 860 SelectableByRectangle = true, 861 Sounds = { 862 "selected", "gul-dan-selected", 863 "acknowledge", "gul-dan-acknowledge", 864-- "ready", "gul-dan-ready", 865 "help", "basic orc voices help 1", 866 "dead", "basic orc voices dead"} } ) 867 868DefineUnitType("unit-sharp-axe", { Name = _("Zuljin"), 869 Image = {"file", "orc/units/troll_axethrower.png", "size", {72, 72}}, 870 Animations = "animations-sharp-axe", Icon = "icon-sharp-axe", 871 Costs = {"time", 70, "gold", 500, "wood", 50}, 872 Speed = 10, 873 HitPoints = 120, 874 DrawLevel = 40, 875 TileSize = {1, 1}, BoxSize = {36, 36}, 876 SightRange = 9, ComputerReactionRange = 7, PersonReactionRange = 5, 877 Armor = 5, BasicDamage = 10, PiercingDamage = 18, Missile = "missile-axe", 878 MaxAttackRange = 5, 879 Priority = 55, 880 Points = 120, 881 Demand = 1, 882 Corpse = "unit-orc-dead-body", 883 Type = "land", 884 RightMouseAction = "attack", 885 CanAttack = true, 886 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 887 LandUnit = true, 888 hero = true, 889 organic = true, 890 SelectableByRectangle = true, 891 Sounds = { 892 "selected", "zuljin-selected", 893 "acknowledge", "zuljin-acknowledge", 894-- "ready", "zuljin-ready", 895 "help", "basic orc voices help 1", 896 "dead", "basic orc voices dead"} } ) 897 898DefineUnitType("unit-skeleton", { Name = _("Skeleton"), 899 Image = {"file", "neutral/units/skeleton.png", "size", {56, 56}}, 900 Animations = "animations-skeleton", Icon = "icon-skeleton", 901 Speed = 8, 902 HitPoints = 40, 903 DrawLevel = 40, 904 TileSize = {1, 1}, BoxSize = {31, 31}, 905 SightRange = 3, ComputerReactionRange = 4, PersonReactionRange = 2, 906 BasicDamage = 6, PiercingDamage = 3, Missile = "missile-none", 907 MaxAttackRange = 1, 908 Priority = 55, 909 DecayRate = 100, 910 Demand = 1, 911 Type = "land", 912 RightMouseAction = "attack", 913 CanAttack = true, 914 CanTargetLand = true, 915 LandUnit = true, 916 isundead = true, 917 organic = true, 918 SelectableByRectangle = true, 919 Sounds = { 920 "selected", "skeleton-selected", 921 "acknowledge", "skeleton-acknowledge", 922-- "ready", "skeleton-ready", 923 "help", "basic orc voices help 1", 924 "dead", "skeleton-dead"} } ) 925 926 927UnitTypeFiles["unit-pig-farm"] = {summer = "tilesets/summer/orc/buildings/pig_farm.png", 928 winter = "tilesets/winter/orc/buildings/pig_farm.png", 929 wasteland = "tilesets/wasteland/orc/buildings/pig_farm.png", 930 swamp = "tilesets/swamp/orc/buildings/pig_farm.png"} 931 932DefineUnitType("unit-pig-farm", { Name = _("Pig Farm"), 933 Image = {"size", {64, 64}}, 934 Animations = "animations-building", Icon = "icon-pig-farm", 935 Costs = {"time", 100, "gold", 500, "wood", 250}, 936 RepairHp = 4, 937 RepairCosts = {"gold", 1, "wood", 1}, 938 Construction = "construction-land", 939 Speed = 0, 940 HitPoints = 400, 941 DrawLevel = 20, 942 TileSize = {2, 2}, BoxSize = {63, 63}, 943 SightRange = 2, 944 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 945 Priority = 20, AnnoyComputerFactor = 45, 946 Points = 100, 947 Supply = 4, 948 Corpse = "unit-destroyed-2x2-place", 949 ExplodeWhenKilled = "missile-explosion", 950 Type = "land", 951 Building = true, VisibleUnderFog = true, 952 Sounds = { 953 "selected", "pig-farm-selected", 954-- "acknowledge", "pig-farm-acknowledge", 955-- "ready", "pig-farm-ready", 956 "help", "basic orc voices help 2", 957 "dead", "building destroyed"} } ) 958 959 960UnitTypeFiles["unit-orc-barracks"] = {summer = "tilesets/summer/orc/buildings/barracks.png", 961 winter = "tilesets/winter/orc/buildings/barracks.png", 962 wasteland = "tilesets/summer/orc/buildings/barracks.png", 963 swamp = "tilesets/swamp/orc/buildings/barracks.png"} 964 965DefineUnitType("unit-orc-barracks", { Name = _("Barracks"), 966 Image = {"size", {96, 96}}, 967 Animations = "animations-building", Icon = "icon-orc-barracks", 968 Costs = {"time", 200, "gold", 700, "wood", 450}, 969 RepairHp = 4, 970 RepairCosts = {"gold", 1, "wood", 1}, 971 Construction = "construction-land", 972 Speed = 0, 973 HitPoints = 800, 974 DrawLevel = 20, 975 TileSize = {3, 3}, BoxSize = {95, 95}, 976 SightRange = 1, 977 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 978 Priority = 30, AnnoyComputerFactor = 35, 979 Points = 160, 980 Corpse = "unit-destroyed-3x3-place", 981 ExplodeWhenKilled = "missile-explosion", 982 Type = "land", 983 Building = true, VisibleUnderFog = true, 984 SelectableByRectangle = true, 985 Sounds = { 986 "selected", "orc-barracks-selected", 987-- "acknowledge", "orc-barracks-acknowledge", 988-- "ready", "orc-barracks-ready", 989 "help", "basic orc voices help 2", 990 "dead", "building destroyed"} } ) 991 992 993UnitTypeFiles["unit-altar-of-storms"] = {summer = "tilesets/summer/orc/buildings/altar_of_storms.png", 994 winter = "tilesets/winter/orc/buildings/altar_of_storms.png", 995 wasteland = "tilesets/summer/orc/buildings/altar_of_storms.png", 996 swamp = "tilesets/swamp/orc/buildings/altar_of_storms.png"} 997 998DefineUnitType("unit-altar-of-storms", { Name = _("Altar of Storms"), 999 Image = {"size", {96, 96}}, 1000 Animations = "animations-building", Icon = "icon-altar-of-storms", 1001 Costs = {"time", 175, "gold", 900, "wood", 500}, 1002 RepairHp = 4, 1003 RepairCosts = {"gold", 1, "wood", 1}, 1004 Construction = "construction-land", 1005 Speed = 0, 1006 HitPoints = 700, 1007 DrawLevel = 20, 1008 TileSize = {3, 3}, BoxSize = {95, 95}, 1009 SightRange = 1, 1010 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1011 Priority = 15, AnnoyComputerFactor = 35, 1012 Points = 240, 1013 Corpse = "unit-destroyed-3x3-place", 1014 ExplodeWhenKilled = "missile-explosion", 1015 Type = "land", 1016 Building = true, VisibleUnderFog = true, 1017 Sounds = { 1018 "selected", "altar-of-storms-selected", 1019-- "acknowledge", "altar-of-storms-acknowledge", 1020-- "ready", "altar-of-storms-ready", 1021 "help", "basic orc voices help 2", 1022 "dead", "building destroyed"} } ) 1023 1024 1025UnitTypeFiles["unit-orc-watch-tower"] = {summer = "tilesets/summer/orc/buildings/watch_tower.png", 1026 winter = "tilesets/winter/orc/buildings/watch_tower.png", 1027 wasteland = "tilesets/summer/orc/buildings/watch_tower.png", 1028 swamp = "tilesets/swamp/orc/buildings/watch_tower.png"} 1029 1030DefineUnitType("unit-orc-watch-tower", { Name = _("Watch Tower"), 1031 Image = {"size", {64, 64}}, 1032 Animations = "animations-building", Icon = "icon-orc-watch-tower", 1033 Costs = {"time", 60, "gold", 550, "wood", 200}, 1034 RepairHp = 4, 1035 RepairCosts = {"gold", 1, "wood", 1}, 1036 Construction = "construction-land", 1037 Speed = 0, 1038 HitPoints = 100, 1039 DrawLevel = 20, 1040 TileSize = {2, 2}, BoxSize = {63, 63}, 1041 SightRange = 9, 1042 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1043 Priority = 55, AnnoyComputerFactor = 50, 1044 Points = 95, 1045 Corpse = "unit-destroyed-2x2-place", 1046 ExplodeWhenKilled = "missile-explosion", 1047 Type = "land", 1048 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 1049 Building = true, VisibleUnderFog = true, 1050 DetectCloak = true, 1051 Elevated = true, 1052 Sounds = { 1053 "selected", "orc-watch-tower-selected", 1054-- "acknowledge", "orc-watch-tower-acknowledge", 1055-- "ready", "orc-watch-tower-ready", 1056 "help", "basic orc voices help 2", 1057 "dead", "building destroyed"} } ) 1058 1059 1060UnitTypeFiles["unit-ogre-mound"] = {summer = "tilesets/summer/orc/buildings/ogre_mound.png", 1061 winter = "tilesets/winter/orc/buildings/ogre_mound.png", 1062 wasteland = "tilesets/summer/orc/buildings/ogre_mound.png", 1063 swamp = "tilesets/swamp/orc/buildings/ogre_mound.png"} 1064 1065DefineUnitType("unit-ogre-mound", { Name = _("Ogre Mound"), 1066 Image = {"size", {96, 96}}, 1067 Animations = "animations-building", Icon = "icon-ogre-mound", 1068 Costs = {"time", 150, "gold", 1000, "wood", 300}, 1069 RepairHp = 4, 1070 RepairCosts = {"gold", 1, "wood", 1}, 1071 Construction = "construction-land", 1072 Speed = 0, 1073 HitPoints = 500, 1074 DrawLevel = 20, 1075 TileSize = {3, 3}, BoxSize = {95, 95}, 1076 SightRange = 1, 1077 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1078 Priority = 15, AnnoyComputerFactor = 15, 1079 Points = 210, 1080 Corpse = "unit-destroyed-3x3-place", 1081 ExplodeWhenKilled = "missile-explosion", 1082 Type = "land", 1083 Building = true, VisibleUnderFog = true, 1084 Sounds = { 1085 "selected", "ogre-mound-selected", 1086-- "acknowledge", "ogre-mound-acknowledge", 1087-- "ready", "ogre-mound-ready", 1088 "help", "basic orc voices help 2", 1089 "dead", "building destroyed"} } ) 1090 1091 1092UnitTypeFiles["unit-alchemist"] = {summer = "tilesets/summer/orc/buildings/goblin_alchemist.png", 1093 winter = "tilesets/winter/orc/buildings/goblin_alchemist.png", 1094 wasteland = "tilesets/summer/orc/buildings/goblin_alchemist.png", 1095 swamp = "tilesets/swamp/orc/buildings/goblin_alchemist.png"} 1096 1097DefineUnitType("unit-alchemist", { Name = _("Goblin Alchemist"), 1098 Image = {"size", {96, 96}}, 1099 Animations = "animations-building", Icon = "icon-alchemist", 1100 Costs = {"time", 150, "gold", 1000, "wood", 400}, 1101 RepairHp = 4, 1102 RepairCosts = {"gold", 1, "wood", 1}, 1103 Construction = "construction-land", 1104 Speed = 0, 1105 HitPoints = 500, 1106 DrawLevel = 20, 1107 TileSize = {3, 3}, BoxSize = {95, 95}, 1108 SightRange = 1, 1109 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1110 Priority = 15, AnnoyComputerFactor = 20, 1111 Points = 230, 1112 Corpse = "unit-destroyed-3x3-place", 1113 ExplodeWhenKilled = "missile-explosion", 1114 Type = "land", 1115 Building = true, VisibleUnderFog = true, 1116 Sounds = { 1117 "selected", "goblin-alchemist-selected", 1118-- "acknowledge", "goblin-alchemist-acknowledge", 1119-- "ready", "goblin-alchemist-ready", 1120 "help", "basic orc voices help 2", 1121 "dead", "building destroyed"} } ) 1122 1123 1124UnitTypeFiles["unit-dragon-roost"] = {summer = "tilesets/summer/orc/buildings/dragon_roost.png", 1125 winter = "tilesets/winter/orc/buildings/dragon_roost.png", 1126 wasteland = "tilesets/summer/orc/buildings/dragon_roost.png", 1127 swamp = "tilesets/swamp/orc/buildings/dragon_roost.png"} 1128 1129DefineUnitType("unit-dragon-roost", { Name = _("Dragon Roost"), 1130 Image = {"size", {96, 96}}, 1131 Animations = "animations-building", Icon = "icon-dragon-roost", 1132 Costs = {"time", 150, "gold", 1000, "wood", 400}, 1133 RepairHp = 4, 1134 RepairCosts = {"gold", 1, "wood", 1}, 1135 Construction = "construction-land", 1136 Speed = 0, 1137 HitPoints = 500, 1138 DrawLevel = 20, 1139 TileSize = {3, 3}, BoxSize = {95, 95}, 1140 SightRange = 1, 1141 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1142 Priority = 15, AnnoyComputerFactor = 20, 1143 Points = 280, 1144 Corpse = "unit-destroyed-3x3-place", 1145 ExplodeWhenKilled = "missile-explosion", 1146 Type = "land", 1147 Building = true, VisibleUnderFog = true, 1148 Sounds = { 1149 "selected", "dragon-roost-selected", 1150-- "acknowledge", "dragon-roost-acknowledge", 1151-- "ready", "dragon-roost-ready", 1152 "help", "basic orc voices help 2", 1153 "dead", "building destroyed"} } ) 1154 1155 1156UnitTypeFiles["unit-orc-shipyard"] = {summer = "tilesets/summer/orc/buildings/shipyard.png", 1157 winter = "tilesets/winter/orc/buildings/shipyard.png", 1158 wasteland = "tilesets/summer/orc/buildings/shipyard.png", 1159 swamp = "tilesets/swamp/orc/buildings/shipyard.png"} 1160 1161DefineUnitType("unit-orc-shipyard", { Name = _("Shipyard"), 1162 Image = {"size", {96, 96}}, 1163 Animations = "animations-building", Icon = "icon-orc-shipyard", 1164 Costs = {"time", 200, "gold", 800, "wood", 450}, 1165 RepairHp = 4, 1166 RepairCosts = {"gold", 1, "wood", 1}, 1167 Construction = "construction-orc-shipyard", 1168 Speed = 0, 1169 HitPoints = 1100, 1170 DrawLevel = 20, 1171 TileSize = {3, 3}, BoxSize = {95, 95}, 1172 SightRange = 1, 1173 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1174 Priority = 30, AnnoyComputerFactor = 20, 1175 Points = 170, 1176 Corpse = "unit-destroyed-3x3-place-water", 1177 ExplodeWhenKilled = "missile-explosion", 1178 Type = "land", 1179 Building = true, VisibleUnderFog = true, 1180 BuildingRules = { { "distance", { Distance = 3, DistanceType = ">", Type = "unit-oil-patch"}, 1181 "distance", { Distance = 3, DistanceType = ">", Type = "unit-orc-oil-platform"}, 1182 "distance", { Distance = 3, DistanceType = ">", Type = "unit-human-oil-platform"} 1183 } 1184 }, 1185 ShoreBuilding = true, 1186 CanStore = {"oil"}, 1187 Sounds = { 1188 "selected", "orc-shipyard-selected", 1189-- "acknowledge", "orc-shipyard-acknowledge", 1190-- "ready", "orc-shipyard-ready", 1191 "help", "basic orc voices help 2", 1192 "dead", "building destroyed"} } ) 1193 1194 1195UnitTypeFiles["unit-great-hall"] = {summer = "tilesets/summer/orc/buildings/great_hall.png", 1196 winter = "tilesets/winter/orc/buildings/great_hall.png", 1197 wasteland = "tilesets/summer/orc/buildings/great_hall.png", 1198 swamp = "tilesets/swamp/orc/buildings/great_hall.png"} 1199 1200DefineUnitType("unit-great-hall", { Name = _("Great Hall"), 1201 Image = {"size", {128, 128}}, 1202 Animations = "animations-building", Icon = "icon-great-hall", 1203 Costs = {"time", 255, "gold", 1200, "wood", 800}, 1204 RepairHp = 4, 1205 RepairCosts = {"gold", 1, "wood", 1}, 1206 Construction = "construction-land", 1207 Speed = 0, 1208 HitPoints = 1200, 1209 DrawLevel = 20, 1210 TileSize = {4, 4}, BoxSize = {127, 127}, 1211 SightRange = 1, 1212 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1213 Priority = 35, AnnoyComputerFactor = 45, 1214 Points = 200, 1215 Supply = 1, 1216 Corpse = "unit-destroyed-4x4-place", 1217 ExplodeWhenKilled = "missile-explosion", 1218 Type = "land", 1219 Building = true, MainFacility = true, VisibleUnderFog = true, Center = true, WoodImprove = true, OilImprove = true, 1220 BuildingRules = { { "distance", { Distance = 3, DistanceType = ">", Type = "unit-gold-mine"} 1221 } 1222 }, 1223 CanStore = {"gold", "wood"}, 1224 Sounds = { 1225 "selected", "great-hall-selected", 1226-- "acknowledge", "great-hall-acknowledge", 1227-- "ready", "great-hall-ready", 1228 "help", "basic orc voices help 2", 1229 "dead", "building destroyed"} } ) 1230 1231 1232UnitTypeFiles["unit-troll-lumber-mill"] = {summer = "tilesets/summer/orc/buildings/troll_lumber_mill.png", 1233 winter = "tilesets/winter/orc/buildings/troll_lumber_mill.png", 1234 wasteland = "tilesets/wasteland/orc/buildings/troll_lumber_mill.png", 1235 swamp = "tilesets/swamp/orc/buildings/troll_lumber_mill.png"} 1236 1237DefineUnitType("unit-troll-lumber-mill", { Name = _("Troll Lumber Mill"), 1238 Image = {"size", {96, 96}}, 1239 Animations = "animations-building", Icon = "icon-troll-lumber-mill", 1240 Costs = {"time", 150, "gold", 600, "wood", 450}, 1241 RepairHp = 4, 1242 RepairCosts = {"gold", 1, "wood", 1}, 1243 ImproveProduction = {"wood", 25}, 1244 Construction = "construction-land", 1245 Speed = 0, 1246 HitPoints = 600, 1247 DrawLevel = 20, 1248 TileSize = {3, 3}, BoxSize = {95, 95}, 1249 SightRange = 1, 1250 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1251 Priority = 25, AnnoyComputerFactor = 15, 1252 Points = 150, 1253 Corpse = "unit-destroyed-3x3-place", 1254 ExplodeWhenKilled = "missile-explosion", 1255 Type = "land", 1256 Building = true, VisibleUnderFog = true, WoodImprove = true, 1257 CanStore = {"wood"}, 1258 Sounds = { 1259 "selected", "troll-lumber-mill-selected", 1260-- "acknowledge", "troll-lumber-mill-acknowledge", 1261-- "ready", "troll-lumber-mill-ready", 1262 "help", "basic orc voices help 2", 1263 "dead", "building destroyed"} } ) 1264 1265 1266UnitTypeFiles["unit-orc-foundry"] = {summer = "tilesets/summer/orc/buildings/foundry.png", 1267 winter = "tilesets/winter/orc/buildings/foundry.png", 1268 wasteland = "tilesets/summer/orc/buildings/foundry.png", 1269 swamp = "tilesets/swamp/orc/buildings/foundry.png"} 1270 1271DefineUnitType("unit-orc-foundry", { Name = _("Foundry"), 1272 Image = {"size", {96, 96}}, 1273 Animations = "animations-building", Icon = "icon-orc-foundry", 1274 Costs = {"time", 175, "gold", 700, "wood", 400, "oil", 400}, 1275 RepairHp = 4, 1276 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 1277 Construction = "construction-orc-foundry", 1278 Speed = 0, 1279 HitPoints = 750, 1280 DrawLevel = 20, 1281 TileSize = {3, 3}, BoxSize = {95, 95}, 1282 SightRange = 1, 1283 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1284 Priority = 15, AnnoyComputerFactor = 20, 1285 Points = 200, 1286 Corpse = "unit-destroyed-3x3-place-water", 1287 ExplodeWhenKilled = "missile-explosion", 1288 Type = "land", 1289 Building = true, VisibleUnderFog = true, 1290 ShoreBuilding = true, 1291 Sounds = { 1292 "selected", "orc-foundry-selected", 1293-- "acknowledge", "orc-foundry-acknowledge", 1294-- "ready", "orc-foundry-ready", 1295 "help", "basic orc voices help 2", 1296 "dead", "building destroyed"} } ) 1297 1298 1299UnitTypeFiles["unit-temple-of-the-damned"] = {summer = "tilesets/summer/orc/buildings/temple_of_the_damned.png", 1300 winter = "tilesets/winter/orc/buildings/temple_of_the_damned.png", 1301 wasteland = "tilesets/summer/orc/buildings/temple_of_the_damned.png", 1302 swamp = "tilesets/swamp/orc/buildings/temple_of_the_damned.png"} 1303 1304DefineUnitType("unit-temple-of-the-damned", { Name = _("Temple of the Damned"), 1305 Image = {"size", {96, 96}}, 1306 Animations = "animations-building", Icon = "icon-temple-of-the-damned", 1307 Costs = {"time", 125, "gold", 1000, "wood", 200}, 1308 RepairHp = 4, 1309 RepairCosts = {"gold", 1, "wood", 1}, 1310 Construction = "construction-land", 1311 Speed = 0, 1312 HitPoints = 500, 1313 DrawLevel = 20, 1314 TileSize = {3, 3}, BoxSize = {95, 95}, 1315 SightRange = 1, 1316 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1317 Priority = 35, AnnoyComputerFactor = 20, 1318 Points = 240, 1319 Corpse = "unit-destroyed-3x3-place", 1320 ExplodeWhenKilled = "missile-explosion", 1321 Type = "land", 1322 Building = true, VisibleUnderFog = true, 1323 Sounds = { 1324 "selected", "temple-of-the-damned-selected", 1325-- "acknowledge", "temple-of-the-damned-acknowledge", 1326-- "ready", "temple-of-the-damned-ready", 1327 "help", "basic orc voices help 2", 1328 "dead", "building destroyed"} } ) 1329 1330 1331UnitTypeFiles["unit-orc-blacksmith"] = {summer = "tilesets/summer/orc/buildings/blacksmith.png", 1332 winter = "tilesets/winter/orc/buildings/blacksmith.png", 1333 wasteland = "tilesets/summer/orc/buildings/blacksmith.png", 1334 swamp = "tilesets/swamp/orc/buildings/blacksmith.png"} 1335 1336DefineUnitType("unit-orc-blacksmith", { Name = _("Blacksmith"), 1337 Image = {"size", {96, 96}}, 1338 Animations = "animations-building", Icon = "icon-orc-blacksmith", 1339 Costs = {"time", 200, "gold", 800, "wood", 450, "oil", 100}, 1340 RepairHp = 4, 1341 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 1342 Construction = "construction-land", 1343 Speed = 0, 1344 HitPoints = 775, 1345 DrawLevel = 20, 1346 TileSize = {3, 3}, BoxSize = {95, 95}, 1347 SightRange = 1, 1348 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1349 Priority = 15, AnnoyComputerFactor = 20, 1350 Points = 170, 1351 Corpse = "unit-destroyed-3x3-place", 1352 ExplodeWhenKilled = "missile-explosion", 1353 Type = "land", 1354 Building = true, VisibleUnderFog = true, 1355 Sounds = { 1356 "selected", "orc-blacksmith-selected", 1357-- "acknowledge", "orc-blacksmith-acknowledge", 1358-- "ready", "orc-blacksmith-ready", 1359 "help", "basic orc voices help 2", 1360 "dead", "building destroyed"} } ) 1361 1362 1363UnitTypeFiles["unit-orc-refinery"] = {summer = "tilesets/summer/orc/buildings/refinery.png", 1364 winter = "tilesets/winter/orc/buildings/refinery.png", 1365 wasteland = "tilesets/summer/orc/buildings/refinery.png", 1366 swamp = "tilesets/swamp/orc/buildings/refinery.png"} 1367 1368DefineUnitType("unit-orc-refinery", { Name = _("Refinery"), 1369 Image = {"size", {96, 96}}, 1370 Animations = "animations-building", Icon = "icon-orc-refinery", 1371 Costs = {"time", 225, "gold", 800, "wood", 350, "oil", 200}, 1372 RepairHp = 4, 1373 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 1374 ImproveProduction = {"oil", 25}, 1375 Construction = "construction-orc-refinery", 1376 Speed = 0, 1377 HitPoints = 600, 1378 DrawLevel = 20, 1379 TileSize = {3, 3}, BoxSize = {95, 95}, 1380 SightRange = 1, 1381 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1382 Priority = 25, AnnoyComputerFactor = 20, 1383 Points = 200, 1384 Corpse = "unit-destroyed-3x3-place-water", 1385 ExplodeWhenKilled = "missile-explosion", 1386 Type = "land", 1387 Building = true, VisibleUnderFog = true, OilImprove = true, 1388 BuildingRules = { { "distance", { Distance = 3, DistanceType = ">", Type = "unit-oil-patch"}, 1389 "distance", { Distance = 3, DistanceType = ">", Type = "unit-orc-oil-platform"}, 1390 "distance", { Distance = 3, DistanceType = ">", Type = "unit-human-oil-platform"} 1391 } 1392 }, 1393 ShoreBuilding = true, 1394 ShoreBuilding = true, 1395 CanStore = {"oil"}, 1396 Sounds = { 1397 "selected", "orc-refinery-selected", 1398-- "acknowledge", "orc-refinery-acknowledge", 1399-- "ready", "orc-refinery-ready", 1400 "help", "basic orc voices help 2", 1401 "dead", "building destroyed"} } ) 1402 1403 1404UnitTypeFiles["unit-orc-oil-platform"] = {summer = "tilesets/summer/orc/buildings/oil_platform.png", 1405 winter = "tilesets/winter/orc/buildings/oil_platform.png", 1406 wasteland = "tilesets/wasteland/orc/buildings/oil_platform.png", 1407 swamp = "tilesets/swamp/orc/buildings/oil_platform.png"} 1408 1409DefineUnitType("unit-orc-oil-platform", { Name = _("Oil Platform"), 1410 Image = {"size", {96, 96}}, 1411 Animations = "animations-oil-platform", Icon = "icon-orc-oil-platform", 1412 Costs = {"time", 200, "gold", 700, "wood", 450}, 1413 Construction = "construction-orc-oil-well", 1414 Speed = 0, 1415 HitPoints = 650, 1416 DrawLevel = 20, 1417 TileSize = {3, 3}, BoxSize = {95, 95}, 1418 SightRange = 1, 1419 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1420 Priority = 20, AnnoyComputerFactor = 20, 1421 Points = 160, 1422 Corpse = "unit-destroyed-3x3-place-water", 1423 ExplodeWhenKilled = "missile-explosion", 1424 Type = "naval", 1425 Building = true, VisibleUnderFog = true, 1426 BuildingRules = { { "ontop", { Type = "unit-oil-patch", ReplaceOnDie = true, ReplaceOnBuild = true} } }, 1427 GivesResource = "oil", CanHarvest = true, 1428 Sounds = { 1429 "selected", "orc-oil-platform-selected", 1430-- "acknowledge", "orc-oil-platform-acknowledge", 1431-- "ready", "orc-oil-platform-ready", 1432 "help", "basic orc voices help 2", 1433 "dead", "building destroyed"} } ) 1434 1435 1436UnitTypeFiles["unit-stronghold"] = {summer = "tilesets/summer/orc/buildings/stronghold.png", 1437 winter = "tilesets/winter/orc/buildings/stronghold.png", 1438 wasteland = "tilesets/summer/orc/buildings/stronghold.png", 1439 swamp = "tilesets/swamp/orc/buildings/stronghold.png"} 1440 1441DefineUnitType("unit-stronghold", { Name = _("Stronghold"), 1442 Image = {"size", {128, 128}}, 1443 Animations = "animations-building", Icon = "icon-stronghold", 1444 Costs = {"time", 200, "gold", 2000, "wood", 1000, "oil", 200}, 1445 RepairHp = 4, 1446 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 1447 ImproveProduction = {"gold", 10}, 1448 Construction = "construction-land", 1449 Speed = 0, 1450 HitPoints = 1400, 1451 DrawLevel = 20, 1452 TileSize = {4, 4}, BoxSize = {127, 127}, 1453 SightRange = 2, 1454 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1455 Priority = 37, AnnoyComputerFactor = 40, 1456 Points = 600, 1457 Supply = 1, 1458 Corpse = "unit-destroyed-4x4-place", 1459 ExplodeWhenKilled = "missile-explosion", 1460 Type = "land", 1461 Building = true, MainFacility = true, VisibleUnderFog = true, Center = true, WoodImprove = true, OilImprove = true, 1462 BuildingRules = { { "distance", { Distance = 3, DistanceType = ">", Type = "unit-gold-mine"} 1463 } 1464 }, 1465 CanStore = {"gold", "wood"}, 1466 Sounds = { 1467 "selected", "stronghold-selected", 1468-- "acknowledge", "stronghold-acknowledge", 1469-- "ready", "stronghold-ready", 1470 "help", "basic orc voices help 2", 1471 "dead", "building destroyed"} } ) 1472 1473 1474UnitTypeFiles["unit-fortress"] = {summer = "tilesets/summer/orc/buildings/fortress.png", 1475 winter = "tilesets/winter/orc/buildings/fortress.png", 1476 wasteland = "tilesets/summer/orc/buildings/fortress.png", 1477 swamp = "tilesets/swamp/orc/buildings/fortress.png"} 1478 1479DefineUnitType("unit-fortress", { Name = _("Fortress"), 1480 Image = {"size", {128, 128}}, 1481 Animations = "animations-building", Icon = "icon-fortress", 1482 Costs = {"time", 200, "gold", 2500, "wood", 1200, "oil", 500}, 1483 RepairHp = 4, 1484 RepairCosts = {"gold", 1, "wood", 1, "oil", 1}, 1485 ImproveProduction = {"gold", 20}, 1486 Construction = "construction-land", 1487 Speed = 0, 1488 HitPoints = 1600, 1489 DrawLevel = 20, 1490 TileSize = {4, 4}, BoxSize = {127, 127}, 1491 SightRange = 6, 1492 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1493 Priority = 40, AnnoyComputerFactor = 50, 1494 Points = 1500, 1495 Supply = 1, 1496 Corpse = "unit-destroyed-4x4-place", 1497 ExplodeWhenKilled = "missile-explosion", 1498 Type = "land", 1499 Building = true, MainFacility = true, VisibleUnderFog = true, Center = true, WoodImprove = true, OilImprove = true, 1500 BuildingRules = { { "distance", { Distance = 3, DistanceType = ">", Type = "unit-gold-mine"} 1501 } 1502 }, 1503 CanStore = {"gold", "wood"}, 1504 Sounds = { 1505 "selected", "fortress-selected", 1506-- "acknowledge", "fortress-acknowledge", 1507-- "ready", "fortress-ready", 1508 "help", "basic orc voices help 2", 1509 "dead", "building destroyed"} } ) 1510 1511DefineUnitType("unit-orc-start-location", { Name = _("Start Location"), 1512 Image = {"file", "orc/o_startpoint.png", "size", {32, 32}}, 1513 NumDirections = 1, 1514 Animations = "animations-building", Icon = "icon-cancel", 1515 Speed = 0, 1516 HitPoints = 0, 1517 Indestructible = 1, 1518 DrawLevel = 0, 1519 TileSize = {1, 1}, BoxSize = {31, 31}, 1520 SightRange = 0, 1521 BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1522 Priority = 0, 1523 Demand = 0, 1524 Type = "land", 1525 Sounds = { 1526-- "selected", "orc-start-location-selected", 1527-- "acknowledge", "orc-start-location-acknowledge", 1528-- "ready", "orc-start-location-ready", 1529 "help", "basic orc voices help 2", 1530 "dead", "building destroyed"} } ) 1531 1532 1533UnitTypeFiles["unit-orc-guard-tower"] = {summer = "tilesets/summer/orc/buildings/guard_tower.png", 1534 winter = "tilesets/winter/orc/buildings/guard_tower.png", 1535 wasteland = "tilesets/summer/orc/buildings/guard_tower.png", 1536 swamp = "tilesets/swamp/orc/buildings/guard_tower.png"} 1537 1538DefineUnitType("unit-orc-guard-tower", { Name = _("Guard Tower"), 1539 Image = {"size", {64, 64}}, 1540 Animations = "animations-orc-guard-tower", Icon = "icon-orc-guard-tower", 1541 Costs = {"time", 140, "gold", 500, "wood", 150}, 1542 RepairHp = 4, 1543 RepairCosts = {"gold", 1, "wood", 1}, 1544 Construction = "construction-land", 1545 Speed = 0, 1546 HitPoints = 130, 1547 DrawLevel = 40, 1548 TileSize = {2, 2}, BoxSize = {63, 63}, 1549 SightRange = 9, ComputerReactionRange = 6, PersonReactionRange = 6, 1550 Armor = 20, BasicDamage = 4, PiercingDamage = 12, Missile = "missile-arrow", 1551 MaxAttackRange = 6, 1552 Priority = 50, AnnoyComputerFactor = 60, 1553 Points = 200, 1554 Corpse = "unit-destroyed-2x2-place", 1555 ExplodeWhenKilled = "missile-explosion", 1556 Type = "land", 1557 CanAttack = true, 1558 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 1559 Building = true, VisibleUnderFog = true, 1560 DetectCloak = true, 1561 Elevated = true, 1562 Sounds = { 1563 "selected", "orc-guard-tower-selected", 1564-- "acknowledge", "orc-guard-tower-acknowledge", 1565-- "ready", "orc-guard-tower-ready", 1566 "help", "basic orc voices help 2", 1567 "dead", "building destroyed"} } ) 1568 1569UnitTypeFiles["unit-orc-guard-tower-super"] = {summer = "tilesets/summer/orc/buildings/guard_tower.png", 1570 winter = "tilesets/winter/orc/buildings/guard_tower.png", 1571 wasteland = "tilesets/summer/orc/buildings/guard_tower.png", 1572 swamp = "tilesets/swamp/orc/buildings/guard_tower.png"} 1573 1574DefineUnitType("unit-orc-guard-tower-super", { Name = _("Guard Tower"), 1575 Image = {"size", {64, 64}}, 1576 Animations = "animations-orc-guard-tower", Icon = "icon-orc-guard-tower", 1577 Costs = {"time", 1400, "gold", 5000, "wood", 1500}, 1578 RepairHp = 4, 1579 RepairCosts = {"gold", 1, "wood", 1}, 1580 Construction = "construction-land", 1581 Speed = 0, 1582 HitPoints = 650, 1583 DrawLevel = 40, 1584 TileSize = {2, 2}, BoxSize = {63, 63}, 1585 SightRange = 9, ComputerReactionRange = 6, PersonReactionRange = 6, 1586 Armor = 20, BasicDamage = 4, PiercingDamage = 12, Missile = "missile-arrow-super", 1587 MaxAttackRange = 6, 1588 Priority = 50, AnnoyComputerFactor = 60, 1589 Points = 2000, 1590 Corpse = "unit-destroyed-2x2-place", 1591 ExplodeWhenKilled = "missile-explosion", 1592 Type = "land", 1593 CanAttack = true, 1594 CanTargetLand = true, CanTargetSea = true, CanTargetAir = true, 1595 Building = true, VisibleUnderFog = true, 1596 DetectCloak = true, 1597 Elevated = true, 1598 Sounds = { 1599 "selected", "orc-guard-tower-selected", 1600-- "acknowledge", "orc-guard-tower-acknowledge", 1601-- "ready", "orc-guard-tower-ready", 1602 "help", "basic orc voices help 2", 1603 "dead", "building destroyed"} } ) 1604 1605UnitTypeFiles["unit-orc-cannon-tower"] = {summer = "tilesets/summer/orc/buildings/cannon_tower.png", 1606 winter = "tilesets/winter/orc/buildings/cannon_tower.png", 1607 wasteland = "tilesets/summer/orc/buildings/cannon_tower.png", 1608 swamp = "tilesets/swamp/orc/buildings/cannon_tower.png"} 1609 1610DefineUnitType("unit-orc-cannon-tower", { Name = _("Cannon Tower"), 1611 Image = {"size", {64, 64}}, 1612 Animations = "animations-orc-cannon-tower", Icon = "icon-orc-cannon-tower", 1613 Costs = {"time", 190, "gold", 1000, "wood", 300}, 1614 RepairHp = 4, 1615 RepairCosts = {"gold", 1, "wood", 1}, 1616 Construction = "construction-land", 1617 Speed = 0, 1618 HitPoints = 160, 1619 DrawLevel = 40, 1620 TileSize = {2, 2}, BoxSize = {63, 63}, 1621 SightRange = 9, ComputerReactionRange = 7, PersonReactionRange = 7, 1622 Armor = 20, BasicDamage = 50, PiercingDamage = 0, Missile = "missile-small-cannon", 1623 MinAttackRange = 2, MaxAttackRange = 7, 1624 Priority = 60, AnnoyComputerFactor = 70, 1625 Points = 250, 1626 Corpse = "unit-destroyed-2x2-place", 1627 ExplodeWhenKilled = "missile-explosion", 1628 Type = "land", 1629 CanAttack = true, 1630 CanTargetLand = true, CanTargetSea = true, 1631 Building = true, VisibleUnderFog = true, 1632 DetectCloak = true, 1633 Elevated = true, 1634 Sounds = { 1635-- "selected", "orc-cannon-tower-selected", 1636-- "acknowledge", "orc-cannon-tower-acknowledge", 1637-- "ready", "orc-cannon-tower-ready", 1638 "help", "basic orc voices help 2", 1639 "dead", "building destroyed"} } ) 1640 1641UnitTypeFiles["unit-orc-cannon-tower-super"] = {summer = "tilesets/summer/orc/buildings/cannon_tower.png", 1642 winter = "tilesets/winter/orc/buildings/cannon_tower.png", 1643 wasteland = "tilesets/summer/orc/buildings/cannon_tower.png", 1644 swamp = "tilesets/swamp/orc/buildings/cannon_tower.png"} 1645 1646DefineUnitType("unit-orc-cannon-tower-super", { Name = _("Cannon Tower"), 1647 Image = {"size", {64, 64}}, 1648 Animations = "animations-orc-cannon-tower", Icon = "icon-orc-cannon-tower", 1649 Costs = {"time", 1900, "gold", 6000, "wood", 1500}, 1650 RepairHp = 4, 1651 RepairCosts = {"gold", 1, "wood", 1}, 1652 Construction = "construction-land", 1653 Speed = 0, 1654 HitPoints = 800, 1655 DrawLevel = 40, 1656 TileSize = {2, 2}, BoxSize = {63, 63}, 1657 SightRange = 9, ComputerReactionRange = 7, PersonReactionRange = 7, 1658 Armor = 20, BasicDamage = 50, PiercingDamage = 0, Missile = "missile-small-cannon-super", 1659 MinAttackRange = 2, MaxAttackRange = 7, 1660 Priority = 60, AnnoyComputerFactor = 70, 1661 Points = 250, 1662 Corpse = "unit-destroyed-2x2-place", 1663 ExplodeWhenKilled = "missile-explosion", 1664 Type = "land", 1665 CanAttack = true, 1666 CanTargetLand = true, CanTargetSea = true, 1667 Building = true, VisibleUnderFog = true, 1668 DetectCloak = true, 1669 Elevated = true, 1670 Sounds = { 1671-- "selected", "orc-cannon-tower-selected", 1672-- "acknowledge", "orc-cannon-tower-acknowledge", 1673-- "ready", "orc-cannon-tower-ready", 1674 "help", "basic orc voices help 2", 1675 "dead", "building destroyed"} } ) 1676 1677UnitTypeFiles["unit-orc-wall"] = {summer = "tilesets/summer/neutral/buildings/wall.png", 1678 winter = "tilesets/winter/neutral/buildings/wall.png", 1679 wasteland = "tilesets/wasteland/neutral/buildings/wall.png", 1680 swamp = "tilesets/summer/neutral/buildings/wall.png"} 1681 1682DefineUnitType("unit-orc-wall", { Name = _("Wall"), 1683 Image = {"size", {32, 32}}, 1684 Animations = "animations-building", Icon = "icon-orc-wall", 1685 Costs = {"time", 30, "gold", 20, "wood", 10}, 1686 Construction = "construction-wall", 1687 Speed = 0, 1688 HitPoints = 40, 1689 DrawLevel = 39, 1690 TileSize = {1, 1}, BoxSize = {31, 31}, 1691 SightRange = 1, 1692 Armor = 20, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", 1693 Priority = 0, AnnoyComputerFactor = 45, 1694 Points = 1, 1695 Corpse = "unit-destroyed-1x1-place", 1696 ExplodeWhenKilled = "missile-explosion", 1697 Type = "land", 1698 Building = true, VisibleUnderFog = true, 1699 Sounds = { 1700-- "selected", "orc-wall-selected", 1701-- "acknowledge", "orc-wall-acknowledge", 1702-- "ready", "orc-wall-ready", 1703 "help", "basic orc voices help 2", 1704 "dead", "building destroyed"} } ) 1705 1706