private void Interaction(String name) { switch (name) { case "vomit": /* * if (charStats.hasMop) * cleanVomit() * upgradeCleanBar() ? * else * chanceResbalar()*/ break; case "fight": /* * if (charStats.hasCousin) * solveFight() * upgradeCopsBar() ? * else * chanceTortazo() */ break; case "wc": charStats.ChangeMop(); // resetMop? break; case "cousin": charStats.ChangeCousin(); break; case "fridge": if (charStats.hasSixPack) { UnityEngine.Debug.Log("UPGRADE Drink"); charStats.ChangeSixPack(); //upgradeDrinkBar() ? } else { charStats.ChangeDrink(); } break; case "storage": charStats.ChangeSixPack(); break; case "dj": if (charStats.hasDrink) { charStats.ChangeDrink(); UnityEngine.Debug.Log("UPGRADE DJ"); } //upgradeDjBar? break; case "danceFloor": // if fever? charStats.ChangeDanceFloor(); break; } }