This commit is contained in:
2025-11-29 12:01:47 +08:00
parent 14e018e312
commit 14a2cf542c
9 changed files with 355 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
using RimWorld;
using Verse;
namespace WulaFallenEmpire
{
public class CompProperties_ValueConverter : CompProperties
{
public float conversionRate = 1.0f; // 价值转换倍率
public ThingDef outputThingDef = null; // 输出物品定义,默认为白银
public bool destroyAfterConversion = true; // 转换后是否销毁建筑
// 垃圾屏蔽配置
public bool garbageShieldEnabled = false;
public string garbageShieldUIEventDefName = "Wula_UI_Legion_Reply_1";
public CompProperties_ValueConverter()
{
this.compClass = typeof(CompValueConverter);
}
}
}