29 lines
775 B
C#
29 lines
775 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace ArachnaeSwarm
|
|
{
|
|
public class CompProperties_SwarmMaintainer : CompProperties
|
|
{
|
|
// 是否在信息面板显示调试信息
|
|
public bool showDebugInfo = false;
|
|
|
|
// 维护工作的优先级(相对其他工作)
|
|
public int workPriority = 50;
|
|
|
|
// 维护技能类型(可选)
|
|
public SkillDef relevantSkill = SkillDefOf.Construction;
|
|
|
|
// 最小技能等级(可选)
|
|
public int minimumSkillLevel = 0;
|
|
|
|
// 是否必须有虫群意识hediff
|
|
public bool requiresHiveMind = true;
|
|
|
|
public CompProperties_SwarmMaintainer()
|
|
{
|
|
compClass = typeof(Comp_SwarmMaintainer);
|
|
}
|
|
}
|
|
}
|