stat_sklattrib_lvlset.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. # stat_sklattrib_lvlset
  2. !! QSRC2TW_module stat_sklattrib_lvlset
  3. !!--------------- Attribute set section ------------------------
  4. !!This is where an attribute pcs_"name" is set by "name"_lvl and any adjustments are added
  5. !!Even though most of these could be done without doing a _lvl to pcs_ conversion, doing so is future proofing
  6. pcs_stren = stren_lvl + stren_plus_lvl
  7. if pcs_stren < 1: pcs_stren = 1
  8. pcs_agil = agil_lvl
  9. if pcs_agil < 1: pcs_agil = 1
  10. pcs_vital = vital_lvl
  11. if pcs_vital < 1: pcs_vital = 1
  12. pcs_intel = intel_lvl - bimbostupidity - (5 * noorgasm)
  13. if pcs_intel < 1: pcs_intel = 1
  14. pcs_react = react_lvl
  15. if pcs_react < 1: pcs_react = 1
  16. pcs_sprt = sprt_lvl
  17. if pcs_sprt < 1: pcs_sprt = 1
  18. pcs_chrsm = chrsm_lvl
  19. if pcs_chrsm < 1: pcs_chrsm = 1
  20. pcs_prcptn = prcptn_lvl
  21. if pcs_prcptn < 1: pcs_prcptn = 1
  22. pcs_magik = magik_lvl
  23. if pcs_magik < 0: pcs_magik = 0
  24. pcs_butt_tr = butt_tr_lvl/2
  25. if pcs_butt_tr < 0: pcs_butt_tr = 0
  26. !!---------------------- Skill set Section -----------------------
  27. !!Each skill has three lines, the first is the comment that says what the skill is, the next that sets pcs_"name", and the finial which sets "name"[1] to [x] with the attribute index of the attribute(s) ending with a -1 to show end.
  28. !! Clarification on the third line:
  29. !! These are the numerical attribute IDs (listed below) that are associated with the skill. They get a small portion (1/5) of the skill''s exp.
  30. !! Example
  31. !! jab[1] = 0 would add to attribute 0 which is strength
  32. !! jab[2] = 1 would add to attribute 1 which is agility
  33. !! jab[3] = -1 which closes the loop and must be included
  34. !!Attribute variable list
  35. !!$att_name[0] = 'stren'
  36. !!$att_name[1] = 'agil'
  37. !!$att_name[2] = 'vital'
  38. !!$att_name[3] = 'intel'
  39. !!$att_name[4] = 'react'
  40. !!$att_name[5] = 'sprt'
  41. !!$att_name[6] = 'chrsm'
  42. !!$att_name[7] = 'prcptn'
  43. !!$att_name[8] = 'magik'
  44. !!$att_name[9] = 'stren_plus'
  45. !!$att_name[10] = 'butt_tr'
  46. !!Jabs; Quick strikes that do not have much power
  47. pcs_jab = (jab_lvl + (pcs_agil * 2 + pcs_stren) / 3) / 2
  48. jab[1] = 0 & jab[2] = 1 & jab[3] = -1
  49. !!Power Strikes; Hard strikes that are harder to land
  50. pcs_punch = (punch_lvl + (pcs_stren * 2 + pcs_agil) / 3) / 2
  51. punch[1] = 0 & punch[2] = 1 & punch[3] = -1
  52. !!Kicks; Kicking, enough said
  53. pcs_kick = (kick_lvl + (pcs_stren * 3 + pcs_agil) / 4) / 2
  54. kick[1] = 0 & kick[2] = 1 & kick[3] = -1
  55. !!Defence; Covers both blocking and dodging
  56. pcs_def = (def_lvl + (pcs_agil + pcs_stren + pcs_react) / 3) / 2
  57. def[1] = 0 & def[2] = 1 & def[3] = 4 & def[4] = -1
  58. !!Marksmanship; Could be guns, bows, or spells
  59. pcs_shoot = (shoot_lvl + (pcs_agil + pcs_react) / 2) / 2
  60. shoot[1] = 1 & shoot[2] = 4 & shoot[3] = -1
  61. !!Bushcraft; Wildlife survival and pathfinding skills
  62. pcs_bushcraft = (bushcraft_lvl + (pcs_agil + pcs_stren + pcs_intel) / 3) / 2
  63. bushcraft[1] = 1 & bushcraft[2] = 4 & bushcraft[3] = -1
  64. !!Singing; Should be self-explanatory
  65. pcs_vokal = (vokal_lvl + (pcs_intel + pcs_chrsm) / 2) / 2
  66. vokal[1] = 3 & vokal[2] = 6 & vokal[3] = -1
  67. !!Tailoring; Should be self-explanatory
  68. pcs_sewng = (sewng_lvl + (pcs_agil + pcs_intel) / 2) / 2
  69. sewng[1] = 1 & sewng[2] = 3 & sewng[3] = -1
  70. !!Instrumental Music; Skill at playing an instrument(s)
  71. pcs_instrmusic = (instrmusic_lvl + (2 * pcs_agil + pcs_intel) / 3) / 2
  72. instrmusic[1] = 1 & instrmusic[2] = 3 & instrmusic[3] = -1
  73. !!Photography; Should be self-explanatory
  74. pcs_photoskl = (photoskl_lvl + (2 * pcs_intel + pcs_react) / 3) / 2
  75. photoskl[1] = 3 & photoskl[2] = 4 & photoskl[3] = -1
  76. !!Artistic Skills; painting, drawing etc.
  77. pcs_artskls = (artskls_lvl + (pcs_intel + pcs_react + pcs_agil) / 3) / 2
  78. artskls[1] = 1 & artskls[2] = 3 & artskls[3] = 4 & artskls[4] = -1
  79. !!Modern Dancing; This is the basic dance skill and replaces 'dance'
  80. pcs_danc = (danc_lvl + (pcs_agil + pcs_react + pcs_vital) / 3) / 2
  81. danc[1] = 1 & danc[2] = 2 & danc[3] = 4 & danc[4] = -1
  82. !!Erotic Dancing; This is used when individual eroticism is being displayed, also covers & replaces strip tease
  83. pcs_dancero = (dancero_lvl + (pcs_agil + pcs_chrsm + pcs_vital) / 3) / 2 + (3 * flxibt)
  84. dancero[1] = 1 & dancero[2] = 2 & dancero[3] = 6 & dancero[4] = -1
  85. !!Pole Dancing; Should be self-explanatory
  86. pcs_dancpol = (dancpol_lvl + (pcs_agil + pcs_stren + pcs_chrsm) / 3) / 2 + (3 * flxibt)
  87. dancpol[1] = 0 & dancpol[2] = 1 & dancpol[3] = 6 & dancpol[4] = -1
  88. !!Chess; Should be self-explanatory
  89. pcs_chess = (chess_lvl + pcs_intel) / 2 + (5 * logictrt)
  90. chess[1] = 3 & chess[2] = -1
  91. !!Gaming; Abstracts skills at all types of Table Top games
  92. pcs_gaming = (gaming_lvl + (2 * pcs_intel + pcs_react) / 3) / 2
  93. gaming[1] = 3 & gaming[2] = 4 & gaming[3] = -1
  94. !!People skills; basic human interaction skill set
  95. pcs_humint = (humint_lvl + (pcs_prcptn + pcs_chrsm + pcs_react)/3) / 2 + (5 * chrmng) - (5 * meantrt)
  96. humint[1] = 4 & humint[2] = 6 & humint[3] = 7 & humint[4] = -1
  97. !!Persuasion; Trained skill at getting people to agree with you or like you
  98. pcs_persuas = (persuas_lvl + (pcs_prcptn + pcs_chrsm) / 2) / 2 + (5 * chrmng) - (5 * meantrt)
  99. persuas[1] = 6 & persuas[2] = 7 & persuas[3] = -1
  100. !!Running; Should be self-explanatory
  101. pcs_run = (run_lvl + (2 * (pcs_agil + pcs_stren) + pcs_vital) / 5) / 2
  102. run[1] = 0 & run[2] = 1 & run[3] = 2 & run[4] = -1
  103. !!Volleyball; Should be self-explanatory
  104. pcs_vball = (vball_lvl + (2 * pcs_agil + pcs_react + pcs_stren + pcs_vital) / 5) / 2
  105. vball[1] = 0 & vball[2] = 1 & vball[3] = 2 & vball[4] = 4 & vball[5] = -1
  106. !!Ice Skating; Should be self-explanatory
  107. pcs_icesktng = (icesktng_lvl + (2 * pcs_agil + pcs_stren) / 3) / 2
  108. icesktng[1] = 0 & icesktng[2] = 1 & icesktng[3] = -1
  109. !!Wrestling; Should be self-explanatory
  110. pcs_wrstlng = (wrstlng_lvl + (2 * pcs_stren + pcs_vital + pcs_agil) / 4) / 2
  111. wrstlng[1] = 0 & wrstlng[2] = 1 & wrstlng[3] = 2 & wrstlng[4] = -1
  112. !!Football; Should be self-explanatory
  113. pcs_ftbll = (ftbll_lvl + (pcs_vital + pcs_agil + pcs_stren) / 3) / 2
  114. ftbll[1] = 0 & ftbll[2] = 1 & ftbll[3] = 2 & ftbll[4] = -1
  115. !!Basketball; Should be self-explanatory
  116. pcs_bkbll = (bkbll_lvl + (pcs_vital + pcs_agil + pcs_react) / 3) / 2
  117. bkbll[1] = 0 & bkbll[2] = 1 & bkbll[3] = 2 & bkbll[4] = -1
  118. !!Spell Casting; The ability to Successfully cast spells
  119. pcs_splcstng = (splcstng_lvl + (pcs_intel + pcs_react) / 2) / 2
  120. splcstng[1] = 3 & splcstng[2] = 4 & splcstng[3] = -1
  121. !!Observation; trained skill in noticing one''s surroundings and events (nothing but surface detail)
  122. pcs_observ = (observ_lvl + (pcs_prcptn + pcs_react + pcs_intel)/3) / 2
  123. observ[1] = 3 & observ[2] = 4 & observ[3] = 7 & observ[4] = -1
  124. !!Makeup; Skill at applying makeup, goes into the vnesh calc as makupskl/5
  125. pcs_makupskl = (makupskl_lvl + (pcs_intel + pcs_agil) / 2) / 2
  126. makupskl[1] = 1 & makupskl[2] = 3 & makupskl[3] = -1
  127. !!Computer Skill; Skill at using and repairing computers
  128. pcs_compskl = (compskl_lvl + pcs_intel) / 2 + (5 * logictrt)
  129. compskl[1] = 3 & compskl[2] = -1
  130. !!Hacking; Skill at hacking computer systems
  131. pcs_comphckng = (comphckng_lvl + (pcs_intel + pcs_react) / 2) / 2 + (5 * logictrt)
  132. comphckng[1] = 3 & comphckng[2] = 4 & comphckng[3] = -1
  133. !!Handy-work; Used for non-mechanic work, i.e. plumbing
  134. pcs_hndiwrk = (hndiwrk_lvl + (2 * pcs_agil + pcs_intel) / 3) / 2
  135. hndiwrk[1] = 1 & hndiwrk[2] = 3 & hndiwrk[3] = -1
  136. !!Serving; Covers all aspects of waitressing and bartending
  137. pcs_servng = (servng_lvl + (pcs_intel + pcs_vital) / 2) / 2
  138. servng[1] = 2 & servng[2] = 3 & servng[3] = -1
  139. !!Cleaning; knowing how to clean efficiently and effectively
  140. pcs_cleaning = (cleaning_lvl + (pcs_intel + pcs_vital) / 2) / 2
  141. cleaning[1] = 2 & cleaning[2] = 3 & cleaning[3] = -1
  142. !!Modelling; Knowing how to pose and hold poses for long periods of time. Recalc to a 75/25 split by KS
  143. pcs_mdlng = ((mdlng_lvl * 3 / 2) + (pcs_agil + pcs_vital) / 4) / 2
  144. mdlng[1] = 1 & mdlng[2] = 2 & mdlng[3] = -1
  145. !!Medicine; Basic medical knowledge up to the level of Nursing
  146. pcs_medcn = (medcn_lvl + (pcs_intel + pcs_react + pcs_prcptn) / 3) / 2
  147. medcn[1] = 3 & medcn[2] = 4 & medcn[3] = 7 & medcn[4] = -1
  148. !!Heels; Experience with walking in heels of increasing height
  149. !!Currently only based on the skill itself, not linked to any attributes, but maybe the skill can affect agility, reaction and charisma
  150. pcs_heels = heels_lvl
  151. heels[1] = 1 & heels[2] = 4 & heels[3] = 6 & heels[4] = -1
  152. !! Billiard, Pool
  153. !! pool level can affect intellect?
  154. pcs_pool = ((pool_lvl * 3) + pcs_intel)/4
  155. pool[1] = 3 & pool[2] = -1
  156. !! inhibition
  157. pcs_inhib = inhib_lvl + (alko * 3) & if pcs_inhib > 100: pcs_inhib = 100
  158. inhib[1] = 6 & inhib[2] = -1
  159. !!Performance; Skill at things like acting or putting on a show
  160. pcs_perform = (perform_lvl + (pcs_chrsm + pcs_prcptn) / 2) / 2
  161. perform[1] = 6 & perform[2] = 7 & perform[3] = -1
  162. !!Cheerleading; Should be self-explanatory
  163. pcs_cheer = (cheer_lvl + (pcs_agil + pcs_react + pcs_vital) / 3) / 2
  164. cheer[1] = 1 & cheer[2] = 2 & cheer[3] = 4 & cheer[4] = -1
  165. !!Music Production: Recording, mixing and producing music
  166. pcs_musicprod = (musicprod_lvl + (pcs_intel + pcs_prcptn + pcs_sprt) / 3) / 2
  167. musicprod[1] = 5 & musicprod[2] = 3 & musicprod[3] = 7 & musicprod[4] = -1
  168. !!Songwriting: Writing songs, composing music - the knowledge of how build and structure the elements.
  169. pcs_songwrit = (songwrit_lvl + (pcs_intel + pcs_sprt) / 2) / 2
  170. songwrit[1] = 5 & songwrit[2] = 3 & songwrit[3] = mu-1
  171. !!Skiing; Should be self-explanatory
  172. !!To add this skill, copy this "$skl_name[x] = 'skng'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  173. !!pcs_skng = (skng_lvl + (2 * pcs_agil + pcs_stren) / 3) / 2
  174. !!{skng[1] = 0 & skng[2] = 1 & skng[3] = -1}
  175. !!Larceny; picking locks, hotwire cars etc.; basic thief/stealing skills
  176. !!To add this skill, copy this "$skl_name[x] = 'thiefskls'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  177. !!pcs_thiefskls = (thiefskls_lvl + (2 * pcs_agil + pcs_react) / 3) / 2
  178. !!{thiefskls[1] = 1 & thiefskls[2] = 4 & thiefskls[3] = -1}
  179. !!Mechanic; Auto mechanic skill, can work on your own car
  180. !!To add this skill, copy this "$skl_name[x] = 'mchanc'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  181. !!pcs_mchanc = (mchanc_lvl + (2 * pcs_agil + pcs_intel) / 3) / 2
  182. !!{mchanc[1] = 1 & mchanc[2] = 3 & mchanc[3] = -1}
  183. !!Gambling; Should be self-explanatory
  184. !!To add this skill, copy this "$skl_name[x] = 'gmbling'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  185. !!pcs_gmbling = (gmbling_lvl + (2 * pcs_prcptn + pcs_intel + pcs_react) / 4) / 2
  186. !!{gmbling[1] = 3 & gmbling[2] = 4 & gmbling[3] = 7 & gmbling[4] = -1}
  187. !!Seduction; Trained art of making yourself sexually desired, by words, body language, tone etc.; should be checked with either a + pcs_hotcat or on a 300point scale with + vnesh (set elsewhere so not added here)
  188. !!To add this skill, copy this "$skl_name[x] = 'sdctn'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  189. !!pcs_sdctn = (sdctn_lvl + (pcs_prcptn + pcs_chrsm) / 2) / 2
  190. !!{sdctn[1] = 6 & sdctn[2] = 7 & sdctn[3] = -1}
  191. !!Computer Gaming; Skill at playing assorted computer and console games.
  192. !!To add this skill, copy this "$skl_name[x] = 'compgame'" to the end of the skils list above and replace the x with the next index number, then remove the comment and bracket marks on the next two lines and delete this line
  193. !!pcs_compgame = (compgame_lvl + (pcs_agil + pcs_react) / 2) / 2
  194. !!{compgame[1] = 1 & compgame[2] = 4 & compgame[3] = -1}
  195. --- stat_sklattrib_lvlset ---------------------------------