mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Moved the GenderFluid Logic to be more generic
This commit is contained in:
parent
38f2470b90
commit
b56c0105a6
7 changed files with 28 additions and 31 deletions
18
Source/Common/Defs/TickBasedChanceExtension.cs
Normal file
18
Source/Common/Defs/TickBasedChanceExtension.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_Genes
|
||||
{
|
||||
public class TickBasedChanceExtension : TickIntervalExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// 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 eventChance;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue