﻿Note : Service xp = faction xp AND noble specific xp increased together; your xp value for any given warband is a sum of 1/2 of your faction xp + 1/2 of your noble specific xp


SaS v1.2.12.1 :

- bribing a noble for a specific assignment now requires the correct amount of gold
	- added an explanation for why the dialog option is disabled
- added new dialogs to the successful Town Robbery event outcome
	- each option will grant xp towards a single trait
	- changed an existing line to be localizable

- added null checks to SoldierMission to address a possible crash
- added a check for an active campaign to address a custom battle crash due to SoldierMission
- fixed an issue with some code getting reapplied on every game load; hopefully this solves the remaining bugs
	- eg. XP multipliers on wanderers stacking until they can reach 1k+ in a skill
- changed IsEnemy return in SoldierMission to try and fix a crash with RBM when punching people in town
- fixed a crash related to "Training with Troops" in combination with EoE after a random town event

- some code changes to make large conversations easier to follow; you're welcome me
- changed settings xmls to make clear which are templates


SaS v1.2.11.3 :

- SaS settings will now be loaded correctly from the settings.xml file on campaign creation
- fixed an issue with battle menu options duplicating when a save file was loaded
- removed a debug message when creating a list of notables for the Town Robbery event



SaS v1.2.11.2 : 

- Town Robbery event will now grant trade goods and proportional trading xp based on the merchant helped (look in the chat log)
- items are sorted by tier, then by value when requisitioning equipment from the weaponsmith
	- code courtesy of TadasTheLithuanian in the SaS discord channels
		- (who originally wrote a patch for SaS after only a couple messages of suggestions; kudos for not just the code, but going and learning how to harmony patch a method)
- abandoned orphan event disabled due to crashes
- fixed a crash due to kicking an NPC in town (I kicked 2 ladies and 2 children during testing, I hope you're happy)



SaS v1.2.11.1 : 

Other mod related : 
- DRM troops added to additionaltroops_xml
- changed the Visit Weaponsmith conversation to use civilian equipment instead of battle equipment for the armorer npc; should improve compatibility with mods like Calradia Expanded Kingdoms that don't define battle equipment for some npcs


Character Creation :
- fixed troop selection for max previous rank attained being based on your birth culture rather than the kingdom selected
- added a renown bonus to the player clan if the maximum rank achieved in prior service that is selected during character creation is tier 5 or higher


Perks : 
- reworked various perks and clarified their descriptions
	- Trainer : damage is doubled when calculating skill xp
		- only the player character needs this perk for the bonus to apply
	- Show of Strength : knocking enemies down grants renown
	- Baptised in Blood : melee kills while health <50% grants renown
	- Phalanx : knocking enemies back with thrust attacks grants renown
	- Renowned Archer : missle kills grant renown
	- Bull's Eye : bow headshots grant double xp
	- Long Shots : crossbow hits from >50m grant double xp
	- Steady : crossbow hits while mounted grant double xp
	- Headhunter : rewrote description
	- Throwing Competitions : rewrote description
- simulated battles also have the perks apply, albeit with less restrictive conditions


Warband :
- rank-ups, retirement offers, vassalship offers, occur on the daily tick rather than the hourly tick; should improve performance a little
- wage is now displayed in the clan income breakdown; includes companion salaries as a separate line if player is t6+
- fixed liege paying for companions when below tier 6
- fixed being able to give state-issued gear to companions when below tier 6
- fixed the State-Issued modifiers appearing on crafted weapons; using a mod like BetterCraft and making ranged equipment or armour can still encounter them
- all companions and family can have equipment selected for them : removed the culture check on heroes when generating the list to show for the "Switch" button in the weaponsmith
- increased companions xp multiplier : 2x -> 3x
- nobles get 3x xp multiplier (not including player)
- SaS only forces war/peace with kingdoms when joining/leaving (potential issue with modded minor factions that become at war with the player and do not have a mechanic to declare peace like mercenary clans)
- during siege assaults, player spawns without a horse rather than needing to unequip it beforehand
- player clan members will now gain service xp for their hits and kills during battles
- kills and hits in simulated battles grant service xp for player and companions
	- fixed a calculation that was granting kill xp for a non-fatal hit
- reduced the service xp gained from hitting and killing enemies, xp from hits is now proportional to the fraction of health removed by the hit, ie. stabbing a shield repeatedly gives no serviceXP
	- fixed a bug where killing villagers granted negative service xp :,(
	- fixed a calculation that was squaring the xp gained on kill
- kills in battles will now grant small amounts of renown based on the tier of a troop killed

- removed wage scaling with player level : scales only with service xp, Standard Bearer; leveling-scaled wages moved to the new HeroWages setting
- the Standard Bearer polearm perk allows the max wage to bypass the normal cap
- increased the cost to bribe your liege to allow you into a position you are not qualified for : 5 days worth -> 21 days worth (1 season)
- re-enlistment bonus is now either 1 year (84 days) of salary or 25k gold, whichever is lower
- subsequent retirement offers scale with RetirementXP setting : first offer is at RetirementXP, subsequent offers are every RetirementXP/2
- daily xp now uses the DailyXP setting for both noble and faction xp
- increased service xp from giving prisoners : value/5 -> value/2
- increased gold from giving prisoners : value/50 -> value/5
- the followed warband now pays 80% of its troop wages rather than 0%; the noble should stop fielding 300+ troop parties which heavily sway the favour of battles and wars
- retiring will set the player's xp back to the minimum required to enlist at the same rank; the player forgoes the gold bonus and the reduced xp required for the next retirement offer in exchange for keeping their state-issued equipment


Warband Menu :
- changed the travelling menu options to always display, but become greyed out if they can't be performed; should stop aggravation from menu options constantly shifting position, particularly at higher game speeds
- train with troops option remains available while a tournament is active in a town
- added a new menu option to allow the player to have time stop or continue when entering a town


Train with Troops :
- changed cavalry training horses to battanian hobbies so soldiers can remount
- changed kill notifications in training to only be on every 10th kill
- added delay to training banner message showing every 10 kills as it would fail to appear sometimes
- player now gains service xp equal to kill count on every 10 kills in a training session
- removed javelins from the AI for melee training
- bows have an increased chance(1/50 of getting a focus/attribute point during training, other weapons stay at 1/250
- kills in training will use the perk of the hero who killed a target for determining renown gain or bonus xp
- added 1 noble xp for each kill in training
- added RBM specific bow and crossbow for training to avoid the issue of getting 1 shot while auto-training and making bow focus gains so difficult without plate armour


Assignments : 
- added 50 or 100 daily xp to most of the non-combat(battle) roles (besides quartermaster as steward gives lots of xp, and scout for same reason)
- updated descriptions for some roles
- updated xp for some roles :
	- Grunt Work : added minor engineering xp
	- Guard Duty : added minor tactics xp
	- Cook : added minor medecine xp
	- Foraging : reduced riding xp, added roguery xp
- added 3 new assignments to cover all non-combat skills: 
	- Smithing : Artisan
	- Roguery : Special Provisioner
	- Charm : Diplomat (requires t6+ and a combination of high reputation and charm skill)
	- Trade : Suttler


Random Events :
- reduced number of foot bandits spawned during the bandit ambush event; with mods like ER that increase the power of common bandits, this event would stomp kingdom parties
- RivalGangEvent now spawns 14-17 of friendly gang, +3 for rival side
- reduced the number of gang members spawned during Town Robbery event, changed to a flat amount due to scaling with total heroes in party which included the noble and their recruited wanderers
- gold granted from winning the rival gang fight is a function of current wages to not inflate gold gain if using the lower wage settings; long term I'd like to tie this into a different system such as receiving trade goods if the gang leader owns a workshop, etc...
- equalized reputation change and power change for gang leader notables for the rival gang event
- equalized notable power change for the town robbery event
- added reputation penalty with the gang leader for successfully defending against the gang in the town robbery event


Settings :
- settings are now reloaded when starting a game or loading a save file, allowing the user to change settings while the game is running
	- retirementXP for factions that have been served previously is recalculated on load
- changed settings.xml; the file with this name is what the mod loads
	- mod folder contains 2 setting templates : my settings and the original ones chosen by Muse
	- default retirement xp is the same as tier 5 now
	- added 2 new settings for wages :
		- Base Game : uses the troop wages for each tier
		- Wanderer : 2 * Hero Level + 2
	- added a setting to control the maximum number of wanderers spawned in a game; default 120
	- added an option to suppress the chat log messages when wanderers are hired or fired by nobles
	For my version :
	- increased xp required for each tier, retirement and vassalship
	- BaseGameWages on by default
	- WageRatio increased
	- MaxWage is capped at the xp required for tier 5; tier 5 makes the player a captain granting them tactics xp and applying their perk bonuses to a squad, tier 6 has the liege cover the cost of hired companions and allows the player to equip companions and family in state-issued gear, tier 7 gives the player access to the Legendary prefix on all State-Issued gear (including for companions/family)
	- SuppressWandererMessages on by default

Other :
- wanderers can now be hired by nobles of any culture, ableit at a reduced rate than matching cultures
- reduced the number of horn blows to 1 when the AI gives certain commands like "Charge!"
- changed the healing amount's random factor to be consistent across Medecine levels
- fixed Bull's Eye bow perk affecting headshots from weapons besides a bow
- fixed Steady crossbow perk checking the target for a mount rather than the shooter
- fixed a crash that I introduced, self-high-five
- removed a patch for party limit that allowed a noble to ignore a restricted party size based on weak clan finances
- fixed an issue causing tournament rewards to be granted twice
- if a companion wins a tournament, the renown reward will account for their duelist perk
- changed when the mod loads to avoid a crash when debugging through visual studio


Non-mechanical :
- various corrections to descriptions and phrasing
- corrections to some method and variable name spellings
- charge damage text in weaponsmith changed to speed for horses


Requires testing :
- abandoned orphan event set to trigger on a raid finishing rather than a chance every tick during a raid
- added weaponsmith support for units of tiers above 6
- changed the calculation for StartingTier to not crash with custom tiers above 6
- wanderer 50x xp multiplier stops applying if they join a kingdom and become a noble
- changed logic for cavalry detachment disbanding to avoid a crash when the cavalry detachment has 0 troops in it
	- pretty sure the crash still happens


SaS v1.2.8
- base version