using Oxide.Core; using Oxide.Core.Plugins; namespace Oxide.Plugins { [Info("FrankiesNameFix", "Krungh Crow", "1.0.0")] [Description("Gives the frankensteinpet a proper displayname")] class FrankiesNameFix : RustPlugin { void OnEntitySpawned(FrankensteinPet frankie) { if (frankie == null) return; var _oldname = frankie.displayName; NextTick(() => { if (frankie.displayName.Contains("frankenstein")) return; frankie.displayName = "Frankenstein"; Puts($"Changed [{_oldname}] to [{frankie.displayName}] : Namefix"); }); } } }