Exemplo n.º 1
0
 public static List <Lot> GetPurchaseableLots()
 {
     if (Common.IsAwayFromHomeworld())
     {
         return(RealEstateManager.GetPurchaseableLots());
     }
     else
     {
         return(GetPurchaseableLots(StoryProgression.Main.Money, Household.ActiveHousehold));
     }
 }
Exemplo n.º 2
0
            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);
            }