Puppet Knight - Equip Slots Change 2.2

Puppet Knight - Equip Slots Change 2.2

This plugin adds flexibility in Equipment Slots usage that isn't reliant on other plugins or plugin suites. Through the plugin parameters users are able to dictate what Slots all actors start with and what Slots are added to their Actors based on Classes and/or Equipment currently equipped.

Terms of Use

Free for use on commercial & non commercial projects with credits to "Puppet Knight" & "Aerosys". When sharing this plugin please be sure to link back to this original post. You are allowed to alter the code to fit your needs but please do not attempt to sell it as your own, be cool. Would be awesome if you let me know you use the plugin as part of your game, even cooler if I get a copy of the game. But far from mandatory ^_^





Super thanks to Aerosys for creating the foundation of this plugin that I just ran with.

Introduction

This plugin adds flexibility in Equipment Slots usage that isn't reliant on other plugins or plugin suites. Through the plugin parameters users are able to dictate what Slots all actors start with and what Slots are added to their Actors based on Classes and/or Equipment currently equipped.

VERSION 2.2 UPDATE!

Including a "Mandatory Slots" parameter to prevent designated slots Ids from being empty. This rule will go into effect only AFTER something is equipped to that slot.

UPDATED TO VERSION 2.0!

Features Include:


  • Definable Order for Equipment Types
  • Base Slots: Equipment Types that ALL Actors will have available throughout the game
  • 3 Types of Note tags to add slots to Actors based on the Actor, Class, or Equipment in use


Update Details:

New Parameter: Equip Type Order

Automatically organizes available Equipment Types based on the Order set by the user. Groups together like-Equipment Types to provide a neater view in the Equip Scene

1689636458783.png


Equipment Types in Database


1689636458807.png


Changing Equip Type Display Order



Base Slots: Determines what slots all Actors will use. You can include multiple instances of the same equipment type to have it used more than once

1689636458833.png


Let's add an extra Accessory slot for all Actors



Combined our Actor now gains a extra Accessory slot and the slots follow the order set by Equip Type Order!

1689636458858.png




Only Equipment types included in the the Equip Type Order parameter will be drawn in the equip screen. Equip types that are not yet available to Actors will not be drawn unless the appropriate note tag is set to the Actor, Class, or Equipment in use.

Note Tags:

  1. <actorSlots: > Actor specific equip slots. These slots appear after the Base Slots.
  2. <levelSlots: > Class specific equip slots gained through leveling.
  3. <extraSlots: > Equipment driven slots added upon equip and removed on unequip. This note tag stacks with all equipment note tags in use.


Should only Reid have access to a specific Equipment Type?

1689636458877.png


Use the note tag <actorSlots: x>; Where `x` is the Equipment Type ID(s) for that Actor to get

1689636458899.png


Lets make sure to include Equipment Type 6 in the Equipment Type Order

1689636458930.png


1689636458960.png


Congrats! Reid can equip Spirit Armor!


Equipment Note tags follow the same logic, except they are tied directly to weapons and armor. Their note tag is <extraSlots: x>



If You want to add more than one equipment type slot per actor or equipment, simply add a comma between each equipment type ID:

1689636458979.png


Let's add some slots via the "Long Sword" Reid has equipped


1689636459010.png




Class Notes got a MAJOR overhaul. Instead of simply adding dedicated Equipment Types for Classes, you now Choose levels for Equipment Types to become available for that actor:

1689636459028.png


Swordsmen gain another Weapon Slot at Level 2


1689636459050.png


8 Goblins later...


1689636459069.png


Now that's how you Dual Wield!



The Note tag for classes follows the logic: Level:Equipment Type ID. If You don't need your actors to level up and just want the class to have immediate access to specific Equipment Types, simply set the Level to 1 just like for skills.



And that's it! This has been my favorite plugin to continue working on but I'm not too sure if theres much left to do! Let me know if you have any requests or suggestions.









Fond of the original note tags and base/mid/last slot set up? The [ORIGINAL] plugin is still available, with details below.





-----------------



If Using the Original Plugin, be sure to rename the plugin `PuppetKnight_EquipSlotsChange.js` before adding to plugin manager.

Features for [ORIGINAL] Version: 3 Configurable Equipment Slot Sections that affect all Actors:

  1. Base Slots: Equipment Slots that appear highest in the Equip Menu
  2. Mid Slots: Appear after Class and Extra Slots
  3. Last Slots: Appear lowest in the Equip Menu
Note Tags

  1. <actorSlots: > Actor specific equip slots. These slots appear after the Base Slots.
  2. <classSlots: > Class specific equip slots designated by the primary class in use.
  3. <extraSlots: > Equipment driven slots added upon equip and removed on unequip. This note tag stacks with all equipment note tags in use.
Flexibility:

You are able to choose if Class note Tag slots are shown first or Extra(Equipment based) note tags take priority via plugin parameter. Check help for additional info an examples



Version 2.1:

Added Plugin Command to set new Base Slots mid game!

Version 2.0: Overhaul

New Plugin Parameter: Equip Slot Order. Determines how Equipment Types are organized
Updated Class Slots to support Class Level-based Slots. Note format changed for class based slots.
<levelSlots> note tag used for primary and sub classes (subs require VisuMZ_2_ClassChangeSystem)

Version 1.3:

- Class Notes to also account for Note Tags of Subclasses!

Version 1.2:

- Removed Swap option for Class & Extra Slots.

- General reorder of Slots

- Added hard coded Weapon and Off hand slot (1,2) to avoid dual wield issues and in case baseSlots aren't used.

In Progress - Class Notes to also account for Note Tags of Subclasses!

Version 1.1: Added in Actor Note Tags

Find it on itcho.io Here!
Version 1.1: Updated Plugin to Include Actor Note Tags for Actor specific equipment slots.
It would be better if the slots are a little indented after the equipment for that slot so it won't align with other normal equipment and it will be an indication that it is a slot for that equipment
It would be better if the slots are a little indented after the equipment for that slot so it won't align with other normal equipment and it will be an indication that it is a slot for that equipment
I like this idea and have heard it before.

I decided against it because I wanted game makers to have as much flexibility as they could with slot assignments.

However, I will look into adding that functionality/visual as either a variant of this plugin or a standalone. Thank you!
Updated Plugin description to properly reflect addition of Actor Slots.

In the works: Option to indent added equip slots under their extraSlots (equipment notetag) source.
I just realized my name is written here! 😀

I really appreciate this nomination; however, when you add the plugins from this post to your game, it's not a must to add my name to your game's credits.
I just realized my name is written here! 😀

I really appreciate this nomination; however, when you add the plugins from this post to your game, it's not a must to add my name to your game's credits.
Hey hey hey. My plugin my terms. Lol
Updated Plugin description to properly reflect addition of Actor Slots.

In the works: Option to indent added equip slots under their extraSlots (equipment notetag) source.
Oh my! I'll definitely wait for this~
Update!

Version 1.2:
- Removed Swap option for Class & Extra Slots.
- General reorder of Slots
- Added hard coded Weapon and Off hand slot (1,2) to avoid dual wield issues and in case baseSlots aren't used.


In Progress - Class Notes to also account for Note Tags of Subclasses!
Version 1.3
Update to include a fix that broke classSlots a bit in 1.2. Primary (and Subclasses if using Class Change System VisuStella MZ) are now being accounted for and will appear as a gathered together array within the allSlotIds array!
MASSIVE 2.0 UPDATE! Enjoy!

Update includes:

  • The Ability to Designate a lot order for all Equipment Types that automatically groups common Equipment types!

  • streamlined base Slots for all Actors to use

  • level based class slots
Version 2.1:

Updated to include plugin command. Allows users to update base slots mid game through eventing.
VERSION 2.2 UPDATE!

Including a "Mandatory Slots" parameter to prevent designated slots Ids from being empty. This rule will go into effect only AFTER something is equipped to that slot.



Like most updates, I had a need for my own project and then realize this feature worked great for this plugin xD


As always, let me know if you have any suggestions.

Original thread: https://forums.rpgmakerweb.com/threads/puppet-knight-equip-slots-change-2-2.155212/