17 lines
542 B
C#
17 lines
542 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace ArachnaeSwarm
|
|
{
|
|
public class CompProperties_AbilityShowSpawnablePawns : CompProperties_AbilityEffect
|
|
{
|
|
public ThingDef spawnBuildingDef; // 指向的建筑定义
|
|
public string customLabel = "可生成单位"; // 自定义标签
|
|
public bool showResearchRequirements = true; // 是否显示科技需求
|
|
|
|
public CompProperties_AbilityShowSpawnablePawns()
|
|
{
|
|
this.compClass = typeof(CompAbilityEffect_ShowSpawnablePawns);
|
|
}
|
|
}
|
|
} |