public static List <Lot> GetPurchaseableLots() { if (Common.IsAwayFromHomeworld()) { return(RealEstateManager.GetPurchaseableLots()); } else { return(GetPurchaseableLots(StoryProgression.Main.Money, Household.ActiveHousehold)); } }
public static bool PurchaseLocationHomeInteractionTest(Sim actor, ref GreyedOutTooltipCallback greyedOutTooltipCallback) { if (!CanPurchaseLocationHome(actor, ref greyedOutTooltipCallback)) { return(false); } if (RealEstateManager.GetPurchaseableLots().Count == 0x0) { greyedOutTooltipCallback = Common.DebugTooltip("No Purchaseable Lots"); return(false); } return(true); }