1
This commit is contained in:
@@ -3,16 +3,16 @@ using Verse;
|
||||
|
||||
namespace WulaFallenEmpire
|
||||
{
|
||||
public class CompProperties_ValueConverter : CompProperties
|
||||
public class CompProperties_ValueConverter : CompProperties_Launchable_TransportPod
|
||||
{
|
||||
public float conversionRate = 1.0f; // 价值转换倍率
|
||||
public ThingDef outputThingDef = null; // 输出物品定义,默认为白银
|
||||
public bool destroyAfterConversion = true; // 转换后是否销毁建筑
|
||||
public float conversionRatio = 0.5f; // 默认50%的转换比例
|
||||
public ThingDef targetCurrency = ThingDefOf.Silver; // 目标货币,默认为白银
|
||||
|
||||
// 新增:垃圾屏蔽配置 - 专门为价值转换器配置
|
||||
public bool garbageShieldEnabled = true; // 默认启用垃圾屏蔽
|
||||
public string garbageShieldUIEventDefName = "Wula_UI_Legion_Reply_1"; // 默认UI事件
|
||||
public bool checkNonTradableItems = true; // 专门为价值转换器启用不可交易物品检查
|
||||
|
||||
// 垃圾屏蔽配置
|
||||
public bool garbageShieldEnabled = false;
|
||||
public string garbageShieldUIEventDefName = "Wula_UI_Legion_Reply_1";
|
||||
|
||||
public CompProperties_ValueConverter()
|
||||
{
|
||||
this.compClass = typeof(CompValueConverter);
|
||||
|
||||
Reference in New Issue
Block a user