Пример #1
0
 static bool Prefix(Pawn getter, Pawn eater)
 {
     //public static Thing BestFoodSourceOnMap(Pawn getter, Pawn eater, bool desperate, out ThingDef foodDef, FoodPreferability maxPref = FoodPreferability.MealLavish, bool allowPlant = true, bool allowDrug = true, bool allowCorpse = true, bool allowDispenserFull = true, bool allowDispenserEmpty = true, bool allowForbidden = false, bool allowSociallyImproper = false, bool allowHarvest = false)
     ThingForbiddenContext.RecordIntent("QOL.food", new IntentContext_Food(eater, getter));
     return(true);
 }
Пример #2
0
 static bool Prefix(Pawn getter, Pawn eater)
 {
     //TryFindBestFoodSourceFor(Pawn getter, Pawn eater, bool desperate, out Thing foodSource, out ThingDef foodDef, bool canRefillDispenser = true, bool canUseInventory = true, bool allowForbidden = false, bool allowCorpse = true, bool allowSociallyImproper = false, bool allowHarvest = false)
     ThingForbiddenContext.RecordIntent("QOL.food", new IntentContext_Food(eater, getter));
     return(true);
 }