mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
40 lines
885 B
C#
40 lines
885 B
C#
|
namespace RJW_Genes
|
|||
|
{
|
|||
|
public class Gene_MuchCum : RJW_Gene
|
|||
|
{
|
|||
|
bool has_been_fired = false;
|
|||
|
|
|||
|
float multiplier_much_cum = 3f;
|
|||
|
|
|||
|
public override void PostMake()
|
|||
|
{
|
|||
|
base.PostMake();
|
|||
|
|
|||
|
CumUtility.MultiplyFluidAmountBy(pawn, multiplier_much_cum);
|
|||
|
has_been_fired = true;
|
|||
|
}
|
|||
|
|
|||
|
public override void PostAdd()
|
|||
|
{
|
|||
|
base.PostAdd();
|
|||
|
if (!has_been_fired) {
|
|||
|
CumUtility.MultiplyFluidAmountBy(pawn, multiplier_much_cum);
|
|||
|
has_been_fired = true;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public override void PostRemove()
|
|||
|
{
|
|||
|
base.PostAdd();
|
|||
|
|
|||
|
if (has_been_fired)
|
|||
|
{
|
|||
|
CumUtility.MultiplyFluidAmountBy(pawn, 1/multiplier_much_cum);
|
|||
|
has_been_fired = false;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|