city_experimental_trials_events.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. # city_experimental_trials_events
  2. expadj = func('_difficulty','getexpadj')
  3. !!=========================!!
  4. !! !!
  5. !! Random Pills !!
  6. !! !!
  7. !!=========================!!
  8. !! Change tits
  9. if $experimentQW['trial_active'] = 'pill_cyan':
  10. if experimentQW['random_option'] = 0:
  11. if rand(0, 9) < 4:
  12. experimentQW['random_option'] = 1
  13. else
  14. experimentQW['random_option'] = 2
  15. end
  16. end
  17. if experimentQW['random_option'] = 1:
  18. bodyVars['bust_other'] -= 2
  19. 'You notice that your breast have shrunk! This must have been that experimental pill you took.'
  20. else
  21. bodyVars['bust_other'] += 2
  22. 'You notice that your breast have grown! This must have been that experimental pill you took.'
  23. end
  24. !! Change stren, vital, or agil
  25. elseif $experimentQW['trial_active'] = 'pill_red':
  26. if experimentQW['random_option'] = 0:
  27. temp_rand = rand(0, 29)
  28. if temp_rand < 4:
  29. experimentQW['random_option'] = 1
  30. elseif temp_rand < 10:
  31. experimentQW['random_option'] = 2
  32. elseif temp_rand < 14:
  33. experimentQW['random_option'] = 3
  34. elseif temp_rand < 20:
  35. experimentQW['random_option'] = 4
  36. elseif temp_rand < 24:
  37. experimentQW['random_option'] = 5
  38. else
  39. experimentQW['random_option'] = 6
  40. end
  41. killvar 'temp_rand'
  42. end
  43. if experimentQW['random_option'] = 1:
  44. if stren_lvl > 11:
  45. stren_exp -= 2 * stren_xpnxt
  46. end
  47. 'You feel weaker, you''ve lost a lot of mussle mass! This must have been that experimental pill you took.'
  48. elseif experimentQW['random_option'] = 2:
  49. if stren_lvl < 99:
  50. stren_exp += 2 * stren_xpnxt
  51. end
  52. 'You feel stronger, you''ve gained a lot of mussle mass! This must have been that experimental pill you took.'
  53. elseif experimentQW['random_option'] = 3:
  54. if agil_lvl > 11:
  55. agil_exp -= 2 * agil_xpnxt
  56. end
  57. 'You feel slower, your agility has deminished! This must have been that experimental pill you took.'
  58. elseif experimentQW['random_option'] = 4:
  59. if agil_lvl < 99:
  60. agil_exp += 2 * agil_xpnxt
  61. end
  62. 'You feel faster, your agility have increased! This must have been that experimental pill you took.'
  63. elseif experimentQW['random_option'] = 5:
  64. if vital_lvl > 11:
  65. vital_exp -= 2 * vital_xpnxt
  66. end
  67. 'You feel winded, your endurance has decreased! This must have been that experimental pill you took.'
  68. else
  69. if vital_lvl < 99:
  70. vital_exp += 2 * vital_xpnxt
  71. end
  72. 'You feel calm, your endurance has increased! This must have been that experimental pill you took.'
  73. end
  74. !! Change intel, cha, perception?
  75. elseif $experimentQW['trial_active'] = 'pill_blue':
  76. if experimentQW['random_option'] = 0:
  77. temp_rand = rand(0, 39)
  78. if temp_rand < 4:
  79. experimentQW['random_option'] = 1
  80. elseif temp_rand < 10:
  81. experimentQW['random_option'] = 2
  82. elseif temp_rand < 14:
  83. experimentQW['random_option'] = 3
  84. elseif temp_rand < 20:
  85. experimentQW['random_option'] = 4
  86. elseif temp_rand < 24:
  87. experimentQW['random_option'] = 5
  88. elseif temp_rand < 30:
  89. experimentQW['random_option'] = 6
  90. elseif temp_rand < 34:
  91. experimentQW['random_option'] = 7
  92. else
  93. experimentQW['random_option'] = 8
  94. end
  95. killvar 'temp_rand'
  96. end
  97. if experimentQW['random_option'] = 1:
  98. if intel_lvl > 11:
  99. intel_exp -= 2 * intel_xpnxt
  100. end
  101. 'You feel dumber, your intelligence has decreased! This must have been that experimental pill you took.'
  102. elseif experimentQW['random_option'] = 2:
  103. if intel_lvl < 99:
  104. intel_exp += 2 * intel_xpnxt
  105. end
  106. 'You feel smarter, your intelligence has increased! This must have been that experimental pill you took.'
  107. elseif experimentQW['random_option'] = 3:
  108. if react_lvl > 11:
  109. react_exp -= 2 * react_xpnxt
  110. end
  111. 'You feel slower, your reactions have deminished! This must have been that experimental pill you took.'
  112. elseif experimentQW['random_option'] = 4:
  113. if react_lvl < 99:
  114. react_exp += 2 * react_xpnxt
  115. end
  116. 'You feel faster, your reactions have quickened! This must have been that experimental pill you took.'
  117. elseif experimentQW['random_option'] = 5:
  118. if chrsm_lvl > 11:
  119. chrsm_exp -= 2 * chrsm_xpnxt
  120. end
  121. 'You feel less charismatic! This must have been that experimental pill you took.'
  122. elseif experimentQW['random_option'] = 6:
  123. if chrsm_lvl < 99:
  124. chrsm_exp += 2 * chrsm_xpnxt
  125. end
  126. 'You feel more charismatic! This must have been that experimental pill you took.'
  127. elseif experimentQW['random_option'] = 7:
  128. if prcptn_lvl > 11:
  129. prcptn_exp -= 2 * prcptn_xpnxt
  130. end
  131. 'You feel less perceptive! This must have been that experimental pill you took.'
  132. else
  133. if prcptn_lvl < 99:
  134. prcptn_exp += 2 * prcptn_xpnxt
  135. end
  136. 'You feel more perceptive! This must have been that experimental pill you took.'
  137. end
  138. !! Change skin
  139. elseif $experimentQW['trial_active'] = 'pill_yellow':
  140. if experimentQW['random_option'] = 0:
  141. temp_rand = rand(0, 9)
  142. if temp_rand < 3:
  143. experimentQW['random_option'] = 1
  144. elseif temp_rand < 4:
  145. experimentQW['random_option'] = 2
  146. elseif temp_rand < 6:
  147. experimentQW['random_option'] = 3
  148. else
  149. experimentQW['random_option'] = 4
  150. end
  151. killvar 'temp_rand'
  152. end
  153. if experimentQW['random_option'] = 1:
  154. pcs_skin -= 50
  155. if pcs_skin < 200: pcs_skin = 200
  156. if pcs_tan > 0:
  157. pcs_tan -= 2
  158. if pcs_tan < 0: pcs_tan = 0
  159. 'You skin tingles and itches. You are covered with a bright red rash and your tan has faded, damaging it and worsening your looks. This must have been that experimental pill you took.'
  160. else
  161. *nl
  162. 'You skin tingles and itches. You are covered with a bright red rash, damaging it and worsening your looks. This must have been that experimental pill you took.'
  163. end
  164. elseif experimentQW['random_option'] = 2:
  165. pcs_skin -= 50
  166. if pcs_skin < 200: pcs_skin = 200
  167. if pcs_tan > 0:
  168. *nl
  169. 'You skin tingles and itches. You are covered with a bright red rash and your tan has deepened, damaging it and worsening your looks. This must have been that experimental pill you took.'
  170. else
  171. *nl
  172. 'You skin tingles and itches. You are covered with a bright red rash and your skin has become tanned, damaging it and worsening your looks. This must have been that experimental pill you took.'
  173. end
  174. pcs_tan += 2
  175. elseif experimentQW['random_option'] = 3:
  176. pcs_skin += 50
  177. if pcs_skin > 900: pcs_skin = 900
  178. if pcs_tan > 0:
  179. pcs_tan -= 2
  180. if pcs_tan < 0: pcs_tan = 0
  181. *nl
  182. 'Your skin pleasantly tingles, blemishes and your tan have faded, increasing your looks. This must have been that experimental pill you took.'
  183. else
  184. *nl
  185. 'Your skin pleasantly tingles, blemishes have faded, increasing your looks. This must have been that experimental pill you took.'
  186. end
  187. else
  188. pcs_skin += 50
  189. if pcs_skin > 900: pcs_skin = 900
  190. if pcs_tan > 0:
  191. *nl
  192. 'Your skin pleasantly tingles, blemishes have faded and your tanned deepened, increasing your looks. This must have been that experimental pill you took.'
  193. else
  194. *nl
  195. 'Your skin pleasantly tingles, blemishes have faded and your skin has become tanned, increasing your looks. This must have been that experimental pill you took.'
  196. end
  197. pcs_tan += 2
  198. end
  199. gs 'body', 'UpdateBaseAppearnce'
  200. !! Change butt
  201. elseif $experimentQW['trial_active'] = 'pill_orange':
  202. if experimentQW['random_option'] = 0:
  203. if rand(0, 9) < 5:
  204. experimentQW['random_option'] = 1
  205. else
  206. experimentQW['random_option'] = 2
  207. end
  208. end
  209. if experimentQW['random_option'] = 1:
  210. butt_tr_exp -= 10 * butt_tr_xpnxt
  211. if butt_tr_exp < 0: butt_tr_exp = 0
  212. *nl
  213. 'You notice that your ass has shrunk! This must have been that experimental pill you took.'
  214. else
  215. butt_tr_exp += butt_tr_xpnxt * 10
  216. *nl
  217. 'You notice that your ass has grown! This must have been that experimental pill you took.'
  218. end
  219. !! Change inhib
  220. elseif $experimentQW['trial_active'] = 'pill_violet':
  221. if experimentQW['random_option'] = 0:
  222. !! 40% chance of decreasing your inhib_exp
  223. if rand(0, 9) < 4:
  224. experimentQW['random_option'] = 1
  225. !! 60% chance of increasing your tits
  226. else
  227. experimentQW['random_option'] = 2
  228. end
  229. end
  230. if experimentQW['random_option'] = 1:
  231. !! correct amount??
  232. inhib_exp -= 50
  233. *nl
  234. 'You feel less outgoing and more ashamed, your inhibition has lowered. This must have been that experimental pill you took.'
  235. else
  236. !! correct amount??
  237. inhib_exp += 50
  238. *nl
  239. 'You feel more outgoing and less ashamed, your inhibition has increased. This must have been that experimental pill you took.'
  240. end
  241. !! Change min_arousal
  242. elseif $experimentQW['trial_active'] = 'pill_brown':
  243. if experimentQW['random_option'] = 0:
  244. if rand(0, 9) < 4 and min_arousal > 0:
  245. experimentQW['random_option'] = 1
  246. else
  247. experimentQW['random_option'] = 2
  248. end
  249. end
  250. if experimentQW['random_option'] = 1:
  251. min_arousal -= 2
  252. if min_arousal < 0: min_arousal = 0
  253. *nl
  254. 'You feel a calm wash over you that you haven''t felt in a while. It seems that your arousal has reduced. This must have been that experimental pill you took.'
  255. else
  256. min_arousal += 5
  257. if min_arousal > 100: min_arousal = 100
  258. *nl
  259. 'You feel your pussy moisten as a wave of arousal washes over you. This must have been that experimental pill you took.'
  260. end
  261. !! Change clit
  262. elseif $experimentQW['trial_active'] = 'pill_purple':
  263. if experimentQW['random_option'] = 0:
  264. !! 55% chance.
  265. if rand(0, 19) < 11 or clit_size = 0:
  266. experimentQW['random_option'] = 1
  267. else
  268. experimentQW['random_option'] = 2
  269. end
  270. end
  271. if experimentQW['random_option'] = 1:
  272. if rand(0, 1) = 0:
  273. *nl
  274. 'You feel a tingle in your clit that quickly vanishes. This must have been that experimental pill you took.'
  275. else
  276. clit_size += 1
  277. *nl
  278. 'You feel a tingle in your clit that lingers as it becomes engorged and permanently becomes larger. This must have been that experimental pill you took.'
  279. end
  280. else
  281. if rand(0, 1) = 0:
  282. *nl
  283. 'You feel a tingle in your clit that quickly vanishes. This must have been that experimental pill you took.'
  284. else
  285. clit_size -= 1
  286. *nl
  287. 'You feel a tingle in your clit that lingers as it shrinks and permanently becomes smaller. This must have been that experimental pill you took.'
  288. end
  289. end
  290. !! Change alko_status
  291. elseif $experimentQW['trial_active'] = 'pill_green':
  292. if pcs_traits['alko_status'] ! 1:
  293. pcs_traits['alko_status'] = -1
  294. *nl
  295. 'You feel a sharp pain in your liver as the experimental treatment takes hold. It passes moments later, though you have no doubt that this will impede your ability to hold your liquor.'
  296. else
  297. pcs_traits['alko_status'] = -1
  298. *nl
  299. 'You feel a soothing warmth in your liver as the experimental treatment takes hold. It lingers a while and you suspect that you can hold your liquor much better now.'
  300. end
  301. !! Give exhib level or change willwpower
  302. elseif $experimentQW['trial_active'] = 'pill_gray':
  303. if pcs_traits['commando_lvl'] < 3:
  304. pcs_traits['commando_lvl'] = 3
  305. *nl
  306. 'Your skin feels extremely sensitive. This must have been that experimental pill you took.'
  307. msg 'You have gained the 3rd level of the Commando trait! From now on any kind of underwear over your hips just feels <i>wrong</i>. You suffer mood penalties while wearing panties.'
  308. else
  309. *nl
  310. temp_will_loss = rand(2, 5)
  311. willpowermax -= temp_will_loss
  312. pcs_willpwr -= temp_will_loss
  313. will_counter = 0
  314. killvar 'temp_will_loss'
  315. *nl
  316. 'You feel your mental energy drain, and you permanently lose some willpower.'
  317. end
  318. !! Give bimbo lvl or change willpower?
  319. elseif $experimentQW['trial_active'] = 'pill_pink':
  320. if bimbolevel < 3:
  321. bimbo += 10
  322. bimbolevel += 1
  323. *nl
  324. 'A pink mist fills your mind and clouds your thoughts, you want to giggle and be bubbly. This must have been that experimental pill you took.'
  325. else
  326. temp_will_loss = rand(2, 5)
  327. willpowermax -= temp_will_loss
  328. pcs_willpwr -= temp_will_loss
  329. will_counter = 0
  330. killvar 'temp_will_loss'
  331. *nl
  332. 'You feel your mental energy drain, and you permanently lose some willpower.'
  333. end
  334. end
  335. !!=========================!!
  336. !! !!
  337. !! Breast Cream !!
  338. !! !!
  339. !!=========================!!
  340. if $experimentQW['trial_active'] = 'breast_cream':
  341. bodyVars['bust_other'] += 2
  342. if experimentQW['trial_duration'] > 1:
  343. *nl
  344. 'You notice that your breast have grown! This must have been that experimental breast cream.'
  345. else
  346. if lactation['active'] <= 0:
  347. !! Permanent lactation
  348. func('lact_lib', 'lact_switch')
  349. lactation['milkprod_type'] = 0
  350. *nl
  351. 'Your breasts have grown and have a fullness to them. This must have been that experimental breast cream.'
  352. else
  353. *nl
  354. 'Your breasts have grown and have become fuller. This must have been that experimental breast cream.'
  355. end
  356. end
  357. end
  358. !!=========================!!
  359. !! !!
  360. !! Hair Cream !!
  361. !! !!
  362. !!=========================!!
  363. if $experimentQW['trial_active'] = 'hair_cream':
  364. pcs_hairlng += rand(20, 50)
  365. defcurly = rand(0, 1)
  366. if experimentQW['trial_duration'] > 1:
  367. pcs_haircol = rand(0, 22)
  368. *nl
  369. 'You notice that your hair has lengthened and changed in color! This must have been that experimental hair extension shampoo.'
  370. else
  371. pcs_haircol = 23
  372. *nl
  373. 'You notice that your hair has lengthened and changed in color! This must have been that experimental hair extension shampoo.'
  374. end
  375. end
  376. !!=========================!!
  377. !! !!
  378. !! Aphrodesiac !!
  379. !! !!
  380. !!=========================!!
  381. if $experimentQW['trial_active'] = 'aphrodisiac_pill':
  382. min_arousal += 10
  383. pcs_horny += 10
  384. if experimentQW['trial_duration'] > 1:
  385. pcs_mood = 100
  386. *nl
  387. 'You feel a warmth spreading from stomach moving towards your pussy, where it lingers for a few moments! This must have been that experimental aphrodisiac.'
  388. else
  389. min_arousal += 20
  390. pcs_horny = 100
  391. orgasm += 1
  392. pcs_mood = 100
  393. if pcs_traits['easy_orgams'] < 2: pcs_traits['easy_orgams'] = 2
  394. *nl
  395. 'You feel a heat spreading from stomach moving towards your pussy. The heat pulses and you find yourself in the grips of an intense orgasm! You feel like it''ll be easier to orgasm from now on. This must have been that experimental aphrodisiac.'
  396. end
  397. end
  398. !!=========================!!
  399. !! !!
  400. !! Butt Injection !!
  401. !! !!
  402. !!=========================!!
  403. if $experimentQW['trial_active'] = 'butt_injection':
  404. pcs_horny += 10
  405. butt_tr_exp += butt_tr_xpnxt * 2
  406. if experimentQW['trial_duration'] >= 4:
  407. *nl
  408. 'You feel a warmth pulsing in your ass and you can feel your bottom expanding. This must have been that experimental butt injection.'
  409. else
  410. min_arousal += 10
  411. pcs_horny += 10
  412. pcs_ass += rand(5, 10) + (3 - experimentQW['trial_duration'])
  413. if pcs_ass > 30: pcs_ass = 30
  414. ashrink -= rand(2, 4)
  415. if ashrink < 0: ashrink = 0
  416. ashrinkdays += rand(2, 4)
  417. if ashrinkdays > 10: ashrinkdays = 10
  418. agape[4] += rand(5, 10) + (3 - experimentQW['trial_duration'])
  419. if agape[4] > 60: agape[4] = 60
  420. *nl
  421. 'You feel a warmth pulsing in your ass, heat radiation from your puckered hole. You can feel your ass expanding and you crave anal. This must have been that experimental butt injection.'
  422. end
  423. end
  424. !!=========================!!
  425. !! !!
  426. !! Fertility Shot !!
  427. !! !!
  428. !!=========================!!
  429. if $experimentQW['trial_active'] = 'fertility_shot':
  430. if experimentQW['trial_duration'] = 3:
  431. if min_arousal < 20: min_arousal = 20
  432. if pcs_horny < 20: pcs_horny = 20
  433. *nl
  434. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  435. elseif experimentQW['trial_duration'] = 2:
  436. if min_arousal < 40: min_arousal = 40
  437. if pcs_horny < 40: pcs_horny = 40
  438. *nl
  439. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  440. else
  441. if min_arousal < 50: min_arousal = 50
  442. if pcs_horny < 50: pcs_horny = 50
  443. pcs_traits['hyper_fertile'] = 1
  444. *nl
  445. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  446. end
  447. end
  448. !!-------------------------!!
  449. !! !!
  450. !! General Management !!
  451. !! !!
  452. !!-------------------------!!
  453. experimentQW['trial_duration'] -= 1
  454. if experimentQW['trial_duration'] <= 0:
  455. experimentQW['trial_duration'] = 0
  456. experimentQW['random_option'] = 0
  457. msg 'You should visit the clinical trial desk at the city clinic and report your experiences.'
  458. end
  459. killvar 'exppadj'
  460. gs 'stat'
  461. act 'Continue':
  462. *nl
  463. gs 'wakeup_events', 'event_end'
  464. end
  465. --- city_experimental_trials_events ---------------------------------