﻿## compatibility
macro = {
	description = "AGOT loaded?"
	definition = "RUI_Ch_AGOT_macro_01"
	replace_with = "True"
}

macro = {
	description = "is this character a dragon from AGOT?"
	definition = "RUI_Ch_AGOT_macro_02"
	replace_with = "IsCharacterDragon"
}

macro = {
	description = "is this character a ruin from AGOT?"
	definition = "RUI_Ch_AGOT_macro_03"
	replace_with = "IsCharacterRuin"
}

macro = {
	description = "is this character fake death from AGOT?"
	definition = "RUI_Ch_AGOT_macro_04"
	replace_with = "IsCharacterFakeDead"
}

macro = {
	description = "is this character a hidden character from AGOT?"
	definition = "RUI_Ch_AGOT_macro_05"
	replace_with = "IsCharacterHidden"
}

macro = {
	description = "is this character a normal character from AGOT?"
	definition = "RUI_Ch_AGOT_macro_06"
	replace_with = "IsCharacterNormal"
}
macro = {
	description = "does this character has any paramour?"
	definition = "RUI_Ch_AGOT_macro_07"
	replace_with = "HasRelation('paramour')"
}

macro = {
	description = "should show agot squire bar for this character?"
	definition = "RUI_Ch_AGOT_show_agot_squire_relations"
	replace_with = "Or(GetScriptedGui( 'agot_can_have_squire' ).IsShown(GuiScope.SetRoot( Character.MakeScope ).End ), RUI_Ch_AGOT_show_agot_squire_interactions)"
}
macro = {
	description = "should show agot knight bar for this character?"
	definition = "RUI_Ch_AGOT_show_agot_knight_relations"
	replace_with = "Or(GetScriptedGui( 'agot_can_have_knight' ).IsShown(GuiScope.SetRoot( Character.MakeScope ).End ), Character.IsPlayerInteractionShown( 'agot_educate_squire_interaction' ))"
}

macro = {
	description = "at least 1 agot knight interaction show for this character?"
	definition = "RUI_Ch_AGOT_show_agot_squire_interactions"
	replace_with = "Or(Character.IsPlayerInteractionShown( 'agot_educate_squire_interaction' ), Character.IsPlayerInteractionShown( 'agot_offer_squire_interaction' ))"
}
macro = {
	description = "can have dragon?"
	definition = "RUI_Ch_AGOT_agot_can_have_dragon"
	replace_with = "GetScriptedGui('agot_can_have_dragon').IsShown(GuiScope.SetRoot(CharacterWindow.GetCharacter.MakeScope).End)"
}

macro = {
	description = "can have bodygurad?"
	definition = "RUI_Ch_AGOT_agot_can_have_bodyguard"
	replace_with = "GetScriptedGui('agot_can_have_bodyguard').IsShown(GuiScope.SetRoot(CharacterWindow.GetCharacter.MakeScope).End)"
}

macro = {
	description = "can have bodygurad target?"
	definition = "RUI_Ch_AGOT_agot_can_have_bodyguard_target"
	replace_with = "GetScriptedGui('agot_can_have_bodyguard_target').IsShown(GuiScope.SetRoot(CharacterWindow.GetCharacter.MakeScope).End)"
}
