ballet_secrets.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. minut += 5
  19. gs 'stat'
  20. if week < 7 and hour >= 9 and hour <= 17:
  21. '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.'
  22. if balletqw['ballet_secrets'] = 1:
  23. act 'Approach the woman': gt 'ballet_secrets', 'first_visit'
  24. else
  25. act 'Enter studio area': gt 'ballet_secrets', 'reception'
  26. !! act 'Talk to assistant':
  27. !! act'Look at equipment'
  28. !! act 'look at dance wear'
  29. act 'Leave shop': gt 'pushkin_sq'
  30. end
  31. else
  32. '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.'
  33. act 'Return to Okhlopkov Square' : gt 'pushkin_sq'
  34. if balletqw['membership'] >= daystart:
  35. act 'Swipe membership card': gt 'ballet_secrets', 'reception'
  36. end
  37. end
  38. end
  39. !! Intro
  40. if $ARGS[0] = 'first_visit':
  41. balletqw['ballet_secrets_visit'] = 1
  42. balletqw['shoe_order'] = daystart + 14
  43. $setloc['StageImage'] = '<<$default_img_path>>ballet_secrets_fitting_1'
  44. minut += 60
  45. gs 'core_library', 'stage_title'
  46. gs 'stat'
  47. 'You are greeted by a middle aged woman. "Hello, how may I help you?" She askes politely.'
  48. '"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.'
  49. '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"'
  50. '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.'
  51. '"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."'
  52. !! Set up gate for sponsored or not, not implemented system needs to be added to the end of year assessment.
  53. '"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"'
  54. '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.'
  55. '"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.'
  56. '"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>>."'
  57. act 'Leave': gt 'pushkin_sq'
  58. act 'Return to shop': gt 'ballet_secrets', 'init'
  59. end
  60. !! Services
  61. !! Sports Area - Req Membership card
  62. if $ARGS[0] = 'reception':
  63. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  64. $location_type = 'public_indoors'
  65. $setloc['StageTitle'] = 'Ballet Secrets - Reception'
  66. $setloc['StageImage'] = '<<$default_img_path>>reception'
  67. $location_type = 'public_indoors'
  68. gs 'themes', 'indoors'
  69. gs 'core_library', 'stage_title'
  70. minut += 5
  71. gs 'stat'
  72. '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.'
  73. 'There is a <a href="exec: gt ''food'', ''watercooler''">drinking fountain</a> near the doors to the gym hall to refill your water bottle.'
  74. act 'Return to shop': gt 'ballet_secrets', 'init'
  75. act 'Changing rooms': gt 'ballet_secrets', 'changing_room'
  76. !! if membership not active:
  77. if balletqw['membership'] = 0 or balletqw['membership'] < daystart:
  78. act 'Discuss membership': gt 'ballet_secrets', 'enrol'
  79. elseif hour <= 15 and $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and pcs_stam >= stammax / 5 and pcs_energy >= 20:
  80. !! link to services:
  81. !! if membership active
  82. !! act 'Attend Physio': gt 'ballet_secrets', 'physio'
  83. !! act 'Attend a gymnastics class.': gt 'ballet_secrets', 'gymnastics_courses'
  84. !! act 'Attend a dance class': gt 'ballet_secrets', 'ballet_courses'
  85. act 'Attend a yoga class': gt 'ballet_secrets', 'yoga_courses'
  86. elseif hour >= 16:
  87. 'All the evening classes have started today, you need to be here before 16:00 to ensure you can attend.'
  88. end
  89. end
  90. if $ARGS[0]= 'enrol':
  91. $epayments['method'] = ''
  92. $epayments['item_variable'] = ''
  93. $epayments['description'] = 'gym facilities access'
  94. $epayments['loc'] = 'ballet_secrets'
  95. $epayments['loc_arg'] = 'reception'
  96. $epayments['banner']= 'locations/<<$default_img_path>>reception.jpg'
  97. gs 'core_library', 'stage_title'
  98. minut += 30
  99. gs 'stat'
  100. if balletqw['membership'] = 0:
  101. 'You approach the reception to discuss membership to the gym.'
  102. elseif balletqw['membership'] ! 0:
  103. 'You approach the reception to renew your membership.'
  104. end
  105. act 'Return to the studio entrance': gt 'ballet_secrets', 'reception'
  106. '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.'
  107. '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.'
  108. '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.'
  109. if money >= 5000 or karta + bankDebtLimit >= 5000:
  110. '<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>'
  111. end
  112. if money >= 1500 or karta + bankDebtLimit >= 1500:
  113. '<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>'
  114. end
  115. end
  116. if $ARGS[0] = 'changing_room':
  117. menu_off = 0
  118. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  119. $location_type = 'private'
  120. $locclass = 'changingroom'
  121. gs 'themes', 'indoors'
  122. minut += 5
  123. gs 'stat'
  124. '<center><h2>Changing Room</h2></center>'
  125. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/locker.jpg"></center>'
  126. act 'Return to the studio reception': gt 'ballet_secrets', 'reception'
  127. if mc_inventory['shampoo'] > 0:
  128. act 'Take a shower (0:15)':
  129. cla
  130. *clr
  131. menu_off = 1
  132. minut += 15
  133. pcs_horny += 1
  134. pcs_hairbsh = 0
  135. pcs_makeup = 1
  136. if pcs_inhib < 15:inhib_exp += rand(1,2)
  137. dynamic $showerdin
  138. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  139. 'You go into the bathroom and turn on the shower. You lather your body and wash in the shower.'
  140. if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the shower.'
  141. act 'Get out of the shower':gt 'ballet_secrets', 'changing_room'
  142. end
  143. else
  144. '<font color="red">You''ve run out of shampoo and will have to buy some more before you can wash yourself.</font>'
  145. end
  146. act 'Use mirror':
  147. cla
  148. gt 'mirror', 'start'
  149. end
  150. act 'Change outfit':
  151. cla
  152. gt 'wardrobe', 'start'
  153. end
  154. gs 'wardrobe', 'default_sport_options'
  155. if mc_inventory['deodorant'] > 0 and deodorant_on = 0:
  156. 'Your deodorant will last you for <b><<mc_inventory[''deodorant'']>></b> more '+iif(mc_inventory['deodorant'] = 1, 'application.', 'applications.')
  157. act 'Apply deodorant (0:01)':
  158. *clr & cla
  159. menu_off = 1
  160. minut += 1
  161. mc_inventory['deodorant'] -= 1
  162. gs 'sweat', 'deo'
  163. 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>')
  164. 'You apply deodorant to your armpits. It will keep you feeling fresh and clean for longer.'
  165. act 'Continue': menu_off = 0 & gt 'ballet_secrets', 'changing_room'
  166. end
  167. end
  168. dynamic $tampon
  169. end
  170. !! Physiotherapy
  171. if $ARGS[0] = 'physio':
  172. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  173. $location_type = 'public_indoors'
  174. $setloc['StageTitle'] = 'Ballet Secrets - Physio'
  175. $setloc['StageImage'] = '<<$default_img_path>>physio'
  176. $location_type = 'public_indoors'
  177. gs 'themes', 'indoors'
  178. gs 'core_library', 'stage_title'
  179. !! write attendance spiel
  180. act 'Leave': gt 'pushkin_sq'
  181. end
  182. !! Gymnastics
  183. if $ARGS[0] = 'gymnastics_courses':
  184. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  185. $location_type = 'public_indoors'
  186. $setloc['StageTitle'] = 'Ballet Secrets - Gymnastics Class'
  187. $setloc['StageImage'] = '<<$default_img_path>>gymnastics'
  188. $location_type = 'public_indoors'
  189. gs 'themes', 'indoors'
  190. gs 'core_library', 'stage_title'
  191. !! write attendance spiel and some random reactions for post-exercise such that was a great workout, you didn''t feel you did well today
  192. act 'Leave': gt 'pushkin_sq'
  193. end
  194. !! Ballet Courses Easy, Intermediate and advanced
  195. if $ARGS[0] = 'ballet_courses':
  196. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  197. $location_type = 'public_indoors'
  198. $setloc['StageTitle'] = 'Ballet Secrets - Courses'
  199. $setloc['StageImage'] = '<<$default_img_path>>ballet_class'
  200. $location_type = 'public_indoors'
  201. gs 'themes', 'indoors'
  202. gs 'core_library', 'stage_title'
  203. end
  204. !! Gymnastics
  205. if $ARGS[0] = 'yoga_courses':
  206. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  207. $location_type = 'public_indoors'
  208. $setloc['StageTitle'] = 'Ballet Secrets - Yoga Class'
  209. $setloc['StageImage'] = '<<$default_img_path>>yoga_class'
  210. $location_type = 'public_indoors'
  211. gs 'themes', 'indoors'
  212. gs 'core_library', 'stage_title'
  213. minut += 5
  214. gs 'stat'
  215. if balletqw['yoga_session'] ! daystart:
  216. act 'Attend Yoga Class':
  217. cla
  218. balletqw['yoga_session'] = daystart
  219. lesson_tier = rand(1,3)
  220. if lesson_tier = 1:
  221. gs 'exercise', 'tier1', 60, 'sprt', 'agil'
  222. 'You spend sixty minutes in an easy going class today, leaving you feeling refreshed and ready to face the world again.'
  223. elseif lesson_tier = 2:
  224. '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.'
  225. gs 'exercise', 'tier2', 60, 'sprt', 'agil'
  226. else
  227. gs 'exercise', 'tier3', 60, 'sprt', 'agil', 'stren'
  228. '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.'
  229. end
  230. pcs_willpwr += rand(1,lesson_tier)
  231. !! Set minor pain to reflect exercising
  232. gs 'pain', 2, 'legL', 'stretch'
  233. gs 'pain', 2, 'legR', 'stretch'
  234. gs 'pain', 2, 'shoulders', 'stretch'
  235. gs 'pain', 2, 'armL', 'stretch'
  236. gs 'pain', 2, 'armR', 'stretch'
  237. gs 'pain', 2, 'back', 'stretch'
  238. gs 'pain', 2, 'chest', 'stretch'
  239. killvar 'lesson_tier'
  240. act 'Return to the studio reception': gt 'ballet_secrets', 'reception'
  241. end
  242. else
  243. 'There is another fitness class in progress and no more yoga sessions today.'
  244. end
  245. act 'Return to the studio reception': gt 'ballet_secrets', 'reception'
  246. end
  247. !! Shopping
  248. if $ARGS[0] = 'clothing':
  249. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  250. $location_type = 'public_indoors'
  251. $setloc['StageTitle'] = 'Ballet Secrets - Dancewear'
  252. $setloc['StageImage'] = '<<$default_img_path>>sports_shop'
  253. $location_type = 'public_indoors'
  254. gs 'themes', 'indoors'
  255. gs 'core_library', 'stage_title'
  256. act 'Leave': gt 'pushkin_sq'
  257. end
  258. !! Custom Tutus for quests/shows, ballet shoe fitting, clothing, physio items, portable ballet equipment (barre) etc.
  259. if $ARGS[0] = 'quest':
  260. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  261. $location_type = 'public_indoors'
  262. $setloc['StageTitle'] = 'Ballet Secrets'
  263. $setloc['StageImage'] = '<<$default_img_path>>quest'
  264. $location_type = 'public_indoors'
  265. gs 'themes', 'indoors'
  266. gs 'core_library', 'stage_title'
  267. act 'Leave': gt 'pushkin_sq'
  268. end
  269. if $ARGS[0] = 'food':
  270. gs 'shortgs', 'setloc', 'ballet_secrets', $ARGS[0]
  271. $location_type = 'public_indoors'
  272. $setloc['StageTitle'] = 'Food Court'
  273. $setloc['StageImage'] = '<<$default_img_path>>food_court'
  274. $location_type = 'public_indoors'
  275. gs 'themes', 'indoors'
  276. gs 'core_library', 'stage_title'
  277. 'There is a small area set aside for vending machines to provide drinks and food. '
  278. act 'Leave': gt 'pushkin_sq'
  279. end
  280. --- ballet_secrets ---------------------------------