1
0

exercise 21 KB

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