exercise 21 KB

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