class Gemwarrior::Feather

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Item::new
# File lib/gemwarrior/entities/items/feather.rb, line 8
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

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/items/feather.rb, line 17
def use(world)
  puts 'Soft to the touch, you wonder what it could be used before besides temporary comfort.'
  { type: nil, data: nil }
end