Skip to content

Commit

Permalink
Added custom_tt to trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
LordR19 committed Dec 29, 2023
1 parent 1b5bcdd commit f9dc7b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions common/scripted_guis/MR_composer_sguis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,13 @@ mr_invite_composer_button = {
limit = {
scope:chosen_composer = { has_trait = elgar_national_composer }
}
scope:chosen_composer = {
culture = {
shares_non_heritage_trait_with_any_primary_culture = root
custom_tooltip = {
text = MR_NATIONAL_COMPOSER_TRIGGER_TT
scope:chosen_composer = {
culture = {
shares_non_heritage_trait_with_any_primary_culture = root
shares_heritage_trait_with_any_primary_culture = root
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions localization/english/1_update_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
MR_INVITE_COMPOSER_BUTTON: "Invite Composer"
MR_INVITE_COMPOSER_BUTTON_TT: "#T Invite this Composer#!\nInviting a [concept_elgar_composer] is a way to get a new Composer if your country can't provide a good enough Composer or if your current Composer does not satisfy you.\n\n[ScriptedGui.BuildTooltip( GuiScope.SetRoot( GetPlayer.MakeScope ).AddScope('chosen_composer', Scope.GetCharacter.MakeScope ).End)]"
MR_INVITE_COMPOSER_BUTTON_EFFECT_TT: "[SCOPE.sCharacter('chosen_composer').GetFullName] will become your new [concept_elgar_composer]. [GetPlayer.GetCustom('artists_replacement_composer_custom_loc')]"
MR_NATIONAL_COMPOSER_TRIGGER_TT: "This #V National Composer#! will not leave their homeland willingly."

### Elgar ###

Expand Down

0 comments on commit f9dc7b9

Please sign in to comment.