dk.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. # dk
  2. ! Refactored 24 Aug 22
  3. ! Amended by Hooded Silence
  4. ! Author Validation:
  5. ! Industrial Community center - used for gaining life skills
  6. ! Events - Driving Lessons, Singing classes, Secretarial Training & Masseuse.
  7. ! V .01 - Refactored to break down into event sections and expand on content, and to create hot links for city_industrial navigation.
  8. ! v .02 - Added variable index documentation and minor text tweaks.
  9. !
  10. ! - Introduction to Alexei as singing teacher and music agent
  11. !
  12. ! - Quest/Logic variables-
  13. !
  14. ! --- Game Variables ---
  15. ! daystart = daily game clock counter, used to track interactions and calendar functions.
  16. ! week - week day
  17. ! minut = track game clock time
  18. ! money = used to pay for lessons
  19. ! karta = used to pay for lessons
  20. ! $loc, $loc_arg = navigation to various locations/acts.
  21. ! age - character age
  22. ! linked location(s): city_industrial.
  23. !
  24. ! --- Driving ---
  25. ! skulday = Course lock to prevent repeat same day visits.
  26. ! prava = driving licence
  27. ! avtoskul = Driving lessons tracker.
  28. !
  29. ! --- Secretary ---
  30. ! masseuse_lesson = Course lock to prevent repeat same day visits.
  31. ! secrDiplom = Secretarial diploma, used for the following locations (s): burger, office
  32. ! sekrObu = Secretarial lessons tracker.
  33. !
  34. ! --- Masseuse ---
  35. ! masseuse_lesson = Course lock to prevent repeat same day visits.
  36. ! masseuse[''certification''] = tracker for the masseuse course. Used for the following location(s): salon
  37. ! Notes - There is no diploma for this course. Possible future change if the masseuse role is extended.
  38. !
  39. ! --- Singing---
  40. ! vokalday = Course lock to prevent repeat same day visits.
  41. ! alexeyQW = Alexei quest - Work in progress for character developments.
  42. ! vokal_exp = increase singing trait experience global stat.
  43. !
  44. ! --- End ---
  45. if $ARGS[0] = 'start':
  46. $loc = 'dk'
  47. $loc_arg = 'start'
  48. $menu_loc = 'dk'
  49. $menu_arg = 'start'
  50. $location_type = 'public_indoors'
  51. menu_off = 0
  52. gs 'stat'
  53. gs 'dk', 'lessons'
  54. act 'Leave the center': minut += 5 & gt 'city_industrial'
  55. end
  56. if $ARGS[0] = 'lessons':
  57. '<center><b>The Vladimir Lenin community center</b></center>'
  58. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/dk1.jpg"></center>'
  59. *nl
  60. 'Vladimir Lenin is open from 9am through to 5pm on weekdays, and closed on weekends.
  61. It''s available to teach essential life skills such as driving, life coaching or finding new job skills this is the place to learn. '
  62. *nl
  63. '<B><center>Currently available courses:</center></B>'
  64. '<center>'
  65. '<table border=0 align="center">'
  66. '<TR>'
  67. if prava = 0 and avtoskul = 0:
  68. '<TR><TD>Driving lessons - 30,000 <b>₽</b>.</TD><TD>10 classes</TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Book a driving course.</a></TD></TR>'
  69. elseif avtoskul < 11 and prava = 0 and skulday ! daystart:
  70. '<TR><TD>Driving lessons -</TD><TD></TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Attend your driving lesson.</a></TD></TR>'
  71. elseif avtoskul < 12 and prava = 0 and skulday ! daystart:
  72. '<TR><TD>Driving lessons -</TD><TD></TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Attend driving theory lesson.</a></TD></TR>'
  73. elseif avtoskul <= 12 and prava = 0 and skulday ! daystart:
  74. '<TR><TD>Driving lessons -</TD><TD></TD><TD><a href="exec:gt ''dk'', ''drivingschool''">Attend your driving test.</a></TD></TR>'
  75. elseif prava = 0 and skulday = daystart:
  76. '<TR><TD>Driving lessons - You have already attended your driving lesson for today.</TD></TR>'
  77. end
  78. '<TR><TD>Secretarial diploma - 15,000 <b>₽</b>.</TD><TD>10 classes</TD><TD><a href="exec:gt ''dk'', ''secretarialschool''">Classes in room 204.</a></TD></TR>'
  79. '<TR><TD>Massage lessons - 10,000 <b>₽</b>.</TD><TD>10 classes</TD><TD><a href="exec:gt ''dk'', ''masseuse''">Classes in room 203. </a></TD></TR>'
  80. '<TR><TD>Singing lessons - 500 <b>₽</b>.</TD><TD>Per class</TD><TD><a href="exec:gt ''dk'', ''singingtutor''">Classes in room 213. </TD></a></TR>'
  81. !!'<TR><TD>Personal development - 1,000 <b>₽</b>.</TD><TD>Per class</TD><TD>Classes in room 201 (Learn to assert yourself)</TD></TR>'
  82. !!'Medium for new opportunities - only here only freebie.'
  83. '</TR>'
  84. '</table>'
  85. '</center>'
  86. '<center><B>Lessons Completed:</B>'
  87. *nl
  88. if masseuse['certification'] = -1:
  89. 'You''ve enrolled into the masseuse class but still have to attend your first lesson.'
  90. end
  91. if masseuse['certification'] > 0 and masseuse['certification'] < 10:
  92. 'You have completed <<masseuse[''certification'']>> out of 10 massage therapist lessons.'
  93. end
  94. if secrDiplom = 0 and sekrObu > 1 and sekrObu <11:
  95. sekrObuA = sekrObu - 1 & 'Secretarial training - <<sekrObuA>> of 10 sessions completed.'
  96. elseif secrDiplom = 0 and sekrObu = 1:
  97. 'You need to attend your first Secretarial Class'
  98. elseif secrDiplom = 0 and sekrObu > 10:
  99. 'You''ve completed the course, it''s time to collect your diploma.'
  100. end
  101. if prava = 0 and avtoskul = 1:
  102. 'You''ve registered with the driving school and still have to take your first lesson.'
  103. elseif prava = 0 and avtoskul > 1 and avtoskul < 11:
  104. 'You have taken <<avtoskul-1>> driving lesson(s).'
  105. elseif prava = 0 and avtoskul = 11:
  106. 'Time to take your driving theory exam.'
  107. elseif prava = 0 and avtoskul = 12:
  108. 'Time to take your driving exam.'
  109. end
  110. '</center>'
  111. end
  112. !! Payment processor pass three variables: Lesson Type, Payment Type and amount.
  113. if $ARGS[0] = 'payments':
  114. if $ARGS[2] = 'money': money -= ARGS[3]
  115. if $ARGS[2] = 'karta': karta -= ARGS[3]
  116. '<center>You pay for your <<$ARGS[1]>> course and are now booked in for your first lesson. Please refer to the noticeboard for class times and rooms.</center>'
  117. gs 'stat'
  118. act 'Return': gt $loc, $loc_arg
  119. end
  120. if $ARGS[0] = 'drivingschool':
  121. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/dk2.jpg"></center>'
  122. *nl
  123. 'You enter the community center with excitement with your thoughts full about getting your driving licence and the freedom to achieve your dreams.'
  124. *nl
  125. if skulday = daystart:
  126. 'You''ve taken your driving lesson for today.'
  127. end
  128. if avtoskul = 0 and money >= 30000 and prava = 0 and (age >= 18 or fakepassport = 1):
  129. act 'Book a driving training course (30,000 <b>₽</b>)':
  130. cla
  131. menu_off = 1
  132. if money > 30000: act 'pay with for lessons with cash': gt 'dk', 'payments', 'driving lessons ', 'money', 30000
  133. if karta > 30000: act ' pay with your card': gt 'dk', 'payments', 'driving lessons', 'karta', 30000
  134. avtoskul = 1
  135. 'You briefly look around for information about driving lessons, and approach the receptionist who gives you the necessary papers to fill in and she warns you that they will be checked by the agency to prevent fraud. You pay her the money and she gives you a small information pack about the driving lessons and you quickly skim through them to see you can now take a 2-hour driving lessons on each workday.'
  136. act 'Return': gt $loc, $loc_arg
  137. end
  138. end
  139. if hour >= 9 and hour <= 17 and week < 6:
  140. if avtoskul >= 1 and avtoskul < 11 and skulday ! daystart and (age >= 18 or fakepassport = 1):
  141. act 'Driving lesson':
  142. *clr & cla
  143. skulday = daystart
  144. avtoskul += 1
  145. minut += 120
  146. gs 'stat'
  147. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/dk2.jpg"></center>'
  148. 'You spend two hours following your driving instructor''s orders and listening to suggestions on how to handle a car.'
  149. 'By the end of the lesson, you feel like you are a little more competent at driving.'
  150. act 'Return': gt $loc, $loc_arg
  151. end
  152. end
  153. if avtoskul = 11 and skulday ! daystart and (age >= 18 or fakepassport = 1):
  154. act 'Driving theory':
  155. *clr & cla
  156. menu_off = 1
  157. skulday = daystart
  158. avtoskul = 12
  159. minut += 120
  160. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/dk2.jpg"></center>'
  161. 'You dedicate two hours to a boring but necessary lecture on traffic signs, regulations, scenarios and some information on how to keep a car in working order.'
  162. act 'Return': gt $loc, $loc_arg
  163. !!if nikpravaQW = 1:end
  164. end
  165. elseif avtoskul = 12 and skulday ! daystart and (age >= 18 or fakepassport = 1):
  166. act 'Driving test':
  167. *clr & cla
  168. menu_off = 1
  169. minut += 120
  170. avtoskul = 0
  171. prava = 1
  172. minut += 120
  173. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/dk3.jpg"></center>'
  174. 'You feel nervous as you enter this car for, hopefully, the last time. The traffic officer is a man who can look jovial at one moment and stern the next.'
  175. 'For 2 hours, you follow his directions around the city, park the car where he tells you to and feel your heart stop at every tiny mistake you make, wondering if you messed it up. But he lets you continue without comment and at the end, he seems satisfied and claims that you will get better with experience.'
  176. '"So, congratulations, you''ve passed! Here is your license", he smiles and hands you your brand new driver''s license. Now, all you need is a car...'
  177. act 'Return': gt $loc, $loc_arg
  178. end
  179. end
  180. end
  181. !! corrupt instructor idea, chance of instructor deliberately failing the test based on player stats, or is a bimbo and is open to bribes.
  182. act 'Return': gt $loc, $loc_arg
  183. end
  184. if $ARGS[0] = 'secretarialschool':
  185. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/kurs.jpg"></center>'
  186. '<center><b>Secretarial Training</b></center>'
  187. 'The center offers a wide range of business related skills including computer training, secretarial work, PA, management and accounting'
  188. if secrDiplom = 0 and sekrObu = 0 and money >= 15000:
  189. act 'Book a secretarial course (15,000 <b>₽</b>)':
  190. cla
  191. menu_off = 1
  192. sekrObu = 1
  193. 'You pay the money for the course, once you''ve filled in the blanks on an application paper, and can now attend secretary training each day for 2 hours. You need to attend 10 training lessons to earn a diploma.'
  194. if money > 15000: act 'Pay with for lessons with cash': gt 'dk', 'payments', 'secretarial class', 'money', 15000
  195. if karta > 15000: act ' Pay with your card': gt 'dk', 'payments', 'secretarial class', 'karta', 15000
  196. act 'Return': gt $loc, $loc_arg
  197. end
  198. elseif secrday = daystart:
  199. 'You''ve had your lesson for today, come back another day.'
  200. act 'Return': gt $loc, $loc_arg
  201. elseif secrDiplom = 0 and sekrObu = 0 and money < 15000:
  202. 'You could take lessons here if you had sufficient funds with you. '
  203. act 'Return': gt $loc, $loc_arg
  204. end
  205. if sekrObu > 0 and sekrObu < 11 and secrday ! daystart:
  206. act 'Secretarial class':
  207. *clr & cla
  208. menu_off = 1
  209. secrday = daystart
  210. sekrObu += 1
  211. minut += 120
  212. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/kurs.jpg"></center>'
  213. 'You go into a classroom with many computers. Unsurprisingly, most students in this course are women. The teacher - a woman in a sharp office dress - enters the class and starts lecturing you on the intricacies of secretarial work and the basics of computer programs used in offices today.'
  214. if (cumloc[6] = 1 or cumloc[7] = 1):pcs_horny += 10 & 'You nervously shift around on your chair, trying to hide the semen stains on your clothes, but anything you do to remove or cover them only seems to make them more obvious. By the end of the class, you''ve earned pitying or disgusted looks from just about everybody in the room, including the teacher.'
  215. act 'Return': gt $loc, $loc_arg
  216. end
  217. elseif sekrObu >= 11 and secrday ! daystart:
  218. act 'Secretarial diploma':
  219. *clr & cla
  220. menu_off = 1
  221. secrday = daystart
  222. sekrObu = 0
  223. minut += 15
  224. secrDiplom = 1
  225. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/kurs.jpg"></center>'
  226. 'You go into a classroom with many computers. Unsurprisingly, most students in this course are women. The teacher - a woman in a sharp office dress - enters the class and starts lecturing you on the intricacies of secretarial work and the basics of computer programs used in offices today.'
  227. 'At the end of it, as the teacher goes through her attendance list as usual, she looks at you and gives you an approving, professional look.'
  228. '"Congratulations, <<$pcs_nickname>>. It seems that you have earned your diploma."'
  229. 'She pulls a document out of her briefcase, fills in your name, signs it and sends you to reception with it.'
  230. 'With the receptionists'' signature and the community center''s seal, you are now officially qualified for secretary work!'
  231. act 'Return': gt $loc, $loc_arg
  232. end
  233. end
  234. act 'Return': gt $loc, $loc_arg
  235. end
  236. if $ARGS[0] = 'masseuse':
  237. '<center><img <<$set_imgh>> src="images/locations/city/industrial/community/masseuse_training.jpg"></center>'
  238. *nl
  239. if masseuse['certification'] = 0:
  240. 'You enter a room and are greeted with by a young lady, she looks are you with a welcoming smile and asks "Are you here for the lessons?" You reply and she quickly gives you the course details of the course and a pamphlet to read.'
  241. *nl
  242. 'The basic course is 10 lessons, and the class costs 10,000 <b>₽</b>'
  243. if money > 10000: act 'Pay with for lessons with cash': gt 'dk', 'payments', 'masseuse class', 'money', 10000
  244. if karta > 10000: act 'Pay with your card': gt 'dk', 'payments', 'masseuse class', 'karta', 10000
  245. masseuse['certification'] = -1
  246. else
  247. if masseuse_lesson = daystart:
  248. 'You look around the empty room and realised you''ve had your lesson today and the class instructor has left.'
  249. else
  250. if masseuse['certification'] ! 0 and masseuse['certification'] < 10 and masseuse_lesson ! daystart:
  251. masseuse_lesson = daystart
  252. if masseuse['certification'] = -1:
  253. masseuse['certification'] = 1
  254. else
  255. masseuse['certification'] += 1
  256. end
  257. minut += 120
  258. gs 'stat'
  259. 'You enter the room and see the tables laid out for your lesson. The instructor welcomes you and takes down your name. You notice some people coming in for a free massage from your course.'
  260. 'The next two hours are dedicated to reading detailed guides to how to relieve pain or tension in certain muscles and to putting these guides into practice with partners attending the course and some local students looking for a freebie.'
  261. *nl
  262. if masseuse['certification'] >10:
  263. 'Congratulations that was your final lesson! You''ve completed the basic course, you are issued a certificate that shows you are a certified masseuse.This is your first step in providing a wonderful service to your clients.'
  264. end
  265. end
  266. end
  267. end
  268. *nl
  269. if masseuse['certification'] >= 10 and masseuse_lesson ! daystart:
  270. 'Sorry we don''t have any new classes to offer yet. You could speak to Xian at the Galleria''s Beauty Bar if you''re looking for work as she usually has openings for new staff.'
  271. end
  272. act 'Return': gt $loc, $loc_arg
  273. !! Advanced Wellness or Massage expansion either through the city sauna or the beauty bar for poor performance or to get better money.
  274. end
  275. if $ARGS[0] = 'singingtutor':
  276. if money >= 500 and vokalday ! daystart:
  277. 'The center offers singing lessons with Alexei, an established local singer and musician who works with up and coming talent. Unlike the centers other classes he only ever accepts cash for his lessons.'
  278. act 'Singing lessons':
  279. clr
  280. '<center>'
  281. menu_off = 1
  282. minut += 60
  283. alexeyQW += 1
  284. gs 'exp_gain', 'vokal', rand(5,10)
  285. vokalday = daystart
  286. gs 'stat'
  287. if alexeyQW = 1:
  288. money -= 500
  289. act 'First lesson':
  290. *clr & cla
  291. 'When you enter the office, you see a middle aged man with long hair that''s been pulled back in a ponytail. He gives you a confident look and says, with a particularly well-modulated voice: "Are you here to learn how to sing, Miss?" You nod and hand him 500 <b>₽</b>.'
  292. 'He pockets it and introduces himself: "I''m Alexei. What is your name?" You respond that your name is <<$pcs_nickname>>. Acknowledging your answer with little more than a nod, the man immediately moves on to the lesson. Before you even notice, an hour has passed. You head out and the man politely wishes you goodbye.'
  293. act 'Return': gt $loc, $loc_arg
  294. end
  295. elseif alexeyQW = 2:
  296. act 'Second lesson':
  297. *clr & cla
  298. money -= 500
  299. 'You enter the small classroom eager to your lesson, Alexei is sitting at a piano and indicates you should sit on a chair to it. He asks you practice the scales as he plays each note on the piano. You quickly gain confidence and he touches your knee whenever you do well. '
  300. 'After an hour you feel drained but feel that you have learned more about singing. You have a good voice Alexei says, but you still need to practice breathing and control, touching your breasts and throat as he says each word.'
  301. gs 'arousal', 'foreplay', 15
  302. act 'Return': gt $loc, $loc_arg
  303. end
  304. elseif alexeyQW > 2:
  305. act 'Continue lessons':
  306. *clr & cla
  307. money -= 500
  308. 'You enter the small classroom eager to start your next lesson, Alexei is sitting at his normal place by the piano and waves hand to your chair. He asks you practice the warm up scales as he plays the notes on the piano. You are fairly accomplished now and quickly finish the warm up.'
  309. 'Halfway through the lesson Alexei gives you another music sheet to sing from and starts playing the piano indicating you should start, after the lesson you feel exhausted from the class but keen to attend your next lesson.'
  310. act 'Return': gt $loc, $loc_arg
  311. end
  312. elseif money <= 500 and vokalday ! daystart:
  313. 'You see Alexei in the classroom, but you don''t have enough cash to take a lesson.'
  314. act 'Return': gt $loc, $loc_arg
  315. end
  316. end
  317. else
  318. 'The classroom is empty, you play on the piano for a few minutes before heading back to the hall. Maybe come back another time to see if there''s more classes.'
  319. act 'Return': gt $loc, $loc_arg
  320. end
  321. end
  322. --- dk ---------------------------------