rimworld-mod-template/Source/TemplateMapComponent.cs

26 lines
524 B
C#
Raw Normal View History

2024-02-11 17:28:50 +01:00
#nullable enable
using RimWorld;
using Verse;
// using HarmonyLib;
namespace Template;
public class TemplateMapComponent : MapComponent
{
public TemplateMapComponent(Map map)
: base(map) { }
public override void FinalizeInit()
{
Messages.Message("Success", null, MessageTypeDefOf.PositiveEvent);
Find.LetterStack.ReceiveLetter(
"Success",
TemplateDefOf.success_letter.description,
TemplateDefOf.success_letter,
null
);
}
}