{
	# note: pirates will never have a diplomacy event with non-pirates unless pirate invasions are enabled in main config
	
	"warWearinessPerInterval":20,	#20
	"eventFrequency":10,	#10
	"events":[
		{
			"name":"Official Aid",
			"stage":"official_aid",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":0.15,
			"maxRepChange":0.2,
			"allowNonPiratesToPirates":true
		},
		{
			"name":"Philanthropy",
			"stage":"philanthropy",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":0.1,
			"maxRepChange":0.15,
			"allowPiratesToPirates":true,
			"allowPiratesToNonPirates":true,
			"allowNonPiratesToPirates":true
		},
		{
			"name":"Cultural Boom",
			"stage":"culture_boom",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":0.1,
			"maxRepChange":0.15,
			"allowNonPiratesToPirates":true
		},
		{
			"name":"Cooperation Deal",
			"stage":"cooperation_deal",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":0.15,
			"maxRepChange":0.2,
			"allowPiratesToPirates":true
		},
		{
			"name":"Major Cooperation Deal",
			"stage":"cooperation_deal_major",
			"minRepLevelToOccur":"favorable",
			"minRepChange":0.25,
			"maxRepChange":0.3,
			"allowPiratesToPirates":true
		},
		{
			"name":"Celebrity Wedding",
			"stage":"celebrity_wedding",
			"minRepLevelToOccur":"favorable",
			"minRepChange":0.1,
			"maxRepChange":0.15,
			"chance":0.3	# because realistically, how often would this happen?
		},
		{
			"name":"Helped Foil Terror Plot",
			"stage":"helped_foil_terror",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":0.15,
			"maxRepChange":0.2,
			"allowPiratesToPirates":true,
			"allowPiratesToNonPirates":true,
			"allowNonPiratesToPirates":true
		},
		{
			"name":"Criminal Extradited",
			"stage":"extradition",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":0.15,
			"maxRepChange":0.2,
			"allowPiratesToPirates":true
		},
		{
			"name":"Prisoner Exchange",
			"stage":"prisoner_exchange",
			"maxRepLevelToOccur":"hostile",
			"repEnsureAtWorst":"hostile",
			"minRepChange":0.15,
			"maxRepChange":0.2,
			"repLimit":"inhospitable",
			"allowPiratesToPirates":true,
			"allowPiratesToNonPirates":true,
			"allowNonPiratesToPirates":true
		},
		{
			"name":"Antiwar Protests",
			"stage":"antiwar_protest",
			"maxRepLevelToOccur":"hostile",
			"minRepChange":0.1,
			"maxRepChange":0.15
		},
		{
			"name":"Star-crossed Lovers",	# love conquers all
			"stage":"starcrossed",
			"maxRepLevelToOccur":"inhospitable",
			"repEnsureAtWorst":"hostile",
			"minRepChange":0.15,
			"maxRepChange":0.25,
			"allowPiratesToPirates":true,
			"chance":0.2
		},		
		{
			"name":"Diplomatic Blunder",
			"stage":"diplomatic_blunder",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":-0.15,
			"maxRepChange":-0.1,
			"repLimit":"inhospitable",
			"allowPiratesToPirates":true
		},
		{
			"name":"Failed Deal",
			"stage":"failed_deal",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"inhospitable",
			"allowPiratesToPirates":true
		},
		{
			"name":"Celebrity Wedding Jilted",
			"stage":"celebrity_wedding_jilted",
			"minRepLevelToOccur":"neutral",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"inhospitable",
			"chance":0.3
		},
		{
			"name":"Political Funding Uncovered",
			"stage":"political_funding_uncovered",
			"minRepLevelToOccur":"inhospitable",
			"maxRepLevelToOccur":"favorable",
			"minRepChange":-0.25,
			"maxRepChange":-0.15,
			"repLimit":"hostile",	# probably an overreaction but meh
			"allowPiratesToPirates":true
		},
		{
			"name":"Xenophobia",
			"stage":"xenophobia",
			"minRepLevelToOccur":"inhospitable",
			"maxRepLevelToOccur":"friendly",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"inhospitable"
		},
		{
			"name":"Criminal Extradition Refused",
			"stage":"extradition_refused",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"chance":1.2
		},
		{
			"name":"Spy Ring Uncovered",
			"stage":"spy_ring_uncovered",
			"maxRepLevelToOccur":"welcoming",
			"repEnsureAtBest":"favorable",
			"minRepChange":-0.25,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"allowPiratesToNonPirates":true,
			"allowNonPiratesToPirates":true,
			"chance":1.2
		},
		{
			"name":"Sabotage Uncovered",
			"stage":"sabotage_uncovered",
			"repEnsureAtBest":"suspicious",
			"maxRepLevelToOccur":"welcoming",
			"minRepChange":-0.15,
			"maxRepChange":-0.1,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"chance":1.25
		},
		{
			"name":"Supporting Rebels",
			"stage":"support_rebels",
			"repEnsureAtBest":"inhospitable",
			"maxRepLevelToOccur":"suspicious",
			"minRepChange":-0.25,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"chance":1.5
		},
		{
			"name":"Diplomat Crime Ring",
			"stage":"diplomat_crimes",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":-0.15,
			"maxRepChange":-0.1,
			"repLimit":"inhospitable",
			"chance":0.5
		},
		{
			"name":"Privateering",
			"stage":"privateering",
			"minRepLevelToOccur":"inhospitable",
			"maxRepLevelToOccur":"neutral",
			"repEnsureAtBest":"suspicious",
			"minRepChange":-0.25,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"chance":1.5
		},
		{
			"name":"Tournament Cheating",
			"stage":"tourney_cheating",
			"minRepLevelToOccur":"inhospitable",
			"maxRepLevelToOccur":"favorable",
			"repEnsureAtBest":"suspicious",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"chance":0.5
		},
		{
			"name":"Shots Fired",
			"stage":"shots_fired",
			"minRepLevelToOccur":"inhospitable",
			"maxRepLevelToOccur":"suspicious",
			"repEnsureAtBest":"hostile",
			"minRepChange":-0.3,
			"maxRepChange":-0.2,
			"repLimit":"hostile",
			"allowPiratesToPirates":true,
			"allowPiratesToNonPirates":true,
			"allowNonPiratesToPirates":true,
			"chance":2.5	# help tip things over into outright violence
		},
		
		
		{
			"name":"Ceasefire",
			"stage":"ceasefire",
			"maxRepLevelToOccur":"hostile",
			"repEnsureAtWorst":"inhospitable",
			"minRepChange":0.3,
			"maxRepChange":0.45,
			"repLimit":"neutral",
			"chance":0	# only occurs when DiplomacyManager calls it directly
		},
		{
			"name":"Peace Treaty",
			"stage":"peace_treaty",
			"maxRepLevelToOccur":"hostile",
			"repEnsureAtWorst":"suspicious",
			"minRepChange":0.5,
			"maxRepChange":0.65,
			"repLimit":"favorable",
			"chance":0	# only occurs when DiplomacyManager calls it directly
		},
		
		# faction-specific
		{
			"name":"Religious Expansion",
			"stage":"religious_expansion",
			"minRepLevelToOccur":"suspicious",
			"minRepChange":0.1,
			"maxRepChange":0.15,
			"allowedFactions2":["luddic_church","kadur_theocracy","insurgency"],
			"allowNonPiratesToPirates":true,
			"chance":1.5
		},
		{
			"name":"Religious Minority Persecuted",
			"stage":"persecution_minority",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"allowedFactions2":["luddic_church","kadur_theocracy","insurgency"],
			"allowPiratesToNonPirates":true,
			"chance":1.5
		},
		{
			"name":"Religious Majority Persecutes",
			"stage":"persecution_majority",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"allowedFactions1":["luddic_church","kadur_theocracy","insurgency"],
			"chance":1.5
		},
		{
			"name":"Priest Scandal",
			"stage":"priest_scandal",
			"minRepChange":-0.15,
			"maxRepChange":-0.1,
			"repLimit":"inhospitable",
			"allowedFactions2":["luddic_church","kadur_theocracy","insurgency"],
			"chance":1.5
		},
		{
			"name":"Condemn Treatment of Dissidents",
			"stage":"dissident_treatment",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowedFactions1":["hegemony","sindrian_diktat","mayorate","interstellarimperium","new_galactic_order","kadur_theocracy"],
			"allowedFactions2":["luddic_church","shadow_industry","pack","spire","ORA"],
			"chance":1.5
		},
		{
			"name":"Anti-Corporation Movement",
			"stage":"anti_corporation",
			"minRepLevelToOccur":"inhospitable",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowedFactions1":["hegemony","luddic_church","pack","interstellarimperium","new_galactic_order","kadur_theocracy","insurgency"],
			"allowedFactions2":["tritachyon","blackrock","neutrinocorp","diableavionics","shadow_industry","citadeldefenders","exigency","metelson","ptech","dassault_mikoyan"],
			"chance":1.5
		},
		{
			"name":"Technology Stolen",
			"stage":"tech_stolen",
			"maxRepLevelToOccur":"welcoming",
			"repEnsureAtBest":"neutral",
			"minRepChange":-0.2,
			"maxRepChange":-0.15,
			"repLimit":"hostile",
			"allowedFactions1":["tritachyon","blackrock","neutrinocorp","diableavionics","shadow_industry","citadeldefenders","pbc","dassault_mikoyan","ORA",
				"interstellarimperium","mayorate","ori","rori","hiigaran_descendants","exigency","SCY","valkyrian","pn_colony","spire","metelson","ptech","oculus"],
			"chance":1.2
		},
		{
			"name":"Contract Cheating",
			"stage":"contract_cheating",
			"maxRepLevelToOccur":"welcoming",
			"minRepChange":-0.15,
			"maxRepChange":-0.1,
			"repLimit":"inhospitable",
			"allowedFactions1":["tritachyon","blackrock","neutrinocorp","diableavionics","shadow_industry","citadeldefenders","pbc","dassault_mikoyan",
				"ori","rori","tiandong","ptech","tiandong"],
			"allowedFactions2":["tritachyon","blackrock","neutrinocorp","diableavionics","shadow_industry","citadeldefenders","pbc","dassault_mikoyan",
				"ori","rori","tiandong","ptech","tiandong"],
			"chance":1.2
		},
	]
}
