Efekt skryptowy
chinese_expedition_status_travel_to
For when the expedition is traveling from China to target destination.
Definicjain_game/events/DHE/flavor_chi_treasure_expedition.txt:296
297if = {
}
308else_if = {
309limit = {
310scope:expedition_initiator.var:chinese_treasure_fleet_location ?= var:chinese_treasure_target_location
}
}
314else_if = {
315limit = {
316scope:expedition_initiator.var:chinese_treasure_voyage_cargo ?= {
316this > 0
}
317scope:expedition_initiator.var:chinese_treasure_fleet_location ?= {
}
}
324scope:expedition_initiator.var:chinese_treasure_fleet_location ?= {
326random_neighbor_location = {
330weight = {
331factor = 1
332modifier = {
333add = {
334value = development
335multiply = development
}
}
}
339save_scope_as = target_stop
}
}
}
357else = {
358trigger_event_non_silently = {
359on_action = chinese_expedition_movement_events
}
363to = scope:expedition_initiator.var:chinese_treasure_fleet_location.var:chinese_treasure_next_location
}
}