Method: Olib::Shop.containers
- Defined in:
- lib/Olib/shops.rb
.containers ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/Olib/shops.rb', line 10 def Shop.containers #fput "look" @@containers = [ GameObj.loot, GameObj.room_desc ] .flatten .compact .select { |container| !(container.name =~ /^([A-z][a-z]+ disk$)/)} .map { |container| Shop::Container.new(container) } @@containers end |