|
@@ -12,7 +12,7 @@ $ARGS[2] and on are the stats to be affected by the workout NOTE: use the gs 'ex
|
|
|
}
|
|
|
|
|
|
if $ARGS[0] = 'start':
|
|
|
- if (pcs_stam >=15 or pcs_stam >= 10 and bookYog + obruch > 0):
|
|
|
+ if (pcs_stam >=15 or pcs_stam >= 10 and mc_inventory['book_yoga'] + mc_inventory['hula_hoop'] > 0):
|
|
|
'There is enough space in the room to <a href="exec: gt ''exercise'', ''workout''">exercise</a>.'
|
|
|
else
|
|
|
'There is enough space in the room for a variety of exercises, but you don''t have the energy to work out now.'
|
|
@@ -150,49 +150,49 @@ if $ARGS[0] = 'manual':
|
|
|
act 'Do pushups for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'push'
|
|
|
act 'Do crunches for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'press'
|
|
|
act 'Do squats for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'butt'
|
|
|
- if skak > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['skipping_rope'] > 0 and $loc ! 'meadow':
|
|
|
act 'Jump rope for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'rope'
|
|
|
end
|
|
|
- if bookYog > 0:
|
|
|
+ if mc_inventory['book_yoga'] > 0:
|
|
|
act 'Do yoga for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga'
|
|
|
end
|
|
|
- if obruch > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['hula_hoop'] > 0 and $loc ! 'meadow':
|
|
|
act 'Use your hula hoop for 15 minutes': timemult = 1 & gs 'exercise', 'timestring' & gt 'exercise', 'hula'
|
|
|
end
|
|
|
act 'Do pushups for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'push'
|
|
|
act 'Do crunches for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'press'
|
|
|
act 'Do squats for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'butt'
|
|
|
- if skak > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['skipping_rope'] > 0 and $loc ! 'meadow':
|
|
|
act 'Jump rope for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'rope'
|
|
|
end
|
|
|
- if bookYog > 0:
|
|
|
+ if mc_inventory['book_yoga'] > 0:
|
|
|
act 'Do yoga for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga'
|
|
|
end
|
|
|
- if obruch > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['hula_hoop'] > 0 and $loc ! 'meadow':
|
|
|
act 'Use your hula hoop for 30 minutes': timemult = 2 & gs 'exercise', 'timestring' & gt 'exercise', 'hula'
|
|
|
end
|
|
|
act 'Do pushups for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'push'
|
|
|
act 'Do crunches for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'press'
|
|
|
act 'Do squats for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'butt'
|
|
|
- if skak > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['skipping_rope'] > 0 and $loc ! 'meadow':
|
|
|
act 'Jump rope for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'rope'
|
|
|
end
|
|
|
- if bookYog > 0:
|
|
|
+ if mc_inventory['book_yoga'] > 0:
|
|
|
act 'Do yoga for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga'
|
|
|
end
|
|
|
- if obruch > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['hula_hoop'] > 0 and $loc ! 'meadow':
|
|
|
act 'Use your hula hoop for 45 minutes': timemult = 3 & gs 'exercise', 'timestring' & gt 'exercise', 'hula'
|
|
|
end
|
|
|
act 'Do pushups for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'push'
|
|
|
act 'Do crunches for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'press'
|
|
|
act 'Do squats for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'butt'
|
|
|
- if skak > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['skipping_rope'] > 0 and $loc ! 'meadow':
|
|
|
act 'Jump rope for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'rope'
|
|
|
end
|
|
|
- if bookYog > 0:
|
|
|
+ if mc_inventory['book_yoga'] > 0:
|
|
|
act 'Do yoga for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'yoga'
|
|
|
end
|
|
|
- if obruch > 0 and $loc ! 'meadow':
|
|
|
+ if mc_inventory['hula_hoop'] > 0 and $loc ! 'meadow':
|
|
|
act 'Use your hula hoop for 60 minutes': timemult = 4 & gs 'exercise', 'timestring' & gt 'exercise', 'hula'
|
|
|
end
|
|
|
end
|
|
@@ -274,9 +274,9 @@ if $ARGS[0] = 'matrix':
|
|
|
'<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>'
|
|
|
gs 'exercise', 'matrixdata', 0, 'Push ups'
|
|
|
gs 'exercise', 'matrixdata', 1, 'Crunches'
|
|
|
- if skak > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 2, 'Jump rope'
|
|
|
- if bookYog > 0: gs 'exercise', 'matrixdata', 3, 'Yoga'
|
|
|
- if obruch > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 4, 'Hula hoop'
|
|
|
+ if mc_inventory['skipping_rope'] > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 2, 'Jump rope'
|
|
|
+ if mc_inventory['book_yoga'] > 0: gs 'exercise', 'matrixdata', 3, 'Yoga'
|
|
|
+ if mc_inventory['hula_hoop'] > 0 and $loc ! 'meadow': gs 'exercise', 'matrixdata', 4, 'Hula hoop'
|
|
|
gs 'exercise', 'matrixdata', 5, 'Squats'
|
|
|
|
|
|
'</center></table>'
|