The states
Each renovation has one RenovationState. These are what the states mean.
Things to know
Installedmeans the upgrade is already in the building. (TenementUpgrade.IsUpgradedis true.)InProgressmeans an order is being built.AwaitingFinalPaymentmeans the building work is done, and the player has to pay the final payment in RM. The player does that in the game’s upgrade panel. This API does not pay it. (The order hasupgradeReadyset.)Availablemeans the player can order it now. Everything it needs is already installed, and no other renovation in the same line is being built or waiting for its final payment. A line is a group of upgrades that replace one another, such as the electricity of one apartment. The game’s upgrade panel locks a line the same way. (TenementUpgrade.CanUpgradeis true without counting items, and no other upgrade in the sameTenementUpgradeGroupisInProgressorAwaitingFinalPayment.)Lockedmeans anything else. This includes a renovation whose line has another one ordered or waiting for its final payment.