ballet_secrets.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. # ballet_secrets
  2. !! Author: Hooded Silence
  3. !! Date Created: Nov, 2023
  4. !! Version: .01
  5. !! Author: Hooded Silence
  6. !! A dance shop which includes ballet, gymnastics and physio-therapy sources. Alternative path to ballet or dance career in second year and first.
  7. !! TBC - NPCs to be created
  8. $default_img_path = 'locations/pushkin/ballet_secrets/'
  9. if $ARGS[0] = 'init':
  10. *clr & cla
  11. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  12. $location_type = 'public_indoors'
  13. $setloc['StageTitle'] = 'Ballet Secrets'
  14. $setloc['StageImage'] = '<<$default_img_path>>ballet-shop-window'
  15. $location_type = 'public_indoors'
  16. gs 'themes', 'indoors'
  17. gs 'core_library', 'stage_title'
  18. if week < 7 and hour >= 9 and hour <= 17:
  19. 'You enter the shop and greeted by a riot of displays showcasing ballet and other dance equipment. A woman is sewing something in the corner and glances at you before continuing.'
  20. if balletqw['ballet_secrets'] = 1:
  21. act 'Approach the woman': gt $loc, 'first_visit'
  22. else
  23. act 'Enter studio area': gt $loc, 'reception'
  24. !! act 'Talk to assistant':
  25. !! act'Look at equipment'
  26. !! act 'look at dance wear'
  27. act 'Leave shop': gt 'pushkin_sq'
  28. end
  29. else
  30. 'You look at the shop window and realise it''s closed, there is a security door to the left of you that allows you access the studio areas if you are a member.'
  31. if balletqw['membership'] >= daystart:
  32. act 'Swipe membership card': gt $loc, 'membership'
  33. end
  34. end
  35. end
  36. !! Intro
  37. if $ARGS[0] = 'first_visit':
  38. balletqw['ballet_secrets_visit'] = 1
  39. balletqw['shoe_order'] = daystart + 14
  40. $setloc['StageImage'] = '<<$default_img_path>>ballet_secrets_fitting_1'
  41. minut += 60
  42. gs 'core_library', 'stage_title'
  43. gs 'stats'
  44. 'You are greeted by a middle aged woman. "Hello, how may I help you?" She askes politely.'
  45. '"Hello, I am <<$pcs_firstname>> <<$pcs_lastname>>. I am part of the ballet school intake." you give her a smile and hand over the schools letter as proof.'
  46. 'The woman smiles warmly, "Ah you are the new students for this year?" she claps her hands and then takes yours, "Come, come we must measure your feet and order your shoes"'
  47. 'Before you say anything she''s dragging you through the shop towards the back we are are greeted by a wall of shoes and there is pictures on the wall signed by dancers with shoes next to them. You look at the woman.'
  48. '"Yes, they are all dancers who are or have been clients of our establishment", she noticed your gaze and explains with pride."We will only provide the best for the school."'
  49. !! Set up gate for sponsored or not, not implemented system needs to be added to the end of year assessment.
  50. '"But where are my manners I am Darya Pushkina, I am the owner of this shop and facilies" she exclaims, "now to your fitting grabbing a tape measure and fitting tools for your feet"'
  51. 'For the next hour Madam Pushkina bombards you with questions of whether you want leather or cotton fabric, how many satin shoes and a myriad other questions before she finally relents.'
  52. '"Of course as you are aware the school is sponsoring these costs, but only for the first year she says and you will need to manage your own equipment after this.", Madame Pushkina advises.'
  53. '"Is there anything else you neeed? No? Good, I will see you again in two weeks for your final shoe fitting. I would like to extend my congratulations and wish you a successful career Ms. <<$pcs_lastname>>."'
  54. act 'Leave': gt 'pushkin_sq'
  55. act 'Return to shop': gt $loc, 'init'
  56. end
  57. !! Services
  58. !! Sports Area - Req Membership card
  59. if $ARGS[0] = 'reception':
  60. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  61. $location_type = 'public_indoors'
  62. $setloc['StageTitle'] = 'Ballet Secrets - Reception'
  63. $setloc['StageImage'] = '<<$default_img_path>>reception'
  64. $location_type = 'public_indoors'
  65. gs 'themes', 'indoors'
  66. gs 'core_library', 'stage_title'
  67. 'As you enter you are greeted warmly by the gym staff. The gym has an industrial feel reflecting the buildng being converted from an old factory.'
  68. 'There is a <a href="exec: gt ''food'', ''watercooler''">drinking fountain</a> near the doors to the gym hall to refill your water bottle.'
  69. act 'Return to shop': gt $loc, 'init'
  70. act 'Changing rooms': gt $loc, 'changing_room'
  71. !! if membership not active:
  72. if balletqw['membership'] = 0 or balletqw['membership'] < daystart:
  73. act 'Discuss membership': gt $loc, 'enrol'
  74. elseif hour <= 15 and $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and pcs_stam >= stammax / 5 and pcs_energy >= 20:
  75. !! link to services:
  76. !! if membership active
  77. !! act 'Attend Physio': gt $loc, 'physio'
  78. !! act 'Attend a gymnastics class.': gt $loc, 'gymnastics_courses'
  79. !! act 'Attend a dance class': gt $loc, 'ballet_courses'
  80. act 'Attend a yoga class': gt $loc, 'yoga_courses'
  81. elseif hour >= 16:
  82. 'All the evening classes have started today, you need to be here before 16:00 to ensure you can attend.'
  83. end
  84. end
  85. if $ARGS[0]= 'enrol':
  86. $epayments['method'] = ''
  87. $epayments['item_variable'] = ''
  88. $epayments['description'] = 'gym facilities access'
  89. $epayments['loc'] = 'ballet_secrets'
  90. $epayments['loc_arg'] = 'reception'
  91. $epayments['banner']= 'locations/<<$default_img_path>>reception.jpg'
  92. gs 'core_library', 'stage_title'
  93. if balletqw['membership'] = 0:
  94. 'You approach the reception to discuss membership to the gym.'
  95. elseif balletqw['membership'] ! 0:
  96. 'You approach the reception to renew your membership.'
  97. end
  98. act 'Return to the studio entrance': gt $loc, 'reception'
  99. 'The gym offers a weekly or monthly subscription for of 1,500<b> ₽</b> or 5,000<b> ₽</b> respectively to use the facilities with some courses included. Physio appointments are charged seperately.'
  100. 'The subscriptions includes classes in gymnastics, yoga and introductory ballet. For advanced classes there is an additional instructor charge. A physical trainer is on hand to assist at all times if you so need one.'
  101. 'We also have a small café which attracts a members discount and your membership card can purchase items directly from the vending machine which will be billed to your account.'
  102. if money >= 5000 or karta + bankDebtLimit >= 5000:
  103. '<td> <a href="exec: epayments[''value''] = 5000 & balletqw[''membership''] = daystart + 30 & gs ''shortgs'',''payments'' ">Purchase a monthly subscription for 5,000<b> ₽</b></a></td>'
  104. end
  105. if money >= 1500 or karta + bankDebtLimit >= 1500:
  106. '<td> <a href="exec: epayments[''value''] = 1500 & balletqw[''membership''] = daystart + 7 & gs ''shortgs'',''payments'' ">Purchase a weekly subscription for 1,500<b> ₽</b></a></td>'
  107. end
  108. end
  109. if $ARGS[0] = 'changing_room':
  110. menu_off = 0
  111. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  112. $location_type = 'private'
  113. $locclass = 'changingroom'
  114. gs 'themes', 'indoors'
  115. '<center><h2>Changing Room</h2></center>'
  116. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/locker.jpg"></center>'
  117. act 'Return to the studio reception': gt $loc, 'reception'
  118. if mc_inventory['shampoo'] > 0:
  119. act 'Take a shower (0:15)':
  120. cla
  121. *clr
  122. menu_off = 1
  123. minut += 15
  124. pcs_horny += 1
  125. pcs_hairbsh = 0
  126. pcs_makeup = 1
  127. if pcs_inhib < 15:inhib_exp += rand(1,2)
  128. dynamic $showerdin
  129. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  130. 'You go into the bathroom and turn on the shower. You lather your body and wash in the shower.'
  131. if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the shower.'
  132. act 'Get out of the shower':gt $loc, 'changing_room'
  133. end
  134. else
  135. '<font color="red">You''ve run out of shampoo and will have to buy some more before you can wash yourself.</font>'
  136. end
  137. act 'Use mirror':
  138. cla
  139. gt 'mirror', 'start'
  140. end
  141. act 'Change outfit':
  142. cla
  143. gt 'wardrobe', 'start'
  144. end
  145. gs 'wardrobe', 'default_sport_options'
  146. if mc_inventory['deodorant'] > 0 and deodorant_on = 0:
  147. 'Your deodorant will last you for <b><<mc_inventory[''deodorant'']>></b> more '+iif(mc_inventory['deodorant'] = 1, 'application.', 'applications.')
  148. act 'Apply deodorant (0:01)':
  149. *clr & cla
  150. menu_off = 1
  151. minut += 1
  152. mc_inventory['deodorant'] -= 1
  153. gs 'sweat', 'deo'
  154. iif(func('body_din','pregnancyVisibility') = 1, '<center><img <<$set_imgh>> src="images/shared/home/bathroom/deodorant_preg.jpg"></center>', '<center><img <<$set_imgh>> src="images/shared/home/bathroom/deodorant.jpg"></center>')
  155. 'You apply deodorant to your armpits. It will keep you feeling fresh and clean for longer.'
  156. act 'Continue': menu_off = 0 & gt $loc, $loc_arg
  157. end
  158. end
  159. dynamic $tampon
  160. end
  161. !! Physiotherapy
  162. if $ARGS[0] = 'physio':
  163. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  164. $location_type = 'public_indoors'
  165. $setloc['StageTitle'] = 'Ballet Secrets - Physio'
  166. $setloc['StageImage'] = '<<$default_img_path>>physio'
  167. $location_type = 'public_indoors'
  168. gs 'themes', 'indoors'
  169. gs 'core_library', 'stage_title'
  170. !! write attendance spiel
  171. act 'Leave': gt 'pushkin_sq'
  172. end
  173. !! Gymnastics
  174. if $ARGS[0] = 'gymnastics_courses':
  175. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  176. $location_type = 'public_indoors'
  177. $setloc['StageTitle'] = 'Ballet Secrets - Gymnastics Class'
  178. $setloc['StageImage'] = '<<$default_img_path>>gymnastics'
  179. $location_type = 'public_indoors'
  180. gs 'themes', 'indoors'
  181. gs 'core_library', 'stage_title'
  182. !! write attendance spiel and some random reactions for post-exercise such that was a great workout, you didn''t feel you did well today
  183. act 'Leave': gt 'pushkin_sq'
  184. end
  185. !! Ballet Courses Easy, Intermediate and advanced
  186. if $ARGS[0] = 'ballet_courses':
  187. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  188. $location_type = 'public_indoors'
  189. $setloc['StageTitle'] = 'Ballet Secrets - Courses'
  190. $setloc['StageImage'] = '<<$default_img_path>>ballet_class'
  191. $location_type = 'public_indoors'
  192. gs 'themes', 'indoors'
  193. gs 'core_library', 'stage_title'
  194. end
  195. !! Gymnastics
  196. if $ARGS[0] = 'yoga_courses':
  197. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  198. $location_type = 'public_indoors'
  199. $setloc['StageTitle'] = 'Ballet Secrets - Yoga Class'
  200. $setloc['StageImage'] = '<<$default_img_path>>yoga_class'
  201. $location_type = 'public_indoors'
  202. gs 'themes', 'indoors'
  203. gs 'core_library', 'stage_title'
  204. if balletqw['yoga_session'] ! daystart:
  205. act 'Attend Yoga Class':
  206. cla
  207. balletqw['yoga_session'] = daystart
  208. lesson_tier = rand(1,3)
  209. if lesson_tier = 1:
  210. gs 'exercise', 'tier1', 60, 'sprt', 'agil'
  211. 'You spend sixty minutes in an easy going class today, leaving you feeling refreshed and ready to face the world again.'
  212. elseif lesson_tier = 2:
  213. 'You spend sixty minutes with your instructor today correcting your poses and providing advice on how you can improve, leaving you feeling tired and some muscle aches from the exercises.'
  214. gs 'exercise', 'tier2', 60, 'sprt', 'agil'
  215. else
  216. gs 'exercise', 'tier3', 60, 'sprt', 'agil', 'stren'
  217. 'Today''s sixty minutes was challenging with the instructor taking the class through some of the more demanding positions. Leaving many of your yoga buddies look more than a little bit ragged after todays session.'
  218. end
  219. pcs_willpwr += rand(1,lesson_tier)
  220. !! Set minor pain to reflect exercising
  221. gs 'pain', 2, 'legL', 'stretch'
  222. gs 'pain', 2, 'legR', 'stretch'
  223. gs 'pain', 2, 'shoulders', 'stretch'
  224. gs 'pain', 2, 'armL', 'stretch'
  225. gs 'pain', 2, 'armR', 'stretch'
  226. gs 'pain', 2, 'back', 'stretch'
  227. gs 'pain', 2, 'chest', 'stretch'
  228. killvar 'lesson_tier'
  229. act 'Return to the studio reception': gt $loc, 'reception'
  230. end
  231. else
  232. 'There is another fitness class in progress and no more yoga sessions today.'
  233. end
  234. act 'Return to the studio reception': gt $loc, 'reception'
  235. end
  236. !! Shopping
  237. if $ARGS[0] = 'clothing':
  238. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  239. $location_type = 'public_indoors'
  240. $setloc['StageTitle'] = 'Ballet Secrets - Dancewear'
  241. $setloc['StageImage'] = '<<$default_img_path>>sports_shop'
  242. $location_type = 'public_indoors'
  243. gs 'themes', 'indoors'
  244. gs 'core_library', 'stage_title'
  245. act 'Leave': gt 'pushkin_sq'
  246. end
  247. !! Custom Tutus for quests/shows, ballet shoe fitting, clothing, physio items, portable ballet equipment (barre) etc.
  248. if $ARGS[0] = 'quest':
  249. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  250. $location_type = 'public_indoors'
  251. $setloc['StageTitle'] = 'Ballet Secrets'
  252. $setloc['StageImage'] = '<<$default_img_path>>quest'
  253. $location_type = 'public_indoors'
  254. gs 'themes', 'indoors'
  255. gs 'core_library', 'stage_title'
  256. act 'Leave': gt 'pushkin_sq'
  257. end
  258. if $ARGS[0] = 'food':
  259. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  260. $location_type = 'public_indoors'
  261. $setloc['StageTitle'] = 'Food Court'
  262. $setloc['StageImage'] = '<<$default_img_path>>food_court'
  263. $location_type = 'public_indoors'
  264. gs 'themes', 'indoors'
  265. gs 'core_library', 'stage_title'
  266. 'There is a small area set aside for vending machines to provide drinks and food. '
  267. act 'Leave': gt 'pushkin_sq'
  268. end
  269. --- ballet_secrets ---------------------------------