The data class for features.
The feature code.
The ID of the data (such as attributes or states) according to the type of feature.
The value set according to the type of feature.
class RPG::BaseItem::Feature
def initialize(code = 0, data_id = 0, value = 0)
@code = code
@data_id = data_id
@value = value
end
attr_accessor :code
attr_accessor :data_id
attr_accessor :value
end