Commit Graph

17 Commits

Author SHA1 Message Date
31ebf9356a Avoid mutable objects in signature 2024-03-30 17:18:54 +01:00
f7f0ecb566 Default queues instead of using instanciation magic 2024-03-30 17:17:14 +01:00
dc2cc3f72b Save Compatibility and Event Class
* Added reset method for the Event class.
* Updated save compatibility to reset the state of the modified events on update.
2024-01-26 17:25:15 +00:00
ff952f6f90 Bug fixes
* Fixed an issue with rollback during event cancellation, rolling back attributes
* Fixed compatibility patch issue with None values
2023-07-15 21:54:01 +01:00
2be9371482 Bug fixes
* Fixed 'Panty Thief' event requirements
* Improved event validation to avoid errors in user space
* Offset game object initialization to avoid bogus init errors
2023-07-15 16:50:47 +01:00
b21dbb6cbf Save compatibility
* Added dequeue method for event objects
* Updated save compatibility patch
2023-07-13 17:33:37 +01:00
d2a76938b4 Luna favours and queue improvements
* Converted Luna personal favours into the new system, and cleaned up the code.
* Added 'noncompliant' return result to differentiate between unmet event requirements and the disabled states
* Added disabled state default parameter
2023-07-02 16:17:44 +01:00
c13867b7eb Yule ball, odd jobs, and menus
* Converted Hermione's jobs into new system and added them into the new 'Odd jobs' favor section
* Converted Hermione's yule ball event chain into the new system
* Improved milestone unlock for Hermione tier 4
* Improved menu exit choice handling
* Moved unused labels outside the script files
* Reimplemented disabled menu option
2023-06-28 23:02:39 +01:00
dd128db58c Menus and bug fixes
* Reimplemented named menu options and a back/cancel button support
* Reimplemented icon harts
* Fixed flag check in blowjob public request
* Fixed a potential resolution glitch in gui initialisation
* Fixed a potential label parsing bug in Hermione's summon menu
2023-06-28 19:03:29 +01:00
0f3502de5e Bug fixes
* Fixed cancellation method for events utilising subevents
* Fixed callstack when cancel method is called and the next node is a jump (odd)
* Fixed missing 'ask her to do x' blurbs for fail event variants
* Fixed 'grope her' fail variant repeat dialogue flag
* Removed 'hermione_favor_menu' from ignore labels (superseded)
2023-06-28 00:54:14 +01:00
3ce6198359 Convert Hermione's Public Requests
* Converted Hermione's public requests into the queue system.
* Replaced event checks with status checks for the affected events.
* Ignore local labels in event completion tracking
* Improved readability for debug outputs
* Skip Luna intro on dev
2023-06-27 19:02:49 +01:00
ede1ee9a6c EventQueue and Event classes improvements and bug fixes
* Added _event, _event_queue globals
* Added ignore_globals class tuple
* Added extensive debugging tools
* Added next and cancel methods
* Added subevents support
* Added ability to enqueue events abnormally
* Moved menu_hints method outside of the EventQueue for better modularity
* Fixed queue filtering
* Fixed repeatable events
* Fixed missing id for the mainloop EventQueue
* Fixed groping T1 unreachable second event
* Removed daytime parameter (superseded by req)
2023-06-26 01:44:25 +01:00
13a7017773 Convert Hermione's Personal Favours into the new Event system to address code logic bugs.
* Added internal counter for queues
* Simplified global vars for event completion checks.
* Temporarily disabled Hermione's statistics menu
* Replaced counter/points checks with status flags.
* Disabled debug profiling for images
2023-06-24 23:27:13 +01:00
cceec862af Expand EventQueue and Event classes
* Added event callbacks support
* Added support for in-game favour-like behaviour
* Added debug functions
* Added extensive event parameters
* Added a bunch of new methods
* Added modding support
* Added completion tracking
* Added menu handlers
* Added global vars
* ... more
2023-06-23 19:07:37 +01:00
e5a7060af9 Refactoring 2022-09-21 21:57:04 +01:00
914f03fa73 Bug fixes and improvements
* Simplified and restructured plug events for Hermione
* Fixed Snape's sprite flickering
* Fixed requirements check for EventQueue class
* Adjusted label names for item-related quests
2022-05-19 16:44:36 +01:00
b09157538d Event Queue #1
* Added EventQueue system for events with requirements, and timers.
2022-05-17 22:05:27 +01:00