traits.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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 make up, clothing and shoes on 10 consecutive 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 make up, clothing and shoes at least once per day.'
  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 are in withdrawal and have <<14 - bimbowithdrawal>> days before 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 make up, clothing and shoes at least once per day.'
  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 are in withdrawal and have <<14 - bimbowithdrawal>> days before losing this trait.'
  32. end
  33. else
  34. 'You have this trait at level 3.'
  35. 'To maintain this trait, you must wear bimbo make up, clothing and shoes at least once per day.'
  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 are in withdrawal and have <<14 - bimbowithdrawal>> days before 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. *nl
  139. !!exp earned from anal sex but degrades over time. Level 3 can be lost but lvl1 and 2 cannot
  140. '<center><b>Buttslut</b></center>'
  141. if traits['buttslut_lvl'] = 0:
  142. 'You need to have more anal orgasms to gain this trait. To reach lvl 1 you need to have more than 10 anal orgasms.'
  143. 'You currently have had <<orgasm_anal>> anal orgasms.'
  144. elseif traits['buttslut_lvl'] = 1:
  145. 'You have this trait at level 1. To reach lvl 2 you need to gain more anal orgasm exp.'
  146. 'You currently have <<traits[''buttslut_exp'']>> experience. Having more anal orgasms will increase this, otherwise it will degrade over time.'
  147. 'You''re starting to enjoy anal sex ' + iif(pcs_vag > 0, 'almost as much as regular sex.', 'more than before.')
  148. elseif traits['buttslut_lvl'] = 2:
  149. 'You have this trait at level 2. To reach lvl 3 you need to gain more anal orgasm exp.'
  150. 'You currently have <<traits[''buttslut_exp'']>> experience. Having more anal orgasms will increase this, otherwise it will degrade over time.'
  151. 'You''re enjoy anal sex ' + iif(pcs_vag > 0, 'as much as regular sex.', 'a great deal.')
  152. elseif traits['buttslut_lvl'] = 3:
  153. 'You have this trait at level 3. This is the highest level.'
  154. 'You currently have <<traits[''buttslut_exp'']>> experience. Having more anal orgasms will increase this, otherwise it will degrade over time.'
  155. if pcs_vag > 0:
  156. 'You now enjoy anal sex more than regular sex.'
  157. else
  158. 'You find anal sex to be extremely gratifying.'
  159. end
  160. end
  161. act 'Exit the menu': gt $loc, $loc_arg
  162. '</td></tr></table></center>'
  163. end
  164. if $ARGS[0] = 'hourly':
  165. if swallow >= 10 and trt_cumeater = 0 and cumeater_cheat = 0:
  166. trt_cumeater = 1
  167. msg 'You have gained the trait "Cumeater"'
  168. end
  169. end
  170. if $ARGS[0] = 'overnight':
  171. !!traits['alko_status']: light weight (-1), normal (0), heavy weight (+1)
  172. !!traits['alko_points']: between -100 and 100, tracks if sveta is a light or heavy wight
  173. !!traits['alko_day']: amount of alko sveta has drunk today
  174. !!Gains/Decay
  175. if traits['alko_day'] > 0:
  176. if traits['alko_day'] > 9:
  177. traits['alko_points'] += 9
  178. else
  179. traits['alko_points'] += traits['alko_day']
  180. end
  181. elseif traits['alko_day'] = 0:
  182. traits['alko_points'] -= 2
  183. end
  184. if kanikuli = 0 and week < 6:
  185. if lernHome > 0:
  186. traits['nerd_lernHome'] = 0
  187. traits['nerd_points'] -= 1
  188. elseif lernHome = 0 and traits['nerd_lernHome'] < 5:
  189. traits['nerd_lernHome'] += 1
  190. elseif traits['nerd_lernHome'] = 5:
  191. traits['nerd_points'] += 1
  192. end
  193. elseif kanikuli = 0 and week = 6:
  194. !!This check has to be changed if the number of non-sport lessons ever changes (27 right now)
  195. if traits['nerd_lessons'] > 20:
  196. traits['nerd_points'] += traits['nerd_lessons'] - 17
  197. elseif traits['nerd_lessons'] < 14:
  198. traits['nerd_points'] -= iif(traits['nerd_status'] > 0, 5, 10)
  199. end
  200. traits['nerd_lessons'] = 0
  201. elseif university['semester_week'] > 0 and week = 5:
  202. !!This is for being a university student, with only 9 weekly classes and no homework the gain is a little more agressive form classes.
  203. if traits['nerd_lessons'] > 7:
  204. traits['nerd_points'] += (traits['nerd_lessons']-7)*5
  205. elseif traits['nerd_lessons'] < 4:
  206. traits['nerd_points'] -= iif(traits['nerd_status'] > 0, 5, 10)
  207. end
  208. traits['nerd_lessons'] = 0
  209. end
  210. !!Trait selection
  211. if traits['alko_points'] > 50 and traits['alko_status'] < 1:
  212. traits['alko_status'] = 1
  213. msg 'You have gained the trait ''Heavyweight''.'
  214. elseif traits['alko_points'] < -50 and traits['alko_status'] > -1:
  215. traits['alko_status'] = -1
  216. msg 'You have gained the trait ''Lightweight''.'
  217. elseif traits['alko_status'] = -1 and traits['alko_points'] > 0:
  218. traits['alko_status'] = 0
  219. msg 'You have lost the trait ''Lightweight''.'
  220. elseif traits['alko_status'] = 1 and traits['alko_points'] < 0:
  221. traits['alko_status'] = 0
  222. msg 'You have lost the trait ''Heavyweight''.'
  223. end
  224. if traits['nerd_points'] > 80 and traits['nerd_status'] < 3:
  225. traits['nerd_status'] = 3
  226. msg 'You have gained the trait ''Teacher''s pet''.'
  227. elseif traits['nerd_points'] > 60 and traits['nerd_status'] < 2:
  228. traits['nerd_status'] = 2
  229. msg 'You have gained the trait ''Loves to learn''.'
  230. elseif traits['nerd_points'] > 40 and traits['nerd_status'] < 1:
  231. traits['nerd_status'] = 1
  232. msg 'You have gained the trait ''Likes learning''.'
  233. elseif traits['nerd_points'] < 60 and traits['nerd_status'] = 3:
  234. traits['nerd_status'] = 2
  235. msg 'You have lost the trait ''Teacher''s pet''.'
  236. elseif traits['nerd_points'] < 40 and traits['nerd_status'] = 2:
  237. traits['nerd_status'] = 1
  238. msg 'You have lost the trait ''Loves to learn''.'
  239. elseif traits['nerd_points'] < 20 and traits['nerd_status'] = 1:
  240. traits['nerd_status'] = 0
  241. msg 'You have lost the trait ''Likes learning''.'
  242. end
  243. !!Trait effects
  244. if traits['nerd_status'] = 3:
  245. grupvalue[1] -= 1
  246. grupvalue[3] += rand(1,2)
  247. grupvalue[4] -= rand(1,2)
  248. elseif traits['nerd_status'] = 2:
  249. grupvalue[3] += 1
  250. grupvalue[4] -= 1
  251. elseif traits['nerd_status'] = 1:
  252. grupvalue[3] += rand(0,1)
  253. end
  254. !!Cleanup
  255. traits['alko_day'] = 0
  256. if traits['alko_points'] > 100:
  257. traits['alko_points'] = 100
  258. elseif traits['alko_points'] < -100:
  259. traits['alko_points'] = -100
  260. end
  261. if traits['nerd_points'] > 100:
  262. traits['nerd_points'] = 100
  263. elseif traits['nerd_points'] < -100:
  264. traits['nerd_points'] = -100
  265. end
  266. end
  267. if $ARGS[0] = 'addictive_personality':
  268. !!Addictive Personality Trait
  269. if addictive_cheat = 0:
  270. addictive_exp = smoke_exp + joint_exp + heroin_exp + cocaine_exp + alcohol_exp + amphetamine_exp
  271. if addictive_exp = 2 and addictive_trait_lvl < 1:
  272. addictive_trait_lvl = 1
  273. if add_trait_msg_1 = 0: add_trait_msg_1 = 1 & msg 'You have gained the trait ''Addictive Personality''.'
  274. elseif addictive_exp = 3 and addictive_trait_lvl < 2:
  275. addictive_trait_lvl = 2
  276. if add_trait_msg_2 = 0: add_trait_msg_2 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 2.'
  277. elseif addictive_exp >= 4 or (heroin_exp = 1 and cocaine_exp = 1) and addictive_trait_lvl < 3:
  278. addictive_trait_lvl = 3
  279. if add_trait_msg_3 = 0: add_trait_msg_3 = 1 & msg 'You have increased the level of your ''Addictive Personality'' trait to 3.'
  280. end
  281. end
  282. end
  283. --- traits ---------------------------------