Skip to main content

loyalty_range

Function loyalty_range 

Source
pub fn loyalty_range(tables: &StartposTables) -> Result<RangeInclusive<i64>>
Expand description

Returns the range the startpos clamps the table loyalty to: from the loyalty_risk_low campaign variable to the maximum_loyalty one (Attila 3 to 10, Thrones 2 to 10). Verified on Thrones: 359 of its 363 living characters.

ยงErrors

Returns an error if the table or a column is missing.