mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2026-06-18 19:25:57 +00:00
20 lines
530 B
C#
20 lines
530 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
|
|
namespace RJW_Genes
|
|
{
|
|
public class Patch_Cumpilation_BlockStuffing
|
|
{
|
|
|
|
public static bool Prepare() => ModsConfig.IsActive("vegapnk.cumpilation");
|
|
public static void PostFix(Pawn pawn,ref bool __result) {
|
|
if (pawn != null && pawn.genes != null && pawn.genes.HasActiveGene(GeneDefOf.rjw_genes_un_inflatable))
|
|
__result = false;
|
|
}
|
|
|
|
}
|
|
}
|