mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
11 lines
185 B
Ruby
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
|