private void MakeChoiceWithEffect(ChoiceEffect choiceEffect) { playerInventory.AddChoiceEffect(choiceEffect); UpdateInventoryDisplay(); if (playerInventory.Love <= 0) { GameOverWithEnding("Love"); } else if (playerInventory.Hope <= 0) { GameOverWithEnding("Hope"); } else if (playerInventory.Joy <= 0) { GameOverWithEnding("Joy"); } else if (playerInventory.Parts <= 0) { GameOverWithEnding("Parts"); } else if (playerInventory.Appearances <= 0) { GameOverWithEnding("Appearances"); } else { ShowNextQuandary(); } }