I found a VX script that I used use that I really, really like. Problem is that it's written for VX (It uses the 'Notes' section in the database to configure quality), and I'm nowhere near skilled enough to re-write or convert it. I looked for an XP version, or if the author had anything like that but I turned up nothing. It's a short script though, so I wouldn't think it'd be too difficult.
Also, since XP obviously doesn't have the Notes section, it could either be configured in the script or some other way, it's up to whoever decides to help me out.
module IQC_Configs
################################################################################
# Basic Item Quality Colors of Awesome VX v1.1 #
################################################################################
# Author: Leongon #
# Contact: carlos_gon47@hotmail.com (or PM leongon on the board below) #
# Licence: Free for commercial and non-commercial proyects, just credit. #
# Share: Exclusive for www.rpgrevolution.com #
# If you want to share it outside, give a link only, please. #
################################################################################
# This is a really tiny one. Item Quality let you set "quality" by colors, #
# like in Diablo II: green for sets, yellow for epics, etc. and lot of other #
# games around that colorizes the item, weapon and armor's names. And also can #
# be used on skills if you want to colourize them by element or something. #
################################################################################
################################################################################
# Instructions # #
################ #
# #
# Setting an Item Quality. --------------------------------------------------- #
# #
# Insert this tag in the item, weapon, armor or skill's notefields: #
# <IQC quality> #
# #
# Being "quality" the name you set for that quality, like rare, epic or uber. #
# #
# Asigning a color to a Item Quality. ---------------------------------------- #
# #
# Below, in the configuration area, you can find the color list from 0 to 31. #
# There insert the proper quality name at the color you want to be linked. #
# #
# If there are no tag found, the name will appear at normal text color: white #
# in default RTP Window.png #
# #
# I defaulted according to WoW quality colors: poor, rare, epic and legendary, #
# but you must take in consideration that I used the default RTP Window.png #
# So if you have a custom one you can have different colors, so change the #
# list at your will to match your needs. #
# #
################################################################################
# Configuration Area #
######################
#
IQC_quality = # Don't touch this line.
{ # Don't touch this line.
0 => "", #
1 => "", #
2 => "", #
3 => "", #
4 => "", #
5 => "", #
6 => "", #
7 => "", #
8 => "poor", #
9 => "rare", #
10 => "", #
11 => "", #
12 => "", #
13 => "", #
14 => "", #
15 => "", #
16 => "", #
17 => "", #
18 => "", #
19 => "", #
20 => "legendary", #
21 => "", #
22 => "", #
23 => "", #
24 => "uncommon", #
25 => "", #
26 => "", #
27 => "", #
28 => "", #
29 => "", #
30 => "epic", #
31 => "" #
} # Don't touch this line.
#
######################
# Config Area End #
######################
end
#------------------------------------------------------------------------------#
# Don't cross this line unless your country is at the top of the group table #
# on South Africa's 2010 soccer world cup. #
#------------------------------------------------------------------------------#
module LNR
def get_single_for(note_field,tag_name)
lines = note_field.split("\n")
for line in lines
if line[0,1].eql?("<")
line2=line.split(/[<> ]/)
if line2[1].eql?(tag_name)
return line2[2]
end
end
end
end
end
#------------------------------------------------------------------------------#
class Window_Base < Window
include LNR
include IQC_Configs
def draw_item_name(item, x, y, enabled = true)
if item != nil
draw_icon(item.icon_index, x, y, enabled)
self.contents.font.color = normal_color
if item.note.include?("<IQC ")
quality = get_single_for(item.note,"IQC")
self.contents.font.color = text_color(IQC_quality.index(quality).to_i)
end
self.contents.font.color.alpha = enabled ? 255 : 128
self.contents.draw_text(x + 24, y, 172, WLH, item.name)
self.contents.font.color = normal_color
end
end
end