mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Added a Gene for Gender Fluid Pawns
This commit is contained in:
parent
ae3c4471cf
commit
97c153f468
7 changed files with 302 additions and 5 deletions
20
Source/Genes/Gender/Defs/GenderFluidExtension.cs
Normal file
20
Source/Genes/Gender/Defs/GenderFluidExtension.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using Verse;
|
||||
|
||||
namespace RJW_Genes
|
||||
{
|
||||
public class GenderFluidExtension : DefModExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// Number of ticks until the change can be triggered.
|
||||
/// Just being "triggered" does not mean changing, see the changeChance below.
|
||||
/// </summary>
|
||||
public int changeInterval;
|
||||
|
||||
/// <summary>
|
||||
/// How high is the chance to change gender?
|
||||
/// Set to 1 for "always", set to 0 for "never".
|
||||
/// Everything else is a bit statistics, but e.g. when set to .5 the chances grow per day from [50%, 75%, 82.25%, ...]
|
||||
/// </summary>
|
||||
public float changeChance;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue