Event
Early Resource Exploitation

The settlement efforts of Recipient show early success already. The young Actor Adjective villages in Target have established the first accesses to exploit the resources of the land. We could use our authority to demand some of these resources for our own gain...
Definitionin_game/events/colonization/settle_the_frontier.txt:259
260type = country_event
261title = settle_the_frontier.6.title Early Resource Exploitation
262desc = settle_the_frontier.6.desc The settlement efforts of Recipient show early success already. The young Actor Adjective villages in Target have established the first accesses to exploit the resources of the land. We could use our authority to demand some of these resources for our own gain...
263outcome = neutral
264illustration_tags = {
26510 = happy
26610 = exterior
}
268immediate = {
}
271capital = {
271market = {
271save_scope_as = target_market
}
}
272scope:target = {
273every_location_in_province_definition = {
274limit = {
275has_owner = no
276is_ownable = yes
277exists = raw_material
}
279raw_material = {
280scope:actor = {
281if = {
282limit = {
283OR = {
284NOT = {
284has_local_variable_list = snml_trade_goods
}
285NOT = {
285is_target_in_local_variable_list = {
285name = snml_trade_goods
285target = prev
}
}
}
}
288add_to_local_variable_list = {
288name = snml_trade_goods
288target = prev
}
}
}
}
}
}
294ordered_in_local_list = {
294variable = snml_trade_goods
294position = 0
294save_scope_as = target_goods_0
}
295if = {
296limit = {
296local_variable_list_size = {
296name = snml_trade_goods
296value >= 1
}
}
297ordered_in_local_list = {
297variable = snml_trade_goods
297position = 1
297save_scope_as = target_goods_1
}
}
299if = {
300limit = {
300local_variable_list_size = {
300name = snml_trade_goods
300value >= 2
}
}
301ordered_in_local_list = {
301variable = snml_trade_goods
301position = 2
301save_scope_as = target_goods_2
}
}
303if = {
304limit = {
304local_variable_list_size = {
304name = snml_trade_goods
304value >= 3
}
}
305ordered_in_local_list = {
305variable = snml_trade_goods
305position = 3
305save_scope_as = target_goods_3
}
}
307if = {
308limit = {
308local_variable_list_size = {
308name = snml_trade_goods
308value >= 4
}
}
309ordered_in_local_list = {
309variable = snml_trade_goods
309position = 4
309save_scope_as = target_goods_4
}
}
}