Equipment Sets for Instance Items?

I am currently using Tsukihime's Custom DataManager, along with the Custom DM add-on by Eshra to make each weapon and armor a Unique entity in a Custom Database (links below).

I also wish to have Equipment Sets to grant boosts for certain equipment sets, and I currently put in Emerald's Equipment Sets (link below).

Unfortunately, these two do not work together, because the Equipment Sets probably do not find the equipped items due to them being Unique and in a Custom Database. (I tested this theory by removing the <Unique> tag from items, and then the EES Boost applied.)

Is there a fix that can be applied to the EES Script in order for these two to work together?

Thanks!

Links to the Scripts:

I only skimmed over the equip sets script but it looks like it's accessing the equip's "set" information, rather than checking equip ID's directly.

In that case it may be compatible with Instance Items, though I would suspect a compatibility patch would be needed since it does overwrite things as well.

EDIT:

just tried it. Add this under both scripts. It at least makes the set behavior occur..

class Game_Actor < Game_Battler def ees_is_the_set_item?(item, ees_set_equip) return (((ees_set_equip[0] == 0 and item.is_a?(RPG::Weapon)) or (ees_set_equip[0] == 1 and item.is_a?(RPG::Armor))) and ees_set_equip[1] == item.template_id) endendAll I did was change the script to reference the database ID instead of the instance's ID.I don't really understand how the script works so I don't know how to set up multiple equips into a set.
Hm.. Well I originally used your Instance Items, but it did not work together with Falcao's Mana Stones script. I am using The data manager because there was a patch that made the Mana Stones script work by utilizing the DM and the DM add on.

If somehow your Instance Items can work with Falcao's Mana Stones (https://falcaorgss.wordpress.com/2012/10/20/falcao-mana-stones-enchantment/), it would solve the problem.
Falcao's mana stones: https://github.com/Hime-Works/Requests/issues/251
Awesome! It looks like everything is working smoothly. Mission complete.

Just a random question though: I am also looking for a way to change the weapon/armor's name color when it is affected by the "enchantments". Since you have at least looked at the Mana Stones script, and know the Instance script insideout, would you have any clue how to do this?
The idea would be similar to how Item Rarity is implemented.


The name is not obvious what it does, but basically you set up "rarity" values for each item and then assign colors to each value.


So if 1 = white, 2 = blue, 3 = green, and 4 = gold, then the item color would reflect the rarity value.


In this case, if you want the color to be based on enchantments, you would pull the color information from the manastones.


For example, ATK stone would make it red, DEF stone would make it blue.


You then have to consider what happens if two stones have conflicting colors; which takes priority? You insert an atk stone AND a def stone. Now will it be red? Or will it be blue? Or a mix of both?
Alright. Lets say I only want 1 color: gold.

So, if the item is affected by 1 or more manastones, it has a gold name. Othewise, the name is the default white. That way, there is no conflicting colors.

How would that be implemented?
Here's one way

Code:
class Window_Base < Window    #-----------------------------------------------------------------------------  # Replaced  #-----------------------------------------------------------------------------  def draw_item_name(item, x, y, enabled = true, width = 172)    return unless item    draw_icon(item.icon_index, x, y, enabled)    change_color(normal_color, enabled)        if item.is_a?(RPG::EquipItem) && item.manaslots.any? {|slot| !slot.nil?}      change_color(Color.new(255,0,0), enabled)    end        draw_text(x + 24, y, width, line_height, item.name)		change_color(normal_color, enabled)  endend
If it has any non-nil manaslots, then the name will be red.
It all works perfectly. You have successfully made 3 days of game work worth it. Thanks a ton!

Original thread: https://forums.rpgmakerweb.com/threads/equipment-sets-for-instance-items.35920/