|
@@ -102,33 +102,34 @@ if $ARGS[0] = 'start':
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- if university['semester_week'] > 0:
|
|
|
- i = 0
|
|
|
- :study_loop
|
|
|
- if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
|
|
|
- if dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_grade_gain'']') < dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_max'']'):
|
|
|
- dynamic ' act ''Study for your <<$class_list_name[i]>> class (30 minuts)'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '
|
|
|
- else
|
|
|
- *nl
|
|
|
- 'You don''t need to study more this week for you <<$class_list_name[i]>> class'
|
|
|
+ if university['enrolled_in_semester'] > university['semester_passed']:
|
|
|
+ if university['semester_week'] > 0:
|
|
|
+ i = 0
|
|
|
+ :study_loop
|
|
|
+ if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
|
|
|
+ if dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_grade_gain'']') < dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_max'']'):
|
|
|
+ dynamic ' act ''Study for your <<$class_list_name[i]>> class (30 minuts)'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '
|
|
|
+ else
|
|
|
+ *nl
|
|
|
+ 'You don''t need to study more this week for you <<$class_list_name[i]>> class'
|
|
|
+ end
|
|
|
end
|
|
|
+
|
|
|
+ i += 1
|
|
|
+ if ARRSIZE('class_list_institution') >= i: jump 'study_loop'
|
|
|
+ killvar 'i'
|
|
|
+ elseif university['exam_week'] > 0:
|
|
|
+ i = 0
|
|
|
+ :exam_loop
|
|
|
+ if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>' and func('uni_programs', 'exam', 'is_over', $class_list_name[i]) = 0:
|
|
|
+ dynamic ' act ''Study intensely for your <<$class_list_name[i]>> exam (30 minuts)'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '
|
|
|
+ end
|
|
|
+
|
|
|
+ i += 1
|
|
|
+ if ARRSIZE('class_list_institution') >= i: jump 'exam_loop'
|
|
|
+ killvar 'i'
|
|
|
end
|
|
|
-
|
|
|
- i += 1
|
|
|
- if ARRSIZE('class_list_institution') >= i: jump 'study_loop'
|
|
|
- killvar 'i'
|
|
|
- elseif university['exam_week'] > 0:
|
|
|
- i = 0
|
|
|
- :exam_loop
|
|
|
- if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>' and func('uni_programs', 'exam', 'is_over', $class_list_name[i]) = 0:
|
|
|
- dynamic ' act ''Study intensely for your <<$class_list_name[i]>> exam (30 minuts)'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '
|
|
|
- end
|
|
|
-
|
|
|
- i += 1
|
|
|
- if ARRSIZE('class_list_institution') >= i: jump 'exam_loop'
|
|
|
- killvar 'i'
|
|
|
end
|
|
|
-
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'stolPar':
|
|
@@ -202,31 +203,33 @@ if $ARGS[0] = 'stolPar':
|
|
|
act 'Finish all of your homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
|
|
|
end
|
|
|
|
|
|
- if university['semester_week'] > 0:
|
|
|
- i = 0
|
|
|
- :study_loop
|
|
|
- if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
|
|
|
- if dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_grade_gain'']') < dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_max'']'):
|
|
|
- dynamic ' act ''Study for your <<$class_list_name[i]>> class (30 minuts)'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
|
|
|
- else
|
|
|
- *nl
|
|
|
- 'You don''t need to study more this week for you <<$class_list_name[i]>> class'
|
|
|
+ if university['enrolled_in_semester'] > university['semester_passed']:
|
|
|
+ if university['semester_week'] > 0:
|
|
|
+ i = 0
|
|
|
+ :study_loop
|
|
|
+ if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
|
|
|
+ if dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_grade_gain'']') < dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_max'']'):
|
|
|
+ dynamic ' act ''Study for your <<$class_list_name[i]>> class (30 minuts)'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
|
|
|
+ else
|
|
|
+ *nl
|
|
|
+ 'You don''t need to study more this week for you <<$class_list_name[i]>> class'
|
|
|
+ end
|
|
|
end
|
|
|
+
|
|
|
+ i += 1
|
|
|
+ if ARRSIZE('class_list_institution') >= i: jump 'study_loop'
|
|
|
+ killvar 'i'
|
|
|
+ elseif university['exam_week'] > 0:
|
|
|
+ i = 0
|
|
|
+ :exam_loop
|
|
|
+ if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>' and func('uni_programs', 'exam', 'is_over', $class_list_name[i]) = 0:
|
|
|
+ dynamic ' act ''Study intensely for your <<$class_list_name[i]>> exam (30 minuts)'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
|
|
|
+ end
|
|
|
+
|
|
|
+ i += 1
|
|
|
+ if ARRSIZE('class_list_institution') >= i: jump 'exam_loop'
|
|
|
+ killvar 'i'
|
|
|
end
|
|
|
-
|
|
|
- i += 1
|
|
|
- if ARRSIZE('class_list_institution') >= i: jump 'study_loop'
|
|
|
- killvar 'i'
|
|
|
- elseif university['exam_week'] > 0:
|
|
|
- i = 0
|
|
|
- :exam_loop
|
|
|
- if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>' and func('uni_programs', 'exam', 'is_over', $class_list_name[i]) = 0:
|
|
|
- dynamic ' act ''Study intensely for your <<$class_list_name[i]>> exam (30 minuts)'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
|
|
|
- end
|
|
|
-
|
|
|
- i += 1
|
|
|
- if ARRSIZE('class_list_institution') >= i: jump 'exam_loop'
|
|
|
- killvar 'i'
|
|
|
end
|
|
|
|
|
|
killvar '$stol_loc_temp'
|
|
@@ -484,7 +487,7 @@ if $ARGS[0] = 'studying_exam':
|
|
|
else
|
|
|
'You study for half an hour, and think you are improving a lot.'
|
|
|
end
|
|
|
- gs 'grades', 'grade_award', '<<$ARGS[1]>>', '<<$ARGS[2]>>', 'yes', study_mod
|
|
|
+ gs 'grades', 'grade_award', '<<$ARGS[1]>>', '<<$ARGS[2]>>', study_mod
|
|
|
end
|
|
|
|
|
|
gs 'stat'
|