Skip to content

Commit

Permalink
Presets v5.1 Update (GU15) (#441)
Browse files Browse the repository at this point in the history
- Presets v5.1 Update
  - Updated Presets for GU15
  - Updated Translation Tree Menu's
  - Added GU15 Icons
  - Updated Color.json
  - Fixed #407 (Missing Influence Distance)

- Program Only:
  - Fixed NewTreeMenu's (IsPartOf to IsMatch)
  - Fixed PPTN File (Included XPaths now)

Thanks to:
DuxVitea for checking Missing Buildings

- Fixed Version Number of Colors.json
- optimized images with zopflipng (from 2.715.704 bytes to 2.407.123)

Co-authored-by: FroggieFrog <[email protected]>
  • Loading branch information
StingMcRay and FroggieFrog authored Sep 27, 2022
1 parent d6ba549 commit 044a4ba
Show file tree
Hide file tree
Showing 121 changed files with 301 additions and 95 deletions.
Binary file added AnnoDesigner/icons/A7_airport_arrivals_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_arrivals_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_cafe_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_cafe_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_cafetables_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_cafetables_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_clock_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_clock_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_departures_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_departures_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_01_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_01_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_02_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_02_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_03_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_03_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_04_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_04_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_05_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_05_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_06_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_flag_06_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_seats_large_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_seats_large_ow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_seats_nw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AnnoDesigner/icons/A7_airport_seats_ow.png
Binary file added AnnoDesigner/icons/A7_airport_sign_nw.png
Binary file added AnnoDesigner/icons/A7_airport_sign_ow.png
Binary file added AnnoDesigner/icons/A7_airship.png
Binary file added AnnoDesigner/icons/A7_airship_artic.png
Binary file added AnnoDesigner/icons/A7_airship_cargo_large_a.png
Binary file added AnnoDesigner/icons/A7_airship_cargo_large_b.png
Binary file added AnnoDesigner/icons/A7_airship_cargo_medium_b.png
Binary file added AnnoDesigner/icons/A7_airship_cargo_small.png
Binary file added AnnoDesigner/icons/A7_airship_cargo_small_b.png
Binary file added AnnoDesigner/icons/A7_airship_gg_queen.png
Binary file added AnnoDesigner/icons/A7_airship_hunter.png
Binary file added AnnoDesigner/icons/A7_airship_hunter_light.png
Binary file added AnnoDesigner/icons/A7_airship_platform_post.png
Binary file added AnnoDesigner/icons/A7_airship_skin_01.png
Binary file added AnnoDesigner/icons/A7_airship_skin_02.png
Binary file added AnnoDesigner/icons/A7_airship_skin_03.png
Binary file added AnnoDesigner/icons/A7_airship_skin_variation.png
Binary file added AnnoDesigner/icons/A7_airship_variation.png
Binary file added AnnoDesigner/icons/A7_aluminium.png
Binary file added AnnoDesigner/icons/A7_bauxit.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_a.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_a_ori.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_b.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_b_ori.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_c.png
Binary file added AnnoDesigner/icons/A7_dropgood_bomb_c_ori.png
Binary file added AnnoDesigner/icons/A7_dropgood_care_packages.png
Binary file added AnnoDesigner/icons/A7_dropgood_pamphlets.png
Binary file added AnnoDesigner/icons/A7_dropgood_pamphlets_ori.png
Binary file added AnnoDesigner/icons/A7_dropgood_seamines.png
Binary file added AnnoDesigner/icons/A7_dropgood_seamines_ori.png
Binary file added AnnoDesigner/icons/A7_dropgood_water.png
Binary file added AnnoDesigner/icons/A7_dropgood_water_ori.png
Binary file added AnnoDesigner/icons/A7_expedition_paloma.png
Binary file added AnnoDesigner/icons/A7_flack_tower.png
Binary file added AnnoDesigner/icons/A7_flak_tower.png
Binary file added AnnoDesigner/icons/A7_flame_tower.png
Binary file added AnnoDesigner/icons/A7_he_guntower.png
Binary file added AnnoDesigner/icons/A7_helium.png
Binary file added AnnoDesigner/icons/A7_letter_delivered.png
Binary file added AnnoDesigner/icons/A7_letter_lost.png
Binary file added AnnoDesigner/icons/A7_letter_normal.png
Binary file added AnnoDesigner/icons/A7_letter_oversea.png
Binary file added AnnoDesigner/icons/A7_lost_sister.png
Binary file added AnnoDesigner/icons/A7_oldnate_base.png
Binary file added AnnoDesigner/icons/A7_oldnate_crane.png
Binary file added AnnoDesigner/icons/A7_oldnate_crane2.png
Binary file added AnnoDesigner/icons/A7_oldnate_dumppile_big.png
Binary file added AnnoDesigner/icons/A7_oldnate_dumppile_small.png
Binary file added AnnoDesigner/icons/A7_oldnate_fence_1.png
Binary file added AnnoDesigner/icons/A7_oldnate_fence_2.png
Binary file added AnnoDesigner/icons/A7_oldnate_gas_platform.png
Binary file added AnnoDesigner/icons/A7_oldnate_helium_platform.png
Binary file added AnnoDesigner/icons/A7_oldnate_oil.png
Binary file added AnnoDesigner/icons/A7_oldnate_platform.png
Binary file added AnnoDesigner/icons/A7_oldnate_platform_big.png
Binary file added AnnoDesigner/icons/A7_oldnate_wall_1.png
Binary file added AnnoDesigner/icons/A7_oldnate_wall_2.png
Binary file added AnnoDesigner/icons/A7_passengers_delivered.png
Binary file added AnnoDesigner/icons/A7_passengers_undelivered.png
Binary file added AnnoDesigner/icons/A7_pile_of_letters.png
Binary file added AnnoDesigner/icons/A7_post_office_dlc11.png
Binary file added AnnoDesigner/icons/A7_postbox_a.png
Binary file added AnnoDesigner/icons/A7_postbox_b.png
Binary file added AnnoDesigner/icons/A7_rocket_barrage_epic.png
Binary file added AnnoDesigner/icons/A7_rocket_barrage_normal.png
Binary file added AnnoDesigner/icons/A7_ship_fire_monitor_blue.png
Binary file added AnnoDesigner/icons/A7_ship_fire_monitor_red.png
Binary file added AnnoDesigner/icons/A7_ship_flak_monitor.png
Binary file added AnnoDesigner/icons/A7_ship_liner_gg_queen.png
Binary file added AnnoDesigner/icons/A7_ship_liner_vasco_silver.png
Binary file added AnnoDesigner/icons/A7_ship_repair_2.png
Binary file added AnnoDesigner/icons/A7_spotlight.png
Binary file added AnnoDesigner/icons/A7_stamp_narrative.png
Binary file added AnnoDesigner/icons/A7_ticket_booth.png
Binary file added AnnoDesigner/icons/A7_valuable_sketches_b.png
Binary file added AnnoDesigner/icons/A7_valuable_sketches_c.png
Binary file added AnnoDesigner/icons/A7_vegetable_oil.png
87 changes: 44 additions & 43 deletions PresetParser/Anno1800/NewFactionAndGroup1800.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Text;
using System.Threading.Tasks;
using AnnoDesigner.Core.Extensions;
using PresetParser.Extensions;

namespace PresetParser.Anno1800
{
Expand Down Expand Up @@ -34,7 +35,7 @@ public static class NewFactionAndGroup1800
private static readonly List<string> ChangeBuildingsToNW1_Public_1800 = new List<string> { "Institution_colony01_02 (Fire Department)", "Institution_colony01_01 (Police)", "Service_colony01_01 (Marketplace)", "Service_colony01_02 (Chapel)" };
private static readonly List<string> ChangeBuildingsToNW2_Public_1800 = new List<string> { "Institution_colony01_03 (Hospital)", "Service_colony01_03 (Boxing Arena)" };
private static readonly List<string> ChangeBuildingsToAT1_Public_1800 = new List<string> { "Service_arctic_01 (Canteen)", "Institution_arctic_01 (Ranger Station)" };
private static readonly List<string> ChangeBuildingsToAT2_Public_1800 = new List<string> { "Service_arctic_02 (Post Office)" };
private static readonly List<string> ChangeBuildingsToAT2_Public_1800 = new List<string> { "Service_arctic_02 (Post Office)"};
private static readonly List<string> ChangeBuildingsToAF1_Public_1800 = new List<string> { "Service_colony02_01 (Bazaar)", "Service_colony02_02 (Music Plaza)", "Institution_colony02_01 (Fire Station)" };
private static readonly List<string> ChangeBuildingsToAF2_Public_1800 = new List<string> { "Institution_colony02_02 (Police)", "Institution_colony02_03 (Hospital)", "Service_colony02_03 (Monastery)" };

Expand Down Expand Up @@ -91,57 +92,57 @@ public static (string Faction, string Group, string Template) GetNewFactionAndGr
}

//public buildings
//if (identifierName.IsPartOf(ChangeBuildingsToAW_Public_1800)) { factionName = "All Worlds"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW1_Public_1800)) { factionName = "(01) Farmers"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW2_Public_1800)) { factionName = "(02) Workers"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW3_Public_1800)) { factionName = "(03) Artisans"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW4_Public_1800)) { factionName = "(04) Engineers"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW5_Public_1800)) { factionName = "(05) Investors"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW6_Public_1800)) { factionName = "(13) Scholars"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW1_Public_1800)) { factionName = "(07) Jornaleros"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW2_Public_1800)) { factionName = "(08) Obreros"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT1_Public_1800)) { factionName = "(10) Explorers"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT2_Public_1800)) { factionName = "(11) Technicians"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF1_Public_1800)) { factionName = "(14) Shepherds"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF2_Public_1800)) { factionName = "(15) Elders"; groupName = "Public Buildings"; }
//if (identifierName.IsMatch(ChangeBuildingsToAW_Public_1800)) { factionName = "All Worlds"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW1_Public_1800)) { factionName = "(01) Farmers"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW2_Public_1800)) { factionName = "(02) Workers"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW3_Public_1800)) { factionName = "(03) Artisans"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW4_Public_1800)) { factionName = "(04) Engineers"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW5_Public_1800)) { factionName = "(05) Investors"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW6_Public_1800)) { factionName = "(13) Scholars"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW1_Public_1800)) { factionName = "(07) Jornaleros"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW2_Public_1800)) { factionName = "(08) Obreros"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAT1_Public_1800)) { factionName = "(10) Explorers"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAT2_Public_1800)) { factionName = "(11) Technicians"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF1_Public_1800)) { factionName = "(14) Shepherds"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF2_Public_1800)) { factionName = "(15) Elders"; groupName = "Public Buildings"; }

//Production buildings
//if (identifierName.IsPartOf(ChangeBuildingsToAW_Productions_1800)) { factionName = "All Worlds"; groupName = "Public Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW1_Productions_1800)) { factionName = "(01) Farmers"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW2_Productions_1800)) { factionName = "(02) Workers"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW3_Productions_1800)) { factionName = "(03) Artisans"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW4_Productions_1800)) { factionName = "(04) Engineers"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW5_Productions_1800)) { factionName = "(05) Investors"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW6_Productions_1800)) { factionName = "(13) Scholars"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW1_Productions_1800)) { factionName = "(07) Jornaleros"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW2_Productions_1800)) { factionName = "(08) Obreros"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT1_Productions_1800)) { factionName = "(10) Explorers"; groupName = "Production Buildings"; templateName = "FactoryBuilding7"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT2_Productions_1800)) { factionName = "(11) Technicians"; groupName = "Production Buildings"; templateName = "FactoryBuilding7"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF1_Productions_1800)) { factionName = "(14) Shepherds"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF2_Productions_1800)) { factionName = "(15) Elders"; groupName = "Production Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToTou_Productions_1800)) { factionName = "(17) Tourists"; groupName = "Production Buildings"; }
//if (identifierName.IsMatch(ChangeBuildingsToAW_Productions_1800)) { factionName = "All Worlds"; groupName = "Public Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW1_Productions_1800)) { factionName = "(01) Farmers"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW2_Productions_1800)) { factionName = "(02) Workers"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW3_Productions_1800)) { factionName = "(03) Artisans"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW4_Productions_1800)) { factionName = "(04) Engineers"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW5_Productions_1800)) { factionName = "(05) Investors"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW6_Productions_1800)) { factionName = "(13) Scholars"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW1_Productions_1800)) { factionName = "(07) Jornaleros"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW2_Productions_1800)) { factionName = "(08) Obreros"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAT1_Productions_1800)) { factionName = "(10) Explorers"; groupName = "Production Buildings"; templateName = "FactoryBuilding7"; }
if (identifierName.IsMatch(ChangeBuildingsToAT2_Productions_1800)) { factionName = "(11) Technicians"; groupName = "Production Buildings"; templateName = "FactoryBuilding7"; }
if (identifierName.IsMatch(ChangeBuildingsToAF1_Productions_1800)) { factionName = "(14) Shepherds"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF2_Productions_1800)) { factionName = "(15) Elders"; groupName = "Production Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToTou_Productions_1800)) { factionName = "(17) Tourists"; groupName = "Production Buildings"; }

//Farm buildings
//if (identifierName.IsPartOf(ChangeBuildingsToAW_FarmBuilding_1800)) { factionName = "All Worlds"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW1_FarmBuilding_1800)) { factionName = "(01) Farmers"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW2_FarmBuilding_1800)) { factionName = "(02) Workers"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW3_FarmBuilding_1800)) { factionName = "(03) Artisans"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToOW5_FarmBuilding_1800)) { factionName = "(05) Investors"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW1_FarmBuilding_1800)) { factionName = "(07) Jornaleros"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToNW2_FarmBuilding_1800)) { factionName = "(08) Obreros"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT1_FarmBuilding_1800)) { factionName = "(10) Explorers"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAT2_FarmBuilding_1800)) { factionName = "(11) Technicians"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF1_FarmBuilding_1800)) { factionName = "(14) Shepherds"; groupName = "Farm Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF2_FarmBuilding_1800)) { factionName = "(15) Elders"; groupName = "Farm Buildings"; }
//if (identifierName.IsMatch(ChangeBuildingsToAW_FarmBuilding_1800)) { factionName = "All Worlds"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW1_FarmBuilding_1800)) { factionName = "(01) Farmers"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW2_FarmBuilding_1800)) { factionName = "(02) Workers"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW3_FarmBuilding_1800)) { factionName = "(03) Artisans"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToOW5_FarmBuilding_1800)) { factionName = "(05) Investors"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW1_FarmBuilding_1800)) { factionName = "(07) Jornaleros"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToNW2_FarmBuilding_1800)) { factionName = "(08) Obreros"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAT1_FarmBuilding_1800)) { factionName = "(10) Explorers"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAT2_FarmBuilding_1800)) { factionName = "(11) Technicians"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF1_FarmBuilding_1800)) { factionName = "(14) Shepherds"; groupName = "Farm Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF2_FarmBuilding_1800)) { factionName = "(15) Elders"; groupName = "Farm Buildings"; }

//River Buildings (Only Africa DLC 06)
//if (identifierName.IsPartOf(ChangeBuildingsToAF1_RiverBuilding_1800)) { factionName = "(14) Shepherds"; groupName = "River Buildings"; }
if (identifierName.IsPartOf(ChangeBuildingsToAF2_RiverBuilding_1800)) { factionName = "(15) Elders"; groupName = "River Buildings"; }
//if (identifierName.IsMatch(ChangeBuildingsToAF1_RiverBuilding_1800)) { factionName = "(14) Shepherds"; groupName = "River Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAF2_RiverBuilding_1800)) { factionName = "(15) Elders"; groupName = "River Buildings"; }

//Special Buildings
if (identifierName.IsPartOf(ChangeBuildingsToAW_SpecialBuilding_1800)) { factionName = "All Worlds"; groupName = "Special Buildings"; }
if (identifierName.IsMatch(ChangeBuildingsToAW_SpecialBuilding_1800)) { factionName = "All Worlds"; groupName = "Special Buildings"; }
//Ornamentals
//if (identifierName.IsPartOf(ChangeBuildingsToAW_Ornamentals_1800)) { factionName = "All Worlds"; }
//if (identifierName.IsMatch(ChangeBuildingsToAW_Ornamentals_1800)) { factionName = "All Worlds"; }

return (factionName, groupName, templateName);
}
Expand Down
Loading

0 comments on commit 044a4ba

Please sign in to comment.