7 lines
155 B
Ruby
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
|