ballet_secrets.qsrc 13 KB

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