Himeworks "Equip Slots Core"

● ARCHIVED · READ-ONLY
Started by SawyerFriend 4 posts View original ↗
  1. Hello, everyone!
    So, I've got a specific character who gains Accessory Slots at certain levels. He's the only character with this function, so I've been using Himeworks Equip Slots Core as well as the Level Up Events plugins to pull this off.
    Currently, I have it set so when the character (his name is Kwadle) levels up, it runs this event:
    0011 [C]omposite
    Code:
    -Control Variables: #0011 [C]omposite = Level of Kwadle
    -If : [C]omposite = 8
     -Plugin Command: $gameActors.actor(9).addEquipSlot(2)
     -Plugin Command: $gameActors.actor(9).addEquipSlot("Accessory")
    -If : [C]omposite = 16
     -Plugin Command: $gameActors.actor(9).addEquipSlot(2)
     -Plugin Command: $gameActors.actor(9).addEquipSlot("Accessory")
    -If : [C]omposite = 32
     -Plugin Command: $gameActors.actor(9).addEquipSlot(2)
     -Plugin Command: $gameActors.actor(9).addEquipSlot("Accessory")
    -If : [C]omposite = 64
     -Plugin Command: $gameActors.actor(9).addEquipSlot(2)
     -Plugin Command: $gameActors.actor(9).addEquipSlot("Accessory")
    Hypothetically, this event should either increase his Accessory by one slot or two (I was planning on troubleshooting to figure out the best Plugin Command to increase it by one slot) though it ultimately didn't increase it at all.
    My first guess was that the Level Up Event wasn't working. After fixing a typo and opening the Debug menu, I found that every level up, the [C]omposite variable gets set to the level of Kwadle, which means the event is calling. That means that the plugin command itself isn't working. Does anyone know where the error might be?
  2. a lot of possibilities from incompatible plugins to other causes.
    please post a screenshot of your plugin manager so that we can check what other plugins might interfere and if the plugin order is correct, and open your projects rpg_core.js file with a text editor to tell us which version it has (the number at the end of the title line)
  3. The RPG_Core is at 1.6.1.
    I'm fairly confident my plugins aren't an issue, but I've posted screenshots of my plugin list alongside the common event I'm using and the actor this plugin affects.
  4. Update:
    I edited the plugin to show a text box whenever the character in question levels up to the levels where he's supposed to gain accessory slots. If he's at that level, the text box shows, but if he leveled past that, it won't (meaning I'll have to use some switches).
    That said, the plugin still isn't working, which means there's some kinda issue with the plugin without a doubt. I'll have to do some trial and error with my other plugins.

    EDIT: I've got it working. I was using the Plugin Command, but you're actually supposed to use Script.