class Gemwarrior::Snowman

Constants

USE_TEXT

CONSTANTS

Public Class Methods

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

  self.name         = 'snowman'
  self.name_display = 'Snowman'
  self.description  = 'Standing solemnly in the snow, a man of snow solemnly stands.'
end

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/items/snowman.rb, line 19
def use(world)
  puts 'You go to touch the snowy softness of the snowman when it magically comes to life! The frozen homunculus grabs you by the wrist and tosses you to the ground, only to follow this up by jumping onto you with its full, freezing, force. Your body, and mind, go numb.'
  puts

  Animation.run(phrase: USE_TEXT)

  { type: 'move_dangerous', data: 'Home' }
end