Reorganized files
This commit is contained in:
parent
66b1cbe21f
commit
c0bf423bbf
16 changed files with 153 additions and 156 deletions
11
scripts/Data_Item.rb
Normal file
11
scripts/Data_Item.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue