jay2012 发表于 2024-7-6 18:20

求指点 修改 点熔炼器 的耗电量。

我在 BUildings_production里找到ElectricSmelter电容炼器。然后耗电改成10.为什么一熔炼又变成 需要4500W了。请问哪里修改这个?求指点。
<li Class="CompProperties_Power">
      <compClass>CompPowerTrader</compClass>
      <basePowerConsumption>10</basePowerConsumption>
      <shortCircuitInRain>true</shortCircuitInRain>

jay2012 发表于 2024-7-8 08:28

原因找到了。原来是使用了 2228219259(电力待机状态)mod。这个mod内部有自己的默认设置。
用dnspy 打开mod中 TurnOnOffRePowered.dll 找到ElectricSmelter的数值修改new string[]
                                {
                                        "ElectricSmelter",
                                        "400",
                                        "4500",
                                        "Normal"
400和4500就可以了。。。
页: [1]
查看完整版本: 求指点 修改 点熔炼器 的耗电量。