New public plugin! Items Usage Conditions v1.0.0 [MV|MZ] (Patreon)
Published:
2023-03-21 11:14:55
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Downloads
Missing 1 file, as this post has not yet been imported.
Content
Description: Allows you to set conditions for the use of items through notes using JavaScript.
Instructions:
Use item notes to set the condition for using the item!
Use <use_condition>your_javascript_condition</use_condition>
your_javascript_condition - Your JavaScript condition.
Example (you can use an item only when the switches with numbers 1 and 2 are on):
<use_condition>
$gameSwitches.value(1) &&
$gameSwitches.value(2)
</use_condition>
Example (you can use an item only if the value of variable number 1 is greater than 10):
<use_condition>
$gameVariables.value(1) > 10
</use_condition>