Sha256: 52d738ed4371f10e8963f5a85d2912a501638f40f8d6043d082d676c451a5fa2

Contents?: true

Size: 661 Bytes

Versions: 8

Compression:

Stored size: 661 Bytes

Contents

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

require_relative '../item'

module Gemwarrior
  class SparklyThing < Item
    def initialize
      super

      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
    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

8 entries across 8 versions & 1 rubygems

Version Path
gemwarrior-0.10.7 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.6 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.5 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.4 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.2 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.1 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.10.0 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.39 lib/gemwarrior/entities/items/sparklything.rb