din_bad 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. # din_bad
  2. $mobile_check = {
  3. gs 'stat'
  4. if vladimirday ! daystart and hour >= 15 and hour <= 17:
  5. if vladimirQW = 20:
  6. '<b><font color="red">Your phone is ringing</font></b>'
  7. $caller = 'Vladimir'
  8. $callerid = 'images/characters/city/vladimir/001.jpg'
  9. gs 'telefon','phone_ring'
  10. pl'<center><a href="exec:gt ''qwloc2''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  11. elseif vladimirQW = 25 and week = 6:
  12. '<b><font color="red">Your phone is ringing</font></b>'
  13. $caller = 'Vladimir'
  14. $callerid = 'images/characters/city/vladimir/001.jpg'
  15. gs 'telefon','phone_ring'
  16. pl'<center><a href="exec:gt ''qwloc3''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  17. elseif vladimirQW = 35 and week = 6:
  18. '<b><font color="red">Your phone is ringing</font></b>'
  19. $caller = 'Vladimir'
  20. $callerid = 'images/characters/city/vladimir/001.jpg'
  21. gs 'telefon','phone_ring'
  22. pl'<center><a href="exec:gt ''qwloc4''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  23. end
  24. end
  25. if leonidSlaveDay = daystart and hour >= 6 and hour <= 10 and leonidVisit = 0:
  26. '<b><font color="red">Your phone is ringing</font></b>'
  27. $caller = 'Leonid Vostov'
  28. $callerid = 'images/characters/pavlovsk/resident/leonid/leonidphone.jpg'
  29. gs 'telefon','phone_ring'
  30. pl'<center><a href="exec:gt ''leonid'', ''call''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:leonidSlaveDay = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  31. end
  32. if QWdogreiqTimer = 0 and QWdogReiq = 2 and week = 7 and qwdogiventday ! daystart and hour >= 12:
  33. '<b><font color="red">Your phone is ringing</font></b>'
  34. $caller = 'Margaret'
  35. $callerid = ''
  36. gs 'telefon','phone_ring'
  37. pl''
  38. pl''
  39. pl''
  40. pl''
  41. pl''
  42. pl''
  43. pl''
  44. pl''
  45. pl''
  46. pl''
  47. pl'<center><a href="exec:gt ''qwlocdog''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:qwdogiventday = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  48. end
  49. if pcs_lovers[1] = 1 and loverday[1] ! daystart and hour > 5 and hour < 20 and ringA = 0 and rand(1,7) >= 4:
  50. if pcs_apprnc < vneshlover[1]:
  51. loverrelation[1] -= 1
  52. if loverrelation[1] = 0:
  53. '<b><font color="red">Your guy does not call you, he probably dumped you.</font></b>'
  54. else
  55. 'Your boyfriend <<$loverdesc[1]>> has not called you.'
  56. end
  57. else
  58. ring = 1
  59. ringA = 1
  60. '<b><font color="red">Your phone is ringing</font></b>'
  61. PLAY 'sound/old_phone.mp3',30
  62. $caller = '<<$loverdesc[1]>>'
  63. $callerid = 'images/characters/shared/'+boypicA+'.jpg'
  64. gs 'telefon','phone_ring'
  65. pl'<center><a href="exec:gt ''telefon'', ''boyA''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:loverday[1] = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  66. end
  67. elseif pcs_lovers[2] = 1 and loverday[2] ! daystart and hour > 5 and hour < 20 and ringB = 0 and rand(1,7) >= 4:
  68. if pcs_apprnc < vneshlover[2]:
  69. loverrelation[2] -= 1
  70. if loverrelation[2] = 0:
  71. '<b><font color="red">Your guy does not call you, he probably dumped you.</font></b>'
  72. else
  73. 'Your boyfriend <<$loverdesc[2]>> has not called you.'
  74. end
  75. else
  76. ring = 1
  77. ringB = 1
  78. '<b><font color="red">Your phone is ringing</font></b>'
  79. PLAY 'sound/old_phone.mp3',30
  80. $caller = '<<$loverdesc[2]>>'
  81. $callerid = 'images/characters/shared/'+boypicB+'.jpg'
  82. gs 'telefon','phone_ring'
  83. pl'<center><a href="exec:gt ''telefon'', ''boyB''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:loverday[2] = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  84. end
  85. elseif pcs_lovers[3] = 1 and loverday[3] ! daystart and hour > 5 and hour < 20 and ringC = 0 and rand(1,7) >= 4:
  86. if pcs_apprnc < vneshlover[3]:
  87. loverrelation[3] -= 1
  88. if loverrelation[3] = 0:
  89. '<b><font color="red">Your guy does not call you, he probably dumped you.</font></b>'
  90. else
  91. 'Your boyfriend <<$loverdesc[3]>> has not called you.'
  92. end
  93. else
  94. ring = 1
  95. ringC = 1
  96. '<b><font color="red">Your phone is ringing</font></b>'
  97. PLAY 'sound/old_phone.mp3',30
  98. $caller = '<<$loverdesc[3]>>'
  99. $callerid = 'images/characters/shared/'+boypicC+'.jpg'
  100. gs 'telefon','phone_ring'
  101. pl'<center><a href="exec:gt ''telefon'', ''boyC''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:loverday[3] = daystart & gt $loc, $metka"><img src="images/system/phone/decline.png"></a></center>'
  102. end
  103. end
  104. }
  105. $d_salf = {
  106. clr
  107. if cumloc[13] > 0 or cumloc[11] > 0 or cumloc[16] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 12 & gs ''cum_cleanup'' & cumspclnt = 9 & gs ''cum_cleanup'' & gs ''stat''"><b>Wipe your face and hands</b></a>'
  108. if cumloc[14] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 14 & gs ''cum_cleanup'' & gs ''stat''"><b>Wipe clean your belly</b></a>'
  109. if cumloc[15] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 16 & gs ''cum_cleanup'' & gs ''stat''"><b>Wipe clean your breasts</b></a>'
  110. if cumloc[1] > 0 or cumloc[4] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 15 & gs ''cum_cleanup'' & gs ''stat''"><b>Wipe clean your ass and pussy</b></a>'
  111. if cumloc[10] > 0 or cumloc[9] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 17 & gs ''cum_cleanup'' & gs ''stat''"><b>Wipe clean your arms and legs</b></a>'
  112. if cumloc[2] > 0 or cumloc[5] > 0 or cumloc[6] > 0 or cumloc[7] > 0:pl '<a href="exec:salfetka -= 1 & cumspclnt = 6 & gs ''cum_cleanup'' & gs ''stat''"><b>Clean up clothing</b></a>'
  113. if pcs_makeup ! 1:pl '<a href="exec:salfetka -= 1 & pcs_makeup = 1 & gs ''stat''"><b>Wipe cosmetics</b></a>'
  114. pl '<a href="exec:gs ''stat''"><br><b>Not using tissue</b></a>'
  115. }
  116. $d_kosmetitka = {
  117. clr
  118. pl '<a href="exec:gs ''stat''"><b>Close makeup bag</b></a>'
  119. if kosmetitka >= 1:pl '<a href="exec:makupskl_exp += rand(1,3) & pcs_makeup = 2 & kosmetitka -= 1 & gs ''stat''"><b>Light make-up</b></a>'
  120. if kosmetitka >= 2:pl '<a href="exec:makupskl_exp += rand(1,3) & pcs_makeup = 3 & kosmetitka -= 2 & gs ''stat''"><b>Natural make-up</b></a>'
  121. if kosmetitka >= 3:pl '<a href="exec:makupskl_exp += rand(1,3) & pcs_makeup = 4 & kosmetitka -= 3 & gs ''stat''"><b>Heavy make-up</b></a>'
  122. }
  123. $d_mouthwash = {
  124. clr
  125. pcs_breath = 1
  126. cumspclnt = 2
  127. gs 'cum_cleanup'
  128. mouthwash -= 1
  129. pl 'Your breath smells minty fresh'
  130. pl ''
  131. pl '<a href="exec:gs ''stat''"><b>Done</b></a>'
  132. }
  133. $d_bag = {
  134. clr
  135. pl'<center><img src="images/system/icon/purse_icon.png"><br></center>'
  136. if salfetka > 0:pl 'You have <<salfetka>> wet wipes. <a href="exec:dynamic $d_salf"><b>Use tissue</b></a>'
  137. if pain_timer > totminut - 242 and painkiller > 0:pl 'You could take a <a href="exec:pain[''killer''] = 1 & painkiller -= 1 & pain_timer = totminut & dynamic $d_bag">painkiller</a>. Painkillers left <<painkiller>>.'
  138. if kosmetitka > 0 and pcs_makeup = 1:pl 'You have portable makeup bag. Cometic applications left <<kosmetitka>>. <a href="exec:dynamic $d_kosmetitka"><b>Put on makeup</b></a>'
  139. if kosmetitka > 0 and pcs_makeup ! 1:pl 'You have portable makeup bag. Cometic applications left <<kosmetitka>>.'
  140. if mouthwash > 0 and pcs_breath = 0:pl 'You have mouthwash in your bag. Uses remaining: <<mouthwash>>. <a href="exec:dynamic $d_mouthwash"><b>Use mouthwash</b></a>'
  141. if mouthwash > 0 and pcs_breath = 1:pl 'You have mouthwash in your bag. Uses remaining: <<mouthwash>>.'
  142. if greben > 0 and pcs_hairbsh = 0:pl 'You have a hairbrush. <a href="exec:pcs_hairbsh = 1 & gs ''stat''"><b>Brush your hair</b></a>'
  143. if greben > 0 and pcs_hairbsh = 1:pl 'You have a hairbrush.'
  144. if prezik + prezikcount + preziksabo > 0:
  145. if preziktype = 2 or preziksabo > 0:
  146. P 'You have <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Switch_Condom_Menu"><b>condoms.</b></a>'
  147. elseif preziktype < 2 and preziksabo = 0:
  148. P 'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Switch_Condom_Menu"><b>condoms.</b></a>'
  149. END
  150. NL
  151. else
  152. pl 'You are out of condoms.'
  153. end
  154. if tabletki > 0 and pillsleft[ptype] > 0:
  155. pl 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkied">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
  156. elseif tabletki = 0 and pillsleft[ptype] > 0:
  157. pl 'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkied">birth control pills</a> left.</b>'
  158. elseif tabletki > 0 and pillsleft[ptype] = 0:
  159. pl 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkied">birth control pills</a>.'
  160. else
  161. pl 'You are out of birth control pills.'
  162. end
  163. if mentats_have > 0:
  164. pl'<a href="exec:dynamic $use_mentats & dynamic $d_bag"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
  165. end
  166. if steroid_have > 0:
  167. pl'<a href="exec:dynamic $use_steroids & dynamic $d_bag"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
  168. end
  169. if bcream_have > 0:
  170. pl'<a href="exec:dynamic $use_bcream & dynamic $d_bag"><b>Apply breast cream.</b></a> Uses left: <<bcream_have>>.'
  171. end
  172. if aphrodisiac_have > 0:
  173. pl'<a href="exec:dynamic $use_aphrodisiac & dynamic $d_bag"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
  174. end
  175. if lubri > 0:pl'You have a tube of lubricant - enough for <<lubri>> applications.'
  176. if bottle > 0:pl 'You have a bottle of water. <a href="exec:bottle = 0 & water = 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat''"><b>Drink</b></a>'
  177. if buterbrod > 0:pl 'You have a sandwich. <a href="exec:buterbrod = 0 & pcs_energy += 20 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat''"><b>Eat</b></a>'
  178. if wine = 1 and alkowine = 0:pl'Your purse contains a bottle of <a href="exec:dynamic $dinalkowin1">wine</a>'
  179. if wine = 1 and alkowine = 1:pl'Your purse contains a half-bottle of <a href="exec:dynamic $dinalkowin2">wine</a>'
  180. if foto = 1:pl'Your purse contains a strange photo'
  181. if pattest > 0:
  182. if pattest > 1:$tt = 's' else $tt = ''
  183. pl'You carry <<pattest>> unused paternity test<<$tt>> with you.'
  184. end
  185. if used_pattest > 0:
  186. if used_pattest > 1:$tt = 's' else $tt = ''
  187. pl'You carry <<used_pattest>> <a href="exec:dynamic $test_purse">unsent</a> paternity test<<$tt>> with you.'
  188. end
  189. pl'<br><center><a href="exec:gs''stat''"><img src="images/system/icon/back.png"></a></center>'
  190. killvar 'tt'
  191. }
  192. $dinalkowin1 = {
  193. alkowine = 1
  194. if water <= 90:
  195. water = 100
  196. else
  197. water += 10
  198. end
  199. if pcs_intel > 5 : intel_deg -= 1
  200. alko += 5
  201. cumspclnt = 2
  202. gs 'cum_cleanup'
  203. pcs_breath = 0
  204. gs'stat'
  205. view 'images/shared/food/alkowin.jpg'
  206. 'You take the bottle of wine out of your purse and slowly drink half of it.'
  207. }
  208. $dinalkowin2 = {
  209. alkowine = 0
  210. if water <= 90:
  211. water = 100
  212. else
  213. water += 10
  214. end
  215. wine = 0
  216. if pcs_intel > 5: intel_deg -= 1
  217. alko += 5
  218. cumspclnt = 2
  219. gs 'cum_cleanup'
  220. pcs_breath = 0
  221. gs'stat'
  222. view 'images/shared/food/alkowin.jpg'
  223. 'You take the remaining half bottle of wine out of your purse, slowly drink it then throw the empty bottle away.'
  224. }
  225. $din_Switch_Condom_Menu = {
  226. dynamic $din_Update_Condom_Counts
  227. clr
  228. i = 0
  229. pl 'You have <<iif(preziktype < 2, prezik+prezikcount, prezikcount)>> normal, <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged condoms.'
  230. nl
  231. if preziktype > 0:
  232. PL '<a href="exec:dynamic $din_Do_Condom_Counts, 1">Switch to Normal Condoms</a>.'
  233. end
  234. if preziktype ! 1:
  235. PL '<a href="exec:dynamic $din_Do_Condom_Counts, 2">Stop using Condoms</a>.'
  236. end
  237. if preziktype ! 2:
  238. PL '<a href="exec:dynamic $din_Do_Condom_Counts, 3">Switch to Sabotaged Condoms</a>.'
  239. end
  240. if prezikcount > 0 or preziktype = 0:
  241. pl '<a href="exec:dynamic $din_Do_Condom_Counts, 4">Sabotage a condom</a>.'
  242. end
  243. NL
  244. PL '<a href="exec:gs ''stat''">Return</a>'
  245. }
  246. $din_Table_Condom_Menu = {
  247. dynamic $din_Update_Condom_Counts
  248. *clr
  249. i = 1
  250. 'You have <<iif(preziktype < 2, prezik+prezikcount, prezikcount)>> normal, <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged condoms.'
  251. nl
  252. if preziktype > 0:
  253. '<a href="exec:dynamic $din_Do_Condom_Counts, 1">Switch to Normal Condoms</a>.'
  254. end
  255. if preziktype ! 1:
  256. '<a href="exec:dynamic $din_Do_Condom_Counts, 2">Stop using Condoms</a>.'
  257. end
  258. if preziktype ! 2:
  259. '<a href="exec:dynamic $din_Do_Condom_Counts, 3">Switch to Sabotaged Condoms</a>.'
  260. end
  261. if prezikcount > 0 or preziktype = 0:
  262. '<a href="exec:dynamic $din_Do_Condom_Counts, 4">Sabotage a condom</a>.'
  263. end
  264. NL
  265. '<a href="exec:gt ''stol'', ''bc''">Return</a>'
  266. }
  267. $din_Do_Condom_Counts = {
  268. !{set condom count and type}
  269. if ARGS[0] = 1:
  270. clr
  271. 'You will offer a condom the next time you have sex.'
  272. if preziktype = 2: preziksabo = prezik
  273. prezik = prezikcount
  274. prezikcount = 0
  275. preziktype = 0
  276. elseif ARGS[0] = 2:
  277. 'You will not offer a condom the next time you have sex.'
  278. if preziktype = 0: prezikcount = prezik
  279. if preziktype = 2: preziksabo = prezik
  280. prezik = 0
  281. preziktype = 1
  282. elseif ARGS[0] = 3:
  283. 'You will offer your sabotaged condom the next time you have sex.'
  284. if preziktype = 0: prezikcount = prezik
  285. prezik = preziksabo
  286. preziksabo = 0
  287. preziktype = 2
  288. elseif ARGS[0] = 4:
  289. if preziktype ! 0 and prezikcount > 0:
  290. preziksabo +=1
  291. prezikcount -=1
  292. 'You use a needle to punch holes in one of your condoms.'
  293. elseif preziktype = 0 and prezik > 0:
  294. preziksabo +=1
  295. prezik -=1
  296. 'You use a needle to punch holes in one of your condoms.'
  297. else
  298. 'You do not have any condoms to sabotage.'
  299. end
  300. end
  301. if i = 0:
  302. dynamic $din_Switch_Condom_Menu
  303. else
  304. dynamic $din_Table_Condom_Menu
  305. end
  306. }
  307. $din_Update_Condom_Counts = {
  308. if prezik + prezikcount + preziksabo > 0: prezikmsg = 1
  309. if preziktype = 0:
  310. if prezikcount > 0:
  311. prezik += prezikcount
  312. prezikcount = 0
  313. end
  314. if prezik <= 0:
  315. 'You are out of condoms.'
  316. prezik = 0
  317. prezikcount = 0
  318. preziktype = 1
  319. end
  320. elseif preziktype = 1:
  321. if prezik > 0:
  322. prezikcount += prezik
  323. prezik = 0
  324. end
  325. elseif preziktype = 2:
  326. if preziksabo > 0:
  327. prezik += preziksabo
  328. preziksabo = 0
  329. end
  330. if prezik <= 0 and prezikcount <= 0:
  331. if prezikmsg = 1:prezikmsg = 2
  332. prezik = 0
  333. preziksabo = 0
  334. prezikcount = 0
  335. preziktype = 1
  336. elseif prezik <= 0 and prezikcount > 0:
  337. 'You have run out of sabotaged condoms so will use normal condoms.'
  338. prezik = prezikcount
  339. prezikcount = 0
  340. preziktype = 0
  341. end
  342. end
  343. }
  344. $d_tabletkied = {
  345. clr
  346. tabloc = 0
  347. if tabletkiday < daystart: pl '<a href="exec:dynamic $d_tabletkieda, 1">Take a pill now.</b></a>'
  348. if tabletkicheck = 0:
  349. pl '<a href="exec:dynamic $d_tabletkieda, 2">Automatically take your pills.</b></a>'
  350. elseif tabletkicheck = 1:
  351. pl '<a href="exec:dynamic $d_tabletkieda, 3">Stop automatically taking your pills.</b></a>'
  352. end
  353. pl '<a href="exec:dynamic $d_tabletkieda, 4">Examine the birth control pills.</b></a>'
  354. if tabletkioddk = 1: pl '<a href="exec:dynamic $d_tabletkieda, 5">Dump the strange pills.</b></a>'
  355. PL '<a href="exec:gs ''stat''">Return</a>'
  356. }
  357. $d_tabletkiedt = {
  358. tabloc = 1
  359. if tabletkiday < daystart: '<a href="exec:*clr & dynamic $d_tabletkieda, 1">Take a pill now.</b></a>'
  360. if tabletkicheck = 0:
  361. '<a href="exec:*clr & dynamic $d_tabletkieda, 2">Automatically take your pills.</b></a>'
  362. elseif tabletkicheck = 1:
  363. '<a href="exec:*clr & dynamic $d_tabletkieda, 3">Stop automatically taking your pills.</b></a>'
  364. end
  365. '<a href="exec:*clr & dynamic $d_tabletkieda, 4">Examine the birth control pills.</b></a>'
  366. if tabletkioddk = 1: pl '<a href="exec:*clr & dynamic $d_tabletkieda, 5">Dump the strange pills.</b></a>'
  367. '<a href="exec:gt ''stol'', ''bc''">Return</a>'
  368. }
  369. $d_tabletkiedA = {
  370. if ARGS[0] = 1:
  371. tabletkipd += tabletkipt
  372. if tabletkiday ! daystart:
  373. gs 'din_bad','takepill'
  374. tabletkiday = daystart
  375. tabletkipt = 0
  376. tabletkipi = 0
  377. else
  378. pcs_health -= 1
  379. end
  380. pilldaychk = 1
  381. 'You take a birth control pill.'
  382. gs 'stat'
  383. elseif ARGS[0] = 2:
  384. 'You will do your best to remember to take your birth control pills every day.'
  385. tabletkicheck = 1
  386. gs 'stat'
  387. elseif ARGS[0] = 3:
  388. 'You will take your birth control pills as desired.'
  389. tabletkicheck = 0
  390. gs 'stat'
  391. elseif ARGS[0] = 4:
  392. if pcs_intel + pillsdays <= rand(30,95):
  393. 'These pills appear to be normal birth control pills.'
  394. tabletkioddk = 0
  395. gs 'stat'
  396. else
  397. if ptype = 0: $pillprob = 'nothing unusual about them.'
  398. if ptype = 1: $pillprob = 'that the pills have expired months ago.'
  399. if ptype = 2: $pillprob = 'that the label has spelling mistakes and the logo is backwards.'
  400. if ptype = 3: $pillprob = 'that the pills are discoloured and there is no expiry date.'
  401. if ptype = 4: $pillprob = 'that the pills are all the same colour.'
  402. if ptype = 5: $pillprob = 'that the pills seem to be smaller than normal.'
  403. 'Upon taking a closer look at your birth control pills, you notice <<$pillprob>>'
  404. if ptype > 0: tabletkioddk = 1
  405. gs 'stat'
  406. if tabloc = 0:
  407. dynamic $d_tabletkied
  408. else
  409. dynamic $d_tabletkiedt
  410. end
  411. end
  412. elseif ARGS[0] = 5:
  413. 'You get rid of the strange pills.'
  414. tabletkioddk = 0
  415. pillsleft[ptype] = 0
  416. tabletkioddp = 0
  417. gs 'stat'
  418. end
  419. if tabloc = 0:
  420. dynamic $d_tabletkied
  421. else
  422. dynamic $d_tabletkiedt
  423. end
  424. }
  425. $d_cycreport_choice = {
  426. clr
  427. dynamic $d_cycreport_update
  428. PL 'Current Status: <<$cycreport_txt>>.'
  429. if $cycreport_txt ! 'In labour':
  430. NL
  431. PL 'Change Status because:'
  432. if thinkpreg = 0:
  433. if knowpreg = 1:
  434. PL '<a href="exec: dynamic $d_cycreport_actor, 2">I''m pregnant.</a>'
  435. else
  436. PL '<a href="exec: dynamic $d_cycreport_actor, 2">I think I am Pregnant.</a>'
  437. end
  438. elseif thinkpreg = 1:
  439. PL '<a href="exec: dynamic $d_cycreport_actor, 1">I''m not Pregnant.</a>'
  440. end
  441. if mesec > 0 and thinkpreg ! 1 and knowpreg ! 1:
  442. PL '<a href="exec: dynamic $d_cycreport_actor, 3">I''m menstruating.</a>'
  443. elseif thinkpreg ! 1:
  444. PL '<a href="exec: dynamic $d_cycreport_actor, 4">I just recently menstruated.</a>'
  445. PL '<a href="exec: dynamic $d_cycreport_actor, 5">I think my menstrual cycle has stopped.</a>'
  446. end
  447. if thinkpreg = 1 or knowpreg = 1:
  448. PL '<a href="exec: dynamic $d_cycreport_actor, 6">I think my due date is...</a>'
  449. PL '<a href="exec: dynamic $d_cycreport_actor, 7">I think the Father is...</a>'
  450. end
  451. elseif cycle = 5:
  452. pl 'Broken water and contractions, it''s pretty clear what is going on. Labour. You need to get to a hospital ASAP.'
  453. else
  454. dynamic $d_cycreport_actor, 10
  455. end
  456. PL '<a href="exec:gs ''stat''">Return</a>'
  457. }
  458. $d_cycreport_actor = {
  459. if ARGS[0] = 1:
  460. if knowpreg = 1:
  461. denypreg = 1
  462. thinkpreg = 0
  463. else
  464. denypreg = 0
  465. thinkpreg = 0
  466. temp[1] = daystart - daylastperiod
  467. end
  468. dynamic $d_cycreport_update
  469. gs 'stat'
  470. elseif ARGS[0] = 2:
  471. thinkpreg = 1
  472. denypreg = 0
  473. dynamic $d_cycreport_update
  474. gs 'stat'
  475. elseif ARGS[0] = 3:
  476. thinkpreg = 0
  477. denypreg = 0
  478. daylastperiod = daystart
  479. dynamic $d_cycreport_update
  480. gs 'stat'
  481. elseif ARGS[0] = 4:
  482. thinkpreg = 0
  483. denypreg = 0
  484. clr
  485. pl 'How many days ago was your last period?'
  486. pl 'Currently: <<pertemp>>'
  487. pl '<a href="exec: pertemp += 1 & clr & dynamic $d_cycreport_actor, 4">+1</a> <a href="exec: pertemp += 5 & clr & dynamic $d_cycreport_actor, 4">+5</a> <a href="exec: pertemp += 10 & clr & dynamic $d_cycreport_actor, 4">+10</a> <a href="exec: pertemp = 0 & clr & dynamic $d_cycreport_actor, 4">Reset</a> <a href="exec: daylastperiod = daystart - pertemp & dynamic $d_cycreport_update & gs ''stat''">Accept</a>'
  488. elseif ARGS[0] = 5:
  489. thinkpreg = 0
  490. denypreg = 0
  491. $cycreport_txt = 'You do not believe you have periods any more.'
  492. gs 'stat'
  493. elseif ARGS[0] = 6:
  494. clr
  495. pl 'How many days ago was your last period?'
  496. pl 'Currently: <<pertemp>>'
  497. pl '<a href="exec: pertemp += 1 & clr & dynamic $d_cycreport_actor, 6">+1</a> <a href="exec: pertemp += 5 & clr & dynamic $d_cycreport_actor, 6">+5</a> <a href="exec: pertemp += 10 & clr & dynamic $d_cycreport_actor, 6">+10</a> <a href="exec: pertemp = 0 & clr & dynamic $d_cycreport_actor, 6">Reset</a> <a href="exec: daylastperiod = daystart - pertemp & dynamic $d_cycreport_update & gs ''stat''">Accept</a>'
  498. elseif ARGS[0] = 7:
  499. clr
  500. tempmax = arrsize('$cumfthname')-1
  501. tempcurr = 0
  502. sumcum = 0
  503. *nl
  504. :potfathloop
  505. if cumtime[tempcurr] > 1:$cum = 'cumshots' else $cum = 'cumshot'
  506. if cumtime[tempcurr] > 0:pl '<<$npc_usedname[$cumfthname[tempcurr]]>> (<<$cumfthname[tempcurr]>>) - <<cumtime[tempcurr]>> <<$cum>>' & sumcum += cumtime[tempcurr]
  507. if tempcurr < tempmax:tempcurr += 1 & jump 'potfathloop'
  508. if sumcum > 1:$cum = 's' else $cum = ''
  509. pl '<br>You think you have had <<sumcum>> load<<$cum>> of cumshot<<$cum>> in your womb alltogether that could have gotten you pregnant.'
  510. pl 'You currently think the father is: <<$wombthfath>><br>'
  511. *nl
  512. tempcurr = 0
  513. :pickfathloop
  514. if cumtime[tempcurr] > 0:
  515. if $npc_usedname[$cumfthname[tempcurr]] <> '':
  516. pl ' <a href="exec: $wombthfath = ''<<$npc_usedname[$cumfthname[tempcurr]]>>'' & $wombthfathID = ''<<$cumfthname[tempcurr]>>'' & dynamic $d_cycreport_actor, 7"><<$npc_usedname[$cumfthname[tempcurr]]>> (<<$cumfthname[tempcurr]>>)</a>'
  517. else
  518. pl ' <a href="exec: $wombthfath = ''<<$npc_usedname[$cumfthname[tempcurr]]>>'' & $wombthfathID = ''<<$cumfthname[tempcurr]>>'' & dynamic $d_cycreport_actor, 7">Unknown (-)</a>'
  519. end
  520. end
  521. if tempcurr < tempmax:tempcurr += 1 & jump 'pickfathloop'
  522. killvar 'sumcum'
  523. killvar 'cum'
  524. killvar 'tempmax'
  525. killvar 'tempcurr'
  526. pl '<br> <a href="exec:dynamic $d_cycreport_choice">Accept</a>'
  527. elseif ARGS[0] = 10:
  528. temp = arrsize('Babyptype')
  529. temp -= 1
  530. $cycreport_txt = 'You are currently recovering from childbirth. You gave birth on <<monthkid[temp]>> / <<daykid[temp]>> / <<yearkid[temp]>>.'
  531. gs 'stat'
  532. end
  533. }
  534. $d_cycreport_update = {
  535. killvar 'temp'
  536. if thinkpreg = 1 or knowpreg = 1: dynamic $d_cycreport_upduedate
  537. if mesec > 0:
  538. $cycreport_txt = 'You are currently on your period.'
  539. else
  540. if cyccustom = 1:
  541. if preg = 1 and knowpreg = 1:
  542. $cycreport_txt = 'You are pregnant. Your due date is around <<$pregduedate>>.'
  543. if $wombthfath ! 'unknown': $cycreport_txt = '<<$cycreport_txt>> You think the father is <<$wombthfath>>'
  544. elseif knowpregloss = 1:
  545. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy.'
  546. elseif knowpregrecover = 1:
  547. $cycreport_txt = 'Your body is recovering from the trauma of childbirth.'
  548. elseif menoage <= age and cycle = 6:
  549. $cycreport_txt = 'You have gone through menopause.'
  550. else
  551. temp[1] = daystart-lastmens
  552. if tabletkishot > 0:
  553. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. <font color=green>You are currently protected by a birth control shot.</font>'
  554. elseif pillcon2 > 30000:
  555. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. <font color=green>You are currently on the pill.</font>'
  556. elseif pillcon2 > 8000 and (FocH > 70 or ovulate > 0):
  557. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. You are currently on the pill but it is not yet effective. <font color=red>It is currently a dangerous day.</font>'
  558. elseif pillcon2 > 8000:
  559. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. You are currently on the pill but it is not yet effective.'
  560. elseif daystart = tabletkiday:
  561. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. You have taken the pill but it will be several weeks before it is fully effective.'
  562. elseif FocH > 70 or ovulate > 0:
  563. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period. <font color=red>It is currently a dangerous day.</font>'
  564. else
  565. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period.'
  566. end
  567. end
  568. elseif denypreg = 1:
  569. if pregchem < 525:
  570. denypreg = 1
  571. thinkpreg = 0
  572. $cycreport_txt = 'There is nothing wrong, your cycle is just irregular.'
  573. elseif pregchem < 1863:
  574. denypreg = 1
  575. thinkpreg = 0
  576. $cycreport_txt = 'You have a strange flu making you feel ill.'
  577. elseif pregchem < 4000:
  578. denypreg = 1
  579. thinkpreg = 0
  580. $cycreport_txt = 'Your strange flu still hasn''t gone away. As soon as it does you plan to exercise and loose the excess fat you are building up.'
  581. elseif pregchem < 6000:
  582. denypreg = 1
  583. thinkpreg = 0
  584. $cycreport_txt = 'Your weight just won''t come off...'
  585. elseif pregchem < 7500:
  586. denypreg = 1
  587. thinkpreg = 0
  588. $cycreport_txt = 'People are rude, constantly asking you when you are due. You are not pregnant!'
  589. elseif pregchem >= 7500:
  590. thinkpreg = 0
  591. $cycreport_txt = 'Surely if you were pregnant, you''d have had the baby by now, so you can''t possibly be pregnant.'
  592. else
  593. temp = daystart-lastmens
  594. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  595. end
  596. elseif cyccustom = 0:
  597. if $cycreport_txt ! 'In labour':
  598. if thinkpreg = 1 or knowpreg = 1:
  599. if knowpreg = 0: $temp = ' think you'
  600. if $wombthfath = 'unknown' or $wombthfath = '':
  601. $cycreport_txt = 'You<<$temp>> are pregnant. You aren''t yet sure who the father is. Based on your last remembered period, your due date is probably around <<$pregduedate>>.'
  602. else
  603. $cycreport_txt = 'You<<$temp>> are pregnant with <<$wombthfath>>''s baby. Based on your last remembered period, your due date is probably around <<$pregduedate>>.'
  604. end
  605. elseif $cycreport_txt ! 'You do not believe you have periods any more.':
  606. temp = daystart-lastmens
  607. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  608. end
  609. killvar 'temp'
  610. end
  611. end
  612. end
  613. }
  614. $d_cycreport_upduedate = {
  615. temp = (280 + daylastperiod) - daystart
  616. pregdueday = day
  617. pregduemonth = month
  618. pregdueyear = year
  619. :pregduedateloop
  620. if pregduemonth = 1 and temp > 31 - pregdueday:
  621. pregduemonth += 1
  622. temp -= 31 - pregdueday
  623. pregdueday = 0
  624. elseif pregduemonth = 2 and temp > 28 - pregdueday:
  625. pregduemonth += 1
  626. temp -= 28 - pregdueday
  627. pregdueday = 0
  628. elseif pregduemonth = 3 and temp > 31 - pregdueday:
  629. pregduemonth += 1
  630. temp -= 31 - pregdueday
  631. pregdueday = 0
  632. elseif pregduemonth = 4 and temp > 30 - pregdueday:
  633. pregduemonth += 1
  634. temp -= 30 - pregdueday
  635. pregdueday = 0
  636. elseif pregduemonth = 5 and temp > 31 - pregdueday:
  637. pregduemonth += 1
  638. temp -= 31 - pregdueday
  639. pregdueday = 0
  640. elseif pregduemonth = 6 and temp > 30 - pregdueday:
  641. pregduemonth += 1
  642. temp -= 30 - pregdueday
  643. pregdueday = 0
  644. elseif pregduemonth = 7 and temp > 31 - pregdueday:
  645. pregduemonth += 1
  646. temp -= 31 - pregdueday
  647. pregdueday = 0
  648. elseif pregduemonth = 8 and temp > 31 - pregdueday:
  649. pregduemonth += 1
  650. temp -= 31 - pregdueday
  651. pregdueday = 0
  652. elseif pregduemonth = 9 and temp > 30 - pregdueday:
  653. pregduemonth += 1
  654. temp -= 30 - pregdueday
  655. pregdueday = 0
  656. elseif pregduemonth = 10 and temp > 31 - pregdueday:
  657. pregduemonth += 1
  658. temp -= 31 - pregdueday
  659. pregdueday = 0
  660. elseif pregduemonth = 11 and temp > 30 - pregdueday:
  661. pregduemonth += 1
  662. temp -= 30 - pregdueday
  663. pregdueday = 0
  664. elseif pregduemonth = 12 and temp > 31 - pregdueday:
  665. pregduemonth = 1
  666. pregdueyear += 1
  667. temp -= 31 - pregdueday
  668. pregdueday = 0
  669. else
  670. pregdueday = temp
  671. temp = 0
  672. end
  673. if temp > 0: jump 'pregduedateloop'
  674. $pregduedate = '<<pregduemonth>> / <<pregdueday>> / <<pregdueyear>>'
  675. }
  676. $d_pregmovement = {
  677. if denypreg = 0 and pregchem > 0:
  678. if thinkpreg > 0 and knowpreg = 0:
  679. knowpreg = 1
  680. if kid <= 0:
  681. 'Your heart flutters as you feel a baby moving around inside you for the first time.'
  682. else
  683. 'Movement inside you confirms what you already thought. You are pregnant again.'
  684. end
  685. elseif knowpreg > 0:
  686. temprand = rand(0,2)
  687. if temprand = 0:
  688. if pregchem > 5000:
  689. 'Your baby visibly moves around inside you.'
  690. else
  691. 'You feel movement deep inside you as your baby shifts around.'
  692. end
  693. elseif temprand = 1:
  694. if pregchem > 5000:
  695. 'You wince as your baby delivers a vicious kick to your insides'
  696. else
  697. 'You feel your baby kicking.'
  698. end
  699. elseif temprand = 2:
  700. if pregchem > 5000:
  701. 'You feel your baby kicking, look down, and see your belly twitching from it''s movements.'
  702. else
  703. 'You feel your baby kicking.'
  704. end
  705. end
  706. else
  707. if cyccustom = 1:
  708. if pregchem < 4000:
  709. if kid <= 0 :
  710. 'You feel a weird and strange fluttering sensation around inside your stomach. Perhaps you should go to the doctor?'
  711. else
  712. 'It feels as if a baby move inside you. Are you pregnant?'
  713. end
  714. else
  715. knowpreg = 1
  716. if kid <= 0:
  717. 'It''s become pretty obvious. You are pregnant.'
  718. else
  719. 'It''s become pretty obvious. You are pregnant again.'
  720. end
  721. end
  722. end
  723. end
  724. elseif pregchem > 0:
  725. if kid > 0 and PregChem > 3903:
  726. 'You try to deny it, but you just can''t any more. The large belly, the movement, You are pregnant again.'
  727. denypreg = 0
  728. dynamic $d_cycreport_upduedate
  729. $cycreport_txt = 'You are pregnant.'
  730. else
  731. 'You feel movement deep inside you. It''s probably just gas.'
  732. end
  733. end
  734. }
  735. $use_mentats = {
  736. if mentats_dose < 3:
  737. '<font color = green>You take a pill and swallow it.</font>'
  738. mentats_dose += 1
  739. mentats_have -= 1
  740. else
  741. 'You really shouldn''t take any more today.'
  742. end
  743. }
  744. $use_steroids = {
  745. if steroid_dose < 3:
  746. '<font color = blue>You swallow the orange pill.</font>'
  747. steroid_dose += 1
  748. steroid_counter += 1
  749. steroid_have -= 1
  750. else
  751. 'You really shouldn''t take any more today.'
  752. end
  753. }
  754. $use_bcream = {
  755. if bcream_used < 1:
  756. '<font color = #DB7093>You smear cream onto your breasts and rub it in.</font>'
  757. bcream_used = 1
  758. bcream_have -= 1
  759. else
  760. 'Using more won''t have any effect.'
  761. end
  762. }
  763. $use_aphrodisiac = {
  764. if aphrodisiac_overdose = 1:
  765. 'You had enough for today.'
  766. elseif aphrodisiac_timer = 0:
  767. '<font color = #DB7093>You take a gum and chew it. Tastes like strawberry, but is also kind of spicy.</font>'
  768. aphrodisiac_have -= 1
  769. aphrodisiac_timer += 8
  770. pcs_horny = 80
  771. elseif aphrodisiac_timer > 0 and aphrodisiac_timer <= 8:
  772. '<font color = #DB7093>You take another gum and chew it. It makes your mouth feel kinda tingly.</font>'
  773. aphrodisiac_have -= 1
  774. aphrodisiac_timer += 8
  775. pcs_horny = 100
  776. elseif aphrodisiac_timer > 8 and min_arousal < 60:
  777. '<font color = red><b>You take yet another gum and start chewing it. Suddenly you find yourself in grip of an intense orgasm!<br> It goes on and on and you sink to the ground and do your best to endure it.</b></font>'
  778. aphrodisiac_have -= 1
  779. orgasm += 1
  780. min_arousal += 10
  781. aphrodisiac_overdose = 1
  782. if min_arousal = 10:'<font color = #DB7093>That was intense! You can still feel the tingles.</font>'
  783. if min_arousal = 20:'<font color = #DB7093>You are really starting to enjoy these! Your crotch still feels kinda hot though.</font>'
  784. if min_arousal = 30:'<font color = #DB7093>As you are trying to get back to your feet you notice that you are still horny. What is happening to you?</font>'
  785. if min_arousal = 40:'<font color = #DB7093>You are certain of it. Every time those gums give you an orgasm they also increase your libido.</font>'
  786. if min_arousal = 50:'<font color = #DB7093>You run a finger across your slit and shudder. You really should stop taking those gums while you can still think of something other than sex.</font>'
  787. if min_arousal = 60:'<font color = #DB7093>You are burning up. You feel like you could fuck anything and everything all day long.</font>'
  788. else
  789. '<font color = #DB7093>You chew another gum with trepidation, looking forward to more orgasms but nothing happens. Huh. Have you become immune?</font>'
  790. aphrodisiac_have -= 1
  791. end
  792. }
  793. if $ARGS[0] = 'takepill':
  794. if tabletki > 0 and pillsleft[ptype] = 0:
  795. tabletkirand = rand(1, tabletki)
  796. if tabletkirand <= tabletkiold:
  797. tabletki -=1
  798. tabletkiold -=1
  799. ptype = 1
  800. pillsleft[ptype] = 28
  801. elseif tabletkirand <= tabletkiold + tabletkifake:
  802. tabletki -=1
  803. tabletkifake -=1
  804. ptype = 2
  805. pillsleft[ptype] = 28
  806. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej:
  807. tabletki -=1
  808. tabletkirej -=1
  809. ptype = 3
  810. pillsleft[ptype] = 28
  811. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug:
  812. tabletki -=1
  813. tabletkisug -=1
  814. ptype = 4
  815. pillsleft[ptype] = 28
  816. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug + tabletkifert:
  817. tabletki -=1
  818. tabletkifert -=1
  819. ptype = 5
  820. pillsleft[ptype] = 28
  821. else
  822. tabletki -=1
  823. ptype = 0
  824. pillsleft[ptype] = 28
  825. end
  826. killvar 'tabletkirand'
  827. end
  828. !!pillcon2 is the ideal state, PC cosiders this the believed pillcon value
  829. pillcon2 += ((pillcon2+15000)/40)+1000
  830. if pillcon2 > 40000:pillcon2 = 40000
  831. if ptype = 0:
  832. pillsleft[ptype] -= 1
  833. pcs_skin += 1
  834. pillcon += ((pillcon+15000)/40)+1000
  835. if pillcon > 40000: pillcon = 40000
  836. elseif ptype = 1:
  837. pillsleft[ptype] -= 1
  838. pcs_skin += rand(0,1)
  839. pillcon += ((pillcon+15000)/40)+ rand(250,1000)
  840. if pillcon > 40000: pillcon = 40000
  841. elseif ptype = 2:
  842. pillsleft[ptype] -= 1
  843. pcs_skin += rand(0,1)
  844. pillcon += ((pillcon+15000)/40)+ rand(0,500)
  845. if pillcon > 40000: pillcon = 40000
  846. elseif ptype = 3:
  847. pillsleft[ptype] -= 1
  848. pcs_skin += rand(0,1)
  849. if rand(0,4) = 0: pain['tummy'] += rand(5,10)
  850. pillcon += ((pillcon+15000)/40)+ rand(250,2000)
  851. if pillcon > 40000: pillcon = 40000
  852. elseif ptype = 4:
  853. pillsleft[ptype] -= 1
  854. elseif ptype = 5:
  855. pillsleft[ptype] -= 1
  856. pcs_skin += 1
  857. EggRH += rand(10,80)
  858. end
  859. end
  860. --- din_bad ---------------------------------