ji建筑解除flyover依赖

This commit is contained in:
2025-11-22 13:20:06 +08:00
parent d0b06cbc72
commit 6dc543b51c
4 changed files with 35 additions and 21 deletions

View File

@@ -0,0 +1,23 @@
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);
}
}
}