Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TW3 Bookmark events for Radovid #154

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions MOD/Witcher/common/bookmarks/00_bookmarks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ bm_witcher_3 = {
desc = "BM_WITCHER_3_DESC"
date = 1275.1.1

era = yes
picture = GFX_era_witcher3
custom_start = yes

selectable_character = {
id = 9 # Radowid V
age = 20
Expand Down
98 changes: 98 additions & 0 deletions MOD/Witcher/common/cb_types/W_cb_types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3006,5 +3006,103 @@ claim_lormark = { # Special version of normal claim for Assassin of Kings bookma
}
}

#Third Northen War
third_nilfgaard_invasion = {
name = CB_NAME_CLAIM
war_name = WAR_NAME_CLAIM
sprite = 1
truce_days = 3650
hostile_against_others = yes
can_ask_to_join_war = no
is_permanent = no # Only usable via scripting

press_claim = no

allowed_to_target_tributaries = no


on_success_title = { # Attacker wins
usurp_title_plus_barony_if_unlanded = ROOT

ROOT = {
disband_event_forces = yes
if = {
limit = { has_global_flag = radovid_enter_novigrad}
k_eternal_fire = {usurp_title = ROOT}
}
}

FROM = {
imprison = ROOT
disband_event_forces = yes
any_demesne_title = {
limit = {
tier = KING
}
usurp_title = ROOT
}
}

attacker = {
narrative_event = { id = tnw.1001 }
}
defender = {
narrative_event = { id = tnw.1001 }
}
}

on_fail_title = { # Attacker white peaces out
ROOT = {
prestige = -200
hidden_tooltip = {
disband_event_forces = yes
}
}

FROM = {
disband_event_forces = yes
clr_character_flag = tnw_radovid_diplomacy
clr_character_flag = tnw_radovid_fire
}
clr_global_flag = radovid_enter_novigrad

attacker = {
narrative_event = { id = tnw.1002 }
}
defender = {
narrative_event = { id = tnw.1002 }
}
}

on_reverse_demand = { # Attacker looses
ROOT = {
prestige = -300
disband_event_forces = yes
transfer_scaled_wealth = {
to = FROM
value = 4.0
}
}

FROM = {
disband_event_forces = yes
}

attacker = {
narrative_event = { id = tnw.1000 }
}
defender = {
narrative_event = { id = tnw.1000 }
}
}

on_defender_leader_death = {
end_war = success
}

on_attacker_leader_death = {
end_war = reverse_demand
}
}
#haak_invasion
#border_conflict
51 changes: 51 additions & 0 deletions MOD/Witcher/decisions/W_third_northen_war_decisions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
decisions = {
enter_novigrad = {
is_high_prio = yes
diplomacy_icon = GFX_enter_novigrad

potential = {
independent = yes
religion = eternal_fire
has_character_flag = tnw_radovid_fire
k_eternal_fire = {
de_facto_liege = THIS
}
}

allow = {
piety = 500
}

effect = {
piety = -500
set_global_flag = radovid_enter_novigrad
k_eternal_fire = {
holder_scope = {
join_defender_wars = ROOT
}
}

spawn_unit = {
province = k_eternal_fire
home = 412
owner = THIS
troops = {
light_infantry = {700 700}
heavy_infantry = {500 500}
pikemen = {120 120}
archers = {200 200}
light_cavalry = {300 300}
knights = {30 30}
}
disband_on_peace = yes
}
ROOT = {
long_character_event = { id = tnw.203 days = 0}
}
}

ai_will_do = {
factor = 1000
}
}
}
Loading