囚犯乌拉也要吃饭问题

This commit is contained in:
2025-07-24 02:07:38 +08:00
parent afed374045
commit 4fa18bb22e
6 changed files with 34 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ namespace WulaFallenEmpire
{
public override Job JobOnThing(Pawn pawn, Thing t, bool forced = false)
{
if (!(t is Pawn prisoner) || !ShouldTakeCareOfPrisoner(pawn, prisoner))
if (!(t is Pawn prisoner) || !ShouldTakeCareOfPrisoner(pawn, prisoner) || prisoner.def.defName != "WulaSpecies")
{
return null;
}