agentned.qsrc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. # agentned
  2. if $ARGS[0] = 'start':
  3. CLOSE ALL
  4. *clr & cla
  5. $loc = 'agentned'
  6. $loc_arg = $ARGS[0]
  7. $location_type = 'indoors'
  8. $menu_loc = 'agentned'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. gs'stat'
  12. gs'dina'
  13. gs 'housing', 'rent'
  14. '<center><b><font color = maroon>Kirsanova Real Estate Agency</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  16. *nl
  17. 'This is the head office of the largest real estate agency in the Leningrad Oblast.'
  18. *nl
  19. 'At the reception, you notice a large print banner:'
  20. '"Please be aware that all sales transactions are made exclusively through your bank account. Rent payments are excluded from this policy."'
  21. if home_owned[1] = 1 and ArendHouseSL > 0:
  22. *nl
  23. 'You have <B><<ArendHouseSL>> days</B> remaining on your St. Petersburg apartment lease. '+iif(money >= home_rent[1],'You can make a rent <a href="exec:money -= home_rent[1] & ArendHouseSL += ArendHouseSL_due & gt ''agentned'', ''start''">payment</a> in cash to extend it.','You can''t afford to pay your rent at the moment')+''
  24. end
  25. if home_owned[4] > 0 and ArendHouseSL4 > 0:
  26. *nl
  27. 'You have <B><<ArendHouseSL4>> days</B> remaining on your Pushkin apartment lease. '+iif(money >= home_rent[4],'You can make a rent <a href="exec:money -= home_rent[4] & ArendHouseSL4 += ArendHouseSL_due & gt ''agentned'', ''start''">payment</a> in cash to extend it.','You can''t afford to your pay rent at the moment')+''
  28. end
  29. if home_owned[1] = 2 or home_owned[3] > 0 or home_owned[5] = 1:
  30. *nl
  31. 'You own the following property:'
  32. *nl
  33. if home_owned[1] = 2: 'An apartment in St. Petersburg''s residential area'
  34. if home_owned[1] = 3: 'An apartment in St. Petersburg''s residential area which is currently occupied by your tenants'
  35. if home_owned[3] > 0: 'An cottage located in the cooperative village'
  36. if home_owned[5] = 1: 'A plot of land in the St. Petersburg''s suburbs'
  37. if home_owned[15] = 1: 'A house in the St. Petersburg''s residential area'
  38. *nl
  39. 'We are at your service if you decide to <a href="exec:gt ''agentned'',''sell''">sell</a>.'
  40. end
  41. act 'Leave': minut += 5 & gt 'city_center'
  42. act 'View rentals': gt 'agentned', 'rent'
  43. act 'View properties for sale': gt 'agentned', 'buy'
  44. if (home_owned[1] = 1 or home_owned[1] = 2) and home_owned[4] = 1:
  45. if home_owned[1] = 1:
  46. act 'Cancel the lease of the city apartment':
  47. cla & *nl
  48. 'Attention: You won''t be able to return to your apartment when you cancel the lease.'
  49. act 'Return': gt'agentned', 'start'
  50. act 'Cancel it': home_owned[1] = 0 & gs 'set_home', 4 & gt'agentned', 'start'
  51. end
  52. end
  53. act 'Cancel the lease of the apartment in Pushkin':
  54. cla & *nl
  55. 'Attention: You won''t be able to return to your apartment when you cancel the lease.'
  56. act 'Return': gt'agentned', 'start'
  57. act 'Cancel it': home_owned[4] = 0 & gs 'set_home', 1 & gt'agentned', 'start'
  58. end
  59. end
  60. end
  61. if $ARGS[0] = 'buy':
  62. *clr & cla
  63. $loc = 'agentned'
  64. $loc_arg = $ARGS[0]
  65. $location_type = 'indoors'
  66. $menu_loc = 'agentned'
  67. $menu_arg = 'buy'
  68. menu_off = 0
  69. gs 'housing', 'sale'
  70. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  71. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  72. *nl
  73. minut += 5
  74. gs 'stat'
  75. act 'Return':gt'agentned', 'start'
  76. if home_owned[1] = 0 or home_owned[3] = 0 or home_owned[4] = 0 or home_owned[5] = 0:
  77. if home_owned[1] = 0:
  78. 'There is an apartment in the city residential area available for <<$home_value_txt[1]>> <b>₽</b>.'
  79. *nl
  80. if karta + bankDebtLimit >= home_value[1]:act 'Buy the city residential apartment': gt 'agentned', 'buy_cityres'
  81. elseif home_owned[1] = 1:
  82. 'You could buy your current rental apartment for <<$home_value_txt[1]>> <b>₽</b>.'
  83. *nl
  84. if karta + bankDebtLimit >= home_value[1]:act 'Buy the city residential apartment': gt 'agentned', 'buy_cityres'
  85. end
  86. if home_owned[3] = 0:
  87. 'There is a holiday cottage with an adjacent allotment in the village for <<$home_value_txt[3]>> <b>₽</b>.'
  88. *nl
  89. if karta + bankDebtLimit >= home_value[3]:act 'Buy the cottage in the village': gt 'agentned','buy_dacha'
  90. end
  91. if home_owned[5] = 0:
  92. 'There is a plot of land in the suburbs with planning permission for a mansion for <<$home_value_txt[5]>> <b>₽</b>.'
  93. *nl
  94. if karta + bankDebtLimit >= home_value[5]:act 'Buy the land plot in the suburbs': gt 'agentned','buy_Mansion'
  95. end
  96. if home_owned[15] = 0:
  97. 'There is a small house on the edge of the city residential area for <<$home_value_txt[15]>> <b>₽</b>.'
  98. *nl
  99. if karta + bankDebtLimit >= home_value[15]:act 'Buy the house on the edge of the city residential area': gt 'agentned','buy_city_house_res'
  100. end
  101. else
  102. 'We currently have no properties listed for sale.'
  103. end
  104. end
  105. if $ARGS[0] = 'sell':
  106. *clr & cla
  107. $loc = 'agentned'
  108. $loc_arg = $ARGS[0]
  109. $location_type = 'indoors'
  110. $menu_loc = 'agentned'
  111. $menu_arg = 'sell'
  112. menu_off = 0
  113. gs 'housing', 'sale'
  114. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  115. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  116. *nl
  117. act 'Return':gt'agentned', 'start'
  118. if home_owned[1] = 2 and rembedr = 1 and remsitr = 1 and remkorr = 1 and remvanr = 1 and remkuhr = 1:
  119. !Renovated city residential apartment
  120. home_value1 = ((home_value[1] + 250000) + rand(-100000, 100000))
  121. 'We have found a buyer for your renovated apartment in the city residential area. They will offer <<home_value1>> <b>₽</b>, minus 5% for fees and taxes, bringing the total to <<home_value1/100*95>>'
  122. act 'Sell the renovated apartment':
  123. *clr
  124. menu_off = 1
  125. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  126. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  127. minut += 30
  128. 'You spend thirty minutes filling out the paperwork for the sale of your renovated apartment. You will suffer a loss of around 5% for fees and taxes. <<home_value1/100*95>> <b>₽</b> has been paid into your bank account.'
  129. home_owned[1] = 0
  130. ArendHouseSL = 0
  131. if bankaccount = 1:
  132. karta += home_value1/100*95
  133. else
  134. money += home_value1/100*95
  135. end
  136. delact 'Sell the renovated apartment'
  137. gs 'stat'
  138. end
  139. end
  140. if home_owned[1] = 2:
  141. !City residential apartment
  142. home_value1 = (home_value[1] + rand(-100000, 100000))
  143. 'We have found a buyer for your apartment in the city residential area. They will offer <<home_value1>> <b>₽</b>, minus 5% for fees and taxes, bringing the total to <<home_value1/100*95>>'
  144. act 'Sell the city apartment':
  145. *clr
  146. menu_off = 1
  147. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  148. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  149. minut += 30
  150. 'You spend thirty minutes filling out the paperwork for the sale of your apartment. You will suffer a loss of around 5% for fees and taxes. <<home_value1/100*95>> <b>₽</b> has been paid into your bank account.'
  151. home_owned[1] = 0
  152. ArendHouseSL = 0
  153. if bankaccount = 1:
  154. karta += home_value1/100*95
  155. else
  156. money += home_value1/100*95
  157. end
  158. delact 'Sell the city apartment'
  159. gs 'stat'
  160. end
  161. end
  162. if home_owned[3] = 1:
  163. !Communal cottage
  164. home_value3 = (home_value[3] + rand(-5000, 5000))
  165. 'We have found a buyer for your small communal cottage. They will offer <<home_value3>> <b>₽</b>, minus 5% for fees and taxes, bringing the total to <<home_value3/100*95>>'
  166. act 'Sell the holiday cottage':
  167. *clr
  168. menu_off = 1
  169. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  170. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  171. minut += 30
  172. 'You spend thirty minutes filling out the paperwork for the sale of your small cottage. You will suffer a loss of around 5% for fees and taxes. <<home_value3/100*95>> <b>₽</b> has been paid into your bank account.'
  173. home_owned[3] = 0
  174. if bankaccount = 1:
  175. karta += home_value3/100*95
  176. else
  177. money += home_value3/100*95
  178. end
  179. delact 'Sell the holiday cottage'
  180. gs 'stat'
  181. end
  182. end
  183. if home_owned[3] = 2:
  184. !Renovated communal cottage
  185. home_value3 = ((home_value[3] + 200000) + rand(-10000, 10000))
  186. 'We have found a buyer for your small renovated communal cottage. They will offer <<home_value3>> <b>₽</b>, minus 5% for fees and taxes, bringing the total to <<home_value3/100*95>>'
  187. act 'Sell the renovated cottage':
  188. *clr
  189. menu_off = 1
  190. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  191. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  192. minut += 30
  193. 'You spend thirty minutes filling out the paperwork for the sale of your small cottage. You will suffer a loss of around 5% for fees and taxes. <<home_value3/100*95>> <b>₽</b> has been paid into your bank account.'
  194. home_owned[3] = 0
  195. if bankaccount = 1:
  196. karta += home_value3/100*95
  197. else
  198. money += home_value3/100*95
  199. end
  200. delact 'Sell the renovated cottage'
  201. gs 'stat'
  202. end
  203. end
  204. if home_owned[5] = 1:
  205. !Suburban land only - currently too many variables for selling upgraded mansion - might do later - 3xpurt.
  206. home_value5 = (home_value[5] + rand(-50000, 50000))
  207. 'We have found a buyer for your vacant plot of land in the suburbs. They will offer <<home_value5>> <b>₽</b>, minus 5% for fees and taxes, bringing the total to <<home_value5/100*95>>'
  208. act 'Sell the vacant plot':
  209. *clr
  210. menu_off = 1
  211. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  212. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  213. minut += 30
  214. 'You spend thirty minutes filling out the paperwork for the vacant plot. You will suffer a loss of around 5% for fees and taxes. <<home_value5/100*95>> <b>₽</b> has been paid into your bank account.'
  215. home_owned[5] = 0
  216. if bankaccount = 1:
  217. karta += home_value5/100*95
  218. else
  219. money += home_value5/100*95
  220. end
  221. delact 'Sell the vacant plot'
  222. gs 'stat'
  223. end
  224. end
  225. if home_owned[5] = 2:
  226. !Suburban land only - currently too many variables for selling upgraded mansion - might do later - 3xpurt.
  227. 'Sorry, we are unable to find a buyer for your property at this time.'
  228. end
  229. if home_owned[5] = 3:
  230. !Suburban land only - currently too many variables for selling upgraded mansion - might do later - 3xpurt.
  231. 'Sorry, we are unable to find a buyer for your property at this time.'
  232. end
  233. if home_owned[1] = 0 and home_owned[3] = 0 and home_owned[4] = 0 and home_owned[5] = 0:
  234. 'You don''t currently own any property.'
  235. end
  236. if home_owned[15] = 1:
  237. !! - might do later - Alaratt.
  238. 'Sorry, we are unable to find a buyer for your house at this time.'
  239. end
  240. end
  241. if $ARGS[0] = 'rent':
  242. *clr & cla
  243. $loc = 'agentned'
  244. $loc_arg = $ARGS[0]
  245. $location_type = 'indoors'
  246. $menu_loc = 'agentned'
  247. $menu_arg = 'rent'
  248. menu_off = 0
  249. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  250. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  251. *nl
  252. minut += 5
  253. gs 'stat'
  254. act 'Return':gt'agentned', 'start'
  255. if home_owned[1] > 0 and home_owned[4] > 0:
  256. 'We currently have no properties listed for rent.'
  257. elseif home_owned[1] = 0 and home_owned[4] = 0:
  258. *nl
  259. 'There are two apartments available for rent. They are located in the city residential area and in Pushkin.'
  260. act 'View the city apartment details': gt 'agentned', 'rent_cityres'
  261. act 'View the Pushkin apartment details': gt 'agentned', 'rent_pushkin'
  262. elseif home_owned[1] = 0:
  263. 'There is a property for rent in the city residential area'
  264. act 'View the city apartment details': gt 'agentned', 'rent_cityres'
  265. elseif home_owned[4] = 0:
  266. 'There is a property for rent in the old town of Pushkin'
  267. act 'View the Pushkin apartment details': gt 'agentned', 'rent_pushkin'
  268. end
  269. end
  270. if $ARGS[0] = 'rent_cityres':
  271. *clr & cla
  272. menu_off = 1
  273. gs 'housing', 'rent'
  274. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  275. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  276. *nl
  277. '"We have a flat available right now in the St. Petersburg residential area." The receptionist says as he starts pulling out the paperwork, "Rent is <<$home_rent_txt[1]>> ₽ and leases have to be renewed every 30 days. Payment will be automatically deducted from your account or you can come into the office to pay. When you sign for the lease you must make your first month''s rental payment upfront."'
  278. '<br>He pulls out a pen and slides the paperwork onto the counter. "Interested? You can move in right away," he calmly says.'
  279. if money >= home_rent[1] or karta >= home_rent[1]:
  280. act 'Agree and pay':
  281. *clr & cla
  282. cls
  283. minut += 30
  284. if money >= home_rent[1]:
  285. money -= home_rent[1]
  286. else
  287. karta -= home_rent[1]
  288. end
  289. home_owned[1] = 1
  290. if ARRSIZE('home_owned') = 0:
  291. gs 'set_home', 1
  292. else
  293. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  294. if $set_homeyn = 'yes': gs 'set_home', 1
  295. killvar '$set_homeyn'
  296. end
  297. ArendHouseSL += ArendHouseSL_due
  298. gs'stat'
  299. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  300. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  301. *nl
  302. 'You take the pen then start filling out the paperwork. After writing for half an hour, you hand over the money and receive the keys to your new apartment.'
  303. act 'Return':gt'agentned', 'start'
  304. end
  305. else
  306. *nl
  307. 'You do not have enough money with you or in your bank account to pay the rent.'
  308. end
  309. act 'Decline':
  310. *clr & cla
  311. minut += 5
  312. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  313. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  314. *nl
  315. 'You shake your head, "Actually, I need more time to think about this."'
  316. '<br>The receptionist seems a bit miffed, but says nothing as he takes back the paperwork and stuffs it back into his desk drawer.'
  317. act 'Return':gt'agentned', 'start'
  318. end
  319. end
  320. if $ARGS[0] = 'rent_pushkin':
  321. *clr & cla
  322. menu_off = 1
  323. gs 'housing', 'rent'
  324. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  325. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  326. *nl
  327. '"We have a small apartment available right now that is in Pushkin’s city center. It’s a little bit pricey, but it’s been recently renovated to be more modern. It looks quite nice, so you won’t find a place like that outside of Pushkin." The receptionist says as he starts pulling out the paperwork. "Rent is <<$home_rent_txt[4]>> ₽ and leases have to be renewed every 30 days, which can be taken automatically from your account or you can come in and pay directly. Last, but not least, you have to make your first payment up front at signing."'
  328. '<br>He pulls out a pen and slides the paperwork onto the counter. "Interested? You can move in right away," he calmly says.'
  329. if money >= home_rent[4] or karta >= home_rent[4]:
  330. act 'Agree and pay':
  331. *clr & cla
  332. minut += 30
  333. if money >= home_rent[4]:
  334. money -= home_rent[4]
  335. else
  336. karta -= home_rent[4]
  337. end
  338. home_owned[4] = 1
  339. if ARRSIZE('home_owned') = 0:
  340. gs 'set_home', 4
  341. else
  342. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  343. if $set_homeyn = 'yes': gs 'set_home', 4
  344. killvar '$set_homeyn'
  345. end
  346. ArendHouseSL4 += ArendHouseSL_due
  347. gs'stat'
  348. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  349. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  350. *nl
  351. 'You take the pen and start filling out the paperwork. After writing for an hour, you hand over the money and receive the keys to your new apartment.'
  352. act 'Return':gt'agentned', 'start'
  353. end
  354. else
  355. *nl
  356. 'You do not have enough money with you or in your bank account to rent this.'
  357. end
  358. act 'Decline':
  359. *clr & cla
  360. minut += 5
  361. gs 'stat'
  362. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  363. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo.jpg"></center>'
  364. *nl
  365. 'You shake your head, "Actually, I need more time to think about this."'
  366. '<br>The receptionist seems a bit miffed, but says nothing as he takes back the paperwork and stuffs it back into his desk drawer.'
  367. act 'Return':gt'agentned', 'start'
  368. end
  369. end
  370. if $ARGS[0] = 'buy_cityres':
  371. *clr & cla
  372. menu_off = 1
  373. gs 'housing', 'sale'
  374. minut += 30
  375. karta -= home_value[1]
  376. home_owned[1] = 2
  377. if ARRSIZE('home_owned') = 0:
  378. gs 'set_home', 1
  379. else
  380. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  381. if $set_homeyn = 'yes': gs 'set_home', 1
  382. killvar '$set_homeyn'
  383. end
  384. gs'stat'
  385. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  386. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  387. *nl
  388. 'You spend half an hour filling in the paperwork to buy the apartment in the residential area. <<$home_value_txt[1]>> <b>₽</b> has been removed from your bank account.'
  389. act 'Return':gt'agentned', 'start'
  390. end
  391. if $ARGS[0] = 'buy_dacha':
  392. *clr & cla
  393. menu_off = 1
  394. gs 'housing', 'sale'
  395. minut += 30
  396. karta -= home_value[3]
  397. home_owned[3] = 1
  398. if ARRSIZE('home_owned') = 0:
  399. gs 'set_home', 3
  400. else
  401. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  402. if $set_homeyn = 'yes': gs 'set_home', 3
  403. killvar '$set_homeyn'
  404. end
  405. etoexhib = 0
  406. gs'stat'
  407. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  408. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  409. *nl
  410. 'You spend half an hour filling in the paperwork for the purchase of a cottage with a garden in the co-op. It''s located 5 km away from St. Petersburg. <<$home_value_txt[3]>> <b>₽</b> has been removed from your bank account.'
  411. act 'Return':gt'agentned', 'start'
  412. end
  413. if $ARGS[0] = 'buy_Mansion':
  414. *clr & cla
  415. menu_off = 1
  416. gs 'housing', 'sale'
  417. minut += 30
  418. karta -= home_value[5]
  419. home_owned[5] = 1
  420. if ARRSIZE('home_owned') = 0:
  421. gs 'set_home', 5
  422. else
  423. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  424. if $set_homeyn = 'yes': gs 'set_home', 5
  425. killvar '$set_homeyn'
  426. end
  427. gs'stat'
  428. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  429. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  430. *nl
  431. 'You spend half an hour filling in the paperwork for the purchase of a lot for building a mansion 1 km up the north road. <<$home_value_txt[5]>> <b>₽</b> has been removed from your bank account.'
  432. act 'Return':gt'agentned', 'start'
  433. end
  434. if $ARGS[0] = 'buy_city_house_res':
  435. *clr & cla
  436. menu_off = 1
  437. gs 'housing', 'sale'
  438. minut += 30
  439. karta -= home_value[15]
  440. home_owned[15] = 1
  441. if ARRSIZE('home_owned') = 0:
  442. gs 'set_home', 15
  443. else
  444. $set_homeyn = input("Would you like to set this as your new home? (yes/no)")
  445. if $set_homeyn = 'yes': gs 'set_home', 15
  446. killvar '$set_homeyn'
  447. end
  448. gs'stat'
  449. '<center><b><font color = maroon>Real Estate Agency</font></b></center>'
  450. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
  451. *nl
  452. 'You spend half an hour filling in the paperwork for the purchase of a house on the edge of the city residential area. <<$home_value_txt[15]>> <b>₽</b> has been removed from your bank account.'
  453. act 'Return':gt'agentned', 'start'
  454. end
  455. --- agentned ---------------------------------