Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
creewick edited this page Jun 30, 2022 · 1 revision

Extra feature is just anything than a widget, ex. a skin that shows an animation every time you unlock your PC

Files and Folders

Extra features are stored in a folder that matches their's name, inside Monterey\Extras\
That folder can contains any .ini files you need, but the main file (entry point) should have a name that matches folder's name, ex.:

Monterey\Extras\YourExtraFeature

- YourExtraFeature.ini
- SomeOther.ini
- AndAnother.ini

Includes

Use predefined modules

Just like for widget, you can include any predefined modules from Monterey/@Resources/Scripts/Includes/ or create your own modules in that directory.

You'll find information about modules in the Includes section

Store script file

Just like for widget, you can create an .inc file in this folder: Monterey/@Resources/Scripts/Extras/ and store some code in it to avoid code repetition.
The file name should match your feature's name.

Then you can import this file to your .inis.

Variables

Use provided global variables

The list of all variables is located in Variables section

Store variables file

If you need to store some variables for your feature, create an .inc file in this folder: Monterey/@Resources/Variables/.
The file name should match your feature's name.

If you created a variables file, remember to add it's path into Monterey/Variables.txt so these variables would save between suite's updates

Media

If you need to store some images or sounds, put them into /Monterey/@Resources/Images or /Monterey/@Resources/Sounds respectfuly

Localization

If you need to display some text on your widget, remember to use localization files.
Inside each folder in Monterey/Languages/ search for Extras/ subfolder and create an .inc file that matches your feature's name.
Put all your strings of text as variables with a key started with t prefix, ex. tAppearence=Оформление