OnApply Mask
Basically a list of MMOItem Types.
Uses vary throughout the plugin.
How to define a mask:
plugins/Gunging_Ootilities_Plugin/onapply-masks.yml
WhateverNameYouWant:
- MMOItem Type
- MMOItem Type
- MMOItem Type
...
Their use depends on where you are applying them to, for example:
OnApply Command Stat uses them to only activate the command when the item is applied to certain item types.
GooP Containers uses them to restrict the kind of items you can put in slots.
Simple Examples:
MeleeWeapns: - SWORD - DAGGER - HAMMER - AXE - THRUSTING_SWORD - SPEAR - GAUNTLET - WHIP - GREATSWORD - LONG_SWORD - KATANA - GREATAXE - HALBERD - LANCE - GREATHAMMERRangedWeapons: - BOW - CROSSBOW - MUSKET - GREATBOW MagicWeapons: - STAFF - LUTE - GREATSTAFF - STAVE - WAND
Comment from the Dev:
A better name would have been Type Masks or something.
Originally developed for use with OnApply Command Stat, so that the command wouldn't just get activated with anything. However, I later realized how useful these are in general.
I cannot change their names because GooP versions have been released that target that specific file path, and GooP is strong on backwards compatibility while keeping it simple.
Also I know I mispelled MeleeWeapns mask ok its sort of a trademark of mine now.