2704 {
2705
2706
2707 string path_cooking_equipment =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps CookingEquipment attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2708
2709 string path_direct_cooking =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps DirectCooking attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2710 if (
GetGame().ConfigIsExisting(path_cooking_equipment) &&
GetGame().ConfigIsExisting(path_direct_cooking))
2711 {
2716 for (int i = 0; i < arr_cooking_equipment.Count(); i++)
2717 {
2719 {
2721
2722 }
2723 }
2724
2725 for (i = 0; i < arr_direct_cooking.Count(); i++)
2726 {
2728 {
2730
2731 }
2732 }
2733 }
2735 }
eBleedingSourceType GetType()
int m_OvenAttachmentsLockState
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
provides access to slot configuration
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()