
ActionNew this version
Sell Work of Art to Estates
Sell a Work of Art to our Estates at a discounted price. The work is absorbed and removed from our collection.
Definitionin_game/common/generic_actions/sell_work_of_art_to_estates.txt:1
2type = owncountry
4ai_tick = monthly
5ai_tick_frequency = 3
7automation_tick = never
9ai_prerequisite = {
10gold < {
10value = monthly_income_total
10multiply = 3
}
}
15potential = {
16scope:actor = {
17has_sellable_art = yes
}
}
21allow = {
}
24select_trigger = {
25looking_for_a = work_of_art
26source = actor
27cache_targets = yes
28target_flag = target
29name = "sell_woa_to_estates_select_art" Choose Work of Art
30none_available_msg_key = "sell_woa_to_estates_no_art"
31column = {
32data = name
}
34visible = {
35art_is_priceless = no
}
}
39effect = {
40scope:actor = {
41add_gold = {
42value = scope:target.art_price
43multiply = 0.6
}
}
46destroy_art = scope:target
}
49ai_will_do = {
50add = -100
52if = {
53limit = {
54scope:actor = {
55gold < {
55value = monthly_income_total
55multiply = 3
}
}
}
58add = 100
}
}