Beispiel #1
0
 public static void Postfix(GearItem gi)
 {
     //MelonLogger.Log("TakeOff " + gi.name);
     if (gi.name == "GEAR_MooseHideBag")
     {
         MooseSatchelMod.removeBag(gi);
     }
 }
Beispiel #2
0
 private static void Postfix(GearItem gi, ref string __result)
 {
     if ((gi.name == "GEAR_Gut" || MooseSatchelMod.isPerishableFood(gi)) && MooseSatchelMod.isBagged(gi))
     {
         //MelonLogger.Log("BagDesc " + gi.name);
         __result += "\n(This item is in Moose bag)";
     }
 }
Beispiel #3
0
 public static void Postfix(GearItem gi)
 {
     //MelonLogger.Log("PutOn " + gi.name);
     if (gi.name == "GEAR_MooseHideBag")
     {
         MooseSatchelMod.putBag(gi);
     }
 }
Beispiel #4
0
 public static void Postfix(GearItem __instance)
 {
     //MelonLogger.Log("Drop " + __instance.name);
     if (__instance.name == "GEAR_Gut" || MooseSatchelMod.isPerishableFood(__instance))
     {
         MooseSatchelMod.removeFromBag(__instance);
     }
 }
Beispiel #5
0
            public static void Postfix(GameObject go)
            {
                //MelonLogger.Log("DestroyGear " + go.name);
                GearItem gi = go.GetComponent <GearItem>();

                if (gi.name == "GEAR_Gut" || MooseSatchelMod.isPerishableFood(gi))
                {
                    MooseSatchelMod.removeFromBag(gi);
                }
            }
Beispiel #6
0
 public static void Postfix(SaveSlotType gameMode, string name)
 {
     MooseSatchelMod.SaveData(gameMode, name);
 }
Beispiel #7
0
 internal static void Postfix(string name)
 {
     MooseSatchelMod.LoadData(name);
 }