pav_commcenter.qsrc 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # pav_commcenter
  2. music_loop = 0
  3. CLOSE ALL
  4. $menu_loc = 'pav_commcenter'
  5. $menu_arg = ''
  6. menu_off = 0
  7. $loc_arg = ''
  8. $loc = 'pav_commcenter'
  9. $location_type = 'public_outdoors'
  10. gs 'stat'
  11. '<center><b><font color="maroon">Community Centre</font></b></center>'
  12. act 'Leave': minut += 2 & gt 'pav_residential'
  13. if hour >= 9 and hour < 20:
  14. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/dk.jpg"></center>'
  15. else
  16. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/dk_night.jpg"></center>'
  17. end
  18. if month > 8 and ml_guitarlesson['advertisement'] = 0: gt 'music_guitarlesson', 'advertisement'
  19. if hour >= 20 and hour <= 23 and week >= 5 and week < 7:
  20. 'The entrance to the community centre is full of young people. The guys are just hanging around smoking and joking while the girls are in small groups, all dressed up and gossiping. You see the bushes moving - Pavlovsks'' famous make out garden.'
  21. 'You hear people in the alley beside the club. <a href="exec:minut += 5 & gt ''ugel''">Investigate</a>.'
  22. if gdkincum = daystart and (cumloc[6] = 0 and cumloc[7] = 0) and cumloc[11] = 0: gdkincum = 0
  23. if gdkincum ! daystart:
  24. if gdkin_in = daystart:
  25. act 'Return to the dance': gt 'gdkin'
  26. elseif money >= 25:
  27. act 'Go to the dance (25 <b>₽</b>)': money -= 25 & minut += 5 & gt 'gdkin'
  28. end
  29. else
  30. *nl
  31. if (cumloc[6] = 1 or cumloc[7] = 1) and cumloc[11] = 1:
  32. 'You should clean the cum off your face and clothes before heading back to the dance.'
  33. elseif cumloc[11] = 1:
  34. 'You should clean the cum off your face before heading back to the dance.'
  35. elseif cumloc[6] = 1 or cumloc[7] = 1:
  36. 'You should clean the cum off your clothes before heading back to the dance.'
  37. end
  38. end
  39. else
  40. 'The community centre has sports facilities and offers classes in the evening.'
  41. 'It houses a small library which is open from 08:00 until 18:00.'
  42. 'Upstairs, there are some hobby clubs available from 12:00 until 20:00.'
  43. 'The sports section is open from 14:00 until 20:00 during the week and from 09:00 until 20:00 during the weekend.'
  44. 'On Friday and Saturday evenings, from 20:00 to midnight, the main hall is used as a club with popular music and dancing. Entry fee is 25 <b>₽</b>.'
  45. end
  46. if (week < 6 and hour >= 14 and hour < 20) or (week >= 6 and hour >= 9 and hour < 20): act 'Go to the sports section': gt 'gdksport', 'start'
  47. if hour >= 8 and hour < 18: act 'Go to the library': gt 'pav_library'
  48. if hour >= 12 and hour < 20: act 'Go upstairs to the hobby clubs': gt'pav_commclubs'
  49. if nerd_game['game_day'] = daystart and hour = 19: act 'Wait for game night to start': minut += 60-minut & gt 'pav_library'
  50. if nerd_game['game_day'] = daystart and hour = 20: act 'Go up stairs to the hobby clubs and <b>Join nerds</b>': gt 'nerd_game_night', 'game'
  51. if hour >= 8:act 'Go to the toilets': gt 'gdktoilet', 'start'
  52. if joint > 0 and jointhigh = 0: act 'Smoke a joint': gs 'drugs', 'joint' & gt $loc, $loc_arg
  53. act 'Wait': gs 'obj_din', 'wait'
  54. gs'family'
  55. --- pav_commcenter ---------------------------------