pav_commcenter.qsrc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 'family_schedule'
  11. gs 'stat'
  12. if $ARGS[0] ! 'XXX':
  13. '<center><b><font color="maroon">Community Center</font></b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/'+iif(DayStage < 4,'dk.jpg','dk_night.jpg')+'"></center>'
  15. act 'Leave': minut += 2 & gt 'pav_residential'
  16. if hour >= 20 and hour <= 23 and week >= 5 and week < 7:
  17. 'The entrance to the community center 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.'
  18. 'You hear people in the alley beside the club. <a href="exec:minut += 5 & gt ''pav_commcenter'', ''alley''">Investigate</a>.'
  19. if gdkincum = daystart and (cumloc[6] = 0 and cumloc[7] = 0) and cumloc[11] = 0: gdkincum = 0
  20. if gdkincum ! daystart:
  21. if pav_disco_in = daystart:
  22. act 'Return to the dance': gt 'pav_disco'
  23. elseif money >= 25:
  24. act 'Go to the dance (25 <b>₽</b>)': money -= 25 & minut += 5 & gt 'pav_disco'
  25. else
  26. 'The dance is on currently but you do not have the 25 <b>₽</b> entrance fee.'
  27. end
  28. else
  29. *nl
  30. if (cumloc[6] = 1 or cumloc[7] = 1) and cumloc[11] = 1:
  31. 'You should clean the cum off your face and clothes before heading back to the dance.'
  32. elseif cumloc[11] = 1:
  33. 'You should clean the cum off your face before heading back to the dance.'
  34. elseif cumloc[6] = 1 or cumloc[7] = 1:
  35. 'You should clean the cum off your clothes before heading back to the dance.'
  36. end
  37. end
  38. else
  39. 'The community center has sports facilities and offers classes in the evening.'
  40. 'It houses a small library which is open from 08:00 until 18:00.'
  41. 'Upstairs, there are some hobby clubs available from 12:00 until 20:00.'
  42. 'The sports section is open from 14:00 until 20:00 during the week and from 09:00 until 20:00 during the weekend.'
  43. '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>.'
  44. end
  45. if month > 8 and ml_guitarlesson['advertisement'] = 0: gt 'music_guitarlesson', 'advertisement'
  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. act 'Check the noticeboard': gs 'noticeboard','start'
  50. if nerd_game['game_day'] = daystart and hour = 19 and yearstart = 1: act 'Wait for game night to start': minut += 60-minut & gt 'nerd_game_night', 'game'
  51. if nerd_game['game_day'] = daystart and hour = 20 and yearstart = 1: act 'Go up stairs to the hobby clubs and <b>Join nerds</b>': gt 'nerd_game_night', 'game'
  52. if hour >= 8:act 'Go to the toilets': gt 'gdktoilet', 'start'
  53. if mc_inventory['joints'] > 0 and drugVars['weed_high'] = 0: act 'Smoke a joint': minut += 10 & gs 'drugs', 'joint' & gt $loc, $loc_arg
  54. !! ballet career
  55. gs 'core_library', 'init'
  56. act 'Walk to the bus station (0:01)': minut += 1 & gt 'bus', 'community'
  57. if locat['Anya'] = 10: 'Your sister <a href="exec:gt ''sister'', ''pav_commcenter''">Anya</a> is sitting with a group of boys and girls, drinking beer.'
  58. gs 'stat'
  59. end
  60. if $ARGS[0] = 'alley':
  61. menu_off = 1
  62. cla & *clr
  63. '<center><H4>Alley</H4></center>'
  64. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/piss.jpg"></center>'
  65. 'You see a couple girls taking a piss. The alley is a quiet place that young people often use instead of the toilet.'
  66. act 'Leave': gt 'pav_commcenter'
  67. end
  68. --- pav_commcenter ---------------------------------