Sha256: 114f0c6edb965a72fbf64bd42762c4c0b5068391f2c917f30630b023bf18baf5

Contents?: true

Size: 625 Bytes

Versions: 30

Compression:

Stored size: 625 Bytes

Contents

# lib/gemwarrior/entities/items/map.rb
# Entity::Item::Map

require_relative '../item'

module Gemwarrior
  class Map < Item
    def initialize
      super

      self.name         = 'map'
      self.name_display = 'Map'
      self.description  = 'The land of Jool is contained on this piece of canvas, in a useful, if not very detailed, manner.'
      self.takeable     = true
    end

    def use(world)
      puts 'You unfold the piece of worn canvas and study the markings upon it, always making sure to update it with new places you find.'

      { type: 'action', data: 'map' }
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/items/map.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/items/map.rb