public void EndFullfillment() { Inventory.Money += NPC.DuePayment * Mathf.Clamp(NPC.ComfortLevel, 0, 2.0f); Debug.Log(NPC.DuePayment); Debug.Log(NPC.ComfortLevel); if (NPC.ComfortLevel < 1) { pool.AnnihilateNPC(NPC.ID); if (NPC.Satisfied) { Inventory.SatisfiedCustomers--; NPC.Satisfied = false; } } else { if (!NPC.Satisfied) { Inventory.SatisfiedCustomers++; NPC.Satisfied = true; } } pool.HideNPC(NPC); pool.UpdateNPC(NPC); NPC = null; EndedFullfillment.Invoke(); }