mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Seduce only works against pawns without Seduce
This commit is contained in:
parent
f2871744fd
commit
8d3eeda0bf
4 changed files with 15 additions and 8 deletions
|
@ -54,6 +54,14 @@ namespace RJW_Genes
|
|||
Messages.Message("bestiality is disabled", pawn, MessageTypeDefOf.RejectInput, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
else if (GeneUtility.HasSeduce(pawn))
|
||||
{
|
||||
if (throwMessages)
|
||||
{
|
||||
Messages.Message(pawn.Name + " cannot be seduced, as they also have the Seduce-Ability", pawn, MessageTypeDefOf.RejectInput, false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
else if (pawn.Downed)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue