Why does the AI do this event when I play nation other than GER?
ai_will_do is set to 0 WTHeck?
This is in Specials file in TFH Decisions:
#TIMO new diplomatic decision for germany
#Trade with Sweden for metal
########################
# Trade with Sweden #
########################
# you can do this as many times as you want
diplomatic_decisions = {
trade_with_sweden = {
major = yes
potential = {
tag = GER
exists = SWE
}
allow = {
supplies = 50
money = 50
}
effect = {
supplies = -50
money = -50
metal = 500
set_country_flag = trade_with_sweden
}
ai_will_do = { factor = 0 }
}
OK, now this is in triggered_modifiers file in TFH common:
# timo trade with sweden for germany begin
# you can do this as many times as you want
trade_with_sweden = {
potential = {
TAG = GER }
trigger = {
has_country_flag = trade_with_sweden
}
metal = 99999
}
# timo trade with sweden for germany end
Event works fine btw. I might add neutrality and somesuch maybe later.
Also amount of steel is for testing purposes only
ai_will_do is set to 0 WTHeck?
This is in Specials file in TFH Decisions:
#TIMO new diplomatic decision for germany
#Trade with Sweden for metal
########################
# Trade with Sweden #
########################
# you can do this as many times as you want
diplomatic_decisions = {
trade_with_sweden = {
major = yes
potential = {
tag = GER
exists = SWE
}
allow = {
supplies = 50
money = 50
}
effect = {
supplies = -50
money = -50
metal = 500
set_country_flag = trade_with_sweden
}
ai_will_do = { factor = 0 }
}
OK, now this is in triggered_modifiers file in TFH common:
# timo trade with sweden for germany begin
# you can do this as many times as you want
trade_with_sweden = {
potential = {
TAG = GER }
trigger = {
has_country_flag = trade_with_sweden
}
metal = 99999
}
# timo trade with sweden for germany end
Event works fine btw. I might add neutrality and somesuch maybe later.
Also amount of steel is for testing purposes only