2687 {
2688
2689
2690 string path_cooking_equipment =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps CookingEquipment attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2691
2692 string path_direct_cooking =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps DirectCooking attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2693 if (
GetGame().ConfigIsExisting(path_cooking_equipment) &&
GetGame().ConfigIsExisting(path_direct_cooking))
2694 {
2699 for (int i = 0; i < arr_cooking_equipment.Count(); i++)
2700 {
2702 {
2704
2705 }
2706 }
2707
2708 for (i = 0; i < arr_direct_cooking.Count(); i++)
2709 {
2711 {
2713
2714 }
2715 }
2716 }
2718 }
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()