journal_work.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. !!
  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. 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.'
  23. if (work = 1 or cheatWork = 1) and workKafe['job'] > 0:'You are working as a waitress at The Roadhouse cafe. You need to come to work between 11:00-12:00 while your working days are: Tuesday, Wednesday, and Thursday. At work, you can receive tips from customers and your wages are received on 25th of each month.'
  24. if (work = 1 or cheatWork = 1) and 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.'
  25. if (work = 1 or cheatWork = 1) and worksalon > 0:'You work as a masseuse in the city at the Beauty Bar. You need to come to work between 09:00-10:00 while your working days are: Monday, Wednesday, and Friday. Salary is automatically transferred on 25th of each month.'
  26. if (work = 1 or cheatWork = 1) and workSec > 0:'You work as a secretary at Titran Express. You need to come to work by 09:00 during the week Monday-Friday. Salary is automatically transferred on the 25th of each month.'
  27. if (work = 1 or cheatWork = 1) and tanwork > 0:'You work as a governess for Tanya at Nicholas'' luxury city apartment. Salary is automatically transferred on the 25th of each month.'
  28. if (work = 1 or cheatWork = 1) and 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. The salary shall be issued once a week, on Fridays.'
  29. if (work = 1 or cheatWork = 1) and 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. The salary shall be issued once a week, on Fridays.'
  30. if (work = 1 or cheatWork = 1) and 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. The salary shall be issued once a week, on Fridays.'
  31. if (work = 1 or cheatWork = 1) and workFabrika = 1:'You work as a seamstress in the factory in Pavlovsk. Work is every weekday, with weekends off. Salary is automatically transferred on the 25th of each month.'
  32. !!if (work = 1 or cheatWork = 1) and 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> .'
  33. if workrin = 1:'You are working at the market in Arthur''s tent as a clothing saleswoman. You work on Tuesday, Thursday and Saturday with a start time of 08:00. Salary depends on sales.'
  34. if maidqw = 1:
  35. '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.'
  36. elseif GermanQW = 1:
  37. 'You can find out more about becoming a maid at the Pavlovsk hotel if you visit the manager between 12:00 and 14:00.'
  38. end
  39. 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> .'
  40. if (work = 1 or cheatWork = 1) and gpoliuborka > 1:'You work part-time as a cleaner in the Pavlovsk clinic. Your schedule is from 14:00 to 21:00.'
  41. if stripwork >= 1:'You work as a stripper in the city''s red light district and can work every day from 18:00-00:00. No salary as you earn tips.'
  42. if film > 0:'You are working as a pornographic actress under the name <<$pfname>>.'
  43. if bumtolik = 4:'You have been asked to help the homeless at the Mercy Clinic in the city industrial region.'
  44. 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.'
  45. *nl
  46. if audition['day'] = daystart:
  47. 'Your audition for the role of <<$role>> is today!'
  48. elseif audition['day'] - daystart = 1:
  49. 'You are auditioning for the role of <<$role>> tomorrow.'
  50. elseif audition['day'] - daystart > 1:
  51. 'You are auditioning for the role of <<$role>> in <<audition[''day''] - daystart>> days.'
  52. end
  53. if actress_cast = 1:
  54. if acting['shoot_day'] = daystart:
  55. 'You are '
  56. elseif acting['shoot_day'] - daystart = 1:
  57. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  58. elseif acting['shoot_day'] - daystart > 1:
  59. 'You are scheduled to play the part of <<$role>> <<acting[''shoot_day''] - daystart>> days from now.'
  60. end
  61. end
  62. if modelfoto['shoots'] > 0:
  63. *nl
  64. 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']:
  65. 'You are an erotic model working at Aphrodite Photography in St. Petersburg.'
  66. 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']:
  67. 'You are an artistic nude model working at Aphrodite Photography in St. Petersburg.'
  68. 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']:
  69. 'You are a fitness model working at Aphrodite Photography in St. Petersburg.'
  70. 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']:
  71. 'You are a glamour model working at Aphrodite Photography in St. Petersburg.'
  72. 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']:
  73. 'You are a lingerie model working at Aphrodite Photography in St. Petersburg.'
  74. 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']:
  75. 'You are a fashion model working at Aphrodite Photography in St. Petersburg.'
  76. elseif modelfoto['catalog'] > 0:
  77. 'You are a catalog model working at Aphrodite Photography in St. Petersburg.'
  78. end
  79. *nl
  80. if model_week = (daystart - week) / 7 and model_job_week >= 2:
  81. 'You have no more modeling jobs available this week.'
  82. elseif model_week < (daystart - week) / 7 and model_job_week = 1:
  83. 'You can get paid for 1 more modeling job this week.'
  84. elseif model_week < (daystart - week) / 7 and model_job_week < 1:
  85. 'You can get paid for 2 modeling jobs this week.'
  86. end
  87. end
  88. if masseuse['jobtype'] > 0:
  89. *nl
  90. 'You have worked <<masseuse[''shifts_worked'']>> shifts at the salon this week.'
  91. if masseuse['<<week>>_shift_1'] = 1 and hour < 9:
  92. '<BR><b><font color="blue">You have a shift at the salon today at 9:00.</font></b>'
  93. elseif masseuse['<<week>>_shift_1'] = 1 and hour <= 9:
  94. '<BR><b><font color="red">You''re late for your 9:00 shift at the salon!</font></b>'
  95. elseif masseuse['<<week>>_shift_2'] = 1 and hour < 13:
  96. '<BR><b><font color="blue">You have a shift at the salon today at 13:00.</font></b>'
  97. elseif masseuse['<<week>>_shift_2'] = 1 and hour <= 13:
  98. '<BR><b><font color="red">You''re late for your 13:00 shift at the salon!</font></b>'
  99. elseif masseuse['<<week>>_shift_3'] = 1 and hour < 17:
  100. '<BR><b><font color="blue">You have a shift at the salon today at 17:00.</font></b>'
  101. elseif masseuse['<<week>>_shift_3'] = 1 and hour <= 17:
  102. '<BR><b><font color="red">You''re late for your 17:00 shift at the salon!</font></b>'
  103. end
  104. end
  105. if pornstack > 0:
  106. *nl
  107. porndays = 0
  108. :pfilmtime
  109. if porndays < 200 and pfilmday[porndays] = 0: porndays += 1 & jump 'pfilmtime'
  110. end
  111. if pornstack > 0 and pfilmday[0] = 0:
  112. if pfilmday[1] = 0:
  113. '<br><b>You are scheduled for a porn shoot in <<porndays>> days.</b>'
  114. else
  115. '<br><b>You have a porn shoot scheduled tomorrow.</b>'
  116. end
  117. end
  118. if pfilmday[0] > 0 and hour < 11:
  119. '<br>You are expected to be in the porn studio at 10:00.'
  120. elseif pfilmday[0] > 0 and hour >= 11 and hour < 13:
  121. '<br>You should be at the porn studio!'
  122. elseif pfilmday[0] > 0 and hour >= 13:
  123. '<br>You missed a scheduled porn shoot!'
  124. end
  125. if pornmiss = 1: '<br><b>You missed a scheduled porn shoot!</b>'
  126. if prodcosttrue > 0: '<br><b>You owe money to the porn studio <<prodcost>>?</b>'
  127. if firstkasting > 0 and pfilmNO < 1:
  128. if pornstack >= 10:
  129. '<br>You are currently unable to book any more porn shoots at the porn studio.'
  130. elseif pornstack = 11:
  131. '<br>You can contract <<10-pornstack>> porn shoot(s) at the porn studio.'
  132. else
  133. '<br>You can contract up to <<10-pornstack>> porn shoot(s) at the porn studio.'
  134. end
  135. end
  136. end
  137. --- journal_work ---------------------------------