class Gemwarrior::Dehumidifier

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Item::new
# File lib/gemwarrior/entities/items/dehumidifier.rb, line 8
def initialize
  super

  self.name         = 'dehumidifier'
  self.name_display = 'Dehumidifier'
  self.description  = 'Humidity stands approximately zero chance of surviving when in its presence.'
  self.takeable     = true
end

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/items/dehumidifier.rb, line 17
def use(world)
  puts 'Despite your figeting, the lack of humidity remains the same.'
  { type: nil, data: nil }
end