I've been trying to understand what I can about scripting, but some of it is escaping me. For instance, in trying to understand the part of the liberate wargoal:
Most of it is pretty straightforward, but I cannot grasp what "parameter
lanet" is doing, or "fromfromfrom", which I only can deal with, because of the top of the file spells out that this is a country- specifically the "target" country, so I think the newly created one? Then shouldn't it be ethos = root (which seemed to work in a brief test I did)?
When I try to search on questions like this, I get lots of information about what effects, modifiers, scopes, and triggers there are, but not anything to understand their usage/implementation. Sorry for being super dumb, but is there a good resource to read on this?
Code:
parameter:planet = {
create_country = {
name = random
government = random
released_by_country = root
released_from_country = parameter:planet.owner
species = parameter:planet
ethos = fromfromfrom
flag = random
type = default
day_zero_contact = no
}
}
Most of it is pretty straightforward, but I cannot grasp what "parameter
When I try to search on questions like this, I get lots of information about what effects, modifiers, scopes, and triggers there are, but not anything to understand their usage/implementation. Sorry for being super dumb, but is there a good resource to read on this?