Code: Select all
<find_object_component groupname="$stationmodules" object="$srcStation" checkoperational="true" class="class.module" multiple="true"/>
<debug_to_file chance="$debugchance" name="$debugFileName" directory="'DumbMule'"
text="' %s modules on %s %s'.[$stationmodules.count, $srcStation.idcode, $srcStation.knownname]" />
<do_all exact="$stationmodules.count" counter="$ModuleCounter">
<debug_to_file chance="$debugchance" name="$debugFileName" directory="'DumbMule'"
text="' %s module: %s : %s'.[$stationmodules.{$ModuleCounter}, $stationmodules.{$ModuleCounter}.name, $stationmodules.{$ModuleCounter}.class]" />
<debug_to_file chance="$debugchance" name="$debugFileName" directory="'DumbMule'"
text="' %s : %s : %s'.[$stationmodules.{$ModuleCounter}, $stationmodules.{$ModuleCounter}.productionvolume, $stationmodules.{$ModuleCounter}.consumptionvolume]" />
</do_all>
Code: Select all
29 modules on MGC-302 Nopileos' Fortune II Refined Goods 01
0x3965f4a module: 3M6S Standard Dock Area : dockarea
0x3965f4a : null : null
0x408e912 module: Refined Metal Production : production
0x408e912 : null : null
0x38d3765 module: Graphene Production : production
0x38d3765 : null : null
0x48c4627 module: Antimatter Cell Production : production
0x48c4627 : null : null
0x3065057 module: Silicon Wafer Production : production
0x3065057 : null : null
0x303b7f5 module: Superfluid Coolant Production : production
0x303b7f5 : null : null
0x2943196 module: Energy Cell Production : production
0x2943196 : null : null
0x3040813 module: Refined Metal Production : production
0x3040813 : null : null
0x3068ddb module: Silicon Wafer Production : production
0x3068ddb : null : null
0x304eb53 module: Refined Metal Production : production
0x304eb53 : null : null
0x3075abb module: Teladi L Solid Storage : storage
0x3075abb : null : null
0x40c5f22 module: Teladi L Liquid Storage : storage
0x40c5f22 : null : null
0x38bb1da module: Teladi L Container Storage : storage
0x38bb1da : null : null
0x40d08a7 module: Argon L Habitat : habitation
0x40d08a7 : null : null
0x38cfcd5 module: Argon Base Connection Structure 01 : connectionmodule
0x38cfcd5 : null : null
0x3141417 module: Argon Cross Connection Structure 01 : connectionmodule
0x3141417 : null : null
0x38ccb40 module: Argon Base Connection Structure 01 : connectionmodule
0x38ccb40 : null : null
0x4061c38 module: Argon Cross Connection Structure 01 : connectionmodule
0x4061c38 : null : null
0x40626cb module: Argon Cross Connection Structure 01 : connectionmodule
0x40626cb : null : null
0x40619a4 module: Argon Cross Connection Structure 01 : connectionmodule
0x40619a4 : null : null
0x4061b36 module: Argon Base Connection Structure 01 : connectionmodule
0x4061b36 : null : null
0x4061b3b module: Argon Base Connection Structure 01 : connectionmodule
0x4061b3b : null : null
0x4061ad8 module: Argon Cross Connection Structure 01 : connectionmodule
0x4061ad8 : null : null
0x38e4642 module: Argon Base Connection Structure 01 : connectionmodule
0x38e4642 : null : null
0x38ccb26 module: Argon Cross Connection Structure 01 : connectionmodule
0x38ccb26 : null : null
0x4061add module: Argon Base Connection Structure 01 : connectionmodule
0x4061add : null : null
0x388ba66 module: Argon Cross Connection Structure 01 : connectionmodule
0x388ba66 : null : null
0x3141449 module: Argon Base Connection Structure 01 : connectionmodule
0x3141449 : null : null
0x38e8e51 module: Argon Cross Connection Structure 01 : connectionmodule
0x38e8e51 : null : null
I expected them to work, as I see the following in the game files (finalisestations.xml):
Code: Select all
<!-- Calculate the throughput of the station (volume of wares being produced and consumed on a station) -->
<set_value name="$ProductionVolume" exact="0" />
<set_value name="$ConsumptionVolume" exact="0" />
<do_all exact="$PlannedModules.count" counter="$ModuleCounter">
<do_if value="$PlannedModules.{$ModuleCounter}.isclass.production">
<set_value name="$ProductionVolume" operation="add" exact="$PlannedModules.{$ModuleCounter}.productionvolume" />
<set_value name="$ConsumptionVolume" operation="add" exact="$PlannedModules.{$ModuleCounter}.consumptionvolume" />
</do_if>
</do_all>
Any help greatly appreciated!