exercise 20 KB

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