mkxp/scripts/Data_Item.rb

12 lines
185 B
Ruby
Raw Normal View History

2015-11-17 20:35:51 +00:00
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