exercise 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. # exercise
  2. !{This will centralize calls for exercise. For calls where you wish to allow multiple types of exercises, such as a bedroom or yard, use gs 'exercise', 'start'
  3. For direct calls use this format: gs 'exercise', $ARGS[0], ARG[1], $ARGS[2], $ARGS[3], $ARGS[4]
  4. $ARGS[0] is the workout tier and the higher the tier, the greater the workout intensity.
  5. Values: 'tier1' 'tier2' 'tier3' 'tier4'
  6. ARG[1] is the time override. By default the tiers are in 15 minute segments if being called from an event with predetermined time set this to 1
  7. Values: 0 (default of 15 minutes) 1 (time set to 0)
  8. $ARGS[2] and on are the stats to be affected by the workout NOTE: use the _exp variant, not the pcs_!!!!
  9. Values: 'stren_exp' 'vital_exp' 'agil_exp' 'sprt_exp' 'react_exp'
  10. Other stats can be added if desired - for a dance-a-thon you might use gs 'exercise', 'tier1', 0, 'agil_exp', 'danc_exp'
  11. }
  12. if $ARGS[0] = 'start':
  13. if $loc = 'Meadow':
  14. if sunWeather = 1:
  15. if pcs_stam >=15 or pcs_stam >= 10 and bookYog + obruch > 0:
  16. if $clothingworntype ! 'exercise' and pcs_exhibition < 35:
  17. '<center>You could do some exercises here if you were wearing workout clothes.</center>'
  18. elseif $clothingworntype ! 'exercise' and pcs_exhibition >= 35 and Miraloc ! 2 and temper >= 10:
  19. '<center>Your meadow is a perfect place to do some exercises. There is no one around, so you could do it <a href="exec: gt ''exercise'', ''workout'', ''nude'', ''Meadow''"> in the nude</a>.</center>'
  20. else
  21. '<center>Your meadow is a perfect place to do some <a href="exec: gt ''exercise'', ''workout''">exercises</a>.</center>'
  22. end
  23. else
  24. '<center>Your meadow is a perfect place to do some exercises, but you don''t have the energy right now.</center>'
  25. end
  26. end
  27. elseif (pcs_stam >=15 or pcs_stam >= 10 and bookYog + obruch > 0) and $loc ! 'Meadow':
  28. '<center>There is enough space in the room to <a href="exec: gt ''exercise'', ''workout''">exercise</a>.</center>'
  29. else
  30. '<center>There is enough space in the room for a variety of exercises, but you don''t have the energy to work out now.</center>'
  31. end
  32. end
  33. if $ARGS[0] = 'workout':
  34. cla
  35. if $ARGS[2] ! '': $sportloc = $ARGS[2]
  36. gs 'stat'
  37. if $ARGS[1] = 'nude':
  38. gs 'clothing', 'strip', $sportloc
  39. gs 'arousal', 'foreplay', 15, 'exhibitionism'
  40. gs 'arousal', 'end'
  41. clothesAtLocation = FUNC('lost_clothes_here',$sportloc)
  42. minut -= 15
  43. gs 'stat'
  44. if exhibitionQW < 3: 'Your cheeks feel hot with embarrassment as you strip off your clothes. You giggle nervously at the thought of getting caught in the nude - the thought terrifies you but it also excites you.'
  45. end
  46. *nl
  47. '<a href="exec:gt ''exercise'', ''setup''">Click here</a> to set up your automated exercise options.'
  48. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  49. act 'End workout and get dressed':
  50. cla
  51. minut += 5
  52. gs 'clothing', 'recover_lost_clothes', $sportloc, 1
  53. gt $loc, $metka
  54. end
  55. else
  56. act 'Leave': gt $loc, $metka
  57. end
  58. act 'Manual': gt 'exercise', 'manual'
  59. if exer_stam[1] ! 0 and pcs_stam > exer_stam[1]: act '<<$excer_name[1]>> - (<<exer_stam[1]>> stamina)': x = 1 & gt 'exercise', 'auto'
  60. if exer_stam[2] ! 0 and pcs_stam > exer_stam[2]: act '<<$excer_name[2]>> - (<<exer_stam[2]>> stamina)': x = 2 & gt 'exercise', 'auto'
  61. if exer_stam[3] ! 0 and pcs_stam > exer_stam[3]: act '<<$excer_name[3]>> - (<<exer_stam[3]>> stamina)': x = 3 & gt 'exercise', 'auto'
  62. if exer_stam[4] ! 0 and pcs_stam > exer_stam[4]: act '<<$excer_name[4]>> - (<<exer_stam[4]>> stamina)': x = 4 & gt 'exercise', 'auto'
  63. end
  64. if $ARGS[0] = 'auto':
  65. exer_auto = 1
  66. if exer_rout0[x] > 0:
  67. timemult = exer_rout0[x] & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'auto'
  68. elseif exer_rout1[x] > 0:
  69. timemult = exer_rout1[x] & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'auto'
  70. elseif exer_rout2[x] > 0:
  71. timemult = exer_rout2[x] & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'auto'
  72. elseif exer_rout3[x] > 0:
  73. timemult = exer_rout3[x] & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'auto'
  74. elseif exer_rout4[x] > 0:
  75. timemult = exer_rout4[x] & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'auto'
  76. end
  77. end
  78. if $ARGS[0] = 'auto1':
  79. if exer_rout1[x] > 0:
  80. timemult = exer_rout1[x] & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'auto'
  81. elseif exer_rout2[x] > 0:
  82. timemult = exer_rout2[x] & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'auto'
  83. elseif exer_rout3[x] > 0:
  84. timemult = exer_rout3[x] & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'auto'
  85. elseif exer_rout4[x] > 0:
  86. timemult = exer_rout4[x] & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'auto'
  87. end
  88. end
  89. if $ARGS[0] = 'auto2':
  90. if exer_rout2[x] > 0:
  91. timemult = exer_rout2[x] & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'auto'
  92. elseif exer_rout3[x] > 0:
  93. timemult = exer_rout3[x] & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'auto'
  94. elseif exer_rout4[x] > 0:
  95. timemult = exer_rout4[x] & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'auto'
  96. else
  97. gt 'exercise', 'auto_end'
  98. end
  99. end
  100. if $ARGS[0] = 'auto3':
  101. if exer_rout3[x] > 0:
  102. timemult = exer_rout3[x] & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'auto'
  103. elseif exer_rout4[x] > 0:
  104. timemult = exer_rout4[x] & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'auto'
  105. else
  106. gt 'exercise', 'auto_end'
  107. end
  108. end
  109. if $ARGS[0] = 'auto4':
  110. if exer_rout4[x] > 0:
  111. timemult = exer_rout4[x] & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'auto'
  112. else
  113. gt 'exercise', 'auto_end'
  114. end
  115. end
  116. if $ARGS[0] = 'auto_end':
  117. exer_auto = 0
  118. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  119. cla
  120. minut += 5
  121. gs 'clothing', 'recover_lost_clothes', $sportloc, 1
  122. gt $loc, $metka
  123. else
  124. gt $loc, $metka
  125. end
  126. end
  127. if $ARGS[0] = 'manual':
  128. cla
  129. if pcs_stam >= 15:
  130. Act 'Do pushups for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  131. Act 'Do crunches for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  132. if skak > 0 and $loc ! 'meadow':
  133. Act 'Jump rope for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  134. end
  135. end
  136. if pcs_stam >= 10:
  137. if bookYog > 0:
  138. Act 'Do yoga for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  139. end
  140. if obruch > 0 and $loc ! 'meadow':
  141. Act 'Use your hula hoop for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  142. end
  143. end
  144. if pcs_stam >= 30:
  145. Act 'Do pushups for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  146. Act 'Do crunches for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  147. if skak > 0 and $loc ! 'meadow':
  148. Act 'Jump rope for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  149. end
  150. end
  151. if pcs_stam >= 20:
  152. if bookYog > 0:
  153. Act 'Do yoga for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  154. end
  155. if obruch > 0 and $loc ! 'meadow':
  156. Act 'Use your hula hoop for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  157. end
  158. end
  159. if pcs_stam >= 45:
  160. Act 'Do pushups for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  161. Act 'Do crunches for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  162. if skak > 0 and $loc ! 'meadow':
  163. Act 'Jump rope for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  164. end
  165. end
  166. if pcs_stam >= 30:
  167. if bookYog > 0:
  168. Act 'Do yoga for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  169. end
  170. if obruch > 0 and $loc ! 'meadow':
  171. Act 'Use your hula hoop for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  172. end
  173. end
  174. if pcs_stam >= 60:
  175. Act 'Do pushups for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  176. Act 'Do crunches for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  177. if skak > 0 and $loc ! 'meadow':
  178. Act 'Jump rope for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  179. end
  180. end
  181. if pcs_stam >= 40:
  182. if bookYog > 0:
  183. Act 'Do yoga for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  184. end
  185. if obruch > 0 and $loc ! 'meadow':
  186. Act 'Use your hula hoop for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  187. end
  188. end
  189. if pcs_stam < 10 or pcs_stam < 15 and bookYog + obruch = 0:
  190. 'You don''t have the energy to work out anymore now.'
  191. end
  192. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  193. Act 'End workout and get dressed':
  194. cla
  195. minut += 5
  196. gs 'clothing', 'recover_lost_clothes', $sportloc, 1
  197. gt $loc, $metka
  198. end
  199. else
  200. Act 'Leave': gt $loc, $metka
  201. end
  202. end
  203. if $ARGS[0] = 'setup':
  204. *clr
  205. cla
  206. '<center><b>Define up to 4 automated exercise routines.</b></center>'
  207. *nl
  208. *nl
  209. *nl
  210. *nl
  211. '<center><table><TH></TH><TH></TH><TH>Push ups</TH><TH>Crunches</TH><TH>Jump rope</TH><TH>Yoga</TH><TH>Hula hoop</TH>'
  212. '<TR><TD><<$excer_name[1]>></TD><TD><a href="exec:$excer_name[1] = input (''Enter name for exercise routine 1'')">rename</a></TD><TD><<exer_rout0[1]*15>> minutes</TD><TD><<exer_rout1[1]*15>> minutes</TD><TD><<exer_rout2[1]*15>> minutes</TD><TD><<exer_rout3[1]*15>> minutes</TD><TD><<exer_rout4[1]*15>> minutes</TD>'
  213. '<TR><TD><<$excer_name[2]>></TD><TD><a href="exec:$excer_name[2] = input (''Enter name for exercise routine 2'')">rename</a></TD><TD><<exer_rout0[2]*15>> minutes</TD><TD><<exer_rout1[2]*15>> minutes</TD><TD><<exer_rout2[2]*15>> minutes</TD><TD><<exer_rout3[2]*15>> minutes</TD><TD><<exer_rout4[2]*15>> minutes</TD>'
  214. '<TR><TD><<$excer_name[3]>></TD><TD><a href="exec:$excer_name[3] = input (''Enter name for exercise routine 3'')">rename</a></TD><TD><<exer_rout0[3]*15>> minutes</TD><TD><<exer_rout1[3]*15>> minutes</TD><TD><<exer_rout2[3]*15>> minutes</TD><TD><<exer_rout3[3]*15>> minutes</TD><TD><<exer_rout4[3]*15>> minutes</TD>'
  215. '<TR><TD><<$excer_name[4]>></TD><TD><a href="exec:$excer_name[4] = input (''Enter name for exercise routine 4'')">rename</a></TD><TD><<exer_rout0[4]*15>> minutes</TD><TD><<exer_rout1[4]*15>> minutes</TD><TD><<exer_rout2[4]*15>> minutes</TD><TD><<exer_rout3[4]*15>> minutes</TD><TD><<exer_rout4[4]*15>> minutes</TD>'
  216. '</table></center>'
  217. act 'Return': gt 'exercise', 'workout'
  218. act 'Define <<$excer_name[1]>>':i = 1 & gt 'exercise', 'matrix'
  219. act 'Define <<$excer_name[2]>>':i = 2 & gt 'exercise', 'matrix'
  220. act 'Define <<$excer_name[3]>>':i = 3 & gt 'exercise', 'matrix'
  221. act 'Define <<$excer_name[4]>>':i = 4 & gt 'exercise', 'matrix'
  222. !!exer_rout1 = default
  223. end
  224. if $ARGS[0] = 'matrix':
  225. *clr
  226. cla
  227. exer_stam[i] = exer_stam0[i] + exer_stam1[i] + exer_stam2[i] + exer_stam3[i] + exer_stam4[i]
  228. act'Confirm':
  229. gt 'exercise', 'setup'
  230. end
  231. 'Choose your exercise options from the following table:'
  232. '<center><table border=0 cellspacing=0 cellpadding=10 width=1000><TH>Exercise</TH><TH>None</TH><TH>15 mins</TH><TH>30 mins</TH><TH>45 mins</TH><TH>60 mins</TH>'
  233. gs 'exercise', 'matrixdata', 0, 'Push ups'
  234. gs 'exercise', 'matrixdata', 1, 'Crunches'
  235. if skak > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 2, 'Jump rope'
  236. if bookYog > 0: gs 'exercise', 'matrixdata', 3, 'Yoga'
  237. if obruch > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 4, 'Hula hoop'
  238. '</center></table>'
  239. *nl
  240. 'Total stamina required - <<exer_stam[i]>>'
  241. end
  242. if $ARGS[0] = 'matrixdata':
  243. '<TR>'
  244. *p '<TD><<$ARGS[2]>></TD>'
  245. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 0:
  246. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 0'
  247. *p '<TD>Selected</TD>'
  248. else
  249. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 0'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  250. end
  251. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 1:
  252. if ARGS[1] >= 3:
  253. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 10'
  254. else
  255. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 15'
  256. end
  257. *p '<TD>Selected</TD>'
  258. else
  259. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 1'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  260. end
  261. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 2:
  262. if ARGS[1] >= 3:
  263. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 20'
  264. else
  265. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 30'
  266. end
  267. *p '<TD>Selected</TD>'
  268. else
  269. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 2'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  270. end
  271. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 3:
  272. if ARGS[1] >= 3:
  273. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 30'
  274. else
  275. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 45'
  276. end
  277. *p '<TD>Selected</TD>'
  278. else
  279. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 3'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  280. end
  281. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 4:
  282. if ARGS[1] >= 3:
  283. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 40'
  284. else
  285. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 60'
  286. end
  287. *p '<TD>Selected</TD>'
  288. else
  289. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 4'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  290. end
  291. exer_stam[i] = exer_stam0[i] + exer_stam1[i] + exer_stam2[i] + exer_stam3[i] + exer_stam4[i]
  292. end
  293. if $ARGS[0] = 'hula':
  294. cla
  295. *clr
  296. loopcount = 1
  297. :timeloophula
  298. gs 'exercise', 'tier2', 0, 'agil_exp', 'react_exp'
  299. if loopcount < timemult: loopcount += 1 & jump 'timeloophula'
  300. loopcount = 0
  301. timemult = 0
  302. if $clothingworntype ! 'nude':
  303. if $location_type = 'secluded':
  304. if month >=5 and month <= 9:
  305. '<center><img src="images/pc/activities/hulaoutdoors.jpg"></center>'
  306. else
  307. '<center><img src="images/pc/activities/hulawinter.gif"></center>'
  308. end
  309. else
  310. '<center><img src="images/pc/activities/huladressed.gif"></center>'
  311. end
  312. else
  313. '<center><img src="images/pc/activities/obruch.gif"></center>'
  314. end
  315. 'You develop your dexterity by using your hula hoop for <<$timestring>> minutes.'
  316. if exer_auto = 1:
  317. act 'Continue': gt 'exercise', 'auto_end'
  318. else
  319. act 'Continue': gt 'exercise', 'manual'
  320. end
  321. end
  322. if $ARGS[0] = 'yoga':
  323. cla
  324. *clr
  325. loopcount = 1
  326. :timeloopyoga
  327. gs 'exercise', 'tier2', 0, 'sprt_exp', 'agil_exp', 'pcs_willpwr'
  328. if loopcount < timemult: loopcount += 1 & jump 'timeloopyoga'
  329. loopcount = 0
  330. timemult = 0
  331. if $clothingworntype ! 'nude':
  332. '<center><img src="images/pc/activities/yoga_dressed.jpg"></center>'
  333. elseif tanga = 1:
  334. '<center><img src="images/pc/activities/yoga_underwear.jpg"></center>'
  335. else
  336. '<center><img src="images/pc/activities/yoga_naked.png"></center>'
  337. end
  338. 'You meditate for <<$timestring>> minutes, developing your will.'
  339. if exer_auto = 1:
  340. act 'Continue': gt 'exercise', 'auto4'
  341. else
  342. act 'Continue': gt 'exercise', 'manual'
  343. end
  344. end
  345. if $ARGS[0] = 'rope':
  346. cla
  347. *clr
  348. loopcount = 1
  349. :timelooprope
  350. gs 'exercise', 'tier3', 0, 'agil_exp', 'react_exp'
  351. if loopcount < timemult: loopcount += 1 & jump 'timelooprope'
  352. loopcount = 0
  353. timemult = 0
  354. if $clothingworntype ! 'nude':
  355. '<center><img src="images/pc/activities/rope_dressed.jpg"></center>'
  356. elseif tanga = 1:
  357. '<center><img src="images/pc/activities/rope_underwear.jpg"></center>'
  358. else
  359. '<center><img src="images/pc/activities/rope_naked.jpg"></center>'
  360. end
  361. 'You jump rope for <<$timestring>> minutes, developing your speed.'
  362. if exer_auto = 1:
  363. act 'Continue': gt 'exercise', 'auto3'
  364. else
  365. act 'Continue': gt 'exercise', 'manual'
  366. end
  367. end
  368. if $ARGS[0] = 'press':
  369. cla
  370. *clr
  371. loopcount = 1
  372. :timelooppress
  373. gs 'exercise', 'tier3', 0, 'vital_exp'
  374. if loopcount < timemult: loopcount += 1 & jump 'timelooppress'
  375. loopcount = 0
  376. timemult = 0
  377. if $clothingworntype ! 'nude':
  378. '<center><img src="images/pc/activities/abdominal_dressed.jpg"></center>'
  379. elseif tanga = 1:
  380. '<center><img src="images/pc/activities/abdominal_underwear.jpg"></center>'
  381. else
  382. '<center><img src="images/pc/activities/abdominal_naked.jpg"></center>'
  383. end
  384. 'You do a series of abdominal exercises for <<$timestring>> minutes, developing your endurance.'
  385. if exer_auto = 1:
  386. act 'Continue': gt 'exercise', 'auto2'
  387. else
  388. act 'Continue': gt 'exercise', 'manual'
  389. end
  390. end
  391. if $ARGS[0] = 'push':
  392. cla
  393. *clr
  394. loopcount = 1
  395. :timelooppush
  396. gs 'exercise', 'tier3', 0, 'stren_exp'
  397. if loopcount < timemult: loopcount += 1 & jump 'timelooppush'
  398. loopcount = 0
  399. timemult = 0
  400. if $clothingworntype ! 'nude':
  401. '<center><img src="images/pc/activities/push_dressed.jpg"></center>'
  402. elseif tanga = 1:
  403. '<center><img src="images/pc/activities/push_underwear.jpg"></center>'
  404. else
  405. '<center><img src="images/pc/activities/push_naked.jpg"></center>'
  406. end
  407. 'You do push-ups for <<$timestring>> minutes, developing your strength.'
  408. pushnum = pcs_stren * pcs_sleep * rand(1,3) / 200
  409. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  410. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  411. if exer_auto = 1:
  412. act 'Continue': gt 'exercise', 'auto1'
  413. else
  414. act 'Continue': gt 'exercise', 'manual'
  415. end
  416. end
  417. if $ARGS[0] = 'tier1':
  418. if ARGS[1] = 0: minut += 15
  419. pcs_stam -= 5
  420. pcs_sweat += 3
  421. fat -= 1
  422. pcs_mood += 3
  423. pcs_willpwr += 3
  424. if $ARGS[3] = '':
  425. dynamic '<<$ARGS[2]>> += 1'
  426. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  427. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  428. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  429. end
  430. else
  431. i = 2
  432. :exploop
  433. if $ARGS[i] ! '':
  434. dynamic '<<$ARGS[i]>> += rand(0,1)'
  435. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  436. i += 1
  437. jump 'exploop'
  438. else
  439. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  440. killvar 'steroidcheck'
  441. killvar 'i'
  442. exit
  443. end
  444. end
  445. end
  446. if $ARGS[0] = 'tier2':
  447. if ARGS[1] = 0: minut += 15
  448. pcs_stam -= 10
  449. pcs_sweat += 10
  450. fat -= 2
  451. pcs_mood += 5
  452. pcs_willpwr += 5
  453. if $ARGS[3] = '':
  454. dynamic '<<$ARGS[2]>> += rand(2,3)'
  455. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  456. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  457. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  458. end
  459. else
  460. i = 2
  461. :exploop2
  462. if $ARGS[i] ! '':
  463. dynamic '<<$ARGS[i]>> += rand(1,2)'
  464. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  465. i += 1
  466. jump 'exploop2'
  467. else
  468. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  469. killvar 'steroidcheck'
  470. killvar 'i'
  471. end
  472. end
  473. end
  474. if $ARGS[0] = 'tier3':
  475. if ARGS[1] = 0: minut += 15
  476. pcs_stam -= 15
  477. pcs_sweat += 15
  478. fat -= 3
  479. pcs_mood += 5
  480. pcs_willpwr += 5
  481. if $ARGS[3] = '':
  482. dynamic '<<$ARGS[2]>> += rand(3,5)'
  483. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  484. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  485. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  486. end
  487. else
  488. i = 2
  489. :exploop3
  490. if $ARGS[i] ! '':
  491. dynamic '<<$ARGS[i]>> += rand(2,3)'
  492. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  493. i += 1
  494. jump 'exploop3'
  495. else
  496. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  497. killvar 'steroidcheck'
  498. killvar 'i'
  499. end
  500. end
  501. end
  502. if $ARGS[0] = 'tier4':
  503. if ARGS[1] = 0: minut += 15
  504. pcs_stam -= 25
  505. pcs_sweat += 25
  506. fat -= 4
  507. pcs_mood += 5
  508. pcs_willpwr += 5
  509. if $ARGS[3] = '':
  510. dynamic '<<$ARGS[2]>> += rand(7,10)'
  511. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  512. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  513. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  514. end
  515. else
  516. i = 2
  517. :exploop4
  518. if $ARGS[i] ! '':
  519. dynamic '<<$ARGS[i]>> += rand(3,5)'
  520. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  521. i += 1
  522. jump 'exploop4'
  523. else
  524. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  525. killvar 'steroidcheck'
  526. killvar 'i'
  527. end
  528. end
  529. end
  530. if $ARGS[0] = 'timestring':
  531. if timemult = 1: $timestring = 'fifteen'
  532. if timemult = 2: $timestring = 'thirty'
  533. if timemult = 3: $timestring = 'forty-five'
  534. if timemult = 4: $timestring = 'sixty'
  535. end
  536. --- exercise ---------------------------------