feat: add sprite spawns

This commit is contained in:
insects 2025-03-13 14:36:23 +01:00
parent 0581c53454
commit ca352fc531
13 changed files with 379 additions and 13 deletions

7
lib/bestiary.rb Normal file
View file

@ -0,0 +1,7 @@
class Bestiary
def self.get_sprites_for_zone(zone)
b = APP_DATA[:bestiary][:bestiary]
b.filter { |m| m[:sprite] && m[:zone] == zone }
end
end