Milk Slavery - ak86/Milk-Mod-Economy GitHub Wiki
When mod recieves modevent "SlaveToggle", Actor will be added to MilkSlaveFaction.
Actor will be set to IsSlave StorageUtil.SetIntValue(akActor,"MME.MilkMaid.IsSlave", 1)
Effect of this is, that instead of inventory, Milk will be put into storageutil container, which player cant get access.
There are 3 types of containers:
StorageUtil.SetFloatValue(actor,"MME.MilkMaid.MilkingContainerCumsSUM")
- total number of cumStorageUtil.GetFloatValue(actor,"MME.MilkMaid.MilkingContainerMilksSUM)
- total number of milks, since its all mixed, you can only get normal or simple milksStorageUtil.GetFloatValue(actor,"MME.MilkMaid.MilkingContainerLactacid)"
- lactacid injection(uses 1 per hour if milkequipment is worn)
When using Milking equipment StorageUtil.SetIntValue(actor, "MME.MilkMaid.MilkingMode", int)
can be set:
- auto(2) - auto milking will happen every hour if actor have at least 1 milk
- off(1) - milking disabled
- manual(0) - default
If actor IsSlave and MilkingMode is not 0, milking by hotkey is disabled
if player enslavement end, milk will be given during next milking at milkpump, "SlaveToggle" should be togged back