• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Jape

Lord Privy Seal
7 Badges
Jul 16, 2004
2.670
114
  • Darkest Hour
  • Europa Universalis III Complete
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Victoria 3 Sign Up
Hey, I'm trying to sort out an event that for Portugal that gives it all of Brazil's provinces and adds Brazilian as a culture. However I'm quite useless at this stuff and have failed consistently at doing it myself. If anyone could even give me a basic template on how to the event or chain to do this, I'd be very grateful
 
Something like this perhaps:

Code:
#########################################################################
#  [name of event (for referencing)]
#########################################################################
event = {
	id = 7500 #This number must be unique
	random = no
	country = POR #Portugal

	trigger = { control = { province = 2461 data = POR } } #What triggers this event to occur: this example is Portugal controlling Rio de Janeiro

	name = "[name of event, e.g. "Brazil Surrenders to Portugal"]"
	desc = "[description of event, e.g. "The Brazilian forces have been defeated and our forces march triumphantly through their capital"]"
	style = 0

	date = { day = 1 month = january year = 1836 }		#Can get this event from this date
	offset = 0						#How often the engine checks for trigger conditions being met
	deathdate = { day = 30 month = december year = 1936 }	#Can't get this event after this date

	action_a = {
		name = "[name of action, e.g. "Great!"]"
		command = { type = inherit which = BRZ } #Inherit Brazil
		command = { type = add_countryculture which = brazilian } #Adds Brazilian culture as a national culture
	}
}

The stuff in the [] brackets is what should be changed - don't remove the apostrophes!!

For a more complete guide on how to create you own events, I'd recommend using VickyWiki.

Here is a list of triggers (with explanations)
... and here is a list of commands (with explanations also).