RMMV A little Change to Yanfly Item Disassemble

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
450
Reaction score
74
First Language
Italian
Primarily Uses
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 !!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
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.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
450
Reaction score
74
First Language
Italian
Primarily Uses
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? :(
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
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.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
450
Reaction score
74
First Language
Italian
Primarily Uses
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...
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
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 :).
 

Latest Threads

Latest Posts

Latest Profile Posts

>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3
Aaaaannd published my game's tech demo. :D

Feel free to download and play it. And give feedback!

Forum statistics

Threads
107,806
Messages
1,032,337
Members
139,950
Latest member
Delv1s
Top