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 2016-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-brising-miner", { 35 Parent = "unit-dwarven-miner", 36 Civilization = "dwarf", 37 Faction = "brising-clan", 38 Icon = "icon-brising-miner", 39 HitPoints = 40, -- +10 HP 40 Points = 35 -- +5 points 41} ) 42 43DefineUnitType("unit-brising-skilled-miner", { 44 Parent = "unit-dwarven-skilled-miner", 45 Civilization = "dwarf", 46 Faction = "brising-clan", 47 Icon = "icon-brising-skilled-miner", 48 HitPoints = 50, -- +10 HP 49 Points = 50 -- +5 points 50} ) 51 52DefineUnitType("unit-brising-expert-miner", { 53 Parent = "unit-dwarven-expert-miner", 54 Civilization = "dwarf", 55 Faction = "brising-clan", 56 Icon = "icon-brising-expert-miner", 57 HitPoints = 60, -- +10 HP 58 Points = 65 -- +5 points 59} ) 60 61DefineUnitType("unit-brising-militia", { 62 Parent = "unit-dwarven-militia", 63 Civilization = "dwarf", 64 Faction = "brising-clan", 65 Icon = "icon-brising-militia", 66 DefaultEquipment = { 67 {"shield", "unit-brising-round-shield"} 68 }, 69 HitPoints = 40, -- +10 HP 70 Points = 35, -- +5 points 71 AiDrops = {"unit-brising-round-shield"} 72} ) 73 74DefineUnitType("unit-brising-smithy", { 75 Parent = "unit-dwarven-smithy", 76 Civilization = "dwarf", 77 Faction = "brising-clan", 78 Image = {"file", "dlcs/brising_faction_flair/graphics/buildings/brising_smithy.png", "size", {96, 96}}, 79 Shadow = {"file", "dlcs/brising_faction_flair/graphics/buildings/brising_smithy_shadow.png", "size", {96, 96}}, 80 Icon = "icon-brising-smithy", 81 ResearchSpeedBonus = 50, -- +50% Research Speed Bonus 82 Variations = { 83 { 84 "variation-id", "smithy", 85 "terrain-forbidden", "snow", 86 "forbidden-season", "winter" 87 }, 88 { 89 "variation-id", "smithy-snow-winter", 90 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_smithy_snow.png", 91 "terrain", "dirt", 92 "terrain", "dry-mud", 93 "terrain", "grass", 94 "terrain", "snow", 95 "season", "winter" 96 }, 97 { 98 "variation-id", "smithy-snow", 99 "file", "dlcs/brising_faction_flair/graphics/buildings/brising_smithy_snow.png", 100 "terrain", "snow" 101 } 102 }, 103 AiDrops = {"unit-brising-round-shield"} 104} ) 105