--[[ Ancillary_Duelling_Hidalgo_Fop_2_Trigger ]]--
events.DuelFought[#events.DuelFought+1] =
function (context)
if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_sword", context) and conditions.CharacterFactionName("spain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
if conditions.DateInRange(1700, 1900, context) then
effect.ancillary("Ancillary_Duelling_Hidalgo_Fop", 17, context)
end
return true
end
return false
end
--[[ Ancillary_Duelling_Minx_Trigger ]]--
events.CharacterTurnEnd[#events.CharacterTurnEnd+1] =
function (context)
if (conditions.CharacterType("rake", context) or conditions.CharacterType("gentleman", context)) and conditions.CharacterCultureType("european", context) and (conditions.CharacterTrait("C_Gent_Duelling_Sword", context) >= 2 or conditions.CharacterTrait("C_Gent_Duelling_Pistol", context) >= 4) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
if conditions.DateInRange(1700, 1900, context) then
effect.ancillary("Ancillary_Duelling_Minx", 8, context)
end
return true
end
return false
end
--[[ Ancillary_Duelling_Pistols_2_Trigger ]]--
events.DuelFought[#events.DuelFought+1] =
function (context)
if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_pistols", context) and not conditions.CharacterFactionName("britain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
if conditions.DateInRange(1700, 1900, context) then
effect.ancillary("Ancillary_Duelling_Pistols", 17, context)
end
return true
end
return false
end
--[[ Ancillary_Duelling_Pistols_Manton_2_Trigger ]]--
events.DuelFought[#events.DuelFought+1] =
function (context)
if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_pistols", context) and conditions.CharacterFactionName("britain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
if conditions.DateInRange(1700, 1900, context) then
effect.ancillary("Ancillary_Duelling_Pistols_Manton", 5, context)
end
return true
end
return false
end
Bookmarks