exercise 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  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 >=30:
  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 >=30 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 >= 30:
  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. if bookYog > 0:
  136. Act 'Do yoga for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  137. end
  138. if obruch > 0 and $loc ! 'meadow':
  139. Act 'Use your hula hoop for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  140. end
  141. end
  142. if pcs_stam >= 40:
  143. Act 'Do pushups for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  144. Act 'Do crunches for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  145. if skak > 0 and $loc ! 'meadow':
  146. Act 'Jump rope for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  147. end
  148. if bookYog > 0:
  149. Act 'Do yoga for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  150. end
  151. if obruch > 0 and $loc ! 'meadow':
  152. Act 'Use your hula hoop for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  153. end
  154. end
  155. if pcs_stam >= 50:
  156. Act 'Do pushups for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  157. Act 'Do crunches for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  158. if skak > 0 and $loc ! 'meadow':
  159. Act 'Jump rope for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  160. end
  161. if bookYog > 0:
  162. Act 'Do yoga for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  163. end
  164. if obruch > 0 and $loc ! 'meadow':
  165. Act 'Use your hula hoop for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  166. end
  167. end
  168. if pcs_stam >= 60:
  169. Act 'Do pushups for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'push', 'manual'
  170. Act 'Do crunches for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'press', 'manual'
  171. if skak > 0 and $loc ! 'meadow':
  172. Act 'Jump rope for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'rope', 'manual'
  173. end
  174. if bookYog > 0:
  175. Act 'Do yoga for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga', 'manual'
  176. end
  177. if obruch > 0 and $loc ! 'meadow':
  178. Act 'Use your hula hoop for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'hula', 'manual'
  179. end
  180. end
  181. if pcs_stam < 30:
  182. 'You don''t have the energy to work out anymore now.'
  183. end
  184. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  185. Act 'End workout and get dressed':
  186. cla
  187. minut += 5
  188. gs 'clothing', 'recover_lost_clothes', $sportloc, 1
  189. gt $loc, $metka
  190. end
  191. else
  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'')">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'')">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'')">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'')">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] = 'matrix':
  217. *clr
  218. cla
  219. exer_stam[i] = exer_stam0[i] + exer_stam1[i] + exer_stam2[i] + exer_stam3[i] + exer_stam4[i]
  220. act'Confirm':
  221. gt 'exercise', 'setup'
  222. end
  223. 'Choose your exercise options from the following table:'
  224. '<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>'
  225. gs 'exercise', 'matrixdata', 0, 'Push ups'
  226. gs 'exercise', 'matrixdata', 1, 'Crunches'
  227. if skak > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 2, 'Jump rope'
  228. if bookYog > 0: gs 'exercise', 'matrixdata', 3, 'Yoga'
  229. if obruch > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 4, 'Hula hoop'
  230. '</center></table>'
  231. *nl
  232. 'Total stamina required - <<exer_stam[i]>>'
  233. end
  234. if $ARGS[0] = 'matrixdata':
  235. '<TR>'
  236. *p '<TD><<$ARGS[2]>></TD>'
  237. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 0:
  238. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 0'
  239. *p '<TD>Selected</TD>'
  240. else
  241. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 0'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  242. end
  243. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 1:
  244. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 30'
  245. *p '<TD>Selected</TD>'
  246. else
  247. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 1'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  248. end
  249. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 2:
  250. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 40'
  251. *p '<TD>Selected</TD>'
  252. else
  253. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 2'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  254. end
  255. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 3:
  256. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 50'
  257. *p '<TD>Selected</TD>'
  258. else
  259. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 3'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  260. end
  261. if dyneval('RESULT = exer_rout<<ARGS[1]>>[<<i>>]') = 4:
  262. dynamic 'exer_stam<<ARGS[1]>>[<<i>>] = 60'
  263. *p '<TD>Selected</TD>'
  264. else
  265. *p '<TD><a href="exec:dynamic ''exer_rout<<ARGS[1]>>[i] = 4'' & gt ''exercise'', ''matrix''">Select</a></TD>'
  266. end
  267. exer_stam[i] = exer_stam0[i] + exer_stam1[i] + exer_stam2[i] + exer_stam3[i] + exer_stam4[i]
  268. end
  269. if $ARGS[0] = 'hula':
  270. cla
  271. *clr
  272. loopcount = 1
  273. :timeloophula
  274. gs 'exercise', 'tier2', 0, 'agil_exp', 'react_exp'
  275. if loopcount < timemult: loopcount += 1 & jump 'timeloophula'
  276. loopcount = 0
  277. timemult = 0
  278. if $clothingworntype ! 'nude':
  279. if $location_type = 'secluded':
  280. if month >=5 and month <= 9:
  281. '<center><img src="images/pc/activities/hulaoutdoors.jpg"></center>'
  282. else
  283. '<center><img src="images/pc/activities/hulawinter.gif"></center>'
  284. end
  285. else
  286. '<center><img src="images/pc/activities/huladressed.gif"></center>'
  287. end
  288. else
  289. '<center><img src="images/pc/activities/obruch.gif"></center>'
  290. end
  291. 'You develop your dexterity by using your hula hoop for <<$timestring>> minutes.'
  292. if exer_auto = 1:
  293. act 'Continue': gt 'exercise', 'auto_end'
  294. else
  295. act 'Continue': gt 'exercise', 'manual'
  296. end
  297. end
  298. if $ARGS[0] = 'yoga':
  299. cla
  300. *clr
  301. loopcount = 1
  302. :timeloopyoga
  303. gs 'exercise', 'tier2', 0, 'sprt_exp', 'agil_exp', 'pcs_willpwr'
  304. if loopcount < timemult: loopcount += 1 & jump 'timeloopyoga'
  305. loopcount = 0
  306. timemult = 0
  307. if $clothingworntype ! 'nude':
  308. '<center><img src="images/pc/activities/yoga_dressed.jpg"></center>'
  309. elseif tanga = 1:
  310. '<center><img src="images/pc/activities/yoga_underwear.jpg"></center>'
  311. else
  312. '<center><img src="images/pc/activities/yoga_naked.png"></center>'
  313. end
  314. 'You meditate for <<$timestring>> minutes, developing your will.'
  315. if exer_auto = 1:
  316. act 'Continue': gt 'exercise', 'auto4'
  317. else
  318. act 'Continue': gt 'exercise', 'manual'
  319. end
  320. end
  321. if $ARGS[0] = 'rope':
  322. cla
  323. *clr
  324. loopcount = 1
  325. :timelooprope
  326. gs 'exercise', 'tier3', 0, 'agil_exp', 'react_exp'
  327. if loopcount < timemult: loopcount += 1 & jump 'timelooprope'
  328. loopcount = 0
  329. timemult = 0
  330. if $clothingworntype ! 'nude':
  331. '<center><img src="images/pc/activities/rope_dressed.jpg"></center>'
  332. elseif tanga = 1:
  333. '<center><img src="images/pc/activities/rope_underwear.jpg"></center>'
  334. else
  335. '<center><img src="images/pc/activities/rope_naked.jpg"></center>'
  336. end
  337. 'You jump rope for <<$timestring>> minutes, developing your speed.'
  338. if exer_auto = 1:
  339. act 'Continue': gt 'exercise', 'auto3'
  340. else
  341. act 'Continue': gt 'exercise', 'manual'
  342. end
  343. end
  344. if $ARGS[0] = 'press':
  345. cla
  346. *clr
  347. loopcount = 1
  348. :timelooppress
  349. gs 'exercise', 'tier3', 0, 'vital_exp'
  350. if loopcount < timemult: loopcount += 1 & jump 'timelooppress'
  351. loopcount = 0
  352. timemult = 0
  353. if $clothingworntype ! 'nude':
  354. '<center><img src="images/pc/activities/abdominal_dressed.jpg"></center>'
  355. elseif tanga = 1:
  356. '<center><img src="images/pc/activities/abdominal_underwear.jpg"></center>'
  357. else
  358. '<center><img src="images/pc/activities/abdominal_naked.jpg"></center>'
  359. end
  360. 'You do a series of abdominal exercises for <<$timestring>> minutes, developing your endurance.'
  361. if exer_auto = 1:
  362. act 'Continue': gt 'exercise', 'auto2'
  363. else
  364. act 'Continue': gt 'exercise', 'manual'
  365. end
  366. end
  367. if $ARGS[0] = 'push':
  368. cla
  369. *clr
  370. loopcount = 1
  371. :timelooppush
  372. gs 'exercise', 'tier3', 0, 'stren_exp'
  373. if loopcount < timemult: loopcount += 1 & jump 'timelooppush'
  374. loopcount = 0
  375. timemult = 0
  376. if $clothingworntype ! 'nude':
  377. '<center><img src="images/pc/activities/push_dressed.jpg"></center>'
  378. elseif tanga = 1:
  379. '<center><img src="images/pc/activities/push_underwear.jpg"></center>'
  380. else
  381. '<center><img src="images/pc/activities/push_naked.jpg"></center>'
  382. end
  383. 'You do push-ups for <<$timestring>> minutes, developing your strength.'
  384. pushnum = pcs_stren * pcs_sleep * rand(1,3) / 200
  385. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  386. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  387. if exer_auto = 1:
  388. act 'Continue': gt 'exercise', 'auto1'
  389. else
  390. act 'Continue': gt 'exercise', 'manual'
  391. end
  392. end
  393. if $ARGS[0] = 'tier1':
  394. if ARGS[1] = 0: minut += 15
  395. pcs_stam -= 5
  396. pcs_sweat += 3
  397. fat -= 1
  398. pcs_mood += 3
  399. pcs_willpwr += 3
  400. if $ARGS[3] = '':
  401. dynamic '<<$ARGS[2]>> += 1'
  402. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  403. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  404. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  405. end
  406. else
  407. i = 2
  408. :exploop
  409. if $ARGS[i] ! '':
  410. dynamic '<<$ARGS[i]>> += rand(0,1)'
  411. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  412. i += 1
  413. jump 'exploop'
  414. else
  415. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  416. killvar 'steroidcheck'
  417. killvar 'i'
  418. exit
  419. end
  420. end
  421. end
  422. if $ARGS[0] = 'tier2':
  423. if ARGS[1] = 0: minut += 15
  424. pcs_stam -= 10
  425. pcs_sweat += 10
  426. fat -= 2
  427. pcs_mood += 5
  428. pcs_willpwr += 5
  429. if $ARGS[3] = '':
  430. dynamic '<<$ARGS[2]>> += rand(2,3)'
  431. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  432. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  433. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  434. end
  435. else
  436. i = 2
  437. :exploop2
  438. if $ARGS[i] ! '':
  439. dynamic '<<$ARGS[i]>> += rand(1,2)'
  440. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  441. i += 1
  442. jump 'exploop2'
  443. else
  444. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  445. killvar 'steroidcheck'
  446. killvar 'i'
  447. end
  448. end
  449. end
  450. if $ARGS[0] = 'tier3':
  451. if ARGS[1] = 0: minut += 15
  452. pcs_stam -= 15
  453. pcs_sweat += 15
  454. fat -= 3
  455. pcs_mood += 5
  456. pcs_willpwr += 5
  457. if $ARGS[3] = '':
  458. dynamic '<<$ARGS[2]>> += rand(3,5)'
  459. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  460. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  461. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  462. end
  463. else
  464. i = 2
  465. :exploop3
  466. if $ARGS[i] ! '':
  467. dynamic '<<$ARGS[i]>> += rand(2,3)'
  468. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  469. i += 1
  470. jump 'exploop3'
  471. else
  472. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  473. killvar 'steroidcheck'
  474. killvar 'i'
  475. end
  476. end
  477. end
  478. if $ARGS[0] = 'tier4':
  479. if ARGS[1] = 0: minut += 15
  480. pcs_stam -= 25
  481. pcs_sweat += 25
  482. fat -= 4
  483. pcs_mood += 5
  484. pcs_willpwr += 5
  485. if $ARGS[3] = '':
  486. dynamic '<<$ARGS[2]>> += rand(7,10)'
  487. if $ARGS[2] = 'vital_exp' or $ARGS[2] = 'stren_exp':
  488. dynamic '<<$ARGS[2]>> += rand(0,steroid_dose)'
  489. if steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  490. end
  491. else
  492. i = 2
  493. :exploop4
  494. if $ARGS[i] ! '':
  495. dynamic '<<$ARGS[i]>> += rand(3,5)'
  496. if $ARGS[i] = 'vital_exp' or $ARGS[i] = 'stren_exp': dynamic '<<$ARGS[i]>> += rand(0,steroid_dose) & steroidcheck = 1'
  497. i += 1
  498. jump 'exploop4'
  499. else
  500. if steroidcheck = 1 and steroid_dose > 0 and rand(1,5) <= steroid_dose:clit_size += rand(0,1)
  501. killvar 'steroidcheck'
  502. killvar 'i'
  503. end
  504. end
  505. end
  506. if $ARGS[0] = 'timestring':
  507. if timemult = 1: $timestring = 'fifteen'
  508. if timemult = 2: $timestring = 'thirty'
  509. if timemult = 3: $timestring = 'forty-five'
  510. if timemult = 4: $timestring = 'sixty'
  511. end
  512. --- exercise ---------------------------------