mkxp-sunshine/scripts/Item.rb
Mathew Velasquez 965f88ef83 Added scripts
2016-01-05 14:50:18 -05:00

11 lines
185 B
Ruby

module Item
COMBINATIONS = {
[3, 4] => 5,
[25, 26] => 30,
}
def self.combine(item_a, item_b)
items = [item_a, item_b].minmax
return COMBINATIONS[items]
end
end