Interaction · Uncategorized actions
Select Artifact Tribute
What you need
The files set no condition the game shows: it is in the menu for anyone you can interact with.
Which artifact you can pick
- The target:
has_none_of_variables = { … }None of these
- Has “banner dynasty” (a variable the game's script sets)
- Has “banner house” (a variable the game's script sets)
- Has “bunga mas created by” (a variable the game's script sets)
- var:artifact_succession_title: Title already created
NOT = { rarity = famed }NOT = { rarity = illustrious }- Is not equipped
Select Artifact Tribute is an uncategorized character interaction in Crusader Kings III. Accepted automatically in some cases; otherwise the AI weighs it. Reasons the AI weighs include Artifacts are rare and precious (+100), This artifact is useless to the recipient (-80), This artifact is not relevant to the recipient (-40) and 2 more. Patch 1.20.1.2, from game/common/character_interactions/tgp_tribute_mission_interactions.txt.
Quick answers (1)
- How do I get the AI to accept Select Artifact Tribute?
- Accepted automatically in some cases; otherwise the AI weighs it. Its reasons: Artifacts are rare and precious +100, This artifact is useless to the recipient -80, This artifact is not relevant to the recipient -40, This is the recipient's Dynasty Banner +100 and This banner has no connection to the recipient -200.
Will they accept?
Accepted automatically when:
One of these
- You: Subject Standing at least 0
or
The character you target: Is played by a person
Otherwise the AI adds these up and accepts above zero. Reasons in italics are the script's, with no label in the game.
| Reason | Amount |
|---|---|
| Base | 0 |
| Artifacts are rare and precious | +100 |
This artifact is useless to the recipientwhen
| -80 |
This artifact is not relevant to the recipientwhen
| -40 |
This is the recipient's Dynasty Bannerwhen
| +100 |
This banner has no connection to the recipientwhen
| -200 |
Acceptance (ai_accept) (44 lines of game script)
base = 0
modifier = {
add = 100
desc = ARTIFACT_REASON
}
modifier = {
add = -80
NOT = {
can_equip_artifact = scope:target
}
desc = ARTIFACT_NOT_EQUIPPABLE_REASON
}
modifier = {
add = -40
NOT = {
can_benefit_from_artifact = scope:target
}
desc = ARTIFACT_NOT_BENEFIT_REASON
}
modifier = {
add = 100
exists = scope:target.var:banner_dynasty
exists = scope:recipient.dynasty
scope:recipient = scope:target.var:banner_dynasty.dynast
desc = ARTIFACT_DYNASTY_BANNER_REASON
}
modifier = {
add = -200
OR = {
exists = scope:target.var:banner_dynasty
exists = scope:target.var:banner_house
}
exists = scope:recipient.house
trigger_if = {
limit = {
exists = scope:target.var:banner_dynasty
}
scope:target.var:banner_dynasty != scope:recipient.dynasty
}
trigger_else = {
scope:target.var:banner_house != scope:recipient.house
}
desc = ARTIFACT_USELESS_BANNER_REASON
}As written in game/common/character_interactions/tgp_tribute_mission_interactions.txt.
What happens
If they accept
- … will be selected for the Tribute
- If your Government uses the Mandala Capital Temple Complex Great Project and Great Building:
overlord = { add_piety = minor_piety_gain }
- Otherwise:
error_log = Tribute mission target scope variable not set on character intending to travel!
trigger_event = { on_action = tribute_mission_start }- Else, if has “offered concubine” (a variable the game's script sets): Sets out on a journey (a travel plan)
- Else, if has “offered eunuch” (a variable the game's script sets): Sets out on a journey (a travel plan)
- Otherwise:
- Start traveling to … Capital in …
- Sets out on a journey (a travel plan)
Events it fires: tribute_mission.0002
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
Effects (on_send, on_accept, on_decline) (18 lines of game script)
on_accept = scope:target = {
set_variable = is_tribute_mission_artifact
}
scope:actor = {
set_variable = {
name = tribute_mission_type
value = flag:artifact_tribute
}
set_variable = {
name = offered_artifact
value = scope:target
}
custom_tooltip = tribute_mission_artifact_interaction.tooltip
show_as_tooltip = {
tribute_mission_mandala_piety_effect = yes
}
tribute_mission_set_up_tribute_travel_effect = yes
}As written in game/common/character_interactions/tgp_tribute_mission_interactions.txt.
- Category
- Uncategorized actions
- In the menu
- no (opened from elsewhere)
- ID
tribute_mission_artifact_interaction
Source: game/common/character_interactions/tgp_tribute_mission_interactions.txt and the English localisation, Crusader Kings III 1.20.1.2. “You” is the character who sends it (scope:actor, or a puppet acting for you); “the character you target” is the recipient.