Ejemplo n.º 1
0
        private void CurrenciesModified(CurrencyModifierQuery query)
        {
            float changeDelta = query.GetTotal(Currency.Funds);

            if (changeDelta != 0f)
            {
                FundsChanged(changeDelta, query.reason);
            }
        }
Ejemplo n.º 2
0
        private void OnCurrenciesModified(CurrencyModifierQuery query)
        {
            float changeDelta = query.GetTotal(Currency.Science);

            if (changeDelta == 0f)
            {
                return;
            }

            KCTDebug.Log($"Detected sci point change: {changeDelta}");
            Utilities.ProcessSciPointTotalChange(changeDelta);
        }
Ejemplo n.º 3
0
        private void CurrenciesModified(CurrencyModifierQuery query)
        {
            if (CareerEventScope.ShouldIgnore)
            {
                return;
            }

            float changeDelta = query.GetTotal(Currency.Funds);

            if (changeDelta != 0f)
            {
                FundsChanged(changeDelta, query.reason);
            }
        }