Tension

Is there a way to have increasing world tension through a focus or spirit?

Yeah, I'll get around to adding this to the builder at some point, for now you can add the following in to the reward textbox:

add_threat = 10

Change 10 for the % you want world tension to increase by

Yeah, I'll get around to adding this to the builder at some point, for now you can add the following in to the reward textbox:

add_threat = 10

Change 10 for the % you want world tension to increase by

-jordsta95

 thanks, with the percentage do I write it as a decimal?


Also, is there a way to set an event to only show for a specific nation? 


thanks

If you want a 12.5% increase, then yeah, write 12.5.

It depends how the event is meant to be triggered. If it is set to "Is triggered only" (meaning something else will trigger it, and the trigger textbox needs to be empty) then in the code to trigger the event you would do:

TAG = {

country_event = {

    id = your_event.1

    days = 1

}

}


TAG = the tag of the country you want to trigger

your_event.1 is what appears at the bottom of the event when you hover over it in the event tool.


If it is triggered using the contents of the trigger box (Is triggered only must not be checked), then you would just need to have the following alongside whatever the trigger is:

original_tag = TAG


For example:

original_tag = ENG

has_political_power > 100



If you want a 12.5% increase, then yeah, write 12.5.

It depends how the event is meant to be triggered. If it is set to "Is triggered only" (meaning something else will trigger it, and the trigger textbox needs to be empty) then in the code to trigger the event you would do:

TAG = {

country_event = {

    id = your_event.1

    days = 1

}

}


TAG = the tag of the country you want to trigger

your_event.1 is what appears at the bottom of the event when you hover over it in the event tool.


If it is triggered using the contents of the trigger box (Is triggered only must not be checked), then you would just need to have the following alongside whatever the trigger is:

original_tag = TAG


For example:

original_tag = ENG

has_political_power > 100



-jordsta95

 thanks very much