1
0

agentned 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # agentned
  2. gs 'stat'
  3. '<center><b><font color="maroon">Real Estate Agency</font></b></center>'
  4. !!'<center><img src="images/etogame/bank.jpg" ></center>'
  5. act 'Leave':gt 'down'
  6. if StoryLine > 0 and housr = 0:
  7. '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.'
  8. if money >= 2000000:
  9. act 'Buy an apartment (2,000,000 rubles)':
  10. cls
  11. money -= 2000000
  12. housr = 1
  13. BuyHous = 1
  14. gs 'stat'
  15. 'You bought an apartment in the residential area.'
  16. act 'Leave':gt 'down'
  17. end
  18. end
  19. end
  20. if BuyHous ! 1:
  21. if money >= 6000:
  22. act 'Rent an apartment in the residental area (6,000 rubles)':
  23. cls
  24. money -= 6000
  25. housr = 1
  26. BuyHous = 2
  27. ArendHouseSL += 30
  28. gs 'stat'
  29. 'You rented a flat in the residential area. You have paid for <<ArendHouseSL>> rental days.'
  30. act 'Leave':gt 'down'
  31. end
  32. end
  33. end
  34. if ArendHouseSL > 0:'Your residential house has <<ArendHouseSL>> rental days left.'
  35. --- agentned ---------------------------------