Europa Universalis IV

Europa Universalis IV

View Stats:
PashaMonster Jul 17, 2019 @ 2:35pm
How to add gold as trade goods to provinces in console?
Trying to trigger province event that gains gold on certain province but it gives me error. Any hints on how to do it?

Or how to directly change provincial trade good through console command? Thanks! :servbothappy2:
< >
Showing 1-2 of 2 comments
tonypa Jul 17, 2019 @ 10:13pm 
Which event you are trying to trigger?

This one?
https://eu4.paradoxwikis.com/Chinese_Faction_events#Gold_Mine_Discovered

In general, triggering events from console still checks for every condition before actually launching the event. For example the "Gold Mine Discovered" event only works if you:

- Emperor of China
- Meritocracy is at least 70
- Country does not own at least 2 provinces producing Gold
- Owns a province that:
--- Does not produce Gold
--- Does not have a port
--- Does not have at least 10 Development

And no, there is no direct way to change trade goods with console. There are some specific event with specific conditions, but in general you need to edit manually each of the province files in the folder:
Steam\SteamApps\common\Europa Universalis IV\history\provinces
Last edited by tonypa; Jul 17, 2019 @ 10:13pm
jatemp84 Jul 19, 2019 @ 4:38pm 
Building upon tonypa...

I threw this together so don't knock my choice of picture and title.

-- open Steam\steamapps\common\Europa Universalis IV\events

-- right click and create a Text doc, name it something like Trade Goods Cheat, then open it

-- type or copy and paste:
province_event = {
id = 99999
title = "colonial.EVTNAME18"
desc = "colonial.EVTDESC18"
picture = TRADE_GOODS_PLANTATION_GOODS_IN_WAREHOUSE_eventPicture

trigger = {
ai = no
}

mean_time_to_happen = {
months = 1
}

option = {
name = "Aurum"
change_trade_goods = gold
}
}

-- Save the file,

When you start the game press ~ to open the console, type "debug_mode" so you can find the ID number for the province you wish to change.

Next you will type: event 99999 "province id" so for Wien it will look like "event 99999 134"

I think Wien is 134..lol. You can also do this for other trade goods as well, just change the id to something else like 99998 and change the trade good from gold to whichever trade good you want.

Hope this helps. I created my own out of frustration, arriving to the west indies late I would only get an island or two and one of them would be naval supplies...like really, f-ing naval supplies.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jul 17, 2019 @ 2:35pm
Posts: 2