-
Notifications
You must be signed in to change notification settings - Fork 48
/
characters.lua
167 lines (156 loc) · 5.81 KB
/
characters.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
-- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
-- \/ \/ \//_____/ \/
-- ______________________ ______________________
-- T H E W A R B E G I N S
-- Stratagus - A free fantasy real time strategy game engine
--
-- (c) Copyright 2015-2022 by Andrettin
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
if (OldDefineCustomHero == nil) then
OldDefineCustomHero = DefineCustomHero
end
function DefineCustomHero(character, data)
if (string.find(character, "custom") == nil) then
character = string.lower(string.gsub(character, " ", "-"))
character = "custom-" .. character
end
OldDefineCustomHero(character, data)
end
Load("scripts/civilizations/anglo_saxon/characters.lua")
Load("scripts/civilizations/assyrian/characters.lua")
Load("scripts/civilizations/basque/characters.lua")
Load("scripts/civilizations/dwarf/characters.lua")
Load("scripts/civilizations/elf/characters.lua")
Load("scripts/civilizations/ettin/characters.lua")
Load("scripts/civilizations/finnish/characters.lua")
Load("scripts/civilizations/frankish/characters.lua")
Load("scripts/civilizations/gael/characters.lua")
Load("scripts/civilizations/gaul/characters.lua")
Load("scripts/civilizations/germanic/characters.lua")
Load("scripts/civilizations/gnome/characters.lua")
Load("scripts/civilizations/goblin/characters.lua")
Load("scripts/civilizations/goth/characters.lua")
Load("scripts/civilizations/greek/characters.lua")
Load("scripts/civilizations/kobold/characters.lua")
Load("scripts/civilizations/latin/characters.lua")
Load("scripts/civilizations/norse/characters.lua")
Load("scripts/civilizations/persian/characters.lua")
Load("scripts/civilizations/suebi/characters.lua")
Load("scripts/civilizations/teuton/characters.lua")
Load("scripts/civilizations/slav/characters.lua") -- define after Teuton ones, because some Slavic characters refer to Teutonic ones
Load("scripts/civilizations/welsh/characters.lua")
-- Hun personal names: "Attila" (known as Atli in Norse myths; invaded Gundahar's kingdom in 437 AD; Source: Norman Davies, "Vanished Kingdoms", 2012, pp. 93-94; Source: F. E. Sandbach, "The Heroic Saga-Cycle of Dietrich of Bern", 1906, p. 6)
-- Sphinx names: "Tutu" (a female sphinx from Egyptian mythology; the same as the Greek "Titoés"; Source: Claude Traunecker, "Os Deuses do Egito", 1992, p. 86)
DefineCharacter("ganglati", { -- Hel's manservant in Norse mythology; Source: Kevin Crossley-Holland, "The Norse Myths", 1980, pp. 33-34.
Name = "Ganglati",
Gender = "male",
Type = "unit-norse-heroic-swordsman",
Civilization = "norse",
Faction = "hel",
StartDate = -30000,
DeathDate = 3000,
Trait = "upgrade_slow",
HistoricalLocations = {
-30000, "niflheim", "eljudnir"
},
Conditions = function(s)
if (GetPlayerData(trigger_player, "Faction") == "hel") then
return true
end
return false
end
})
DefineCharacter("ganglot", { -- Hel's maidservant in Norse mythology; Source: Kevin Crossley-Holland, "The Norse Myths", 1980, pp. 33-34.
Name = "Ganglot",
Gender = "female",
Type = "unit-teuton-priest",
Civilization = "norse",
Faction = "hel",
StartDate = -30000,
DeathDate = 3000,
Trait = "upgrade_slow",
HistoricalLocations = {
-30000, "niflheim", "eljudnir"
},
Conditions = function(s)
if (GetPlayerData(trigger_player, "Faction") == "hel") then
return true
end
return false
end
})
DefineCharacter("garm", { -- Hel's wolf-hound in Norse mythology, who guards the entrance to Niflheim; Source: Kevin Crossley-Holland, "The Norse Myths", 1980, pp. 147, 193.
Name = "Garm",
Gender = "male",
Type = "unit_wolf", -- wolf-hound
Faction = "hel",
Level = 3,
StartDate = -30000,
DeathDate = 3000,
Trait = "upgrade-vicious",
HistoricalLocations = {
-30000, "niflheim", {8, 181}
},
Conditions = function(s)
if (GetPlayerData(trigger_player, "Faction") == "hel") then
return true
end
return false
end
-- in Ragnarok Garm is fated to kill Tyr
})
DefineCharacter("groa", { -- Source: Kevin Crossley-Holland, "The Norse Myths", 1980, pp. 121-122.
Name = "Groa",
Gender = "female",
Type = "unit-teuton-priest", -- seeress
Civilization = "norse",
Faction = "hel", -- lives in Niflheim
StartDate = -30000,
DeathDate = 3000,
Trait = "upgrade-wise",
HistoricalLocations = {
-30000, "niflheim", "eljudnir"
},
Conditions = function(s)
if (GetPlayerData(trigger_player, "Faction") == "hel") then
return true
end
return false
end
})
DefineCharacter("nidhogg", { -- wyrm/dragon in Norse mythology, who lived in Niflheim
Name = "Nidhogg",
Gender = "male",
Type = "unit_wyrm",
Faction = "hel",
StartDate = -30000,
DeathDate = 3000,
Trait = "upgrade-vicious",
HistoricalLocations = {
-30000, "niflheim", {101, 164}
},
Conditions = function(s)
if (GetPlayerData(trigger_player, "Faction") == "hel") then
return true
end
return false
end
})