#===============================================================================
# Actor Specific Equipment Names
# Version: 1.0
# Author: game_guy
#===============================================================================
# Intro:
# Okay not everyone in an rpg has the same weapon types or armor. So this script
# makes it so actors have actor specific equipment names. So actor 1 uses swords.
# His weapon name would be swords while actor 2's would be spears.
#
# Features:
# Each actor has their own equipment names
#
# Instructions:
# Ok go down where it says # ACTOR SPECIFIC NAMES
# Then look at the example to see if you get it. You'll use this.
# when actor_id then return [weapon_name, armor1, armor2, armor3, armor4]
# Example
# when 1 then return ["Sword", "Shield", "Armor", "Helmet", "Accessory"]
# when 8 then return ["Rod", "Barrier", "Robe", "Hat", "Accessory"]
#
# Credits:
# game_guy ~ making it
#===============================================================================
class Game_Actor
def equip_name
case id
when 1 then return ["Sword", "Shield", "Armor", "Helmet", "Accessory"]
when 2 then return ["Spear", "Shield", "Armor", "Helmet", "Accessory"]
when 3 then return ["Axe", "Shield", "Armor", "Helmet", "Accessory"]
when 4 then return ["Knife", "Shield", "Clothes", "Headband", "Accessory"]
when 5 then return ["Bow", "Shield", "Clothes", "Headband", "Accessory"]
when 6 then return ["Gun", "Shield", "Suit", "Headband", "Accessory"]
when 7 then return ["Staff", "Shield", "Robe", "Hat", "Accessory"]
when 8 then return ["Rod", "Shield", "Robe", "Hat", "Accessory"]
end
return ["Sword", "Shield", "Armor", "Helmet", "Accessory"]
end
end
class Window_EquipRight < Window_Selectable
def refresh
self.contents.clear
@data = []
@actore = @actor.equip_name
@data.push($data_weapons[@actor.weapon_id])
@data.push($data_armors[@actor.armor1_id])
@data.push($data_armors[@actor.armor2_id])
@data.push($data_armors[@actor.armor3_id])
@data.push($data_armors[@actor.armor4_id])
@item_max = @data.size
self.contents.font.color = system_color
self.contents.draw_text(4, 32 * 0, 92, 32, @actore[0])
self.contents.draw_text(4, 32 * 1, 92, 32, @actore[1])
self.contents.draw_text(4, 32 * 2, 92, 32, @actore[2])
self.contents.draw_text(4, 32 * 3, 92, 32, @actore[3])
self.contents.draw_text(5, 32 * 4, 92, 32, @actore[4])
draw_item_name(@data[0], 92, 32 * 0)
draw_item_name(@data[1], 92, 32 * 1)
draw_item_name(@data[2], 92, 32 * 2)
draw_item_name(@data[3], 92, 32 * 3)
draw_item_name(@data[4], 92, 32 * 4)
end
end