ecoffee/lib/bestiary.rb
2025-03-13 14:36:23 +01:00

7 lines
155 B
Ruby

class Bestiary
def self.get_sprites_for_zone(zone)
b = APP_DATA[:bestiary][:bestiary]
b.filter { |m| m[:sprite] && m[:zone] == zone }
end
end