Hi everyone,
So I'm trying to create a Mod that would enable tracking planet.
So I created an event Chain, and a planet_event that add a point of interest in the event chain.
Thing is, I don't know how to fetch the planet info while inside the point of interest definition,
any ideas?
Here's the code where i'd like to get the info:
option = {
So I'm trying to create a Mod that would enable tracking planet.
So I created an event Chain, and a planet_event that add a point of interest in the event chain.
Thing is, I don't know how to fetch the planet info while inside the point of interest definition,
any ideas?
Here's the code where i'd like to get the info:
option = {
name = "ok"
trigger = { NOT = { has_planet_flag = tracked_planetoid } }
create_point_of_interest = {
hidden_effect = {
}trigger = { NOT = { has_planet_flag = tracked_planetoid } }
create_point_of_interest = {
id = planet_id
name = planet_name
desc = "test"
event_chain = track_chain
location = planet_location
}name = planet_name
desc = "test"
event_chain = track_chain
location = planet_location
hidden_effect = {
set_planet_flag = tracked_planetoid
}