Use more of the fertilization graphics
This commit is contained in:
parent
91903be5a6
commit
bba7fd8dbb
Binary file not shown.
|
@ -168,11 +168,18 @@ namespace RJW_Menstruation
|
|||
int fertstage = comp.IsFertilized;
|
||||
if (fertstage >= 0)
|
||||
{
|
||||
if (fertstage < 1) return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilized00", true);
|
||||
else if (fertstage < 24) return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilized01", true);
|
||||
if (fertstage <= 18) return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilized00", true);
|
||||
else if (fertstage <= 36) return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilized01", true);
|
||||
else return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilized02", true);
|
||||
}
|
||||
else if (comp.IsEggFertilizing) return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilizing01", true);
|
||||
else if (comp.IsEggFertilizing)
|
||||
{
|
||||
if (comp.GetFertilityChance() < 0.5f)
|
||||
return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilizing00", true);
|
||||
else
|
||||
return ContentFinder<Texture2D>.Get("Eggs/Egg_Fertilizing01", true);
|
||||
}
|
||||
|
||||
else return ContentFinder<Texture2D>.Get("Eggs/Egg", true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue