journal_work.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # journal_work
  2. !! Created 12/9/22
  3. !! 12/9/22 Initial code
  4. !! Authored by Hooded Silence
  5. !! Game Character work section. This is the container file for all work roles in game. Used to track income, work days and other relevant data.
  6. !! V .01 Refactored code from Journal section into it''s own section to make legibility easier.
  7. !! V. 02 New job schedule system integrated
  8. !! V. 03 New Ad Hoc management interface integration - ongoing
  9. if $ARGS[0] = 'start':
  10. *clr & cla
  11. act 'Put your journal down': gt $menu_loc, $menu_arg
  12. act 'Return to top journal page': gt 'journal', 'records'
  13. $jumploc = 'worktab'
  14. gs 'journal', 'journalmenu'
  15. '<center><h2>Work</h2></center>'
  16. if emp_job[active] < 1:
  17. 'You need to find a job or get training to develop your career. Check the Quests or Information section.'
  18. else
  19. function_sw = 2
  20. gs 'emp_functions', 'gen_schedule'
  21. end
  22. !! Show any ad hoc events or contracts
  23. if arrsize('evt_event') ! 0: gs 'emp_functions', 'disp_evt', 2
  24. if workPTU > 2: 'You work as a teacher at the Lycée and your schedule is Monday to Saturday, teaching between 14:00 and 16:00. Your salary is 300 <b>₽</b> per day.'
  25. if work = 1 or cheatVars['work'] = 1:
  26. if workKafe['job'] > 0: 'You are working as a waitress at The Roadhouse cafe. Your working days are Tuesday, Wednesday and Thursday, and you should come to work between 11:00 and 12:00. Your wages are received on the 25th of each month, but you can earn tips from customers.'
  27. if workhosp > 0: 'You work as a nurse in the city residential area clinic. You need to come to work between 08:00-09:00 during the week. Salary is automatically transferred on the 25th of each month.'
  28. if worksalon > 0: 'You work as a masseuse at the Beauty Bar in the city. Your working days are: Monday, Wednesday and Friday, and you should come to work between 09:00 and 10:00. Salary is automatically transferred on the 25th of each month.'
  29. if workSec > 0: 'You work as a secretary at Titran Express, Monday to Friday. You need to come to work by 09:00. Salary is automatically transferred on the 25th of each month.'
  30. if tanwork > 0: 'You work as a governess for Tanya at Nicholas'' luxury city apartment. Salary is automatically transferred on the 25th of each month.'
  31. if young_shop_work = 1: 'You work in the city as a store clerk at the Pussy Cats clothing store. Work starts at 16:00 Monday to Friday. Your salary is paid once a week on Fridays.'
  32. if young_shop_work1 = 1: 'You work in the city as a store clerk at the Pussy Cats clothing store. Work starts at 09:00 Saturday and Sunday. Your salary is paid once a week on Fridays.'
  33. if young_shop_work2 = 1: 'You work in the city as a store clerk at the Pussy Cats clothing store. Work starts at 09:00 Monday through Friday. Your salary is paid once a week on Fridays.'
  34. if workFabrika = 1: 'You work as a seamstress in the factory in Pavlovsk. You work every week day and your salary is automatically transferred on the 25th of each month.'
  35. if gpoliuborka > 1: 'You work part-time as a cleaner in the Pavlovsk clinic. Your schedule is from 14:00 to 21:00.'
  36. !! if TourGuide = 1: 'You work as a tour guide in the Pavlovsk park. Work is any day during the summer holidays for 8 hours, starting between 08:00 and 12:00. Salary is 1,000 <b>₽</b>.'
  37. end
  38. if workrin = 1: 'You are working in Arthur''s tent at the market as a clothing saleswoman. You work on Tuesday, Thursday and Saturday with a start time of 08:00. Salary depends on sales.'
  39. if maidqw = 1:
  40. 'You work in the Pavlovsk hotel as a maid. Your work schedule is every day from 16:00 to 19:00 and your salary is 250 <b>₽</b> plus tips.'
  41. elseif GermanQW = 1:
  42. 'You can find out more about becoming a maid at the Pavlovsk hotel if you visit the manager between 12:00 and 14:00.'
  43. end
  44. if postjobQW = 2 or postjobQW = 4: 'You deliver mail for the postmaster. The work day starts each Saturday between 11:00 and 12:00. Salary is 450 <b>₽</b>.'
  45. if stripwork >= 1: 'You work as a stripper at the Fuzzy Dice strip club every Wednesday and Thursday from 18:00 to 03:00. No salary as you earn tips.'
  46. if stripwork1 >= 1: 'You work as a stripper at the Fuzzy Dice strip club every Friday and Saturday from 18:00 to 03:00. No salary as you earn tips.'
  47. !! if stripbarwork >= 1: 'You work as a bargirl at the Fuzzy Dice strip club every Wednesday and Thursday from 18:00 to 03:00. Salary is automatically transferred on the 25th of each month.'
  48. !! if stripbarwork1 >= 1: 'You work as a bargirl at the Fuzzy Dice strip club every Friday and Saturday from 18:00 to 03:00. Salary is automatically transferred on the 25th of each month.'
  49. if film > 0: 'You are working as a pornographic actress under the name <<$pfname>>.'
  50. if bumtolik = 4: 'You have been asked to help the homeless at the Mercy Clinic in the city industrial region.'
  51. if bumtolik >= 5: 'You volunteer at the Mercy Clinic in the city industrial region and work with the homeless. Working hours are from 09:00 to 17:00 on Saturday and Sunday.'
  52. *nl
  53. if audition['day'] = daystart:
  54. 'Your audition for the role of <<$role>> is today!'
  55. elseif audition['day'] - daystart = 1:
  56. 'You are auditioning for the role of <<$role>> tomorrow.'
  57. elseif audition['day'] - daystart > 1:
  58. 'You are auditioning for the role of <<$role>> in <<audition[''day''] - daystart>> days.'
  59. end
  60. if actress_cast = 1:
  61. if acting['shoot_day'] = daystart:
  62. 'You are '
  63. elseif acting['shoot_day'] - daystart = 1:
  64. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  65. elseif acting['shoot_day'] - daystart > 1:
  66. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  67. end
  68. end
  69. if modelfoto['shoots'] > 0:
  70. *nl
  71. if modelfoto['erotic'] > modelfoto['nude'] and modelfoto['erotic'] > modelfoto['fashion'] and modelfoto['erotic'] > modelfoto['fitness'] and modelfoto['erotic'] > modelfoto['glamour'] and modelfoto['erotic'] > modelfoto['lingerie'] and modelfoto['erotic'] > modelfoto['catalog']:
  72. 'You are working as an erotic model at Aphrodite Photography.'
  73. elseif modelfoto['nude'] > modelfoto['fashion'] and modelfoto['nude'] > modelfoto['fitness'] and modelfoto['nude'] > modelfoto['glamour'] and modelfoto['nude'] > modelfoto['lingerie'] and modelfoto['nude'] > modelfoto['catalog'] and modelfoto['nude'] > modelfoto['erotic']:
  74. 'You are working as an artistic nude model at Aphrodite Photography.'
  75. elseif modelfoto['fitness'] > modelfoto['fashion'] and modelfoto['fitness'] > modelfoto['nude'] and modelfoto['fitness'] > modelfoto['glamour'] and modelfoto['fitness'] > modelfoto['lingerie'] and modelfoto['fitness'] > modelfoto['catalog'] and modelfoto['fitness'] > modelfoto['erotic']:
  76. 'You are working as a fitness model at Aphrodite Photography.'
  77. elseif modelfoto['glamour'] > modelfoto['fashion'] and modelfoto['glamour'] > modelfoto['nude'] and modelfoto['glamour'] > modelfoto['fitness'] and modelfoto['glamour'] > modelfoto['lingerie'] and modelfoto['glamour'] > modelfoto['catalog'] and modelfoto['glamour'] > modelfoto['erotic']:
  78. 'You are working as a glamour model at Aphrodite Photography.'
  79. elseif modelfoto['lingerie'] > modelfoto['fashion'] and modelfoto['lingerie'] > modelfoto['nude'] and modelfoto['lingerie'] > modelfoto['fitness'] and modelfoto['lingerie'] > modelfoto['glamour'] and modelfoto['lingerie'] > modelfoto['catalog'] and modelfoto['lingerie'] > modelfoto['erotic']:
  80. 'You are working as a lingerie model at Aphrodite Photography.'
  81. elseif modelfoto['fashion'] > modelfoto['lingerie'] and modelfoto['fashion'] > modelfoto['nude'] and modelfoto['fashion'] > modelfoto['fitness'] and modelfoto['fashion'] > modelfoto['glamour'] and modelfoto['fashion'] > modelfoto['catalog'] and modelfoto['fashion'] > modelfoto['erotic']:
  82. 'You are working as a fashion model at Aphrodite Photography.'
  83. elseif modelfoto['catalog'] > 0:
  84. 'You are working as a catalog model at Aphrodite Photography.'
  85. end
  86. *nl
  87. if model_week = (daystart - week) / 7 and model_job_week >= 2:
  88. 'You have no more modeling jobs available this week.'
  89. elseif model_week < (daystart - week) / 7 and model_job_week = 1:
  90. 'You can get paid for 1 more modeling job this week.'
  91. elseif model_week < (daystart - week) / 7 and model_job_week < 1:
  92. 'You can get paid for 2 modeling jobs this week.'
  93. end
  94. end
  95. if masseuse['jobtype'] > 0:
  96. *nl
  97. 'You have worked <<masseuse[''shifts_worked'']>> shifts at the salon this week.'
  98. if masseuse['<<week>>_shift_1'] = 1 and hour < 9:
  99. '<BR><b><font color="blue">You have a shift at the salon today at 09:00.</font></b>'
  100. elseif masseuse['<<week>>_shift_1'] = 1 and hour <= 9:
  101. '<BR><b><font color="red">You''re late for your 09:00 shift at the salon!</font></b>'
  102. elseif masseuse['<<week>>_shift_2'] = 1 and hour < 13:
  103. '<BR><b><font color="blue">You have a shift at the salon today at 13:00.</font></b>'
  104. elseif masseuse['<<week>>_shift_2'] = 1 and hour <= 13:
  105. '<BR><b><font color="red">You''re late for your 13:00 shift at the salon!</font></b>'
  106. elseif masseuse['<<week>>_shift_3'] = 1 and hour < 17:
  107. '<BR><b><font color="blue">You have a shift at the salon today at 17:00.</font></b>'
  108. elseif masseuse['<<week>>_shift_3'] = 1 and hour <= 17:
  109. '<BR><b><font color="red">You''re late for your 17:00 shift at the salon!</font></b>'
  110. end
  111. end
  112. if pornstack > 0:
  113. if pfilmday[0] = 0:
  114. if pfilmday[1] = 0:
  115. '<br><b>You are scheduled for a porn shoot in <<porndays>> days.</b>'
  116. else
  117. '<br><b>You have a porn shoot scheduled tomorrow.</b>'
  118. end
  119. else
  120. if hour < 11:
  121. '<br>You are expected to be in the porn studio at 10:00.'
  122. elseif hour >= 11 and hour < 13:
  123. '<br>You should be at the porn studio!'
  124. elseif hour >= 13:
  125. '<br>You missed a scheduled porn shoot!'
  126. end
  127. end
  128. end
  129. if pornmiss = 1: '<br><b>You missed a scheduled porn shoot!</b>'
  130. if prodcosttrue > 0: '<br><b>You owe money to the porn studio <<prodcost>>?</b>'
  131. if firstkasting > 0 and pfilmNO < 1:
  132. if pornstack >= 10:
  133. '<br>You are currently unable to book any more porn shoots at the porn studio.'
  134. elseif pornstack = 11:
  135. '<br>You can contract <<10-pornstack>> porn shoot(s) at the porn studio.'
  136. else
  137. '<br>You can contract up to <<10-pornstack>> porn shoot(s) at the porn studio.'
  138. end
  139. end
  140. end
  141. --- journal_work ---------------------------------