Cherrymas
This commit is contained in:
parent
2cd8f37e4b
commit
0a9e166e82
6 changed files with 172 additions and 0 deletions
10
common/modifiers/NEOW_yearly_flavor_event_modifiers.txt
Normal file
10
common/modifiers/NEOW_yearly_flavor_event_modifiers.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
NEOW_cherrymas_character_modifier = {
|
||||||
|
icon = drink_positive
|
||||||
|
stress_loss_mult = 0.1
|
||||||
|
}
|
||||||
|
|
||||||
|
NEOW_cherrymas_county_modifier = {
|
||||||
|
icon = drink_positive
|
||||||
|
county_opinion_add = 5
|
||||||
|
}
|
||||||
10
common/on_action/NEOW_yearly_flavor_events.txt
Normal file
10
common/on_action/NEOW_yearly_flavor_events.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
NEOW_yearly_flavor_events = {
|
||||||
|
trigger = {
|
||||||
|
always = yes
|
||||||
|
}
|
||||||
|
random_events = {
|
||||||
|
chance_to_happen = 50
|
||||||
|
#Yearly Events
|
||||||
|
10 = NEOW_yearly_flavor_events.0021 # 0021 - Cherrymas (Cherry Blossoms)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2911,6 +2911,7 @@ random_yearly_playable_pulse = {
|
||||||
2 = bp1_yearly_events
|
2 = bp1_yearly_events
|
||||||
# 6 = ep3_yearly_events_byzantium
|
# 6 = ep3_yearly_events_byzantium
|
||||||
6 = ep3_yearly_events_admin
|
6 = ep3_yearly_events_admin
|
||||||
|
6 = NEOW_yearly_flavor_events
|
||||||
6 = tgp_japan_yearly_events
|
6 = tgp_japan_yearly_events
|
||||||
6 = tgp_china_yearly_events
|
6 = tgp_china_yearly_events
|
||||||
6 = tgp_mandala_yearly_events
|
6 = tgp_mandala_yearly_events
|
||||||
|
|
|
||||||
126
events/NEOW_yearly_flavor_events/NEOW_yearly_flavor_events.txt
Normal file
126
events/NEOW_yearly_flavor_events/NEOW_yearly_flavor_events.txt
Normal file
|
|
@ -0,0 +1,126 @@
|
||||||
|
namespace = NEOW_yearly_flavor_events
|
||||||
|
|
||||||
|
# 0021 - Among the Blossoms - Hanami (Cherry Blossoms)
|
||||||
|
NEOW_yearly_flavor_events.0021 = {
|
||||||
|
type = character_event
|
||||||
|
title = NEOW_yearly_flavor_events.0021.t
|
||||||
|
desc = NEOW_yearly_flavor_events.0021.desc
|
||||||
|
theme = love
|
||||||
|
override_background = garden
|
||||||
|
cooldown = { years = 15 }
|
||||||
|
left_portrait = {
|
||||||
|
character = root
|
||||||
|
animation = toast_goblet
|
||||||
|
}
|
||||||
|
right_portrait = {
|
||||||
|
character = scope:cherry_enjoyer
|
||||||
|
animation = storyteller
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger = {
|
||||||
|
drinks_alcohol_trigger = yes
|
||||||
|
any_courtier = {
|
||||||
|
NOT = { has_trait = blind }
|
||||||
|
is_available_healthy_adult = yes
|
||||||
|
}
|
||||||
|
location = {
|
||||||
|
geographical_region = custom_cherry_blossom_region
|
||||||
|
}
|
||||||
|
NOT = { has_trait = blind }
|
||||||
|
is_available_healthy_adult = yes
|
||||||
|
is_at_war = no
|
||||||
|
#The trees are in bloom between the end of March until early May
|
||||||
|
current_season_spring = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
immediate = {
|
||||||
|
random_courtier = {
|
||||||
|
limit = {
|
||||||
|
NOT = { has_trait = blind }
|
||||||
|
is_available_healthy_adult = yes
|
||||||
|
}
|
||||||
|
save_scope_as = cherry_enjoyer
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#Make an offering of sake to appease the gods
|
||||||
|
option = {
|
||||||
|
name = NEOW_yearly_flavor_events.0021.a
|
||||||
|
random_list = {
|
||||||
|
#Character modifier
|
||||||
|
40 = {
|
||||||
|
show_chance = no
|
||||||
|
desc = NEOW_yearly_flavor_events.0021.a_char_modifier.tt
|
||||||
|
send_interface_toast = {
|
||||||
|
right_icon = root
|
||||||
|
title = NEOW_yearly_flavor_events.0021.a_char_modifier.tt
|
||||||
|
add_character_modifier = {
|
||||||
|
modifier = NEOW_cherrymas_character_modifier
|
||||||
|
years = 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#County modifier
|
||||||
|
40 = {
|
||||||
|
show_chance = no
|
||||||
|
desc = tgp_japan_yearly_events.0021.a_pleased_deities.tt
|
||||||
|
send_interface_toast = {
|
||||||
|
right_icon = root
|
||||||
|
title = tgp_japan_yearly_events.0021.a_county_modifier.tt
|
||||||
|
capital_county = {
|
||||||
|
add_county_modifier = {
|
||||||
|
modifier = NEOW_cherrymas_county_modifier
|
||||||
|
years = 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#Nothing happens
|
||||||
|
20 = {
|
||||||
|
show_chance = no
|
||||||
|
desc = NEOW_yearly_flavor_events.0021.a_nothing_happens.tt
|
||||||
|
send_interface_toast = {
|
||||||
|
right_icon = root
|
||||||
|
title = NEOW_yearly_flavor_events.0021.a_nothing_happens.tt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_piety = minor_piety_gain
|
||||||
|
add_stress = minor_stress_loss
|
||||||
|
|
||||||
|
stress_impact = {
|
||||||
|
shy = minor_stress_impact_gain
|
||||||
|
humble = minor_stress_impact_gain
|
||||||
|
drunkard = minor_stress_impact_loss
|
||||||
|
generous = miniscule_stress_impact_loss
|
||||||
|
gregarious = miniscule_stress_impact_loss
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_chance = {
|
||||||
|
base = 100
|
||||||
|
ai_value_modifier = {
|
||||||
|
ai_zeal = 1
|
||||||
|
ai_energy = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
option = {
|
||||||
|
name = tgp_japan_yearly_events.0021.b
|
||||||
|
|
||||||
|
add_prestige = miniscule_prestige_gain
|
||||||
|
|
||||||
|
add_stress = major_stress_loss
|
||||||
|
|
||||||
|
stress_impact = {
|
||||||
|
calm = minor_stress_impact_loss
|
||||||
|
humble = minor_stress_impact_loss
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_chance = {
|
||||||
|
base = 100
|
||||||
|
ai_value_modifier = {
|
||||||
|
ai_zeal = -1
|
||||||
|
ai_energy = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
l_english:
|
||||||
|
|
||||||
|
NEOW_yearly_flavor_events.0021.t: "Cherrymas"
|
||||||
|
NEOW_yearly_flavor_events.0021.desc: "[Glossary( 'Cherrymas', 'CHERRYMAS_GLOSS' )] is upon us! Cherry trees, heavy with gorgeous blossoms, put all in high spirits. The people of [ROOT.Char.GetCurrentLocation.GetName] plan their spring planting around the trees, and pray for a good harvest. \n\nMy [ROOT.Char.Custom2('RelationToMe', cherry_enjoyer)], [cherry_enjoyer.GetTitledFirstName] asks, "It's a good time for merriment, isn't it?" [cherry_enjoyer.GetHerHis|U] words remind me a toast is in order."
|
||||||
|
NEOW_yearly_flavor_events.0021.a: "Pour some [Glossary( 'Kriek', 'KRIEK_GLOSS' )] for the occasion!"
|
||||||
|
NEOW_yearly_flavor_events.0021.a_char_modifier.tt: "I feel like a weight has been lifted of off my shoulders"
|
||||||
|
NEOW_yearly_flavor_events.0021.a_county_modifier.tt: "The citizens join in the festivity"
|
||||||
|
NEOW_yearly_flavor_events.0021.a_nothing_happens.tt: "My toast falls on deaf ears"
|
||||||
|
NEOW_yearly_flavor_events.0021.b: "Take a while to admire the trees."
|
||||||
|
CHERRYMAS_GLOSS: "#bold Cherrymas#! - a holiday originating from pre-Event Japan that spread with the eponymous trees before the Event, it has developed into many different regional forms based around the local climate and culture."
|
||||||
|
KRIEK_GLOSS: "#bold Kriek#! - a beer originating from Belge, made by fermenting local beers with cherries."
|
||||||
|
|
||||||
|
NEOW_cherrymas_character_modifier: "Cherry spirits"
|
||||||
|
NEOW_cherrymas_character_modifier_desc: "This character lead a toast at a cherry blossom celebration."
|
||||||
|
NEOW_cherrymas_county_modifier: "Cherry folks"
|
||||||
|
NEOW_cherrymas_county_modifier_desc: "The ruler of this county lead a toast at a cherry blossom celebration, pleasing the locals."
|
||||||
|
|
@ -5937,4 +5937,13 @@ custom_cale_region = {
|
||||||
duchies = {
|
duchies = {
|
||||||
d_mallorca
|
d_mallorca
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
custom_cherry_blossom_region = {
|
||||||
|
empires = {
|
||||||
|
e_europa e_germany e_iberia e_france e_brittania e_alps
|
||||||
|
}
|
||||||
|
kingdoms = {
|
||||||
|
k_gotaland k_england k_wales k_northumberland k_mann k_scotland k_ireland k_navarra k_hungary k_asturias k_spanish_galicia
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue