USA lend-lease to free french dies after 1 day

  • 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.

SpaceViking

General
26 Badges
Apr 30, 2011
1.711
161
  • Darkest Hour
  • Crusader Kings II
  • Sengoku
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • BATTLETECH: Heavy Metal
  • Stellaris: Lithoids
  • BATTLETECH: Season pass
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Stellaris
  • Pillars of Eternity
  • 500k Club
  • Europa Universalis IV
  • Stellaris: Synthetic Dawn
For some reason the day after I start lend-lease to the french it gets canceled. I looked at the events and there are two that can do this. From experimenting the one triggering is 2049117, I think the thing going wrong is the "NOT = { control = { province = 907 data = -3 } }" part.

The documentation says:

control = { province = a [data = tag] } # checks if province is controlled by country x. If data = -1 or no data then it’s for country receiving event; -2 is Enemy; -3 is allied (war or diplomatic alliance) or event receiver

Any idea why the -3 wouldn't work for the USA<->U01 (which is Free France)? The other event that terminates lend lease for Free France uses "data = -1" instead.

event = {
id = 2049117
random = no
country = USA

trigger = {
event = 2049015 #Lend Lease for Free France
OR = {
AND = {
NOT = { exists = U01 }
NOT = { exists = FRA }
}
NOT = { control = { province = 907 data = -3 } } #Brazzaville not controlled by ally
control = { province = 907 data = USA }
}
}

name = EVT_2049116_NAME
desc = 80001desc
style = 2
picture = "lend_lease"

date = { day = 0 month = january year = 1940 }
offset = 1#15
deathdate = { day = 29 month = june year = 1999 }

action_a = {
name = ACTION_NAME_OK
command = { type = construct which = ic where = 907 value = -10 } #Brazzaville
command = { type = construct which = ic where = 1924 value = 5 } # Dallas - Texas - Southcentral US
command = { type = construct which = ic where = 1887 value = 5 } # Los Angeles - California - Southwest US
command = { type = sleepevent which = 2049116 } #USA France can no longer receive Lend-Lease aid!
}
#}