2632 {
2634 {
2636
2638 {
2639 string quantityConfigPath = string.Format("CfgVehicles %1 varQuantityMax", fireConsumableType.GetItemType().ToString());
2640 string stackMaxConfigPath = string.Format("CfgSlots Slot_%1 stackMax", fireConsumableType.GetAttSlot());
2641 if (
g_Game.ConfigIsExisting(quantityConfigPath))
2642 {
2644 }
2645
2646 if (
g_Game.ConfigIsExisting(stackMaxConfigPath))
2647 {
2648 float stackMax =
g_Game.ConfigGetFloat(stackMaxConfigPath);
2649 }
2650
2651
2652
2653
2654 if (stackMax > 0)
2655 {
2657 }
2658 else
2659 {
2661 }
2662 }
2663
2664
2665
2666 }
2667 }
static ref map< typename, ref FireConsumableType > m_FireConsumableTypes