mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Put Licentia Parts back in, but commented out so I dont forget
This commit is contained in:
parent
90653ddc9e
commit
ee2be0375c
5 changed files with 105 additions and 4 deletions
|
@ -33,15 +33,15 @@ namespace RJW_Genes
|
|||
if (!other.RaceProps.Humanlike)
|
||||
return (ThoughtState)false;
|
||||
|
||||
// Pawns that have not "met" wont give each other Mali
|
||||
// Known-Each-Other is a key-word for Rimworld that shows they have had any interaction and stored each other in relations.
|
||||
if (!RelationsUtility.PawnsKnowEachOther(pawn, other))
|
||||
return (ThoughtState)false;
|
||||
// If the pawn is not on Map (e.g. caravan), no mali
|
||||
|
||||
|
||||
|
||||
if (!MapUtility.PawnIsOnHomeMap(pawn))
|
||||
return (ThoughtState)false;
|
||||
// Do nothing for pawns that also have pheromones
|
||||
if (GeneUtility.HasGeneNullCheck(pawn, GeneDefOf.rjw_genes_aphrodisiac_pheromones))
|
||||
|
||||
return (ThoughtState)false;
|
||||
|
||||
// Actual Logic:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue