public void InternetUpgrade() { if (WP.Money >= InternetPM.upgradeCost && InternetLevel < 10) { SoundManager.PlaySound(SoundManager.UpgradeSound); InternetLevel += 1; HelpScreenScript.TInternetBool = true; WP.Money -= InternetPM.upgradeCost; InternetPM.upgradeCost += 25; WP.viewerCap += addViewCap; InternetPM.Upgrade(); SVS.UpdateUI(); if (InternetLevel > 9) { InternetButton.SetActive(false); } } else { if (!warning.activeSelf) { warning.SetActive(true); } } }
public void RigUpgrade() { if (WP.Money >= RigPM.upgradeCost && RigLevel < 10) { SoundManager.PlaySound(SoundManager.UpgradeSound); RigLevel += 1; HelpScreenScript.TGamingRigBool = true; WP.Money -= RigPM.upgradeCost; RigPM.upgradeCost += 100; WP.gamingRigStat += addRigStat; RigPM.Upgrade(); SVS.UpdateUI(); if (RigLevel > 9) { RigButton.SetActive(false); } } else { if (!warning.activeSelf) { warning.SetActive(true); } } //raise value of gaming rig }
public void SocialMediaUpgrade() { if (WP.Money >= SocialMediaPM.upgradeCost && SMMLevel < 10) { SoundManager.PlaySound(SoundManager.UpgradeSound); SMMLevel += 1; HelpScreenScript.TSocialMediaMarketingBool = true; WP.Money -= SocialMediaPM.upgradeCost; SocialMediaPM.upgradeCost += 50; WP.socialMediaStat += addSMStat; SocialMediaPM.Upgrade(); SVS.UpdateUI(); if (SMMLevel > 9) { SocialMediaButton.SetActive(false); } } else { if (!warning.activeSelf) { warning.SetActive(true); } } }