24 lines
682 B
C#
24 lines
682 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace WulaFallenEmpire
|
|
{
|
|
public class CompProperties_SkyfallerCaller : CompProperties
|
|
{
|
|
public ThingDef skyfallerDef;
|
|
public bool destroyBuilding = true;
|
|
public int delayTicks = 0;
|
|
|
|
// 新增:是否需要 FlyOver 作为前提条件
|
|
public bool requireFlyOver = false; // 默认不需要 FlyOver
|
|
|
|
public bool allowThinRoof = true; // 允许砸穿薄屋顶
|
|
public bool allowThickRoof = false; // 是否允许在厚岩顶下空投
|
|
|
|
public CompProperties_SkyfallerCaller()
|
|
{
|
|
compClass = typeof(CompSkyfallerCaller);
|
|
}
|
|
}
|
|
}
|