Spackled Lanturn
|
2a7c87570a
Merge remote-tracking branch 'upstream/master'
|
4 years ago |
Spackled Lanturn
|
5e0d471864
[fixed] move call to function to update legacy university vars to saveupdater (the file for updating vars when loading a save) instead of having it run as part of every call to get the player's current university enrollment status
|
4 years ago |
rachels
|
335a08649d
remove colon after else
|
4 years ago |
Spackled Lanturn
|
d6ba22bd13
[fixed] syntax errors from earlier commits
|
4 years ago |
Spackled Lanturn
|
70461307e9
[changed] wrapped all usages of diplom and fakediplom in calls to uniutil. made it so that obtaining the real diploma makes the player no longer aware they need a fake diploma. fixed a small number of typos in the text near this change in etoexib
|
4 years ago |
Spackled Lanturn
|
588e1bf067
[fixed] a bunch of syntax errors from earlier commits
|
4 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
|
4 years ago |
Spackled Lanturn
|
ad9e1a7123
[fixed] made the months text says that things related to the University take place be tied to the actual variables instead of just being hardcoded. if months are ever changed, text will now autoupdate
|
4 years ago |
Spackled Lanturn
|
8916eab76d
[changed] defined prepclass update_count in terms of set_count and count similarly to how other parts of uniutil work
|
4 years ago |
Spackled Lanturn
|
62ff55313a
[changed] moved entrance exam passing criteria to uniutil
|
4 years ago |
Spackled Lanturn
|
ae93ed2ba6
[changed] made the scholarship variable set to its actual value instead of 1 or 0 to make it possible to have different scholarship values. modified the text for the exam and deans office to make the fact the scholarship exists more visible
|
4 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
|
4 years ago |
Spackled Lanturn
|
70f7ac7e18
[fixed] added logic to account for the year the last time anything university related was done to fix issue where players could avoid the university for a year and not get expelled for skipping the exam (this also removes the need for the buggy kurs variable). added logic to track the number of previously passed semesters to remove dependencies in logic on graduation being exactly two semesters. added lines for graduated/expelled students to the university landing page, and moved the logic for being expelled/graduating here to consolidate all the statements about the player's status in the university to one place
|
4 years ago |
Spackled Lanturn
|
6aa7f114fa
[changed] replaced all the Russian-named variables moved to uniutil in previous commits with two arrays with English string indices. added code to transfer the legacy Russian vars over to the new arrays. set all university and university prep class vars to be initialized when player enrolls in each to help guard against issues from unexpected states
|
4 years ago |
Spackled Lanturn
|
09e87266ff
[changed] wrapped all accesses to semestr and examen vars in calls to uniutil. also did the same for the remaining month and day of the week checks in univer
|
4 years ago |
Spackled Lanturn
|
214d0c55c2
[changed] revert part of earlier commit where minut and intel_exp updates were moved from univer to uniutil
|
4 years ago |
Spackled Lanturn
|
d7758993f1
[changed] wrapped all accesses to vars and constants related to lectures and assignments in uniutil calls
|
4 years ago |
Spackled Lanturn
|
06c4909549
[changed] wrapped all accesses to the vars and constants related to preparing to enter the university in calls to uniutil
|
4 years ago |
Spackled Lanturn
|
a2aab63474
[changed] wrapped all accesses to the university scholarship in calls to uniutil to make changing them easier
|
4 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
|
4 years ago |