traits.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. # traits
  2. if $ARGS[0] = 'menu':
  3. *clr & cla
  4. gs 'obj_din', 'chartabs'
  5. '<center><h1>Traits</h1></center>'
  6. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  7. '<td>'
  8. '<center><b>Bimbo</b></center>'
  9. if bimbolevel = 0:
  10. 'You do not have this trait.'
  11. 'To gain this trait you must wear bimbo clothing / shoes for a few days.'
  12. 'You have <<bimbo>> out of 10 points towards level 1.'
  13. elseif bimbolevel = 1:
  14. 'You have this trait at level 1.'
  15. 'To maintain this trait you must wear bimbo clothing / shoes and/or have regular sex.'
  16. 'Due to this trait you gain a very small bonus to appearance and a very small penalty to intelligence.'
  17. 'You have <<bimbo>> out of 20 points towards level 2.'
  18. if bimbowithdrawal = 0:
  19. 'You are not in withdrawal.'
  20. else
  21. 'You have <<bimbowithdrawal>> out of 30 points towards losing this trait.'
  22. end
  23. elseif bimbolevel = 2:
  24. 'You have this trait at level 2.'
  25. 'To maintain this trait you must wear bimbo clothing / shoes and/or have regular sex.'
  26. 'Due to this trait you gain a small bonus to appearance and a small penalty to intelligence.'
  27. 'You have <<bimbo>> out of 30 points towards level 3.'
  28. if bimbowithdrawal = 0:
  29. 'You are not in withdrawal.'
  30. else
  31. 'You have <<bimbowithdrawal>> out of 30 points towards losing this trait.'
  32. end
  33. else
  34. 'You have this trait at level 3.'
  35. 'To maintain this trait you must wear bimbo clothing / shoes and/or have regular sex.'
  36. 'Due to this trait you gain a moderate bonus to appearance and a moderate penalty to intelligence.'
  37. if bimbowithdrawal = 0:
  38. 'You are not in withdrawal.'
  39. else
  40. 'You have <<bimbowithdrawal>> out of 30 points towards losing this trait.'
  41. end
  42. end
  43. *nl
  44. '<center><b>Exhibitionist</b></center>'
  45. if Exhibitionist_lvl = 0 and exhib_cheat = 0:
  46. 'You do not have this trait.'
  47. 'To gain this trait you must have low enough inhibition and choose to expose your breasts in public.'
  48. 'You have <<pcs_exhib>> out of 10 points towards level 1. This will slowly decrease each day unless you expose yourself.'
  49. elseif Exhibitionist_lvl = 1:
  50. 'You have this trait at level 1.'
  51. 'To increase this trait you must choose to expose your breasts and/or bare bottom in public.'
  52. 'This trait grants you a small amount of excitement from exposing yourself.'
  53. 'You have <<pcs_exhib>> out of 50 points towards level 2.'
  54. elseif Exhibitionist_lvl = 2:
  55. 'You have this trait at level 2.'
  56. 'To increase this trait you must choose to expose your breasts, bare bottom and/or pussy in public.'
  57. 'This trait grants you a moderate amount of excitement from exposing yourself.'
  58. if pcs_exhib < 100:
  59. 'You have <<pcs_exhib>> out of 100 points towards level 3.'
  60. elseif pcs_exhib >= 100 and exhibitionQW < 3:
  61. 'You must trigger an event in the park to gain level 3.'
  62. elseif pcs_exhib >= 100 and exhibitionQW > 2:
  63. 'You will have to wait until the end of the day for the trait level to update.'
  64. end
  65. else
  66. 'You have this trait at level 3.'
  67. 'This is the highest level of this trait.'
  68. 'This trait grants you a large amount of excitement from exposing yourself.'
  69. end
  70. *nl
  71. if traits['nerd_status'] = 0:
  72. '<center><b>Likes learning</b></center>'
  73. 'You don''t have this trait and <<traits[''nerd_points'']>> points. You need to earn <<40 - traits[''nerd_points'']>> more points to get level 1 of this trait.'
  74. elseif traits['nerd_status'] = 1:
  75. '<center><b>Likes learning</b></center>'
  76. 'You have level 1 of this trait and <<traits[''nerd_points'']>> points. You need to earn <<60 - traits[''nerd_points'']>> more points to get level 2 of this trait. If you fall below 20 points, you''ll lose this trait.'
  77. elseif traits['nerd_status'] = 2:
  78. '<center><b>Loves to learn</b></center>'
  79. 'You have level 2 of this trait and <<traits[''nerd_points'']>> points. You need to earn <<60 - traits[''nerd_points'']>> more points to get level 2 of this trait. If you fall below 40 points, you''ll fall back to level 1.'
  80. elseif traits['nerd_status'] = 3:
  81. '<center><b>Teacher''s pet</b></center>'
  82. 'You have level 3 of this trait and <<traits[''nerd_points'']>> points. If you fall below 60 points, you''ll fall back to level 2.'
  83. end
  84. 'Listening to more than 80% of lessons and doing your homework regularly earns you points for this trait, but you''ll lose points if you listen to less than 60% of lessons or if you don''t do your homework.'
  85. *nl
  86. '<center><b>Addictive Personality</b></center>'
  87. if addictive_trait_lvl = 0 and addictive_cheat = 0:
  88. 'You do not have this trait.'
  89. 'To gain this trait you have to use 2 different types of drugs several times. At the moment you have <<addictive_exp>> out of 2 points towards level 1.'
  90. elseif addictive_trait_lvl = 1:
  91. 'You have this trait at level 1.'
  92. 'You have some experience with taking drugs and it becomes harder for you to refuse to take them.'
  93. 'To increase this trait you have to use 3 different types of drugs several times. At the moment you have <<addictive_exp>> out of 3 points towards level 2.'
  94. elseif addictive_trait_lvl = 2:
  95. 'You have this trait at level 2.'
  96. 'Taking drugs has become something normal and that makes it even harder for you to refuse to take them.'
  97. 'To increase this trait you have to use 4 different types of drugs several times. At the moment you have <<addictive_exp>> out of 4 points towards level 3.'
  98. elseif addictive_trait_lvl = 3:
  99. 'You have this trait at level 3.'
  100. 'Taking drugs is a normal part of your life which makes it difficult for you to refuse to take them.'
  101. 'This is the highest level of this trait.'
  102. end
  103. *nl
  104. '<center><b>Cumeater</b></center>'
  105. if trt_cumeater = 0 and cumeater_cheat = 0:
  106. 'You do not have this trait.'
  107. 'To gain this trait you must swallow cum 10 times.'
  108. 'You have swallowed cum <<swallow>> times.'
  109. elseif trt_cumeater = 0 and cumeater_cheat = 1:
  110. 'You do not have this trait.'
  111. else
  112. 'You have this trait.'
  113. 'It allows you to remove cum from certain locations and eat it'
  114. 'This trait cannot be lost.'
  115. end
  116. *nl
  117. if traits['alko_status'] = -1:
  118. '<center><b>Lightweight</b></center>'
  119. 'It doesn''t take much for you to get drunk. You don''t have to drink as much to feel the affects of alcohol.'
  120. elseif traits['alko_status'] = 1:
  121. '<center><b>Heavyweight</b></center>'
  122. 'You''ve built up a tolerance, making it harder for you to feel the affects of alcohol.'
  123. end
  124. act 'Exit the menu': gt $loc, $loc_arg
  125. '</td></tr></table></center>'
  126. end
  127. if $ARGS[0] = 'hourly':
  128. if swallow >= 10 and trt_cumeater = 0 and cumeater_cheat = 0:
  129. trt_cumeater = 1
  130. msg 'You have gained the trait "Cumeater"'
  131. end
  132. end
  133. if $ARGS[0] = 'overnight':
  134. !!traits['alko_status']: light weight (-1), normal (0), heavy weight (+1)
  135. !!traits['alko_points']: between -100 and 100, tracks if sveta is a light or heavy wight
  136. !!traits['alko_day']: amount of alko sveta has drunk today
  137. !!Gains/Decay
  138. if traits['alko_day'] > 0:
  139. if traits['alko_day'] > 9:
  140. traits['alko_points'] += 9
  141. else
  142. traits['alko_points'] += traits['alko_day']
  143. end
  144. elseif traits['alko_day'] = 0:
  145. traits['alko_points'] -= 2
  146. end
  147. if kanikuli = 0 and week < 6:
  148. if lernHome > 0:
  149. traits['nerd_lernHome'] = 0
  150. traits['nerd_points'] -= 1
  151. elseif lernHome = 0 and traits['nerd_lernHome'] < 5:
  152. traits['nerd_lernHome'] += 1
  153. elseif traits['nerd_lernHome'] = 5:
  154. traits['nerd_points'] += 1
  155. end
  156. elseif kanikuli = 0 and week = 6:
  157. !!This check has to be changed if the number of non-sport lessons ever changes (27 right now)
  158. if traits['nerd_lessons'] > 20:
  159. traits['nerd_points'] += traits['nerd_lessons'] - 17
  160. elseif traits['nerd_lessons'] < 14:
  161. traits['nerd_points'] -= iif(traits['nerd_status'] > 0, 5, 10)
  162. end
  163. traits['nerd_lessons'] = 0
  164. end
  165. !!Trait selection
  166. if traits['alko_points'] > 50 and traits['alko_status'] < 1:
  167. traits['alko_status'] = 1
  168. msg 'You have gained the trait ''Heavyweight''.'
  169. elseif traits['alko_points'] < -50 and traits['alko_status'] > -1:
  170. traits['alko_status'] = -1
  171. msg 'You have gained the trait ''Lightweight''.'
  172. elseif traits['alko_status'] = -1 and traits['alko_points'] > 0:
  173. traits['alko_status'] = 0
  174. msg 'You have lost the trait ''Lightweight''.'
  175. elseif traits['alko_status'] = 1 and traits['alko_points'] < 0:
  176. traits['alko_status'] = 0
  177. msg 'You have lost the trait ''Heavyweight''.'
  178. end
  179. if traits['nerd_points'] > 80 and traits['nerd_status'] < 3:
  180. traits['nerd_status'] = 3
  181. msg 'You have gained the trait ''Teacher''s pet''.'
  182. elseif traits['nerd_points'] > 60 and traits['nerd_status'] < 2:
  183. traits['nerd_status'] = 2
  184. msg 'You have gained the trait ''Loves to learn''.'
  185. elseif traits['nerd_points'] > 40 and traits['nerd_status'] < 1:
  186. traits['nerd_status'] = 1
  187. msg 'You have gained the trait ''Likes learning''.'
  188. elseif traits['nerd_points'] < 60 and traits['nerd_status'] = 3:
  189. traits['nerd_status'] = 2
  190. msg 'You have lost the trait ''Teacher''s pet''.'
  191. elseif traits['nerd_points'] < 40 and traits['nerd_status'] = 2:
  192. traits['nerd_status'] = 1
  193. msg 'You have lost the trait ''Loves to learn''.'
  194. elseif traits['nerd_points'] < 20 and traits['nerd_status'] = 1:
  195. traits['nerd_status'] = 0
  196. msg 'You have lost the trait ''Likes learning''.'
  197. end
  198. !!Trait effects
  199. if traits['nerd_status'] = 3:
  200. grupvalue[1] -= 1
  201. grupvalue[3] += rand(1,2)
  202. grupvalue[4] -= rand(1,2)
  203. elseif traits['nerd_status'] = 2:
  204. grupvalue[3] += 1
  205. grupvalue[4] -= 1
  206. elseif traits['nerd_status'] = 1:
  207. grupvalue[3] += rand(0,1)
  208. end
  209. !!Cleanup
  210. traits['alko_day'] = 0
  211. if traits['alko_points'] > 100:
  212. traits['alko_points'] = 100
  213. elseif traits['alko_points'] < -100:
  214. traits['alko_points'] = -100
  215. end
  216. if traits['nerd_points'] > 100:
  217. traits['nerd_points'] = 100
  218. elseif traits['nerd_points'] < -100:
  219. traits['nerd_points'] = -100
  220. end
  221. end
  222. if $ARGS[0] = 'addictive_personality':
  223. !!Addictive Personality Trait
  224. if addictive_cheat = 0:
  225. addictive_exp = smoke_exp + joint_exp + heroin_exp + cocaine_exp + alcohol_exp + amphetamine_exp
  226. if addictive_exp = 2 and addictive_trait_lvl < 1:
  227. addictive_trait_lvl = 1
  228. if add_trait_msg_1 = 0: add_trait_msg_1 = 1 & msg 'You have gained the trait ''Addictive Personality''.'
  229. elseif addictive_exp = 3 and addictive_trait_lvl < 2:
  230. addictive_trait_lvl = 2
  231. if add_trait_msg_2 = 0: add_trait_msg_2 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 2.'
  232. elseif addictive_exp >= 4 or (heroin_exp = 1 and cocaine_exp = 1) and addictive_trait_lvl < 3:
  233. addictive_trait_lvl = 3
  234. if add_trait_msg_3 = 0: add_trait_msg_3 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 3.'
  235. end
  236. end
  237. end
  238. --- traits ---------------------------------