Items Usage Conditions - Allows you to set conditions for the use of items through notes using JavaScript.

DK

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
Title: Items Usage Conditions
Version: 1.0.0
Author: DKPlugins
Description: Allows you to set conditions for the use of items through notes using JavaScript.

Compatibility:
  • RPG Maker MV: 1.5+
  • RPG Maker MZ: 1.0+

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>

"Help" languages: English, Russian

Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin

You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications

Details on obtaining a commercial license on my website

Plugin page:
https://dk-plugins.ru/items-usage-conditions/
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
2,253
Reaction score
1,667
First Language
English
Primarily Uses
RMMV
Nice job. Could be useful for making it so only certain party members can use items or the items can only be used in certain situations, i.e. battle or crafting menus.
 

Latest Threads

Latest Posts

Latest Profile Posts

Behold, our jam game's main character!1701683080788.png
Uh... Forum test, forum test. Am I live?
New but not so new here. (Like, been lurking around as a guest). I hope to change my destiny.
That is, to make friends and learn from the community. I hope we all have fun and create memories worth keeping. :ptea:
made a face sprite for the little guy using default cat for comparison, I'm rather pleased with how it turned out!

image.png
Playing arounnd with NUUN's Battle Result as a VS Victory Aftermath alternative. Loving it so far despite the learning curve (there are a LOT of parameters)

1701665328725.png

Just have to figure out how to addin sub class progress.

Forum statistics

Threads
136,730
Messages
1,269,278
Members
180,453
Latest member
Gfvasd
Top