Sha256: 4cf2d7c0f6cbde21c74d9527807ff41f3a85c0906b6a907a4cc3a8aece7650e8

Contents?: true

Size: 673 Bytes

Versions: 5

Compression:

Stored size: 673 Bytes

Contents

# lib/gemwarrior/entities/items/sparklything.rb
# Item::SparklyThing

require_relative '../item'

module Gemwarrior
  class SparklyThing < Item
    def initialize
      self.name         = 'Sparkly Thing(tm)'
      self.description  = 'The sparkling that this thing does is unimaginably brilliant.'
      self.atk_lo       = nil
      self.atk_hi       = nil
      self.takeable     = true
      self.useable      = true
      self.equippable   = false
      self.equipped     = false
    end
    
    def use
      puts 'Everything, and I mean *everything*, begins to sparkle. Huh.'
      puts
      {:type => nil, :data => nil}
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gemwarrior-0.7.4 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.7.3 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.7.2 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.7.1 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.7.0 lib/gemwarrior/entities/items/sparklything.rb