Skip to content

Commit

Permalink
trait specific events
Browse files Browse the repository at this point in the history
  • Loading branch information
Grekopithikos committed Sep 28, 2024
1 parent c5c1b7a commit b64907e
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 52 deletions.
80 changes: 63 additions & 17 deletions events/trait_specific_events/trait_specific_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ trait_specific.2001 = {
title = trait_specific.2001.t
desc = trait_specific.2001.desc
theme = mental_health
override_background = {
trigger = { is_landless_adventurer = yes }
reference = courtyard
}
left_portrait = {
character = root
animation = fear
Expand Down Expand Up @@ -412,7 +416,7 @@ trait_specific.2002 = {
theme = mental_health
left_portrait = {
character = root
animation = fear
animation = delirium
}

trigger = {
Expand Down Expand Up @@ -454,7 +458,7 @@ trait_specific.3001 = {
}
left_portrait = {
character = root
animation = sick
animation = sadness
}

trigger = {
Expand Down Expand Up @@ -495,7 +499,8 @@ trait_specific.3002 = {
theme = mental_health
left_portrait = {
character = root
animation = sick
animation = sadness
outfit_tags = { nightgown }
}

trigger = {
Expand Down Expand Up @@ -524,9 +529,10 @@ trait_specific.3999 = {
desc = trait_specific.3999.desc_end
}
theme = mental_health
override_background = { reference = bedchamber }
left_portrait = {
character = root
animation = sick
animation = sadness
}

trigger = {
Expand Down Expand Up @@ -556,10 +562,21 @@ trait_specific.3999 = {
trait_specific.4001 = {
type = character_event
title = trait_specific.4001.t
desc = trait_specific.4001.desc
desc = {
first_valid = {
triggered_desc = {
trigger = { is_landless_adventurer = yes }
desc = trait_specific.4001.adventurer
}
desc = trait_specific.4001.landed
}
desc = trait_specific.4001.desc
}
theme = witchcraft
left_portrait = root

left_portrait = {
character = root
animation = page_flipping
}
trigger = {
is_witch_trigger = no
}
Expand Down Expand Up @@ -645,7 +662,7 @@ trait_specific.4001 = {
scope:witch = {
can_start_scheme = {
type = convert_to_witchcraft
target = root
target_character = root
}
}
}
Expand All @@ -659,7 +676,7 @@ trait_specific.4001 = {
hidden_effect = {
start_scheme = {
type = convert_to_witchcraft
target = root
target_character = root
}
}
}
Expand Down Expand Up @@ -742,7 +759,7 @@ trait_specific.5002 = {
theme = secret
left_portrait = {
character = root
animation = worry
animation = shame
}

trigger = {
Expand Down Expand Up @@ -775,7 +792,7 @@ trait_specific.5003 = {
theme = secret
left_portrait = {
character = root
animation = shame
animation = severelywounded
}

override_background = { reference = wilderness_mountains }
Expand Down Expand Up @@ -829,7 +846,7 @@ trait_specific.6001 = {
theme = seduction
left_portrait = {
character = root
animation = flirtation
animation = page_flipping
}
override_background = { reference = market }

Expand Down Expand Up @@ -875,8 +892,13 @@ trait_specific.6002 = {
desc = trait_specific.6002.desc
theme = seduction
left_portrait = {
character = root
animation = shame
outfit_tags = { no_clothes }
}
right_portrait = {
character = scope:lover
animation = flirtation
animation = flirtation_left
}

trigger = {
Expand Down Expand Up @@ -1033,7 +1055,22 @@ trait_specific.7001 = {
override_background = {
reference = tavern
}
left_portrait = root
left_portrait = {
character = root
triggered_animation = {
trigger = {
OR = {
location.culture ?= { has_graphical_india_culture_group_trigger = yes }
location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
location.culture ?= { has_building_gfx = iranian_building_gfx }
location.culture ?= { has_graphical_african_culture_group_trigger = yes }
location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
}
}
animation = drink_goblet
}
animation = drink
}

trigger = {
NOT = { has_trait = drunkard }
Expand Down Expand Up @@ -1096,9 +1133,14 @@ trait_specific.8001 = {
title = trait_specific.8001.t
desc = trait_specific.8001.desc
theme = learning_medicine_focus
left_portrait = root
override_background = { reference = garden }
left_portrait = {
character = root
animation = thinking
}

trigger = {
is_landless_adventurer = no # Adventurers have nowhere to sow
# Warcraft
is_incapable_trigger = no

Expand Down Expand Up @@ -1228,6 +1270,10 @@ trait_specific.9001 = {
# add = 1
# has_character_modifier = bhakti_germanic_generic_odin
#}
modifier = {
factor = 6
domicile ?= { has_domicile_parameter = camp_more_likely_to_become_poet }
}
}

immediate = {
Expand Down Expand Up @@ -1586,15 +1632,15 @@ trait_specific.8501 = {
}
}
can_start_scheme = {
target = scope:mean_courtier
target_character = scope:mean_courtier
type = seduce
}
}
trait = lustful


start_scheme = {
target = scope:mean_courtier
target_character = scope:mean_courtier
type = seduce
}

Expand Down
Loading

0 comments on commit b64907e

Please sign in to comment.