public static void parrot(ThingDef plantDef, Zone_Growing inst)
 {
     use_native = true;
     try
     {
         inst.SetPlantDefToGrow(plantDef);
     }
     finally
     {
         use_native = false;
     }
 }
示例#2
0
 static void Postfix(Zone_Growing __instance)
 {
     //Log.Message("hooked");
     __instance.SetPlantDefToGrow(ThingDefOf.PlantGrass);
 }