The main timetable and the skool clock.
Represents the timetable of lessons, and the skool clock that ticks down until the bell rings.
Parameter: | config (dict) – Configuration parameters from the ini file. |
---|
Add a lesson to the timetable.
Parameter: | lesson_id – The ID of the lesson. |
---|
Add the details of a lesson to the timetable.
Parameters: |
|
---|
Add a special playtime. Special playtimes do not appear in the main timetable (though they could be inserted); occasionally a normal playtime in the main timetable will be replaced by a special playtime.
Parameter: | lesson_id – The ID of the special playtime. |
---|
Return whether a character is supervising Eric during the current period.
Parameter: | character (Character) – The character to check. |
---|
Return whether there is no more than a certain number of skool clock ticks remaining before the bell rings.
Parameter: | ticks – The number of ticks. |
---|
Start the skool clock with a certain number of ticks remaining till the bell rings. If the clock was previously stopped (see stop()), it will start ticking again.
Parameter: | ticks – The number of ticks. |
---|
Rewind the skool clock by a number of ticks.
Parameter: | ticks – The number of ticks. |
---|
Advance the skool clock by one tick (unless the clock has been stopped).
Returns: | True if it’s time for the bell to ring, False otherwise. |
---|