Hi, I'm relatively new to enhancing the engine with scripts. I wanted simply to add one equipment slot and display all the stats (Str, Int, ect) in the equipment window.
I tried to achieve this with Trickster's multi-equip script. I fuged around with it a bit and attmpted to rid myself of what I didn't need. After ironing out any errors that crash the game, I still have one problem remaining.
After I unequip an item from a character, the item cannot be re-equipped. It won't even display the item in the equip screen. The item still exists from the items menu.
I have attatched my script for "Multi-equip Setup" which i believe to be the cause of the problem. Any help or other suggestions for how to achieve my goal would be appreciated.
Thanks in advance.
-Av
I tried to achieve this with Trickster's multi-equip script. I fuged around with it a bit and attmpted to rid myself of what I didn't need. After ironing out any errors that crash the game, I still have one problem remaining.
After I unequip an item from a character, the item cannot be re-equipped. It won't even display the item in the equip screen. The item still exists from the items menu.
I have attatched my script for "Multi-equip Setup" which i believe to be the cause of the problem. Any help or other suggestions for how to achieve my goal would be appreciated.
Code:
=begin
#==============================================================================
# â—â— Multi-Equip + Multi-Attack
#------------------------------------------------------------------------------
# Trickster (tricksterguy@hotmail.com)
# Version 3.1.4
# Date 8/6/07
# Goto rmxp.org for updates/support/bug reports
#==============================================================================
=end
#--------------------------------------------------------------------------
# â— Begin SDK Log
#--------------------------------------------------------------------------
SDK.log('Multi-Equip', 'Trickster', 3.14, '8/6/07')
#--------------------------------------------------------------------------
# Begin SDK Requirement Check
#--------------------------------------------------------------------------
SDK.check_requirements(2.3, [1, 2, 3, 4])
#--------------------------------------------------------------------------
# â— Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.enabled?('Multi-Equip')
module Multi_Equip
#--------------------------------------------------------------------------
# * Equip Names For Slots for Actors
# syntax - actor_id => [names] or %w( names )
#--------------------------------------------------------------------------
Actor_Names = {
1 => %w( Weapon Shield Helm Armor Ring Amulet ),
2 => %w( Weapon Shield Helm Armor Ring Amulet ),
3 => %w( Weapon Shield Helm Armor Ring Amulet ),
4 => %w( Weapon Shield Helm Armor Ring Amulet ),
5 => %w( Weapon Shield Helm Armor Ring Amulet ),
6 => %w( Weapon Shield Helm Armor Ring Amulet ),
7 => %w( Weapon Shield Helm Armor Ring Amulet ),
8 => %w( Weapon Shield Helm Armor Ring Amulet ),
}
#--------------------------------------------------------------------------
# * Equip Names For Slots Classes
# syntax - class_id => [names] or %w( names )
#--------------------------------------------------------------------------
Class_Names = {
1 => %w( Weapon Shield Helm Armor Ring Amulet ),
2 => %w( Weapon Shield Helm Armor Ring Amulet ),
3 => %w( Weapon Shield Helm Armor Ring Amulet ),
4 => %w( Weapon Shield Helm Armor Ring Amulet ),
5 => %w( Weapon Shield Helm Armor Ring Amulet ),
6 => %w( Weapon Shield Helm Armor Ring Amulet ),
7 => %w( Weapon Shield Helm Armor Ring Amulet ),
8 => %w( Weapon Shield Helm Armor Ring Amulet ),
}
#--------------------------------------------------------------------------
# * Equip Types For Slots
# syntax - actor_id = [types]
# note - w = weapon an = armor kind n
#--------------------------------------------------------------------------
Actor_Types = {
}
#--------------------------------------------------------------------------
# * Equip Types For Slots
# syntax - class_id = [types] or %( types )
# note - w = weapon an = armor kind n
#--------------------------------------------------------------------------
Class_Types = {
1 => %w( w a1 a2 a3 a4 a5 ),
2 => %w( w a1 a2 a3 a4 a5 ),
3 => %w( w a1 a2 a3 a4 a5 ),
4 => %w( w a1 a2 a3 a4 a5 ),
6 => %w( w a1 a2 a3 a4 a5 ),
7 => %w( w a1 a2 a3 a4 a5 ),
8 => %w( w a1 a2 a3 a4 a5 ),
}
#--------------------------------------------------------------------------
# * Initial Equipment
# syntax - actor_id => {slot id => equip id}
#--------------------------------------------------------------------------
Init_Equip = {
}
#--------------------------------------------------------------------------
# * Battle Test Equipment
# syntax - actor_id => {slot id => equip id}
#--------------------------------------------------------------------------
BT_Equip = {
}
#--------------------------------------------------------------------------
# * Fixed Equipment
# syntax - actor_id => {slot_id => bool}
#--------------------------------------------------------------------------
Equip_Fix = {
}
#--------------------------------------------------------------------------
# * Setup All Default Values (Don't Touch)
#--------------------------------------------------------------------------
words = SDK::Scene_Commands::DataSystem.words
#--------------------------------------------------------------------------
# * Set Class Types Default to Corresponding words for each slot
#--------------------------------------------------------------------------
Class_Names.default = words.weapon, words.armor1, words.armor2, words.armor3,
words.armor4
#--------------------------------------------------------------------------
# * Set Class Names Default to The Normal Five Slots
#--------------------------------------------------------------------------
Class_Types.default = %( w a1 a2 a3 a4 )
end
#--------------------------------------------------------------------------
# End SDK Enabled Check
#--------------------------------------------------------------------------
end
Thanks in advance.
-Av