Skip to content

Commit

Permalink
Updated references to AI force type identifiers for the changes to th…
Browse files Browse the repository at this point in the history
…e them in the engine
  • Loading branch information
Andrettin committed Dec 20, 2020
1 parent 1c01c18 commit f282d8f
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
34 changes: 17 additions & 17 deletions data/civilizations/neutral.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ neutral = {
}

force_type_weights = {
land_force = 3
naval_force = 1
air_force = 1
land = 3
naval = 1
air = 1
}

force_templates = {
{
force_type = land_force
force_type = land
priority = 130
units = {
infantry = 4
Expand All @@ -81,7 +81,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 130
units = {
infantry = 4
Expand All @@ -92,7 +92,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 120
units = {
infantry = 4
Expand All @@ -102,7 +102,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 120
units = {
infantry = 4
Expand All @@ -112,7 +112,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 6
Expand All @@ -121,7 +121,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 6
Expand All @@ -130,7 +130,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 6
Expand All @@ -139,7 +139,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 6
Expand All @@ -148,7 +148,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 4
Expand All @@ -157,7 +157,7 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 115
units = {
infantry = 4
Expand All @@ -166,29 +166,29 @@ neutral = {
}
}
{
force_type = land_force
force_type = land
priority = 110
units = {
infantry = 6
shooter = 3
}
}
{
force_type = land_force
force_type = land
priority = 100
units = {
infantry = 3
}
}
{
force_type = naval_force
force_type = naval
priority = 100
units = {
siege_warship = 3
}
}
{
force_type = air_force
force_type = air
priority = 100
units = {
flying_rider = 3
Expand Down
32 changes: 16 additions & 16 deletions scripts/civilizations/dwarf/factions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,48 +138,48 @@ DefineFaction("shorbear-clan", {
Description = "Contrary to many of the other dwarven clans, who prefer to live in mountains, the Shorbears make their homes in the hills. They are known as excellent crafters of tools.",
ForceTemplates = {
{
"force-type", "land-force",
"force-type", "land",
"priority", 125,
"unit-class", "infantry", 2,
"unit-class", "spearman", 1,
"unit-class", "gunpowder_infantry", 1,
"unit-class", "siege_engine", 1 -- as a clan specialized in toolcrafting, it makes sense for them to use siege weapons
},
{ -- from Battle for Wesnoth: The Sceptre of Fire (Hills of the Shorbear Clan)
"force-type", "land-force",
"force-type", "land",
"priority", 120,
"unit-class", "infantry", 2,
"unit-class", "spearman", 1,
"unit-class", "gunpowder_infantry", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 115,
"unit-class", "infantry", 2,
"unit-class", "spearman", 1,
"unit-class", "shooter", 1,
"unit-class", "siege_engine", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 110,
"unit-class", "infantry", 2,
"unit-class", "spearman", 1,
"unit-class", "shooter", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 100,
"unit-class", "infantry", 2,
"unit-class", "spearman", 1
},
{
"force-type", "naval-force",
"force-type", "naval",
"priority", 100,
"unit-class", "siege_warship", 1
},
{
"force-type", "air-force",
"force-type", "air",
"priority", 100,
"unit-class", "flying_rider", 1
}
Expand Down Expand Up @@ -254,55 +254,55 @@ DefineFaction("kal-kartha", {
},
ForceTemplates = {
{ -- from Battle for Wesnoth: The Hammer of Thursagan (The Siege of Kal Kartha)
"force-type", "land-force",
"force-type", "land",
"priority", 120,
"unit-class", "infantry", 2,
"unit-class", "gunpowder_infantry", 1
},
{ -- from Battle for Wesnoth: The Hammer of Thursagan (The Court of Karrag)
"force-type", "land-force",
"force-type", "land",
"priority", 120,
"unit-class", "infantry", 2, -- a fighter and an ulfserker
"unit-class", "gunpowder_infantry", 1
},
{ -- from Battle for Wesnoth: The Hammer of Thursagan (The Underlevels)
"force-type", "land-force",
"force-type", "land",
"priority", 120,
"unit-class", "infantry", 1,
"unit-class", "spearman", 1,
"unit-class", "gunpowder_infantry", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 110,
"unit-class", "infantry", 2,
"unit-class", "shooter", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 110,
"unit-class", "infantry", 1,
"unit-class", "spearman", 1,
"unit-class", "shooter", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 100,
"unit-class", "infantry", 2
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 100,
"unit-class", "infantry", 1,
"unit-class", "spearman", 1
},
{
"force-type", "naval-force",
"force-type", "naval",
"priority", 100,
"unit-class", "siege_warship", 1
},
{
"force-type", "air-force",
"force-type", "air",
"priority", 100,
"unit-class", "flying_rider", 1
}
Expand Down
16 changes: 8 additions & 8 deletions scripts/civilizations/goblin/factions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,22 @@ DefineFaction("khag-tribe", {
FactionUpgrade = "upgrade-faction-khag-tribe",
ForceTemplates = {
{ -- from Battle for Wesnoth: Liberty (The Raid)
"force-type", "land-force",
"force-type", "land",
"priority", 110,
"unit-class", "cavalry", 4
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 100,
"unit-class", "infantry", 4
},
{
"force-type", "naval-force",
"force-type", "naval",
"priority", 100,
"unit-class", "siege_warship", 1
},
{
"force-type", "air-force",
"force-type", "air",
"priority", 100,
"unit-class", "flying_rider", 1
}
Expand All @@ -97,24 +97,24 @@ DefineFaction("lggi-tribe", {
FactionUpgrade = "upgrade-faction-lggi-tribe",
ForceTemplates = {
{ -- from Battle for Wesnoth: Descent into Darkness (Peaceful Valley)
"force-type", "land-force",
"force-type", "land",
"priority", 110,
"unit-class", "cavalry", 1,
"unit-class", "spearman", 1
},
{
"force-type", "land-force",
"force-type", "land",
"priority", 100,
"unit-class", "infantry", 1,
"unit-class", "spearman", 1
},
{
"force-type", "naval-force",
"force-type", "naval",
"priority", 100,
"unit-class", "siege_warship", 1
},
{
"force-type", "air-force",
"force-type", "air",
"priority", 100,
"unit-class", "flying_rider", 1
}
Expand Down

0 comments on commit f282d8f

Please sign in to comment.