Started by iGi, December 07, 2021, 08:24:14 PM
0 Members and 1 Guest are viewing this topic.
/* builds a (if param=NULL random) industry chain starting here * * the parameter string is a follow: * 1#34,oelfeld * first letter: ignore climates * second letter: rotation (0,1,2,3,#=random) * next number is production value (-1 to use default of building) * finally industry name */
local list = building_desc_x.get_building_list(building_desc_x.headquarter)
Quote from: iGi on December 07, 2021, 08:24:14 PMIt would be nice to get the size of the factory, and maybe it's default base production value and input/output wares.
Quote from: Dwachs on December 07, 2021, 08:52:45 PMI can create wrapper functions for these command_x.work calls. Which commands are you using in your scenario?
Quote from: Dwachs on December 10, 2021, 05:52:14 PMSo there is now (r10275) the class factory_desc_x to query information about factories. To get the size, access the building desc of the factory: factorydesc.get_building_desc().get_size()