namespace Aki.SinglePlayer.Utils.ScavMode { /// /// Allow mods to access changes made to map settings for Scav raids /// public static class ScavRaidChangesUtil { /// /// The reduction in the escape time for the most recently loaded map, in minutes /// public static int RaidTimeReductionMinutes { get; private set; } = 0; /// /// The reduction in the escape time for the most recently loaded map, in seconds /// public static int RaidTimeReductionSeconds => RaidTimeReductionMinutes * 60; /// /// Updates the most recent raid-time reduction so it can be accessed by mods. /// /// This should be internal because mods shouldn't be able to call it. /// /// The raid-time reduction applied to the most recent Scav raid, in minutes internal static void SetRaidTimeReduction(int raidTimeReduction) { RaidTimeReductionMinutes = raidTimeReduction; } } }