Table of Contents

Class SettlementLoyaltyModel

Namespace
TaleWorlds.CampaignSystem.ComponentInterfaces
Assembly
TaleWorlds.CampaignSystem.dll
public abstract class SettlementLoyaltyModel : GameModel
Inheritance
SettlementLoyaltyModel
Derived
Inherited Members

Constructors

SettlementLoyaltyModel()

protected SettlementLoyaltyModel()

Properties

AdditionalStarvationLoyaltyEffect

public abstract int AdditionalStarvationLoyaltyEffect { get; }

Property Value

int

AdditionalStarvationPenaltyStartDay

public abstract int AdditionalStarvationPenaltyStartDay { get; }

Property Value

int

DailyNotableRelationBonus

public abstract int DailyNotableRelationBonus { get; }

Property Value

int

GovernorDifferentCultureLoyaltyEffect

public abstract float GovernorDifferentCultureLoyaltyEffect { get; }

Property Value

float

GovernorSameCultureLoyaltyEffect

public abstract float GovernorSameCultureLoyaltyEffect { get; }

Property Value

float

HighLoyaltyProsperityEffect

public abstract float HighLoyaltyProsperityEffect { get; }

Property Value

float

HighSecurityLoyaltyEffect

public abstract float HighSecurityLoyaltyEffect { get; }

Property Value

float

LowLoyaltyProsperityEffect

public abstract int LowLoyaltyProsperityEffect { get; }

Property Value

int

LowSecurityLoyaltyEffect

public abstract float LowSecurityLoyaltyEffect { get; }

Property Value

float

LoyaltyBoostAfterRebellionStartValue

public abstract int LoyaltyBoostAfterRebellionStartValue { get; }

Property Value

int

LoyaltyDriftMedium

public abstract int LoyaltyDriftMedium { get; }

Property Value

int

MaximumLoyaltyInSettlement

public abstract int MaximumLoyaltyInSettlement { get; }

Property Value

int

MilitiaBoostPercentage

public abstract int MilitiaBoostPercentage { get; }

Property Value

int

RebellionStartLoyaltyThreshold

public abstract int RebellionStartLoyaltyThreshold { get; }

Property Value

int

RebelliousStateStartLoyaltyThreshold

public abstract int RebelliousStateStartLoyaltyThreshold { get; }

Property Value

int

SettlementLoyaltyChangeDueToSecurityThreshold

public abstract int SettlementLoyaltyChangeDueToSecurityThreshold { get; }

Property Value

int

SettlementOwnerDifferentCultureLoyaltyEffect

public abstract float SettlementOwnerDifferentCultureLoyaltyEffect { get; }

Property Value

float

ThresholdForHigherTaxCorruption

public abstract int ThresholdForHigherTaxCorruption { get; }

Property Value

int

ThresholdForNotableRelationBonus

public abstract float ThresholdForNotableRelationBonus { get; }

Property Value

float

ThresholdForProsperityBoost

public abstract int ThresholdForProsperityBoost { get; }

Property Value

int

ThresholdForProsperityPenalty

public abstract int ThresholdForProsperityPenalty { get; }

Property Value

int

ThresholdForTaxBoost

public abstract int ThresholdForTaxBoost { get; }

Property Value

int

ThresholdForTaxCorruption

public abstract int ThresholdForTaxCorruption { get; }

Property Value

int

Methods

CalculateGoldCutDueToLowLoyalty(Town, ref ExplainedNumber)

public abstract void CalculateGoldCutDueToLowLoyalty(Town town, ref ExplainedNumber explainedNumber)

Parameters

town Town
explainedNumber ExplainedNumber

CalculateGoldGainDueToHighLoyalty(Town, ref ExplainedNumber)

public abstract void CalculateGoldGainDueToHighLoyalty(Town town, ref ExplainedNumber explainedNumber)

Parameters

town Town
explainedNumber ExplainedNumber

CalculateLoyaltyChange(Town, bool)

public abstract ExplainedNumber CalculateLoyaltyChange(Town town, bool includeDescriptions = false)

Parameters

town Town
includeDescriptions bool

Returns

ExplainedNumber

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).