In SF there was a surrender event which gives all remaining forces of loser to winner.
In FtM there is not.
I want to add this effect. So I made this change in common\cb_types.txt:
In FtM there is not.
I want to add this effect. So I made this change in common\cb_types.txt:
and in event\SpanishCivilWar.txt:# Civil war
civil_war = {
sprite_index = 4
is_triggered_only = yes
is_valid = {
THIS = {
OR = {
tag = SPA
tag = SPR
}
}
OR = {
tag = SPA
tag = SPR
}
}
is_civil_war = yes #this is a civil war
#po_annex = yes
war_name = CIVIL_WAR_NAME
on competition = {
country_event = 513
}
}
But when I finally destroy SPA, they didn't give me nor units, nor land at all! Where is mistake?country_event = {
id = 513
is_triggered_only = yes
trigger = {
TAG = SPA
FROM = { TAG = SPR }
}
title = "EVTNAME513"
desc = "EVTDESC513"
picture = "SPA_Victory"
option = {
name = "EVTOPTA513"
SPR = {
split_troops = 1.0
capital = 4540
organisation = 15
inherit = SPA
}
}
}