2717 {
2718
2719
2720 string path_cooking_equipment =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps CookingEquipment attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2721
2722 string path_direct_cooking =
string.Format(
"%1 %2 GUIInventoryAttachmentsProps DirectCooking attachmentSlots",
CFG_VEHICLESPATH,
GetType());
2723 if (
g_Game.ConfigIsExisting(path_cooking_equipment) &&
g_Game.ConfigIsExisting(path_direct_cooking))
2724 {
2727 g_Game.ConfigGetTextArray(path_cooking_equipment,arr_cooking_equipment);
2728 g_Game.ConfigGetTextArray(path_direct_cooking,arr_direct_cooking);
2729 for (int i = 0; i < arr_cooking_equipment.Count(); i++)
2730 {
2732 {
2734
2735 }
2736 }
2737
2738 for (i = 0; i < arr_direct_cooking.Count(); i++)
2739 {
2741 {
2743
2744 }
2745 }
2746 }
2748 }
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.