Sha256: 2b77832d63a7243f877bb5999cffe7fa99bdf06d6b44c85750474b53795af2fb

Contents?: true

Size: 679 Bytes

Versions: 9

Compression:

Stored size: 679 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

9 entries across 9 versions & 1 rubygems

Version Path
gemwarrior-0.9.37 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.36 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.35 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.34 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.33 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.32 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.31 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.30 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.28 lib/gemwarrior/entities/items/sparklything.rb