FP: Equip SlotsAuthor: Tsukihime
Type: Features add-on
OverviewWho says you can't wear 5 hats or 3 coats?
This script provides basic functionality to expand the number of equip slots for every equip type.
Features- Change the number of equip slots you can have
- Create custom equip types
- Specify custom sort order for equip types (order which they appear)
- Allow equips to add more equip slots
- Allow classes to add more equip slots
UsageIn the configuration, just specify how many equip slots you want for each type of slot.
You can add additional equip types by adding more entries in the "extended equip types" section.
To specify that an equip is of that type, use the following notetag
CODE
<etype n>
Where n corresponds to the equip type defined in the table above.
If you would like a custom sort order (eg: gloves appear above weapon), you can modify Equip_Order to something you like. Note that there is no way to interweave equip types (eg: weapon, shield, weapon, bodygear, weapon).
In order to add slots to your actors, you must use "features". This is not available
in the default editor, so you will need to use notetags.
In actors, classes, weapons, armors, and states, you can type
CODE
<+eslot: slot_type amount>
<+eslot: 0 2>
<+eslot: 1 1>
The first example says to add two slot 0's. Slot 0 by default is the weapon slot, so your actor will have two weapon slots.
Because these are features, the slots change depending on what you equip, what your class is, and who the actor is. It is also possible to change slots in game using script calls.
You can add more slots to your actor directly through script calls.
CODE
add_slot(actor_id, slot_type, amount)
This will add the given amount of slots based on the specified slot type to that actor.
ScreenshotsLots of slots
Equipping a shield gave me more slots
DownloadsScript:
http://db.tt/NnnLMyGbKread-Ex's
Actor inventory
This post has been edited by Tsukihime: Jul 3 2012, 02:11 PM