Mephiles / torntools_extension

A browser extension for Torn.com
GNU General Public License v3.0
106 stars 60 forks source link

Add changes for easter egg 2024 #785

Closed Beasted179 closed 3 months ago

Beasted179 commented 3 months ago

The script sets up an environment to detect, highlight, and interact with Easter eggs within the Torn City game using the Torn Tools extension. It checks the current date for Easter egg event validity, registers features related to Easter eggs, defines selectors for egg elements, initializes a detector function, enables the detector to handle Easter eggs, calculates the location of elements on the screen, and interacts with detected eggs by highlighting, showing location information, and handling visibility and click events.