$data_system.elements[element_id]
Seriously shin, Help File ~ do a search for element and you will see RPG::System come up. Click on it and you will see:
elements
Element list. Text array using element IDs as subscripts, with the element in the 0 position being nil.
I got pretty close, with
p $data_system.words.element_ranks[1]
p $data.elements[1]
but I actually don't understand that sentence in the help file, and thought it meant it would display another range of 0-6. I'm an East Asian studies major, not a computer programmer.
>>
I needed the words because I'm constructing a Charisma stat that is exploiting the Element array to make a "likes/dislikes" table for stuff like good/evil, light/darkness, tech/nature, etc. I've got a second Status menu and I needed to know how to pull "words" for stuff like this:
when 5
parameter_name = $data_system.words.agi
parameter_value = actor.agi
when 6
parameter_name = $data_system.words.int
parameter_value = actor.int
basically it would compare the numeric total of deviation from C between the actor and the NPC/enemy to determine a reaction score total. Players will get to choose "affinities" or ideas to symbolize, and then pump points in them. Their point pool is going to be based on something like charisma/10.
By spending the points, the elements display in their Status II screen (in theory), like equipment.