Hello folks! I'm very new to RPG Maker, using plugins, and working with JavaScript, so I'm looking for the "explain like I'm 10" version of the answer to my query if you don't mind 😅
I want to use the plugin script from this thread to limit what the shopkeepers in my game buy, but I can't figure out how to add it to my game properly. I copied all of the text from the script author's comment, put it in Notepad, saved it as a .js, and added it to my plugin manager. The author instructs the OP to use "BUY_ONLY" as a plugin command, but when I look at my plugin commands, this plugin isn't present. Further, when I open the plugin manager window, it says the plugin might not be compatible with MZ. [I checked and made sure I wasn't in the MV-specific thread - is there a way to tell which version of the game a given plugin is for in threads like the linked one?]
Just as a sanity check I tried using the Script feature in the event dialogue box but of course it made my game crash. I'm guessing there's some obvious noob stuff I'm missing to get scripts like this to work? Before this, I've only downloaded .js files from itch or Github and they've worked "out of the box," as it were.
I want to use the plugin script from this thread to limit what the shopkeepers in my game buy, but I can't figure out how to add it to my game properly. I copied all of the text from the script author's comment, put it in Notepad, saved it as a .js, and added it to my plugin manager. The author instructs the OP to use "BUY_ONLY" as a plugin command, but when I look at my plugin commands, this plugin isn't present. Further, when I open the plugin manager window, it says the plugin might not be compatible with MZ. [I checked and made sure I wasn't in the MV-specific thread - is there a way to tell which version of the game a given plugin is for in threads like the linked one?]
Just as a sanity check I tried using the Script feature in the event dialogue box but of course it made my game crash. I'm guessing there's some obvious noob stuff I'm missing to get scripts like this to work? Before this, I've only downloaded .js files from itch or Github and they've worked "out of the box," as it were.