Description
Steal Relic Function Not Working in 3.0.3 Beta
Game Version
3.0.3 Beta
What version do you use?
Steam
What expansions do you have installed?
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
It is impossible to successfully 'steal' a relic on conquest of enemy empire's capital due to incorrect condition text in ancient_relics_events_4.txt. Condition any_defender = { is_same_value = prev } should be changed to any_defender = { is_same_value = from }. Editing ancient_relics_events_4.txt changes checksum. Additionally chance of success modifier should be increased.
### RELIC THEFT
# Relic Acquired (HIDDEN)
country_event = {
id = ancrel.6499
hide_window = yes
is_triggered_only = yes
trigger = {
From = {
is_country_type = default
num_owned_relics > 0
}
FromFrom = { is_capital = yes }
any_war = {
any_attacker = { is_same_value = root }
any_defender = { is_same_value = prev }
NOT = {
using_war_goal = {
type = wg_take_galatron
owner = attacker
}
}
}
}
immediate = {
FromFrom = { save_event_target_as = planet }
From = { save_event_target_as = victim }
random_list = {
100 = {}
10 = {
modifier = {
factor = 1.5
has_valid_civic = civic_barbaric_despoilers
}
country_event = { id = ancrel.6500 }
}
}
}
}
Steps to reproduce the issue.
Try and steal a relic from another empire.
Upload Attachment
File(s) attached
Steal Relic Function Not Working in 3.0.3 Beta
Game Version
3.0.3 Beta
What version do you use?
Steam
What expansions do you have installed?
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
It is impossible to successfully 'steal' a relic on conquest of enemy empire's capital due to incorrect condition text in ancient_relics_events_4.txt. Condition any_defender = { is_same_value = prev } should be changed to any_defender = { is_same_value = from }. Editing ancient_relics_events_4.txt changes checksum. Additionally chance of success modifier should be increased.
### RELIC THEFT
# Relic Acquired (HIDDEN)
country_event = {
id = ancrel.6499
hide_window = yes
is_triggered_only = yes
trigger = {
From = {
is_country_type = default
num_owned_relics > 0
}
FromFrom = { is_capital = yes }
any_war = {
any_attacker = { is_same_value = root }
any_defender = { is_same_value = prev }
NOT = {
using_war_goal = {
type = wg_take_galatron
owner = attacker
}
}
}
}
immediate = {
FromFrom = { save_event_target_as = planet }
From = { save_event_target_as = victim }
random_list = {
100 = {}
10 = {
modifier = {
factor = 1.5
has_valid_civic = civic_barbaric_despoilers
}
country_event = { id = ancrel.6500 }
}
}
}
}
Steps to reproduce the issue.
Try and steal a relic from another empire.
Upload Attachment
File(s) attached
Attachments
- 2