Hi,
In the factory building option of the map editing tools, factories with a distribution weight set to zero are not shown.
I'd like to have them included to be able to have factories which are not build automatic but can be added manually.
Can't find the location in the source where this list is created and displayed.
Anyone knows where that is done ?
see gui/factory_edit.cc and factory_edit_frame_t::fill_list
Thanks,
According to the comment : // DistributionWeight=0 is obsoleted item, only for backward compatibility
That is why is doesn't show up.
For debugging purposes, it might be useful to be able to build obsolete factories as well, although it can be done the slow and normal way.
Second thought,
Shouldn't obsolete factories be shown when the button "use timeline year" is unchecked ?
In that case, not showing them is a bug.
Yes, I believe they should show when that's unchecked. At least I'm used to do it, but I generally play without timeline.
These obsolete factories have nothing to do with the in-game timeline. They are factories that existed in earlier version of the pak set, but with have been succeeded by other developments in later versions.