Beispiel #1
0
 public static void Postfix(GameObject go)
 {
     if (!Settings.Instance.Graveyard.IncludeRoom)
     {
         return;
     }
     GVD.VersionAlert(expectDLC: false, "Graveyard effect trigger script"); // Effect constructors differ in vanilla and DLC
     go.GetComponent <KPrefabID>().AddTag(RoomConstraintTags.GravestoneTag);
     go.AddOrGet <GraveyardEffectTrigger>();
 }
            public static void Postfix(ref GameObject go)
            {
                if (!Settings.Instance.Museum.IncludeRoom)
                {
                    return;
                }

                GVD.VersionAlert(expectDLC: false, "Museum Effect tirgger script"); // Effect constructors differ in vanilla and DLC
                go.AddOrGet <MuseumEffectTrigger>();
                go.GetComponent <KPrefabID>().AddTag(RoomConstraintTags.ItemPedestalTag);
            }
Beispiel #3
0
 public static void OnLoad()
 {
     GVD.VersionAlert(DlcManager.IsExpansion1Active(), "OnLoad() version check");
     Debug.Log("RoomsExpanded: Loaded Vanilla version of the mod. Last update: 2021.03.12 for build 449549.");
     Debug.Log("RoomsExpanded: Loaded from: " + Assembly.GetExecutingAssembly().Location);
 }
 public static void OnLoad()
 {
     GVD.VersionAlert(DlcManager.IsExpansion1Active(), "OnLoad() version check");
     Debug.Log("RoomsExpanded: Loaded DLC version of the mod. Last update: 2021.03.07");
 }