Sha256: c950e85a8b03c1e66fe9f90486a86a5e1db46848dba3f2159b2622140d262e5b

Contents?: true

Size: 611 Bytes

Versions: 37

Compression:

Stored size: 611 Bytes

Contents

# lib/gemwarrior/entities/items/hut.rb
# Entity::Item::Hut

require_relative '../item'

module Gemwarrior
  class Hut < Item
    def initialize
      super

      self.name         = 'hut'
      self.name_display = 'Hut'
      self.description  = 'A simple thatched hut, sitting in the middle of the plains. Nothing about it seems odd, except its existence among the otherwise featureless landscape.'
    end

    def use(world)
      puts 'You peer inside, but it is completely vacant at the moment, leaving you marginally disappointed.'

      { type: nil, data: nil }
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

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