# agentned
gs 'stat'
'
Real Estate Agency'
!!''
act 'Leave':gt 'down'
if StoryLine > 0 and housr = 0:
'You can buy an apartment in the residential area for a cost of 2 million. Renting an apartment costs 200 rubles per day, minimum rental is for a period of 30 days.'
if money >= 2000000:
act 'Buy an apartment (2,000,000 rubles)':
cls
money -= 2000000
housr = 1
BuyHous = 1
gs 'stat'
'You bought an apartment in the residential area.'
act 'Leave':gt 'down'
end
end
end
if BuyHous ! 1:
if money >= 6000:
act 'Rent an apartment in the residental area (6,000 rubles)':
cls
money -= 6000
housr = 1
BuyHous = 2
ArendHouseSL += 30
gs 'stat'
'You rented a flat in the residential area. You have paid for <> rental days.'
act 'Leave':gt 'down'
end
end
end
if ArendHouseSL > 0:'Your residential house has <> rental days left.'
--- agentned ---------------------------------