-- This is currently implemented as a scale between 7 levels - 3 negative, 1 neutral, 3 positive
-- Negative war fervour will cause economic and military penalties, whilst positive war fervour will increase these.
-- Losses and time decrease war fervour when at war. Wins and armies at home increase it.
-- War Fervour should trend towards 0 when at peace (or towards 70 with the tech)
PLAYER_WAR_FERVOUR = {
["vik_fact_west_seaxe"] = -21,
["vik_fact_mierce"] = 5,
["vik_fact_sudreyar"] = 10,
["vik_fact_dyflin"] = 8,
["vik_fact_east_engle"] = -11,
["vik_fact_northymbre"] = 17,
["vik_fact_circenn"] = -4,
["vik_fact_mide"] = 2,
["vik_fact_strat_clut"] = -5,
["vik_fact_gwined"] = 1
}; -- This is the total amount of war fervour points the players faction has
PLAYER_WAR_FERVOUR_BREAKDOWNS = { --battles, border wars, armies in owned territory, peace treaties, events, technology, war fervour decay
["vik_fact_west_seaxe"] = { ["battle"] = 10, ["border_wars"] = -36, ["armies_own_territory"] = 0, ["peace_treaties"] = 5, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_mierce"] = { ["battle"] = 5, ["border_wars"] = -10, ["armies_own_territory"] = 0, ["peace_treaties"] = 10, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_sudreyar"] = { ["battle"] = 2, ["border_wars"] = -2, ["armies_own_territory"] = 0, ["peace_treaties"] = 10, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_dyflin"] = { ["battle"] = 4, ["border_wars"] = -6, ["armies_own_territory"] = 0, ["peace_treaties"] = 10, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_east_engle"] = { ["battle"] = -10, ["border_wars"] = -6, ["armies_own_territory"] = 0, ["peace_treaties"] = 5, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_northymbre"] = { ["battle"] = 9, ["border_wars"] = -2, ["armies_own_territory"] = 0, ["peace_treaties"] = 10, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_circenn"] = { ["battle"] = -2, ["border_wars"] = -4, ["armies_own_territory"] = 0, ["peace_treaties"] = 5, ["events"] = -3, ["technology"] = 0, ["decay"] = 0},
["vik_fact_mide"] = { ["battle"] = 0, ["border_wars"] = 0, ["armies_own_territory"] = 0, ["peace_treaties"] = 0, ["events"] = 2, ["technology"] = 0, ["decay"] = 0},
["vik_fact_strat_clut"] = { ["battle"] = -4, ["border_wars"] = -6, ["armies_own_territory"] = 0, ["peace_treaties"] = 5, ["events"] = 0, ["technology"] = 0, ["decay"] = 0},
["vik_fact_gwined"] = { ["battle"] = -3, ["border_wars"] = -6, ["armies_own_territory"] = 0, ["peace_treaties"] = 5, ["events"] = 5, ["technology"] = 0, ["decay"] = 0}
};
WAR_FERVOUR_INITIALISED = false; -- has the war fervour system been initialised
WAR_FERVOUR_LEVEL = {
["vik_fact_west_seaxe"] = 0,
["vik_fact_mierce"] = 0,
["vik_fact_sudreyar"] = 0,
["vik_fact_dyflin"] = 0,
["vik_fact_east_engle"] = 0,
["vik_fact_northymbre"] = 0,
["vik_fact_circenn"] = 0,
["vik_fact_mide"] = 0,
["vik_fact_strat_clut"] = 0,
["vik_fact_gwined"] = 0
}; -- The level of war fervour the player has
TURN_AT_WAR = -2; -- This is the amount war fervour will decrease by per faction they are at war with that turn
MAX_WAR_FERVOUR = 70; -- This is the maximum amount that the war fervour value can increase to
MIN_WAR_FERVOUR = -70; -- This is the minimum amount that the war fervour value can decrease to
WAR_FERVOUR_TECH = 2; -- The amount of additional War Fervour/turn to gain from owning vik_civ_army_6
PEACE_MADE = 5; -- The amount war fervour increases by if the faction makes peace with someone
TROOPS_AT_HOME = 2; -- This is a modifier to the war fervour change from war if all armies are at home.
TROOPS_AT_HOME_HALF = 1; -- This is a modifier to the war fervour change from war if at least half your armies are at home.
-- Difficulty modifiers for passive decrease
WF_EASY_MOD = 0.5;
WF_NORMAL_MOD = 1.0;
WF_HARD_MOD = 1.25;
WF_VERY_HARD_MOD = 1.5;
WF_LEGENDARY_MOD = 1.5;
WF_BREAKDOWN_TITLE = 100000;
-- These are the values that war fervour will change by given that the player achieves that result in a battle
battle_result_values = {
["heroic_victory"] = 10,
["decisive_victory"] = 3,
["close_victory"] = 2,
["pyrrhic_victory"] = -5,
["valiant_defeat"] = 4,
["close_defeat"] = -3,
["decisive_defeat"] = -5,
["crushing_defeat"] = -10
};