In depth Guide for Slavers Of Skyrim

Chapter:	Slave Life Cycle
Modul: Capture modul
-------------------------------------------
Written for: Stage 2
Version: Step 2 - V2
in the year of: 2024
Month: 10
Day: 19
-------------------------------------------

Captured slaves not live long under the effects of the slavery, they are non stop forced to work and this leads their early demise.

This sub system aim to simulte this.

For game play reasons, all special captured actor immuneto this effect. this actors marked with the fallowing faction:
SLOSTagCapturedSpecialActorFaction

The aging function work as fallows:
SLOSCoreCycleQuest

call the script:

SLOSCoreClycleReportScript

on the quest where the storage for slaves can be found.
a script called:
 SLOSManageSlaveAgeingScript 
Extend the script : SLOSCoreClycleReportScript and upon detecting the call order the slave storage to execute the aging procces...

So the script
SLOSStorageScript 
Function:
AgeAndKillSlaves

execute the aging.
For this reason all the quest that uses storage quest, and the localy stored slaves need recive aging need to be registered at:
SLOSCoreClycleAllertMeList

Form list as quest.
Evry quest on this quest got called when end of cycle event happen.
its very important when the quest stopped need unregister from this list!

When aging happen:

Evry slave given the faction:
SLOSSlaveLifeTimeFaction

This faction rank incrased evry cycle.( A cycle 7 day by default)
Slave life time if untrained 4 cycle.
Trained slaves life time is 7 cycle.

When a salve life time faction rank reach the maximum value the slave removed from the slavery system and got killed by the system.
The aging of slaves done end of each cycle +3 in game hours to preverent to many thing happen the same time.