Skip to content

Commit

Permalink
Update and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMariuso committed Nov 25, 2024
1 parent 9257d6e commit f636a92
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 11 deletions.
44 changes: 33 additions & 11 deletions events/story_cycles/wc_story_cycle_horde_invasion_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ wc_horde_invasion.0004 = {

##################
# Base Events
# 1000-1005
# 1000-1007
##################

# Starts the Horde Invasion
Expand All @@ -85,7 +85,7 @@ wc_horde_invasion.1000 = {
trigger = {
is_from_draenor_trigger = yes
OR = {
has_title = title:d_twilights_hammer
has_title = title:d_twilights_hammer_clan
has_culture = culture:twilights_hammer
religion = { is_in_family = rf_shadow }
}
Expand Down Expand Up @@ -549,11 +549,27 @@ wc_horde_invasion.1004 = {
}

every_player = { # At location notification
limit = {
NOT = { has_title = title:e_horde }
is_at_same_location = title:e_horde.holder
if = {
limit = {
NOT = { has_title = title:e_horde }
is_at_same_location = title:e_horde.holder
}
trigger_event = wc_horde_invasion.1005
}
else_if = {
limit = { is_from_draenor_trigger = yes }
trigger_event = wc_horde_invasion.1006
}
else_if = {
limit = {
OR = {
is_medivh_trigger = yes
has_title = title:k_stormwind
is_vassal_or_below_of = title:k_stormwind.holder
}
}
trigger_event = wc_horde_invasion.1007
}
trigger_event = wc_horde_invasion.1005
}

#every_player = {
Expand Down Expand Up @@ -627,22 +643,27 @@ wc_horde_invasion.1005 = {
}
}

# Assault on Stormwind - Horde notification
# Assault on Stormwind - Draenor notification
wc_horde_invasion.1006 = {
type = character_event
content_source = dlc_GOA
title = wc_horde_invasion.1006.title
desc = wc_horde_invasion.1006.desc
theme = horde

override_background = { reference = throne_room_scope }
left_portrait = {
character = root
animation = stress
animation = personality_honorable
}

option = { # Lok'tar Ogar!
name = wc_horde_invasion.1006.a
option = {
name = {
text = wc_horde_invasion.1006.a
}
name = {
trigger = { has_faith = faith:orcish_shamanism }
text = wc_horde_invasion.orcish_shamanism.1006.a
}
show_as_tooltip = { declare_war_on_stormwind_effect = yes }
}
}
Expand All @@ -655,6 +676,7 @@ wc_horde_invasion.1007 = {
desc = wc_horde_invasion.1007.desc
theme = horde

override_background = { reference = throne_room_scope }
right_portrait = {
character = root
animation = stress
Expand Down
5 changes: 5 additions & 0 deletions localization/english/wc_horde_invasion_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
wc_horde_invasion.other.1005.a:0 "I’d better leave."
warchief_speech_stormwind:0 ""The weakling humans have spotted our raids. Instead of standing their ground and defending their lands, those cowards ran to grovel before their [king_of_stormwind.GetTitleAsNameNoTooltip|l]. Our scouts report that he has sent spies into the Black Morass to uncover our plans. But that changes nothing! Some among their council already tremble at the reports of our strength; they speak of crawling north, begging for aid. We cannot allow that to happen!\n\nWarriors of the [warchief.GetPrimaryTitle.GetBaseNameNoTooltip], this cursed swamp is no place to forge our destiny. [king_of_stormwind.GetPrimaryTitle.GetBaseNameNoTierNoTooltip] must fall, and we will leave behind nothing but ashes and despair to crush their pathetic kingdoms!""

wc_horde_invasion.1006.title:0 "$wc_horde_invasion.1004.title$"
wc_horde_invasion.1006.desc:0 "WIP"
wc_horde_invasion.1006.a:0 "$wc_horde_invasion.1005.a$"
wc_horde_invasion.orcish_shamanism.1006.a:0 "$wc_horde_invasion.orcish_shamanism.1005.a$"

#################################
# Introduction Events
#################################
Expand Down

0 comments on commit f636a92

Please sign in to comment.