存营养膏
This commit is contained in:
Binary file not shown.
@@ -63,7 +63,7 @@
|
|||||||
<li>ARANutrientDispenser</li>
|
<li>ARANutrientDispenser</li>
|
||||||
</linkableBuildings>
|
</linkableBuildings>
|
||||||
<maxDistance>80</maxDistance>
|
<maxDistance>80</maxDistance>
|
||||||
<lineTexturePath>ArachnaeSwarm/Wire</lineTexturePath>
|
<lineTexturePath>ArachnaeSwarm/Building/Nutrition_Pie</lineTexturePath>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- 自身的燃料库 -->
|
<!-- 自身的燃料库 -->
|
||||||
|
|||||||
@@ -5,11 +5,8 @@
|
|||||||
<commonality>0</commonality>
|
<commonality>0</commonality>
|
||||||
<degreeDatas>
|
<degreeDatas>
|
||||||
<li>
|
<li>
|
||||||
<<<<<<< HEAD
|
|
||||||
<degree>1</degree>
|
<degree>1</degree>
|
||||||
=======
|
|
||||||
<label>节肢类昆虫</label>
|
<label>节肢类昆虫</label>
|
||||||
>>>>>>> 377cc3d7ce40e7320d0936dbd14071a1e9cfe27c
|
|
||||||
<description>{PAWN_nameDef} 是一只巨大的节肢类昆虫,多对附肢、镜面反光的外骨骼和扭动的分节身体足以引发人类心底埋藏的强烈恐惧感。\n\n额,你该不会真以为它们是一群美少女吧?</description>
|
<description>{PAWN_nameDef} 是一只巨大的节肢类昆虫,多对附肢、镜面反光的外骨骼和扭动的分节身体足以引发人类心底埋藏的强烈恐惧感。\n\n额,你该不会真以为它们是一群美少女吧?</description>
|
||||||
<marketValueFactorOffset>-1</marketValueFactorOffset>
|
<marketValueFactorOffset>-1</marketValueFactorOffset>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
using RimWorld;
|
using RimWorld;
|
||||||
using Verse;
|
using Verse;
|
||||||
using Verse.Sound; // Ensure this is present
|
using Verse.Sound; // Ensure this is present
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace ArachnaeSwarm
|
namespace ArachnaeSwarm
|
||||||
{
|
{
|
||||||
@@ -62,5 +64,14 @@ namespace ArachnaeSwarm
|
|||||||
if (this.dispenserProps == null) return false;
|
if (this.dispenserProps == null) return false;
|
||||||
return this.nutritionComp != null && this.nutritionComp.Fuel >= this.dispenserProps.nutritionCostPerDispense;
|
return this.nutritionComp != null && this.nutritionComp.Fuel >= this.dispenserProps.nutritionCostPerDispense;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override IEnumerable<Gizmo> GetGizmos()
|
||||||
|
{
|
||||||
|
// base.GetGizmos() provides the "Build Hopper" gizmo, which we don't want.
|
||||||
|
// We filter it out here.
|
||||||
|
return base.GetGizmos().Where(gizmo =>
|
||||||
|
!(gizmo is Designator_Build designator && designator.PlacingDef == ThingDefOf.Hopper)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user