rachels
|
335a08649d
remove colon after else
|
3 years ago |
Spackled Lanturn
|
588e1bf067
[fixed] a bunch of syntax errors from earlier commits
|
3 years ago |
Spackled Lanturn
|
584b10db95
[fixed] updated unicoursework to use the current names for things in uniutil. also updated a couple functions that are the inverse of another function to be defined in terms of that other function
|
3 years ago |
Spackled Lanturn
|
2276a15754
[changed] grouped together related functions in uniutil into pseudo-objects ($ARGS[0] is object and $ARGS[1] is method) and changed all func('uniutil', 'foo') ! 0 calls to func('uniutil', 'foo') to make meaning clearer. added some additional methods like func('uniutil', 'student', 'enrolled') and func('uniutil', 'student', 'not_enrolled'). added a missing case for transferring from legacy vars to new vars
|
3 years ago |
Spackled Lanturn
|
d7758993f1
[changed] wrapped all accesses to vars and constants related to lectures and assignments in uniutil calls
|
3 years ago |
Spackled Lanturn
|
ece34efc4b
[changed] wrapped all accesses to the value of student in a function call in preparation for adding checks that the player should still be a student when this is checked. made expulsion set student = -1, and changed some places that checked student = 0 to check student <= 0 to fix a bug where you could reapply to the university after being expelled only to be instantly expelled again. moved logic for enrolling and unenrolling from the university to the same file as function for checking value of student to cut down on code duplication and make this the only place where the raw student variable is accessed. fixed two typos
|
3 years ago |
Spackled Lanturn
|
96a1dee0b7
[changed] centralized the code for doing university coursework in one file instead of having it largely copy-pasted all places it can be done. this will also make adding this option in other locations easier
|
4 years ago |