Common tasks
Read how far a renovation has got. renovationId is the Id of a renovation from Renovations.All(). The value runs from 0 to 1.
float done = Renovations.Progress(renovationId);
Log.Info("Renovation is " + (int)(done * 100f) + " percent done.");
Order a renovation. This only works while the player has the contractor menu open, and it takes the money and items the way the game does.
if (!Renovations.Start(renovationId)) Log.Info("The renovation could not be ordered.");
Find the renovations that wait for the player’s final payment.
foreach (RenovationInfo info in Renovations.All())
{
if (info.State == RenovationState.AwaitingFinalPayment) Log.Info(info.Name + " waits for " + info.FinalCost + " RM.");
}