Gene Locked Equipment - SmArtKar/AthenaFramework GitHub Wiki
CompProperties_GeneLockedEquippable prevents pawns without fitting genes or xenotype from equipping an item.
public class CompProperties_GeneLockedEquippable : CompProperties
{
// List of genes that a pawn must have to equip this item
public List<GeneDef> requiredGenes;
// Xenotype that the pawn must have to equip this item
public XenotypeDef requiredXenotype;
// Genes and xenotypes that prevent this item from being equipped
public List<GeneDef> blacklistedGenes;
public List<XenotypeDef> blacklistedXenotypes;
// If equipment should be dropped when the pawn doesn't have required genes/xenotype
public bool dropWithoutRequirements = false;
// Text that's displayed when required genes/xenotyopes are missing
public string cantReason = "Incompatible body structure";
}