city_experimental_trials_events.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  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 breasts have shrunk! This must have been that experimental pill you took.'
  20. else
  21. bodyVars['bust_other'] += 2
  22. 'You notice that your breasts 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 - stren_xpprv)
  46. stren_mem -= 2 * (stren_xpnxt - stren_xpprv)
  47. end
  48. 'You seem to have lost a lot of mussle mass and feel weaker. This must have been that experimental pill you took.'
  49. elseif experimentQW['random_option'] = 2:
  50. if stren_lvl < 99:
  51. stren_exp += 2 * (stren_xpnxt - stren_xpprv)
  52. end
  53. 'You seem to have gained a lot of mussle mass and feel stronger! This must have been that experimental pill you took.'
  54. elseif experimentQW['random_option'] = 3:
  55. if agil_lvl > 11:
  56. agil_exp -= 2 * (agil_xpnxt - agil_xpprv)
  57. agil_mem -= 2 * (agil_xpnxt - agil_xpprv)
  58. end
  59. 'Your agility has deminished and you feel slower. This must have been that experimental pill you took.'
  60. elseif experimentQW['random_option'] = 4:
  61. if agil_lvl < 99:
  62. agil_exp += 2 * (agil_xpnxt - agil_xpprv)
  63. end
  64. 'Your agility has increased and you feel faster! This must have been that experimental pill you took.'
  65. elseif experimentQW['random_option'] = 5:
  66. if vital_lvl > 11:
  67. vital_exp -= 2 * (vital_xpnxt - vital_xpprv)
  68. vital_mem -= 2 * (vital_xpnxt - vital_xpprv)
  69. end
  70. 'Your endurance has decreased! This must have been that experimental pill you took.'
  71. else
  72. if vital_lvl < 99:
  73. vital_exp += 2 * (vital_xpnxt - vital_xpprv)
  74. end
  75. 'Your endurance has increased! This must have been that experimental pill you took.'
  76. end
  77. !! Change intel, cha, perception?
  78. elseif $experimentQW['trial_active'] = 'pill_blue':
  79. if experimentQW['random_option'] = 0:
  80. temp_rand = rand(0,39)
  81. if temp_rand < 4:
  82. experimentQW['random_option'] = 1
  83. elseif temp_rand < 10:
  84. experimentQW['random_option'] = 2
  85. elseif temp_rand < 14:
  86. experimentQW['random_option'] = 3
  87. elseif temp_rand < 20:
  88. experimentQW['random_option'] = 4
  89. elseif temp_rand < 24:
  90. experimentQW['random_option'] = 5
  91. elseif temp_rand < 30:
  92. experimentQW['random_option'] = 6
  93. elseif temp_rand < 34:
  94. experimentQW['random_option'] = 7
  95. else
  96. experimentQW['random_option'] = 8
  97. end
  98. killvar 'temp_rand'
  99. end
  100. if experimentQW['random_option'] = 1:
  101. if intel_lvl > 11:
  102. intel_exp -= 2 * (intel_xpnxt - intel_xpprv)
  103. intel_mem -= 2 * (intel_xpnxt - intel_xpprv)
  104. end
  105. 'Your intelligence has decreased and you feel dumber. This must have been that experimental pill you took.'
  106. elseif experimentQW['random_option'] = 2:
  107. if intel_lvl < 99:
  108. intel_exp += 2 * (intel_xpnxt - intel_xpprv)
  109. end
  110. 'Your intelligence has increased and you feel smarter! This must have been that experimental pill you took.'
  111. elseif experimentQW['random_option'] = 3:
  112. if react_lvl > 11:
  113. react_exp -= 2 * (react_xpnxt - react_xpprv)
  114. react_mem -= 2 * (react_xpnxt - react_xpprv)
  115. end
  116. 'Your reaction time has deminished and you feel slower. This must have been that experimental pill you took.'
  117. elseif experimentQW['random_option'] = 4:
  118. if react_lvl < 99:
  119. react_exp += 2 * (react_xpnxt - react_xpprv)
  120. end
  121. 'Your reaction time has quickened and you feel faster! This must have been that experimental pill you took.'
  122. elseif experimentQW['random_option'] = 5:
  123. if chrsm_lvl > 11:
  124. chrsm_exp -= 2 * (chrsm_xpnxt - chrsm_xpprv)
  125. chrsm_mem -= 2 * (chrsm_xpnxt - chrsm_xpprv)
  126. end
  127. 'You feel less charismatic. This must have been that experimental pill you took.'
  128. elseif experimentQW['random_option'] = 6:
  129. if chrsm_lvl < 99:
  130. chrsm_exp += 2 * (chrsm_xpnxt - chrsm_xpprv)
  131. end
  132. 'You feel more charismatic! This must have been that experimental pill you took.'
  133. elseif experimentQW['random_option'] = 7:
  134. if prcptn_lvl > 11:
  135. prcptn_exp -= 2 * (prcptn_xpnxt - prcptn_xpprv)
  136. prcptn_mem -= 2 * (prcptn_xpnxt - prcptn_xpprv)
  137. end
  138. 'You feel less perceptive. This must have been that experimental pill you took.'
  139. else
  140. if prcptn_lvl < 99:
  141. prcptn_exp += 2 * (prcptn_xpnxt - prcptn_xpprv)
  142. end
  143. 'You feel more perceptive! This must have been that experimental pill you took.'
  144. end
  145. !! Change skin
  146. elseif $experimentQW['trial_active'] = 'pill_yellow':
  147. if experimentQW['random_option'] = 0:
  148. temp_rand = rand(0,9)
  149. if temp_rand < 3:
  150. experimentQW['random_option'] = 1
  151. elseif temp_rand < 4:
  152. experimentQW['random_option'] = 2
  153. elseif temp_rand < 6:
  154. experimentQW['random_option'] = 3
  155. else
  156. experimentQW['random_option'] = 4
  157. end
  158. killvar 'temp_rand'
  159. end
  160. if experimentQW['random_option'] = 1:
  161. pcs_skin -= 50
  162. if pcs_skin < 200: pcs_skin = 200
  163. if pcs_tan > 0:
  164. pcs_tan -= 2
  165. if pcs_tan < 0: pcs_tan = 0
  166. '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.'
  167. else
  168. *nl
  169. '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.'
  170. end
  171. elseif experimentQW['random_option'] = 2:
  172. pcs_skin -= 50
  173. if pcs_skin < 200: pcs_skin = 200
  174. if pcs_tan > 0:
  175. *nl
  176. '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.'
  177. else
  178. *nl
  179. '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.'
  180. end
  181. pcs_tan += 2
  182. elseif experimentQW['random_option'] = 3:
  183. pcs_skin += 50
  184. if pcs_skin > 900: pcs_skin = 900
  185. if pcs_tan > 0:
  186. pcs_tan -= 2
  187. if pcs_tan < 0: pcs_tan = 0
  188. *nl
  189. 'Your skin pleasantly tingles and your blemishes and tan have faded, increasing your looks. This must have been that experimental pill you took.'
  190. else
  191. *nl
  192. 'Your skin pleasantly tingles and your blemishes have faded, increasing your looks. This must have been that experimental pill you took.'
  193. end
  194. else
  195. pcs_skin += 50
  196. if pcs_skin > 900: pcs_skin = 900
  197. if pcs_tan > 0:
  198. *nl
  199. 'Your skin pleasantly tingles, your blemishes have faded and your tanned deepened, increasing your looks. This must have been that experimental pill you took.'
  200. else
  201. *nl
  202. 'Your skin pleasantly tingles, your blemishes have faded and your skin has become tanned, increasing your looks. This must have been that experimental pill you took.'
  203. end
  204. pcs_tan += 2
  205. end
  206. gs 'body', 'UpdateBaseAppearance'
  207. !! Change butt
  208. elseif $experimentQW['trial_active'] = 'pill_orange':
  209. if experimentQW['random_option'] = 0:
  210. if rand(0,9) < 5:
  211. experimentQW['random_option'] = 1
  212. else
  213. experimentQW['random_option'] = 2
  214. end
  215. end
  216. if experimentQW['random_option'] = 1:
  217. butt_tr_exp -= 2 * (butt_tr_xpnxt - butt_tr_xpprv)
  218. butt_tr_mem -= 2 * (butt_tr_xpnxt - butt_tr_xpprv)
  219. if butt_tr_exp < 0: butt_tr_exp = 0
  220. *nl
  221. 'You notice that your ass has shrunk! This must have been that experimental pill you took.'
  222. else
  223. butt_tr_exp += 2 * (butt_tr_xpnxt - butt_tr_xpprv)
  224. *nl
  225. 'You notice that your ass has grown! This must have been that experimental pill you took.'
  226. end
  227. !! Change inhib
  228. elseif $experimentQW['trial_active'] = 'pill_violet':
  229. if experimentQW['random_option'] = 0:
  230. !! 40% chance of decreasing your inhib_exp
  231. if rand(0,9) < 4:
  232. experimentQW['random_option'] = 1
  233. !! 60% chance of increasing your inhib_exp
  234. else
  235. experimentQW['random_option'] = 2
  236. end
  237. end
  238. if experimentQW['random_option'] = 1:
  239. !! correct amount??
  240. inhib_exp -= 2 * (inhib_xpnxt - inhib_xpprv)
  241. inhib_mem -= 2 * (inhib_xpnxt - inhib_xpprv)
  242. inhib_lvl -= 2
  243. inhib_flr -= 2
  244. inhib_lvlst -= 2
  245. *nl
  246. 'Your inhibition has increased and you feel less outgoing and more ashamed. This must have been that experimental pill you took.'
  247. else
  248. !! correct amount??
  249. inhib_exp += 2 * (inhib_xpnxt - inhib_xpprv)
  250. *nl
  251. 'Your inhibition has lowered and you feel more outgoing and less ashamed. This must have been that experimental pill you took.'
  252. end
  253. !! Change min_arousal
  254. elseif $experimentQW['trial_active'] = 'pill_brown':
  255. if experimentQW['random_option'] = 0:
  256. if rand(0,9) < 4 and min_arousal > 0:
  257. experimentQW['random_option'] = 1
  258. else
  259. experimentQW['random_option'] = 2
  260. end
  261. end
  262. if experimentQW['random_option'] = 1:
  263. min_arousal -= 2
  264. if min_arousal < 0: min_arousal = 0
  265. *nl
  266. '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.'
  267. else
  268. min_arousal += 5
  269. if min_arousal > 100: min_arousal = 100
  270. *nl
  271. 'You feel your pussy moisten as a wave of arousal washes over you. This must have been that experimental pill you took.'
  272. end
  273. !! Change clit
  274. elseif $experimentQW['trial_active'] = 'pill_purple':
  275. if experimentQW['random_option'] = 0:
  276. !! 55% chance.
  277. if rand(0,19) < 11 or clit_size = 0:
  278. experimentQW['random_option'] = 1
  279. else
  280. experimentQW['random_option'] = 2
  281. end
  282. end
  283. if experimentQW['random_option'] = 1:
  284. if rand(0,1) = 0:
  285. *nl
  286. 'You feel a tingle in your clit that quickly vanishes. This must have been that experimental pill you took.'
  287. else
  288. clit_size += 1
  289. *nl
  290. '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.'
  291. end
  292. else
  293. if rand(0,1) = 0:
  294. *nl
  295. 'You feel a tingle in your clit that quickly vanishes. This must have been that experimental pill you took.'
  296. else
  297. clit_size -= 1
  298. *nl
  299. '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.'
  300. end
  301. end
  302. !! Change alko_status
  303. elseif $experimentQW['trial_active'] = 'pill_green':
  304. if pcs_traits['alko_status'] ! 1:
  305. pcs_traits['alko_status'] = -1
  306. *nl
  307. '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.'
  308. else
  309. pcs_traits['alko_status'] = -1
  310. *nl
  311. '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.'
  312. end
  313. !! Give exhib level or change willwpower
  314. elseif $experimentQW['trial_active'] = 'pill_gray':
  315. if pcs_traits['commando_lvl'] < 3:
  316. pcs_traits['commando_lvl'] = 3
  317. *nl
  318. 'Your skin feels extremely sensitive. This must have been that experimental pill you took.'
  319. 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.'
  320. else
  321. *nl
  322. temp_will_loss = rand(2, 5)
  323. willpowermax -= temp_will_loss
  324. pcs_willpwr -= temp_will_loss
  325. will_counter = 0
  326. killvar 'temp_will_loss'
  327. *nl
  328. 'You feel your mental energy drain and you permanently lose some willpower.'
  329. end
  330. !! Give bimbo lvl or change willpower?
  331. elseif $experimentQW['trial_active'] = 'pill_pink':
  332. if bimbolevel < 3:
  333. bimbo += 10
  334. bimbolevel += 1
  335. *nl
  336. '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.'
  337. else
  338. temp_will_loss = rand(2, 5)
  339. willpowermax -= temp_will_loss
  340. pcs_willpwr -= temp_will_loss
  341. will_counter = 0
  342. killvar 'temp_will_loss'
  343. *nl
  344. 'You feel your mental energy drain and you permanently lose some willpower.'
  345. end
  346. end
  347. if mid($experimentQW['trial_active'],1, 4) = 'pill':
  348. gs 'stat_sklattrib'
  349. gs 'stat_sklattrib'
  350. end
  351. !!=========================!!
  352. !! !!
  353. !! Breast Cream !!
  354. !! !!
  355. !!=========================!!
  356. if $experimentQW['trial_active'] = 'breast_cream':
  357. bodyVars['bust_other'] += 2
  358. if experimentQW['trial_duration'] > 1:
  359. *nl
  360. 'You notice that your breasts have grown! This must have been that experimental breast cream.'
  361. else
  362. if lactation['active'] <= 0:
  363. !! Permanent lactation
  364. gs 'lact_lib', 'lact_on'
  365. lactation['milkprod_type'] = 0
  366. *nl
  367. 'Your breasts have grown and have a fullness to them. This must have been that experimental breast cream.'
  368. else
  369. *nl
  370. 'Your breasts have grown and have become fuller. This must have been that experimental breast cream.'
  371. end
  372. if therapistQW['breast_cream'] = 2: therapistQW['breast_cream'] = 3
  373. end
  374. end
  375. !!=========================!!
  376. !! !!
  377. !! Hair Cream !!
  378. !! !!
  379. !!=========================!!
  380. if $experimentQW['trial_active'] = 'hair_cream':
  381. pcs_hairlng += rand(20, 50)
  382. defcurly = rand(0, 1)
  383. curly = defcurly
  384. if experimentQW['trial_duration'] > 1:
  385. pcs_haircol = rand(0,22)
  386. else
  387. pcs_haircol = 11
  388. end
  389. *nl
  390. 'You notice that your hair has lengthened and changed in color! This must have been that experimental hair extension shampoo.'
  391. end
  392. !!=========================!!
  393. !! !!
  394. !! Aphrodesiac !!
  395. !! !!
  396. !!=========================!!
  397. if $experimentQW['trial_active'] = 'aphrodisiac_pill':
  398. min_arousal += 10
  399. pcs_horny += 10
  400. if experimentQW['trial_duration'] > 1:
  401. pcs_mood = 100
  402. *nl
  403. '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.'
  404. else
  405. min_arousal += 20
  406. pcs_horny = 100
  407. orgasm += 1
  408. pcs_mood = 100
  409. if pcs_traits['easy_orgasms'] < 2: pcs_traits['easy_orgasms'] = 2
  410. *nl
  411. 'You feel a heat spreading from your stomach and 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.'
  412. end
  413. end
  414. !!=========================!!
  415. !! !!
  416. !! Butt Injection !!
  417. !! !!
  418. !!=========================!!
  419. if $experimentQW['trial_active'] = 'butt_injection':
  420. pcs_horny += 10
  421. bodyVars['butt_other'] += 2
  422. if experimentQW['trial_duration'] >= 4:
  423. *nl
  424. 'You feel a warmth pulsing in your ass and can feel it growing in size. This must have been that experimental butt injection.'
  425. else
  426. min_arousal += 10
  427. pcs_horny += 10
  428. pcs_ass += rand(5,10) + (3 - experimentQW['trial_duration'])
  429. if pcs_ass > 30: pcs_ass = 30
  430. ashrink -= rand(2,4)
  431. if ashrink < 0: ashrink = 0
  432. ashrinkdays += rand(2,4)
  433. if ashrinkdays > 10: ashrinkdays = 10
  434. agape[4] += rand(5,10) + (3 - experimentQW['trial_duration'])
  435. if agape[4] > 60: agape[4] = 60
  436. *nl
  437. 'You feel a warmth pulsing in your ass and heat radiates from your puckered hole. You can feel your ass expanding and you crave anal. This must have been that experimental butt injection.'
  438. end
  439. end
  440. !!=========================!!
  441. !! !!
  442. !! Fertility Shot !!
  443. !! !!
  444. !!=========================!!
  445. if $experimentQW['trial_active'] = 'fertility_shot':
  446. if experimentQW['trial_duration'] = 3:
  447. if min_arousal < 20: min_arousal = 20
  448. if pcs_horny < 20: pcs_horny = 20
  449. *nl
  450. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  451. elseif experimentQW['trial_duration'] = 2:
  452. if min_arousal < 40: min_arousal = 40
  453. if pcs_horny < 40: pcs_horny = 40
  454. *nl
  455. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  456. else
  457. if min_arousal < 50: min_arousal = 50
  458. if pcs_horny < 50: pcs_horny = 50
  459. pcs_traits['hyper_fertile'] = 1
  460. *nl
  461. 'You feel a heat radiate from your womb, awakening your arousal. This must have been that experimental fertility shot.'
  462. end
  463. end
  464. !!-------------------------!!
  465. !! !!
  466. !! General Management !!
  467. !! !!
  468. !!-------------------------!!
  469. experimentQW['trial_duration'] -= 1
  470. experimentQW['event_day'] = daystart
  471. if experimentQW['trial_duration'] <= 0:
  472. experimentQW['trial_duration'] = 0
  473. experimentQW['random_option'] = 0
  474. msg 'You should visit the clinical trial desk at the city clinic and report your experiences.'
  475. end
  476. !!killvar 'exppadj'
  477. gs 'stat'
  478. act 'Continue':
  479. *nl
  480. gs 'wakeup_events', 'event_end'
  481. end
  482. --- city_experimental_trials_events ---------------------------------