﻿### EK NOTE: Plugged our own on actions

# On actions for the Feast activity

#Select appropriate main event or default
feast_main_event_selection = {
	trigger = { #To make sure the ones who choose the murder feast will always get that event!
		exists = scope:activity
		NOT = {
			scope:activity.activity_host = {
				exists = var:murder_feast
			}
		}
		scope:activity = {
			NOT = {
				exists = var:had_special_chain
			}
		}
	}
	random_events = {
		10 = feast_main_stew_flood.0001
		25 = feast_main_live_fowl.0001
		10 = feast_main_stable_breakin.0001
		200 = feast_main_befriend.0001
	}
	effect = {
		scope:activity = {
			set_variable = had_special_chain
		}
	}
}


# Picks out a start event
feast_start_events = {
	events = {
		feast.2001
		feast.2501
		
		#EK ADDITION
		ek_new_life.2001
		ek_new_life.2501
		ek_jesters_festival.2001
		ek_jesters_festival.2501
	}
}

# Picks out the event for a participant in a default feast
feast_new_event_selection_tombola = {
	random_on_action = {
		1 = feast_main_event_selection
		3 = feast_default_event_selection
		3 = feast_default_host_event_selection
	}
}

feast_default_event_selection = {
	random_events = {
		# Intent Events
		200 = feast_events_ewan.0001	# Clear your Head - Ambush your target when they go out for a walk.
		200 = feast_default.1012 #Sneaky Murder
		200 = feast_default.1014 #Murder with one witness
		200 = feast_events_ewan.0201	# Dinner and a Show - Position yourself opposite your intent_target, eat seductively.
		200 = feast_default.5010 # Spread your legend
		200 = feast_default.5020 # Legitimacy time
		100 = feast_default.2002 #You are the target of someone elses seduce scheme
		200 = feast_events_ewan.0401	# Stomach Rumbling - Bond with your intent_target over the terrible/excellent food.
		200 = feast_events_ewan.0601	# A Mere Jest - Stuff a gross item (e.g., dead rat) in a refined foodstuff (e.g., jug of wine).
		200 = feast_events_ewan.0801	# A Pleasing Atmosphere - Sit back and enjoy the vibes.
		#Self-triggered events
		100 = feast_default.2003 #I or they are a befriend target and we share traits
		100 = legend_spread_events.8150 # How did you get those scars?
		50 = feast_default.2006 #I am targeted by someone elses befriend or seduce intent
		10 = feast_default.1001 #A guest is impressed with your high learning
		10 = feast_default.1002 #You get grumpy because the food is late
		10 = feast_default.1003 #Someone is "impressed" with your high learning
		10 = feast_default.1004 #You enjoy the magnificent food
		10 = feast_default.1005 #Shy: You're having a hard time socializing
		30 = feast_default.1006 #Reveler is in their element
		20 = feast_default.1007 #Two Gluttons admire each other
		1 = feast_default.1008 #You reveal a secret about yourself
		1 = feast_default.1009 #You reveal a secret about someone else
		5 = feast_default.1010 #Promise someone a favor
		1 = feast_default.1011 #You get drunk and kill someone
		5 = feast_default.1012 #Sneaky murder of character you dislike
		5 = feast_default.1013 #Murder someone for attacking friend/lover/sibling
		5 = feast_default.1014 #Murder someone, one witness!
		5 = feast_default.1016 #Steal a trinket, maybe get a witness
		5 = feast_default.1020 #Dislike host, deface a displayed Court Artifact
		10 = feast_default.1030 #Minstrel performs a song about your acclaimed knights
		20 = feast_default.6501 #Someone says something with a lewd double-meaning
		#Target-triggered events
		10 = feast_default.2001 #Glutton gets angry waiting for food
		40 = feast_default.2002 #Someone sends you a secret love letter
		10 = feast_default.2003 #Bond with someone you have traits in common with
		10 = feast_default.2005 #Someone throws up on you
		20 = feast_default.2006 #Someone has a befriend/seduce scheme against you
		20 = feast_default.2007 #Two lovers are exposed
		5 = feast_default.2008 #Lustful secret homosexual discovered with a servant
		1 = feast_default.2009 #Learn a secret about someone else
		1 = feast_default.2010 #Learn a secret about someone else from a third party
		5 = feast_default.2011 #Someone makes grand promises to you
		5 = feast_default.2012 #Someone is murdered, you're a witness!
		40 = feast_default.2013 #Guest tries butter up to shared liege
		20 = feast_default.6111 #A guest rambles on and on
		20 = feast_default.6101 #Guest is having a hard time socializing
		20 = feast_default.6251 #Chance to become friend or rival
		#Relation events
		20 = feast_default.3001 #Have a good time with a friend
		20 = feast_default.3002 #A chance to exchange "kisses" with a Lover
		20 = feast_default.3003 #Altercation with a Rival
		20 = feast_default.3004 #Insult your rival
		10 = feast_default.3005 #Rival duel!
		5 = feast_default.3096 #Soiree with another attendee
		5 = feast_default.3007 #Caught committing adultery with a Lover
		#Host-triggered events
		20 = feast_default.5001 #Host's high Dread causes you Stress
		20 = feast_default.5002 #Host is lunatic
		20 = feast_default.5003 #Host is sadistic
		20 = feast_default.5004 #Host is a reveler
		5 = feast_default.5005 # You love garum
		#Warfare lifestyle events
		20 = feast_lifestyle.1001 #Have a heated argument over the best strategies
		20 = feast_lifestyle.1002 #Paint strategies in your food and make plans
		20 = feast_lifestyle.1003 #Strategise for a theoretical attack on the feast
		20 = feast_lifestyle.1004 #Ask others about their preferred strategies
		#Intrigue lifestyle events
		20 = feast_lifestyle.2001 #A guest is taught a lesson
		20 = feast_lifestyle.2002 #Make a guest reveal their secret
		20 = feast_lifestyle.2003 #Practice getting information out of people
		20 = feast_lifestyle.2004 #Practice seeing details
		#Admin gov events
		50 = ep3_powerful_families.8080
		50 = ep3_powerful_families.8090
		50 = ep3_powerful_families.8100
		# MPO Events
		50 = mpo_events_ariana.0040 # You flirt with someone unknown
		5 = feast_tsagaan_sar_events.0100 # Your gift was unaccounted for
		50 = feast_tsagaan_sar_events.0101 # You spot a cool horse
		50 = feast_tsagaan_sar_events.0200 # You're invited to play Shagai (gamble)
		5 = feast_tsagaan_sar_events.0210 # Someone gives tips on how to herd
		50 = feast_tsagaan_sar_events.0220 # You decide to settle a rivalry
		50 = feast_tsagaan_sar_events.0230 # You witness someone throatsinging
		50 = feast_tsagaan_sar_events.0240 # You perform some throatsinging 
		50 = feast_tsagaan_sar_events.0250 # Horse race
		50 = feast_tsagaan_sar_events.0260 # Someone is dressed very well
		50 = feast_tsagaan_sar_events.0270 # Drinking contest
		10 = feast_tsagaan_sar_events.0280 # Wisdom moment
		#EK ADDITION
		#EK Events
		1000 = ek_new_life.0001
		1000 = ek_new_life.0002
		1000 = ek_new_life.0003
		1000 = ek_new_life.0004
		1000 = ek_new_life.0005
		1000 = ek_new_life.0006
		1000 = ek_new_life.0007
		1000 = ek_new_life.0008
		1000 = ek_new_life.0009
		1000 = ek_new_life.0010
		1000 = ek_new_life.0011
		1000 = ek_new_life.0012
		1000 = ek_new_life.0013
		1000 = ek_new_life.0014
		1000 = ek_new_life.0015
		1000 = ek_new_life.0016
		1000 = ek_new_life.0017
		1000 = ek_feast.0004
		1000 = ek_jesters_festival.0001
		1000 = ek_jesters_festival.0002
		1000 = ek_jesters_festival.0003
		10 = ek_yearly_events.0001 #sway as we kiss
		10 = ek_yearly_events.0047 # A Supplicant's Song
		10 = ek_yearly_events.0048 # Red Mountain Drinking Song
		10 = ek_yearly_events.0073 # The Battle of Glenumbra Moors
		10 = ek_yearly_events.0074 # Red Diamond! Red Diamond!
		10 = ek_yearly_events.0075 # Coldharbour Compact
		10 = ek_yearly_events.0076 # Hymn to Kyne
		10 = ek_yearly_events.0077 # Ithguleoir
		10 = ek_yearly_events.0078 # Six are the Walking Ways
		10 = ek_yearly_events.0079 # The Cliff-Strider Song
		10 = ek_yearly_events.0080 # Armiger Marching Song
		10 = ek_yearly_events.0081 # Song of the Word
		10 = ek_yearly_events.0082 # Charge of the Welkynar
		10 = ek_yearly_events.0083 # Folly of Man
		10 = ek_yearly_events.0084 # Praise Be
		#10 = ek_yearly_events.0085 # The Star-Eyed Bride of Alinor
		10 = ek_yearly_events.0086 # The Tale of Syrabane
		10 = ek_yearly_events.0087 # Hear the Hist Speak
		10 = ek_yearly_events.0088 # Ku-Vastei
		10 = ek_yearly_events.0089 # Shunatei
		10 = ek_yearly_events.0090 # Dancing Among the Flowers Fine
		10 = ek_yearly_events.0091 # Val Vijah Va Rhook, Baandari
		10 = ek_yearly_events.0092 # Sweet Moon-Sugar Cane
		10 = ek_yearly_events.0093 # A Cat's Serenade
		10 = ek_yearly_events.0094 # Who is He?
		10 = ek_yearly_events.0095 # The Gambler's Art
		10 = ek_yearly_events.0096 # Song of Alkosh's Champion
		10 = ek_yearly_events.0097 # A Threnody to Lost Love
		10 = ek_yearly_events.0098 # Nord War Song
		10 = ek_yearly_events.0099 # Old Nord Drinking Song
		10 = ek_yearly_events.0100 # Frelytte and Pular
		10 = ek_yearly_events.0101 # The Pale Man
		10 = ek_yearly_events.0102 # Hail to the Ancient Spirits
		10 = ek_yearly_events.0103 # Reach Hunting Hymn
		10 = ek_yearly_events.0104 # Reach Witch Chant
		10 = ek_yearly_events.0105 # Red Eagle's Song
		10 = ek_yearly_events.0106 # Across the Niben Bar
		10 = ek_yearly_events.0108 # Imperial Deception
		10 = ek_yearly_events.0109 # May Disaster Turn Away
		10 = ek_yearly_events.0110 # On Topal Bay
		1000 = ek_yearly_events.0115 # Rotmeth Dilemma
		
		10000 = ek_feast.0001 #A Night to Remember
	}
}

feast_default_host_event_selection = { #Picks out the event for the host of a default feast
	trigger = {
		exists = scope:activity
	}
	random_events = {
		#General events also applicable to the Host
		10 = feast_default.1001 #A guest is impressed with your high learning
		10 = feast_default.1003 #Someone is "impressed" with your high learning
		20 = feast_default.1005 #You're having a hard time socializing
		30 = feast_default.1006 #Reveler is in their element
		20 = feast_default.1007 #Two Gluttons admire each other
		1 = feast_default.1008 #You reveal a secret about yourself
		1 = feast_default.1009 #You reveal a secret about someone else
		5 = feast_default.1010 #Promise someone a favor
		1 = feast_default.1011 #You get drunk and kill someone
		5 = feast_default.1012 #Sneaky murder of character you dislike
		5 = feast_default.1013 #Murder someone for attacking friend/lover/sibling
		5 = feast_default.1014 #Murder someone, one witness!
		10 = feast_default.1030 #Minstrel performs a song about your acclaimed knights
		10 = feast_default.2002 #Someone sends you a secret love letter
		10 = feast_default.2003 #Bond with someone you have traits in common with
		10 = feast_default.2005 #Someone throws up on you
		20 = feast_default.2006 #Someone has a befriend scheme against you
		10 = feast_default.2007 #Two lovers are exposed
		5 = feast_default.2008 #Lustful secret homosexual discovered with a servant
		1 = feast_default.2009 #Learn a secret about someone else
		1 = feast_default.2010 #Learn a secret about someone else from a third party
		5 = feast_default.2011 #Someone makes grand promises to you
		5 = feast_default.2012 #Someone is murdered, you're a witness!
		20 = feast_default.3001 #Have a good time with a friend
		20 = feast_default.3002 #A chance to exchange "kisses" with a Lover
		20 = feast_default.3003 #Altercation with a Rival
		20 = feast_default.3004 #Insult your rival
		10 = feast_default.3005 #Rival duel!
		5 = feast_default.3096 #Soiree with an attendee
		5 = feast_default.3007 #Caught committing adultery with a Lover
		20 = feast_default.6101 #Guest is having a hard time socializing
		50 = feast_default.6111 #A guest rambles on and on
		20 = feast_default.6251 #Chance to become friend or rival
		20 = feast_default.6501 #Someone says something with a lewd double-meaning
		#Warfare lifestyle events
		20 = feast_lifestyle.1001 #Have a heated argument over the best strategies
		20 = feast_lifestyle.1002 #Paint strategies in your food and make plans
		20 = feast_lifestyle.1003 #Strategise for a theoretical attack on the feast
		20 = feast_lifestyle.1004 #Ask others about their preferred strategies
		#Intrigue lifestyle events
		20 = feast_lifestyle.2001 #A guest is taught a lesson
		20 = feast_lifestyle.2002 #Make a guest reveal their secret
		20 = feast_lifestyle.2003 #Practice getting information out of people
		20 = feast_lifestyle.2004 #Practice seeing details
		
		#EK ADDITION
		#EK Events
		300 = ek_new_life.0001
		300 = ek_new_life.0002
		300 = ek_new_life.0003
		300 = ek_new_life.0004
		300 = ek_new_life.0005
		300 = ek_new_life.0006
		300 = ek_new_life.0007
		300 = ek_new_life.0008
		300 = ek_new_life.0009
		300 = ek_new_life.0010
		300 = ek_new_life.0011
		300 = ek_new_life.0012
		300 = ek_new_life.0013
		300 = ek_new_life.0014
		300 = ek_new_life.0015
		300 = ek_new_life.0016
		300 = ek_new_life.0017
		300 = ek_feast.0004
		300 = ek_jesters_festival.0001
		300 = ek_jesters_festival.0002
		300 = ek_jesters_festival.0003
		10 = ek_yearly_events.0001 #sway as we kiss
		10 = ek_yearly_events.0047 # A Supplicant's Song
		10 = ek_yearly_events.0048 # Red Mountain Drinking Song
		10 = ek_yearly_events.0073 # The Battle of Glenumbra Moors
		10 = ek_yearly_events.0074 # Red Diamond! Red Diamond!
		10 = ek_yearly_events.0075 # Coldharbour Compact
		10 = ek_yearly_events.0076 # Hymn to Kyne
		10 = ek_yearly_events.0078 # Six are the Walking Ways
		10 = ek_yearly_events.0079 # The Cliff-Strider Song
		10 = ek_yearly_events.0080 # Armiger Marching Song
		10 = ek_yearly_events.0081 # Song of the Word
		10 = ek_yearly_events.0082 # Charge of the Welkynar
		10 = ek_yearly_events.0083 # Folly of Man
		10 = ek_yearly_events.0084 # Praise Be
		#10 = ek_yearly_events.0085 # The Star-Eyed Bride of Alinor
		10 = ek_yearly_events.0086 # The Tale of Syrabane
		10 = ek_yearly_events.0087 # Hear the Hist Speak
		10 = ek_yearly_events.0088 # Ku-Vastei
		10 = ek_yearly_events.0089 # Shunatei
		10 = ek_yearly_events.0090 # Dancing Among the Flowers Fine
		10 = ek_yearly_events.0091 # Val Vijah Va Rhook, Baandari
		10 = ek_yearly_events.0092 # Sweet Moon-Sugar Cane
		10 = ek_yearly_events.0093 # A Cat's Serenade
		10 = ek_yearly_events.0094 # Who is He?
		10 = ek_yearly_events.0095 # The Gambler's Art
		10 = ek_yearly_events.0096 # Song of Alkosh's Champion
		10 = ek_yearly_events.0097 # A Threnody to Lost Love
		10 = ek_yearly_events.0098 # Nord War Song
		10 = ek_yearly_events.0099 # Old Nord Drinking Song
		10 = ek_yearly_events.0100 # Frelytte and Pular
		10 = ek_yearly_events.0101 # The Pale Man
		10 = ek_yearly_events.0102 # Hail to the Ancient Spirits
		10 = ek_yearly_events.0103 # Reach Hunting Hymn
		10 = ek_yearly_events.0104 # Reach Witch Chant
		10 = ek_yearly_events.0105 # Red Eagle's Song
		10 = ek_yearly_events.0106 # Across the Niben Bar
		10 = ek_yearly_events.0108 # Imperial Deception
		10 = ek_yearly_events.0109 # May Disaster Turn Away
		10 = ek_yearly_events.0110 # On Topal Bay

		10 = ek_feast.0001 #A Night to Remember
		10000 = ek_daedric_artifacts.0035 #Tickled to Death
		50 = ek_feast.0005 # Spirits Away
		#Statecraft lifestyle events
		20 = feast_lifestyle.3001 #Seat important people beside each other
		#######################
		#Host-specific events #
		#######################
		50 = feast_default.6001 #Spouse has done a great job
		50 = feast_default.6002 #Guest complements your feast
		30 = feast_default.6003 #Guests getting into a fight
		50 = feast_default.6121 #Serve a guest food you know they hate
		50 = feast_default.6231 #There's no more wine!
		50 = feast_default.6261 #Serve the guests something new (cannibal)
		#RoCo Content
		3 = feast_default.6301 # Your court artifact on display has been damaged!
		3 = feast_default.6351 # Two guests get into a fight, causing damage to one of your displayed Court Artifacts!
		# Pleasure Dome Feast
		200 = feast_events_tova.0001 #Guests marvel at your Pleasure Dome palace
		# MPO Events
		20 = mpo_events_ariana.0030 # Someone is selling illegal drinks
		20 = mpo_events_ariana.0040 # You flirt with someone unknown
		# Tsagaan Sar Events
		### Host Specific
		50 = feast_tsagaan_sar_events.0300 # Someone is cleaning the yurt
		50 = feast_tsagaan_sar_events.0310 # You overhear a guest brag about not giving you a gift
		50 = feast_tsagaan_sar_events.0320 # You choose to distribute gifts to the elders

		50 = feast_tsagaan_sar_events.0101 # You spot a cool horse
		50 = feast_tsagaan_sar_events.0200 # You're invited to play Shagai (gamble)
		5 = feast_tsagaan_sar_events.0210 # Someone gives tips on how to herd
		50 = feast_tsagaan_sar_events.0220 # You decide to settle a rivalry
		50 = feast_tsagaan_sar_events.0230 # You witness someone throatsinging
		50 = feast_tsagaan_sar_events.0240 # You perform some throatsinging 
		50 = feast_tsagaan_sar_events.0250 # Horse race
		50 = feast_tsagaan_sar_events.0260 # Someone is dressed very well
		50 = feast_tsagaan_sar_events.0270 # Drinking contest
		10 = feast_tsagaan_sar_events.0280 # Wisdom moment
	}
}

feast_murder_feast_event_selection = {	
	random_events = {
		50 = feast_default.8001 # Kill the whole entourage
		50 = feast_default.8002 # Kill only your target
		50 = feast_default.8003 # Kill only your target - sneaky mode
	}
}

##################################################
# REWORKED FEAST CONTENT


