mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Put Licentia Parts back in, but commented out so I dont forget
This commit is contained in:
parent
90653ddc9e
commit
ee2be0375c
5 changed files with 105 additions and 4 deletions
|
@ -29,6 +29,17 @@ namespace RJW_Genes
|
|||
// I could have done some transpiler stuff, but that is scary and might need to be adjusted quite a lot
|
||||
// Hence, I simply re-book the nutrition back to the giver in the Postfix. That should be robust and easy.
|
||||
|
||||
/*
|
||||
TODO: Move this back in, once Licentia is 1.5 compatible. It should not drastically change.
|
||||
if (GeneUtility.IsGenerousDonor(giver))
|
||||
{
|
||||
float donatedNutrition = CumflationHelper.CalculateNutritionAmount(giver, cumAmount);
|
||||
// TODO: In theory, there could be something weird happening if the donor has food less than X and the "IgnoreThermodynamics" is set on.
|
||||
// Then it can happen that the donor ends up with more food than he had before cumshot, but I think that is somewhat funny given that you have ignore Thermodynamics on.
|
||||
Need_Food inflatorFood = giver.needs.TryGetNeed<Need_Food>();
|
||||
inflatorFood.CurLevel += donatedNutrition;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue