feat: add sprite spawns
This commit is contained in:
parent
0581c53454
commit
ca352fc531
13 changed files with 379 additions and 13 deletions
7
lib/bestiary.rb
Normal file
7
lib/bestiary.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue