Пример #1
0
        private void VentContainer(bool isOpen)
        {
            canister.SetValve(isOpen);

            if (canister.GasContainer.IsVenting)
            {
                StartCoroutine(DisplayFlashingText($"Canister releasing at {gasContainer.ReleasePressure}"));
                if (canister.ContentsName.Contains("Plasma"))
                {
                    foreach (var p in Peepers)
                    {
                        AutoMod.ProcessPlasmaRelease(p);
                    }
                }
            }
        }