How to add resources and factories to the country?

.

Depends how you want to do it, and what it is you're trying to add.


When creating a focus/event/decision in the rewards section, you can search "Civilian", "Military", or "Dockyard" and there is already pre-built rewards for adding these to a nation. As for resources, you will need to use this format:

STATEID = {

add_resource = {

    type = AMOUNT

    amount = AMOUNT

}

}


For example:

31 = {

add_resource = {

type = steel

amount = 2

}

}