city_suburbs.qsrc 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # city_suburbs
  2. ! 14-09-22 Added Metro link to navigation line 41
  3. $location_type = 'public_outdoors'
  4. if $ARGS[0]='start':
  5. $loc = 'city_suburbs'
  6. $loc_arg = 'start'
  7. $menu_loc = 'city_suburbs'
  8. $menu_arg = 'start'
  9. menu_off = 0
  10. gs'stat'
  11. '<center><H4>Elite settlement<H4></center>'
  12. '<left><img <<$set_imgh>> src="images/locations/city/suburb/settlement.jpg" ></left>'
  13. if car > 0 and cardrive = 28:'Your <a href="exec:GS ''carF'', ''start''"><<$car>></a> stands on the street.'
  14. if hour >= 4 and hour <= 23:'The <a href="exec: minut += 20 & gt ''metro'', ''start''">Metro</a> station is a 20 minute walk from here.'
  15. gs 'taxi'
  16. if AlexandriaQW > 6:
  17. if hour > 7 and hour < 20:'You can visit <a href="exec: minut += 5 & gt ''AlexandriaHome'', ''intercom''">Aleksei''s home</a> if you want to see the cranky wizard.'
  18. end
  19. if BDSMClub = 1 or BDSMmeet > 0:
  20. act 'BDSM-club':gt'BDSM_Club','start'
  21. end
  22. if func('homes_properties', 'has_access', 'matryona_mansion') = 0:
  23. 'There is a vacant piece of land for sale where a large mansion could be constructed.'
  24. act 'Visit the land for sale': minut += 10 & gt 'city_mansion_entrance'
  25. elseif func('homes_properties', 'is_property_of_status', 'owned', 'matryona_mansion'):
  26. constructionstatus = func('homes_properties', 'get_property_construction_status', 'matryona_mansion')
  27. if constructionstatus = 0:
  28. 'Your vacant plot of land is near hear'
  29. elseif constructionstatus = 1:
  30. 'You mansion is partially built near here.'
  31. else
  32. 'Your mansion is not too far from her'
  33. end
  34. act 'Visit your mansion': minut += 10 & gt 'city_mansion_entrance'
  35. else
  36. 'One of the most impressive buildings is your newly built mansion.'
  37. act 'Visit Matryona Mansion': gt 'city_mansion_entrance'
  38. end
  39. act 'View the insane asylum': minut += 2 & gt 'city_suburbs', 'ps1'
  40. act 'View the creepy old building': minut += 2 & gt 'city_suburbs', 'ps2'
  41. act 'Walk to the main road':nroad = 1 & minut += 15 & gt 'road'
  42. if hour >= 4 and hour <= 23:
  43. act 'Walk to the Metro': minut += 5 & gt 'metro', 'start'
  44. end
  45. if AlexandriaQW = 6:
  46. gs 'willpower', 'misc', 'self', 'easy'
  47. if will_cost <= pcs_willpwr:
  48. act 'Look for Alexandria''s direction (<<will_cost>> Willpower)':
  49. gs 'willpower', 'pay', 'easy'
  50. gt'alexandriaEv','interview1'
  51. end
  52. else
  53. act 'Look for Alexandria''s direction (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  54. end
  55. end
  56. end
  57. if $ARGS[0]='ps1':
  58. cla
  59. *clr
  60. $menu_loc = 'city_suburbs'
  61. $menu_arg = 'ps1'
  62. menu_off = 0
  63. gs'stat'
  64. '<center><H4>Insane asylum<H4></center>'
  65. 'The inscription on the sign by the road reads, "Closed to the public".'
  66. if psiklik = 0:'<center><img <<$set_imgh>> src="images/locations/city/suburb/asylum0.jpg" ></center>'
  67. if psiklik = 1:'<center><img <<$set_imgh>> src="images/locations/city/suburb/asylum1.jpg" ></center>'
  68. act 'Go': minut += 2 & gt'city_suburbs','start'
  69. end
  70. if $ARGS[0]='ps2':
  71. cla
  72. *clr
  73. $menu_loc = 'city_suburbs'
  74. $menu_arg = 'ps2'
  75. menu_off = 0
  76. gs'stat'
  77. '<center><H4>An old abandoned building<H4></center>'
  78. '<center><img <<$set_imgh>> src="images/locations/city/suburb/abandoned.jpg" ></center>'
  79. 'An abandoned building that spoils the local communities appearance and intimidates local residents.'
  80. act 'Go': minut += 2 & gt'city_suburbs','start'
  81. end
  82. --- city_suburbs ---------------------------------