1
0

emp_job_array.qsrc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # emp_job_array
  2. !! Jobs array
  3. !! < 4 hours is classed as ad-hoc work
  4. !! => 4 hours is contract roles
  5. !! Events are non-permanent employment of varying rates/times and set in the future.
  6. !!
  7. !! Index:
  8. !! 1 - Tourist Guide
  9. !! 2 - Pavlosk Hotel Maid
  10. !! 3 - Pussy Kats Shop Assistant
  11. !! 4 - Titran Secretary
  12. !! 5 - City Burger Joint
  13. if $ARGS[0] = 'emp_tourist_guide':
  14. !! Transitory variables to initialise job start - REQ
  15. j_id = 1
  16. !! j_day defines work days: 1 - Mon-Sun, 2 Mon-Fr, 3 Weekend. - REQ
  17. j_day = 2
  18. !! Role ID - Array index and used as job identifier.
  19. emp_job_id[j_id] = 1
  20. !! Job Role - REQ
  21. $emp_job_title[j_id] = 'Tourist Guide'
  22. !! Job start time - a day has 48 slots from base 0 - REQ
  23. emp_job_start[j_id] = 16
  24. !! Job finish time - REQ
  25. emp_job_end[j_id] = 32
  26. !! Job pay rate- REQ
  27. emp_job_wages[j_id] = 1000
  28. !! Job employment location- REQ
  29. $emp_job_loc[j_id] = 'Pavlosk Park'
  30. !! Job notes - to remind the player of the job details
  31. $emp_job_notes[j_id] = 'Summer job with flexible days - start between 08:00 and 09:00'
  32. if emp_job_status[j_id] < 1:
  33. !! Job status 1 Employed, 2 Started with favor, 3 Started with merit, 4 Terminated/suspended, 5 Fired permanently - REQ. <= 10 reserved for core mechanics, 10 + for custom quest markers
  34. emp_job_status[j_id] = 0
  35. end
  36. if emp_job_rank[j_id] < 1:
  37. !! Job ranking system for promotions and career progression. - Opt
  38. emp_job_rank[j_id] = 1
  39. end
  40. end
  41. if $ARGS[0] = 'emp_pav_maid':
  42. j_id = 2
  43. j_day = 2
  44. emp_job_id[j_id] = 2
  45. $emp_job_title[j_id] = 'Hotel Maid'
  46. emp_job_start[j_id] = 33
  47. emp_job_end[j_id] = 40
  48. emp_job_wages[j_id] = 375
  49. $emp_job_loc[j_id] = 'Pavlosk Park'
  50. $emp_job_notes[j_id] = 'Be at the Pavlosk Hotel reception between 16:00-17:00 to start your shift.'
  51. if emp_job_status[j_id] < 1:
  52. emp_job_status[j_id] = 0
  53. end
  54. if emp_job_rank[j_id] < 1:
  55. emp_job_rank[j_id] = 1
  56. end
  57. end
  58. if $ARGS[0] = 'emp_pussy_kats':
  59. j_id = 3
  60. if ARGS[1] = 1:
  61. !! Weekdays
  62. j_day = 2
  63. emp_job_start[j_id] = 32
  64. emp_job_end[j_id] = 40
  65. else
  66. !! P/T weekend
  67. j_day = 3
  68. emp_job_start[j_id] = 18
  69. emp_job_end[j_id] = 30
  70. end
  71. emp_job_id[j_id] = 3
  72. $emp_job_title[j_id] = 'Shop Assistant'
  73. emp_job_wages[j_id] = 205
  74. $emp_job_loc[j_id] = 'Pussy Cats'
  75. $emp_job_notes[j_id] = 'Shop assistant at Pussy Cat''s in the City Center Mall. You''ve missed <<young_shop_miss>> day(s).'
  76. if emp_job_status[j_id] < 1:
  77. emp_job_status[j_id] = 0
  78. end
  79. if emp_job_rank[j_id] < 1:
  80. emp_job_rank[j_id] = 1
  81. end
  82. end
  83. if $ARGS[0] = 'emp_titran':
  84. j_id = 4
  85. j_day = 2
  86. emp_job_start[j_id] = 18
  87. emp_job_end[j_id] = 34
  88. emp_job_id[j_id] = 3
  89. $emp_job_title[j_id] = 'Secretary'
  90. emp_job_wages[j_id] = 1500
  91. $emp_job_loc[j_id] = 'Titran-Express Engineering'
  92. $emp_job_notes[j_id] = '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.'
  93. if emp_job_status[j_id] < 1:
  94. emp_job_status[j_id] = 0
  95. end
  96. !! Secretatry Career examples
  97. !! 1 Office Secretary 2 Pool Secretary 3 Head Secretary 4 PA - Trainable through the Ind Comm Ctr
  98. if emp_job_rank[j_id] < 1:
  99. emp_job_rank[j_id] = 1
  100. end
  101. end
  102. ! Will need to figure out what we can do to clean this up
  103. !{
  104. killvar 'j_id'
  105. killvar 'j_day'
  106. }
  107. --- emp_job_array ---------------------------------