暂存改动物吃营养膏
This commit is contained in:
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
<commonality>0</commonality>
|
||||
<degreeDatas>
|
||||
<li>
|
||||
<degree>1</degree>
|
||||
<degree>0</degree>
|
||||
<label>节肢类昆虫</label>
|
||||
<description>{PAWN_nameDef} 是一只巨大的节肢类昆虫,多对附肢、镜面反光的外骨骼和扭动的分节身体足以引发人类心底埋藏的强烈恐惧感。\n\n额,你该不会真以为它们是一群美少女吧?</description>
|
||||
<marketValueFactorOffset>-1</marketValueFactorOffset>
|
||||
|
||||
@@ -121,6 +121,13 @@ namespace ArachnaeSwarm
|
||||
var currentMealDef = dispenser.DispensableDef;
|
||||
if (currentMealDef == null) continue;
|
||||
|
||||
// Use the game's built-in social properness check.
|
||||
// This correctly handles colonists, prisoners, visitors, and animals (wild vs tame).
|
||||
if (!dispenser.IsSociallyProper(getter))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check if the dispenser is usable
|
||||
if (!dispenser.CanDispenseNow || dispenser.IsForbidden(getter) || !eater.WillEat(currentMealDef, getter))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user