236 {
238
239 string construction_path =
"cfgVehicles" +
" " +
GetParent().GetType() +
" " +
"Construction";
240
241 if (
GetGame().ConfigIsExisting( construction_path ) )
242 {
243
245 {
246 string main_part_name;
248 string part_path = construction_path + " " + main_part_name;
249
250
252 {
253 string part_name;
255
259 bool show_on_init =
GetGame().
ConfigGetInt( part_path +
" " + part_name +
" " +
"show_on_init" );
263
265
267 }
268 }
269 }
270 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
array< string > GetRequiredParts(string part_name, string main_part_name)
ref map< string, ref ConstructionPart > m_ConstructionParts
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto bool ConfigGetTextRaw(string path, out string value)
Get raw string value from config on path.
bool FormatRawConfigStringKeys(inout string value)
Changes localization key format to script-friendly format.
proto native int ConfigGetInt(string path)
Get int value from config on path.
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
static bool IsBaseBuildingLogEnable()
proto native CGame GetGame()