- Joined
- Jan 26, 2013
- Messages
- 216
- Reaction score
- 8
- First Language
- Icelandic
- Primarily Uses
After deciding to add even more slots, I edited the script just as you're supposed to. I already had a custom equipment slot called "Ring" which worked and has always worked since added. After adding the slots I made a new save and cheated all the equipment in to test it. But for some reason the new slots just don't allow me to equip things in them...
#--------------------------------------------------------------------------# ● New Module Extra_Slots#--------------------------------------------------------------------------module Extra_Slots Slots = [] # Edit here to add new slot types # Slots[armour_type_id] = "name" # I know it is named in the database but I don't believe you can access # that name through Vocab Slots[13] = "Ring" Slots[18] = "Magic Shard" Slots[19] = "Bracelet" Slots[20] = "Necklace" Slots[21] = "Chain"endclass Game_Actor < Game_Battler #-------------------------------------------------------------------------- # ● Rewrites equip_slots #-------------------------------------------------------------------------- # Edit here to change what slots are available to your characters # 0 - Weapon # 1 - Shield # 2 - Head # 3 - Body # 4 - Accessory # 5+ a custom slot def equip_slots return [0, 0, 19, 2, 20, 3, 4, 21, 13, 13, 18] if dual_wield? return [0, 1, 19, 2, 20, 3, 4, 21, 13, 13, 18] endendclass Window_EquipSlot < Window_Selectable #-------------------------------------------------------------------------- # ● Rewrites slot_name #-------------------------------------------------------------------------- def slot_name(index) if @actor.equip_slots[index] >= 5 Extra_Slots::Slots[@actor.equip_slots[index]] else @actor ? Vocab::etype(@actor.equip_slots[index]) : "" end endendIt's really frustrating. I just can't find out what's wrong. They're even in the correct slots under armor, and are accessories. I hope you can help.
#--------------------------------------------------------------------------# ● New Module Extra_Slots#--------------------------------------------------------------------------module Extra_Slots Slots = [] # Edit here to add new slot types # Slots[armour_type_id] = "name" # I know it is named in the database but I don't believe you can access # that name through Vocab Slots[13] = "Ring" Slots[18] = "Magic Shard" Slots[19] = "Bracelet" Slots[20] = "Necklace" Slots[21] = "Chain"endclass Game_Actor < Game_Battler #-------------------------------------------------------------------------- # ● Rewrites equip_slots #-------------------------------------------------------------------------- # Edit here to change what slots are available to your characters # 0 - Weapon # 1 - Shield # 2 - Head # 3 - Body # 4 - Accessory # 5+ a custom slot def equip_slots return [0, 0, 19, 2, 20, 3, 4, 21, 13, 13, 18] if dual_wield? return [0, 1, 19, 2, 20, 3, 4, 21, 13, 13, 18] endendclass Window_EquipSlot < Window_Selectable #-------------------------------------------------------------------------- # ● Rewrites slot_name #-------------------------------------------------------------------------- def slot_name(index) if @actor.equip_slots[index] >= 5 Extra_Slots::Slots[@actor.equip_slots[index]] else @actor ? Vocab::etype(@actor.equip_slots[index]) : "" end endendIt's really frustrating. I just can't find out what's wrong. They're even in the correct slots under armor, and are accessories. I hope you can help.


