Пример #1
0
        public void CompletePurchase(StoreIncident incident)
        {
            Purchaser.Charge(Price, Proxy.Thing.ItemData?.Weight ?? 1f, Proxy.Thing.Data?.KarmaType ?? incident.karmaType);

            if (Proxy.Thing.Thing.race != null)
            {
                NotifyAnimalPurchaseComplete();
            }
            else
            {
                NotifyItemPurchaseComplete();
            }
        }