Sha256: 64994d989fbdb5ac3290f9cd5903c2d02f489e63070e60d9619e47af86cb4fe6

Contents?: true

Size: 593 Bytes

Versions: 12

Compression:

Stored size: 593 Bytes

Contents

# lib/gemwarrior/entities/items/feather.rb
# Entity::Item::Feather

require_relative '../item'

module Gemwarrior
  class Feather < Item
    def initialize
      super

      self.name         = 'feather'
      self.name_display = 'Feather'
      self.description  = 'A blue and green feather. It is soft and tender, unlike the craven bird that probably shed it.'
      self.takeable     = true
    end

    def use(world)
      puts 'Soft to the touch, you wonder what it could be used before besides temporary comfort.'
      { type: nil, data: nil }
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/items/feather.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/items/feather.rb