Sha256: fb29cf47572fceefacb26bd4558a7eaf5d98641daa6101d7c864ce72eb278886

Contents?: true

Size: 687 Bytes

Versions: 7

Compression:

Stored size: 687 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(player = nil)
      puts 'Everything, and I mean *everything*, begins to sparkle. Huh.'
      puts
      {:type => nil, :data => nil}
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gemwarrior-0.8.6 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.8.5 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.8.3 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.8.2 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.8.1 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.8.0 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.7.9 lib/gemwarrior/entities/items/sparklything.rb