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 2017-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-gothic-horse-rider", { 35 Name = "Horse Rider", 36 Parent = "unit-template-cavalry", 37 Civilization = "goth", 38 Description = "Awe-inspiring on the battlefield, Gothic horse riders are a near-irrestible force during a charge.", 39 Icon = "icon-gothic-horse-rider-brown-hair", 40 Image = {"file", "teuton/units/ritter.png", "size", {72, 72}}, 41 LayerImages = { 42 {"layer", "shield", "file", "teuton/units/ritter_shield.png"} 43 }, 44 Animations = "animations-melee-unit", 45 DefaultEquipment = { 46 {"weapon", "unit-short-sword"}, 47 {"shield", "unit-wooden-shield"}, 48 {"boots", "unit-boots"} 49 }, 50 ChargeBonus = 7, 51 Points = 85, -- +10 points 52 DaySightRangeBonus = 1, 53 NightSightRangeBonus = -1, 54 WeaponClasses = {"sword"}, 55 HackDamage = true, 56 InvertedEastArms = true, 57 InvertedSoutheastArms = true, 58 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing"}, 59 Corpse = "unit-human-dead-body", 60 RequirementsString = "Smithy and Stables", 61 Sounds = { 62 "selected", "basic-germanic-voices-selected-group", 63 "acknowledge", "basic-germanic-voices-acknowledge", 64 "attack", "basic-germanic-voices-attack", 65 "ready", "basic-germanic-voices-ready", 66 "help", "basic-germanic-voices-help", 67 "dead", "basic-human-voices-dead", 68 "hit", "sword-attack", 69 "miss", "attack-miss" 70 } 71}) 72 73DefineUnitType("unit-gothic-horse-lord", { 74 Name = "Horse Lord", 75 Parent = "unit-template-heroic-cavalry", 76 Civilization = "goth", 77 Description = "Covered in their war-glory, Gothic horse lords lead savage charges against the armies of their foes.", 78 Icon = "icon-gothic-horse-lord-brown-hair", 79 Image = {"file", "teuton/units/ritter.png", "size", {72, 72}}, 80 LayerImages = { 81 {"layer", "shield", "file", "teuton/units/ritter_shield.png"} 82 }, 83 Animations = "animations-melee-unit", 84 DefaultEquipment = { 85 {"weapon", "unit-short-sword"}, 86 {"shield", "unit-wooden-shield"}, 87 {"boots", "unit-boots"} 88 }, 89 ChargeBonus = 7, 90 Points = 110, -- +10 points 91 DaySightRangeBonus = 1, 92 NightSightRangeBonus = -1, 93 WeaponClasses = {"sword"}, 94 HackDamage = true, 95 InvertedEastArms = true, 96 InvertedSoutheastArms = true, 97 AiDrops = {"unit-short-sword", "unit-broad-sword", "unit-spatha", "unit-wooden-shield", "unit-bronze-shield", "unit-iron-shield", "unit-kite-shield", "unit-boots", "unit-cheese", "unit-carrots", "unit-potion-of-healing", "unit-elixir-of-strength"}, 98 Corpse = "unit-human-dead-body", 99 Sounds = { 100 "selected", "basic-germanic-voices-selected-group", 101 "acknowledge", "basic-germanic-voices-acknowledge", 102 "attack", "basic-germanic-voices-attack", 103 "ready", "basic-germanic-voices-ready", 104 "help", "basic-germanic-voices-help", 105 "dead", "basic-human-voices-dead", 106 "hit", "sword-attack", 107 "miss", "attack-miss" 108 } 109}) 110