class Gemwarrior::Throne

Public Class Methods

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

  self.name         = 'throne'
  self.name_display = 'Throne'
  self.description  = 'Made of what appears to be unfulfilled desires and latent, flawed happiness, the well-crafted seat still looks kinda comfy. The wizard Emerald sits in it, glaring at you.'
end

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/items/throne.rb, line 16
def use(world)
  puts 'Your words fall on deaf chairs. Emerald continues to stare at you.'
  { type: nil, data: nil }
end