2706 {
2707
2708
2709 string path_cooking_equipment =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps CookingEquipment attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2710
2711 string path_direct_cooking =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps DirectCooking attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2712 if (
g_Game.ConfigIsExisting(path_cooking_equipment) &&
g_Game.ConfigIsExisting(path_direct_cooking))
2713 {
2716 g_Game.ConfigGetTextArray(path_cooking_equipment,arr_cooking_equipment);
2717 g_Game.ConfigGetTextArray(path_direct_cooking,arr_direct_cooking);
2718 for (int i = 0; i < arr_cooking_equipment.Count(); i++)
2719 {
2721 {
2723
2724 }
2725 }
2726
2727 for (i = 0; i < arr_direct_cooking.Count(); i++)
2728 {
2730 {
2732
2733 }
2734 }
2735 }
2737 }
eBleedingSourceType GetType()
int m_OvenAttachmentsLockState
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.