MV A little Change to Yanfly Item Disassemble

Hi guys, read and see if you can think of an idea.

I try to explain to you:

Basically I'm using the yanfly script that allows you to have more currencies in addition to gold, precisely through the variables. http://www.yanfly.moe/wiki/More_Currencies_(YEP)

I have created a new type of object and would like to have the ability to disassemble this type of object in order to receive back the same currency (variable).

Yanfly had already created this function, via the script:


But I would not like to have the possibility that the player can automatically do this function via the menu, I would like a certain character to disassemble the objects for you.

You would be able to create a script modification, so that you can choose IF to make the function appear in the menu, or otherwise, via a call plugin, and that this function only shows you a certain category of objects, and not any thing?
If you see items, weapons, key items etc in the menu, I would like it to show you only the items, and ONLY that particular type of item.

I await your ideas 🙂 Thanks !!
you can hide the option with: PluginCommand: HideItemDisassemble

you can also show it if needed with: PluginCommand: ShowItemDisassemble

so you can enable it on a specific place only.

for example, if place interact with the NPC, enable and open item scene,
if player end the conversation, hide it.

there might be a different methode as well, but I cant come up with that atm.
but this is only a idea how you can approach it though.
you can hide the option with: PluginCommand: HideItemDisassemble

you can also show it if needed with: PluginCommand: ShowItemDisassemble

so you can enable it on a specific place only.

for example, if place interact with the NPC, enable and open item scene,
if player end the conversation, hide it.

there might be a different methode as well, but I cant come up with that atm.
but this is only a idea how you can approach it though.

Oh, i missed that functions, so it's perfect in this way.

What about categorize and show only a determinate category of item? 🙁
item scene has it categories, unless you changed this.

if you mean, get gategory "weapons" only, than I have no clue,
this probably is only possible if you edit the plugin or edit the category list
in specific.

I dont know how to approach that though, so I can't help you on this part.
item scene has it categories, unless you changed this.

if you mean, get gategory "weapons" only, than I have no clue,
this probably is only possible if you edit the plugin or edit the category list
in specific.

I dont know how to approach that though, so I can't help you on this part.

No, i'm saying to use the items, but only show a determinate category of item. Maybe you can show in the window item disassembly only a specific type of items...

I need the possibility to create a sort of filter with javascript, i don't know...
I dont think I can help you with that part, you can try only when a specific switch is ON,
as for BlackSmith, a BS switch is ON, turn OFF after, at the Armor shopt the Armor switch.
this require 3-4 switches depending the amount of types, but to make it easier to categorize
it better to open, it probably be modified a scriptcall to target the category type.

I cannot help you on that part, but hope someone will, good luck on your project further 🙂.
Bump? 🙁

Original thread: https://forums.rpgmakerweb.com/threads/a-little-change-to-yanfly-item-disassemble.130291/