1
0

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', 'job_alert'
  21. gs 'emp_functions', 'gen_schedule', job_start * 2
  22. end
  23. !! Show any ad hoc events or contracts
  24. if arrsize('evt_event') ! 0: gs 'emp_functions', 'disp_evt', 2
  25. 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.'
  26. if work = 1 or cheatVars['work'] = 1:
  27. 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.'
  28. 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.'
  29. 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.'
  30. 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.'
  31. 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.'
  32. 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.'
  33. 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.'
  34. 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.'
  35. 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.'
  36. if gpoliuborka > 1: 'You work part-time as a cleaner in the Pavlovsk clinic. Your schedule is from 14:00 to 21:00.'
  37. !! 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>.'
  38. end
  39. 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.'
  40. if maidqw = 1:
  41. '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.'
  42. elseif GermanQW = 1:
  43. 'You can find out more about becoming a maid at the Pavlovsk hotel if you visit the manager between 12:00 and 14:00.'
  44. end
  45. 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>.'
  46. 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.'
  47. 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.'
  48. !! 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.'
  49. !! 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.'
  50. if film > 0: 'You are working as a pornographic actress under the name <<$pfname>>.'
  51. if bumtolik = 4: 'You have been asked to help the homeless at the Mercy Clinic in the city industrial region.'
  52. 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.'
  53. *nl
  54. if audition['day'] = daystart:
  55. 'Your audition for the role of <<$role>> is today!'
  56. elseif audition['day'] - daystart = 1:
  57. 'You are auditioning for the role of <<$role>> tomorrow.'
  58. elseif audition['day'] - daystart > 1:
  59. 'You are auditioning for the role of <<$role>> in <<audition[''day''] - daystart>> days.'
  60. end
  61. if actress_cast = 1:
  62. if acting['shoot_day'] = daystart:
  63. 'You are '
  64. elseif acting['shoot_day'] - daystart = 1:
  65. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  66. elseif acting['shoot_day'] - daystart > 1:
  67. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  68. end
  69. end
  70. if modelfoto['shoots'] > 0:
  71. *nl
  72. 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']:
  73. 'You are working as an erotic model at Aphrodite Photography.'
  74. 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']:
  75. 'You are working as an artistic nude model at Aphrodite Photography.'
  76. 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']:
  77. 'You are working as a fitness model at Aphrodite Photography.'
  78. 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']:
  79. 'You are working as a glamour model at Aphrodite Photography.'
  80. 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']:
  81. 'You are working as a lingerie model at Aphrodite Photography.'
  82. 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']:
  83. 'You are working as a fashion model at Aphrodite Photography.'
  84. elseif modelfoto['catalog'] > 0:
  85. 'You are working as a catalog model at Aphrodite Photography.'
  86. end
  87. *nl
  88. if model_week = (daystart - week) / 7 and model_job_week >= 2:
  89. 'You have no more modeling jobs available this week.'
  90. elseif model_week < (daystart - week) / 7 and model_job_week = 1:
  91. 'You can get paid for 1 more modeling job this week.'
  92. elseif model_week < (daystart - week) / 7 and model_job_week < 1:
  93. 'You can get paid for 2 modeling jobs this week.'
  94. end
  95. end
  96. if masseuse['jobtype'] > 0:
  97. *nl
  98. 'You have worked <<masseuse[''shifts_worked'']>> shifts at the salon this week.'
  99. if masseuse['<<week>>_shift_1'] = 1 and hour < 9:
  100. '<BR><b><font color="blue">You have a shift at the salon today at 09:00.</font></b>'
  101. elseif masseuse['<<week>>_shift_1'] = 1 and hour <= 9:
  102. '<BR><b><font color="red">You''re late for your 09:00 shift at the salon!</font></b>'
  103. elseif masseuse['<<week>>_shift_2'] = 1 and hour < 13:
  104. '<BR><b><font color="blue">You have a shift at the salon today at 13:00.</font></b>'
  105. elseif masseuse['<<week>>_shift_2'] = 1 and hour <= 13:
  106. '<BR><b><font color="red">You''re late for your 13:00 shift at the salon!</font></b>'
  107. elseif masseuse['<<week>>_shift_3'] = 1 and hour < 17:
  108. '<BR><b><font color="blue">You have a shift at the salon today at 17:00.</font></b>'
  109. elseif masseuse['<<week>>_shift_3'] = 1 and hour <= 17:
  110. '<BR><b><font color="red">You''re late for your 17:00 shift at the salon!</font></b>'
  111. end
  112. end
  113. if pornstack > 0:
  114. if pfilmday[0] = 0:
  115. if pfilmday[1] = 0:
  116. '<br><b>You are scheduled for a porn shoot in <<porndays>> days.</b>'
  117. else
  118. '<br><b>You have a porn shoot scheduled tomorrow.</b>'
  119. end
  120. else
  121. if hour < 11:
  122. '<br>You are expected to be in the porn studio at 10:00.'
  123. elseif hour >= 11 and hour < 13:
  124. '<br>You should be at the porn studio!'
  125. elseif hour >= 13:
  126. '<br>You missed a scheduled porn shoot!'
  127. end
  128. end
  129. end
  130. if pornmiss = 1: '<br><b>You missed a scheduled porn shoot!</b>'
  131. if prodcosttrue > 0: '<br><b>You owe money to the porn studio <<prodcost>>?</b>'
  132. if firstkasting > 0 and pfilmNO < 1:
  133. if pornstack >= 10:
  134. '<br>You are currently unable to book any more porn shoots at the porn studio.'
  135. elseif pornstack = 11:
  136. '<br>You can contract <<10-pornstack>> porn shoot(s) at the porn studio.'
  137. else
  138. '<br>You can contract up to <<10-pornstack>> porn shoot(s) at the porn studio.'
  139. end
  140. end
  141. end
  142. --- journal_work ---------------------------------