26 lines
524 B
C#
26 lines
524 B
C#
|
#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
|
||
|
);
|
||
|
}
|
||
|
}
|