1
0

traits.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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 but have <<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 <<80 - traits[''nerd_points'']>> more points to get level 3 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 trait['commando_exp'] > 0 or trait['commando_lvl'] > 0:'<center><b>Commando</b></center>'
  118. if trait['commando_lvl'] = 0 and trait['commando_exp'] > 0:
  119. 'You need to gain more experience not wearing panties with clothing to gain this trait.'
  120. elseif trait['commando_lvl'] = 1:
  121. 'You have this trait at level 1.'
  122. 'You''re starting to get used to not wearing panties. Skirts are quite comfortable without them, but you still find the friction of pants to be a bit irritating.'
  123. elseif trait['commando_lvl'] = 2:
  124. 'You have this trait at level 2.'
  125. 'You are perfectly comfortable wearing any kind of clothing without panties. Your pussy is no longer irritated when wearing pants without panties.'
  126. elseif trait['commando_lvl'] = 3:
  127. 'You have this trait at level 3.'
  128. 'You are more comfortable without panties than with them. In fact, you <i>hate</i> wearing them! They''re restrictive and annoying. You suffer mood penalties when wearing panties.'
  129. end
  130. *nl
  131. if traits['alko_status'] = -1:
  132. '<center><b>Lightweight</b></center>'
  133. 'It doesn''t take much for you to get drunk. You don''t have to drink as much to feel the effects of alcohol.'
  134. elseif traits['alko_status'] = 1:
  135. '<center><b>Heavyweight</b></center>'
  136. 'You''ve built up a tolerance, making it harder for you to feel the effects of alcohol.'
  137. end
  138. act 'Exit the menu': gt $loc, $loc_arg
  139. '</td></tr></table></center>'
  140. end
  141. if $ARGS[0] = 'hourly':
  142. if swallow >= 10 and trt_cumeater = 0 and cumeater_cheat = 0:
  143. trt_cumeater = 1
  144. msg 'You have gained the trait "Cumeater"'
  145. end
  146. end
  147. if $ARGS[0] = 'overnight':
  148. !!traits['alko_status']: light weight (-1), normal (0), heavy weight (+1)
  149. !!traits['alko_points']: between -100 and 100, tracks if sveta is a light or heavy wight
  150. !!traits['alko_day']: amount of alko sveta has drunk today
  151. !!Gains/Decay
  152. if traits['alko_day'] > 0:
  153. if traits['alko_day'] > 9:
  154. traits['alko_points'] += 9
  155. else
  156. traits['alko_points'] += traits['alko_day']
  157. end
  158. elseif traits['alko_day'] = 0:
  159. traits['alko_points'] -= 2
  160. end
  161. if kanikuli = 0 and week < 6:
  162. if lernHome > 0:
  163. traits['nerd_lernHome'] = 0
  164. traits['nerd_points'] -= 1
  165. elseif lernHome = 0 and traits['nerd_lernHome'] < 5:
  166. traits['nerd_lernHome'] += 1
  167. elseif traits['nerd_lernHome'] = 5:
  168. traits['nerd_points'] += 1
  169. end
  170. elseif kanikuli = 0 and week = 6:
  171. !!This check has to be changed if the number of non-sport lessons ever changes (27 right now)
  172. if traits['nerd_lessons'] > 20:
  173. traits['nerd_points'] += traits['nerd_lessons'] - 17
  174. elseif traits['nerd_lessons'] < 14:
  175. traits['nerd_points'] -= iif(traits['nerd_status'] > 0, 5, 10)
  176. end
  177. traits['nerd_lessons'] = 0
  178. end
  179. !!Trait selection
  180. if traits['alko_points'] > 50 and traits['alko_status'] < 1:
  181. traits['alko_status'] = 1
  182. msg 'You have gained the trait ''Heavyweight''.'
  183. elseif traits['alko_points'] < -50 and traits['alko_status'] > -1:
  184. traits['alko_status'] = -1
  185. msg 'You have gained the trait ''Lightweight''.'
  186. elseif traits['alko_status'] = -1 and traits['alko_points'] > 0:
  187. traits['alko_status'] = 0
  188. msg 'You have lost the trait ''Lightweight''.'
  189. elseif traits['alko_status'] = 1 and traits['alko_points'] < 0:
  190. traits['alko_status'] = 0
  191. msg 'You have lost the trait ''Heavyweight''.'
  192. end
  193. if traits['nerd_points'] > 80 and traits['nerd_status'] < 3:
  194. traits['nerd_status'] = 3
  195. msg 'You have gained the trait ''Teacher''s pet''.'
  196. elseif traits['nerd_points'] > 60 and traits['nerd_status'] < 2:
  197. traits['nerd_status'] = 2
  198. msg 'You have gained the trait ''Loves to learn''.'
  199. elseif traits['nerd_points'] > 40 and traits['nerd_status'] < 1:
  200. traits['nerd_status'] = 1
  201. msg 'You have gained the trait ''Likes learning''.'
  202. elseif traits['nerd_points'] < 60 and traits['nerd_status'] = 3:
  203. traits['nerd_status'] = 2
  204. msg 'You have lost the trait ''Teacher''s pet''.'
  205. elseif traits['nerd_points'] < 40 and traits['nerd_status'] = 2:
  206. traits['nerd_status'] = 1
  207. msg 'You have lost the trait ''Loves to learn''.'
  208. elseif traits['nerd_points'] < 20 and traits['nerd_status'] = 1:
  209. traits['nerd_status'] = 0
  210. msg 'You have lost the trait ''Likes learning''.'
  211. end
  212. !!Trait effects
  213. if traits['nerd_status'] = 3:
  214. grupvalue[1] -= 1
  215. grupvalue[3] += rand(1,2)
  216. grupvalue[4] -= rand(1,2)
  217. elseif traits['nerd_status'] = 2:
  218. grupvalue[3] += 1
  219. grupvalue[4] -= 1
  220. elseif traits['nerd_status'] = 1:
  221. grupvalue[3] += rand(0,1)
  222. end
  223. !!Cleanup
  224. traits['alko_day'] = 0
  225. if traits['alko_points'] > 100:
  226. traits['alko_points'] = 100
  227. elseif traits['alko_points'] < -100:
  228. traits['alko_points'] = -100
  229. end
  230. if traits['nerd_points'] > 100:
  231. traits['nerd_points'] = 100
  232. elseif traits['nerd_points'] < -100:
  233. traits['nerd_points'] = -100
  234. end
  235. end
  236. if $ARGS[0] = 'addictive_personality':
  237. !!Addictive Personality Trait
  238. if addictive_cheat = 0:
  239. addictive_exp = smoke_exp + joint_exp + heroin_exp + cocaine_exp + alcohol_exp + amphetamine_exp
  240. if addictive_exp = 2 and addictive_trait_lvl < 1:
  241. addictive_trait_lvl = 1
  242. if add_trait_msg_1 = 0: add_trait_msg_1 = 1 & msg 'You have gained the trait ''Addictive Personality''.'
  243. elseif addictive_exp = 3 and addictive_trait_lvl < 2:
  244. addictive_trait_lvl = 2
  245. if add_trait_msg_2 = 0: add_trait_msg_2 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 2.'
  246. elseif addictive_exp >= 4 or (heroin_exp = 1 and cocaine_exp = 1) and addictive_trait_lvl < 3:
  247. addictive_trait_lvl = 3
  248. if add_trait_msg_3 = 0: add_trait_msg_3 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 3.'
  249. end
  250. end
  251. end
  252. --- traits ---------------------------------