Fixed Age-Drain Meme to lock to 20y and not ... 14, which is rimworld adult age

This commit is contained in:
Vegapnk 2023-01-07 16:51:34 +01:00
parent 6ea89c189c
commit ee85bd750d
4 changed files with 51 additions and 7 deletions

34
Source/Common/ModLog.cs Normal file
View file

@ -0,0 +1,34 @@
using Verse;
namespace RJW_Genes
{
internal class ModLog
{
public static string ModId => "RJW-Genes";
/// <summary>
/// Logs the given message with [SaveStorage.ModId] appended.
/// </summary>
public static void Error(string message)
{
Log.Error($"[{ModId}] {message}");
}
/// <summary>
/// Logs the given message with [SaveStorage.ModId] appended.
/// </summary>
public static void Message(string message)
{
Log.Message($"[{ModId}] {message}");
}
/// <summary>
/// Logs the given message with [SaveStorage.ModId] appended.
/// </summary>
public static void Warning(string message)
{
Log.Warning($"[{ModId}] {message}");
}
}
}