An Oversight in the new Spanish Tree

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

DukofDeth

Lt. General
37 Badges
Nov 20, 2015
1.302
1.064
  • Darkest Hour
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Hearts of Iron III Collection
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV
  • Hearts of Iron III
  • For the Motherland
  • Arsenal of Democracy
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
I was looking at the new Spanish tree, and noticed this...

focus = {
id = SPA_retake_gibraltar
available = {
NOT = {
is_in_faction_with = ENG
has_war_with = ENG
controls_state = 118
}
}
bypass = {
}
prerequisite = { focus = SPA_demand_french_north_africa }
prerequisite = { focus = SPA_defenses_against_invasion }

icon = GFX_focus_attack_britain
x = 1
y = 1
relative_position_id = SPA_demand_french_north_africa
cost = 10

available_if_capitulated = yes

completion_reward = {
create_wargoal = {
type = take_state_focus
target = ENG
generator = { 118 }
expire = 0
}
}
}

There's nothing in it to redirect should someone else own/control Gibraltar. What if England had been defeated, and no longer owned that rock? I did so in a recent game, and was sitting there, wondering if I would get attacked by Spain as it went through its tree, only to peek at the code and realize that Spain was coded to direct itself at Britain and Britain only. The "Unite Iberia" focus at least does have such a restriction, even though there's nothing to state so in the tool-tip [I had to peek at the code].

Is there a way to get the AI to generate a wargoal vs. anyone who occupies an AI's core or claim? I seem to recall Germany getting a wargoal vs. anyone who controlled the Sudentland, once it had made a claim to it.

There is also no line granting a waring. "will_lead_to_war_with = (x)" is the bit of code that lets a player - or the AI - know that someone is generating a wargoal by way of focus. The lack of a warning can lead to a player getting blind-sided just because they haven't gotten around to playing as Spain, so aren't familiar with the changes. This one is missing from a few wargoal-generating focuses.
 
Last edited:
  • 3
Reactions: