Sha256: 6b02aae4da624db5948df1de4f1cdda8006455800e52f79ab89a9844332c0299

Contents?: true

Size: 683 Bytes

Versions: 28

Compression:

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

28 entries across 28 versions & 1 rubygems

Version Path
gemwarrior-0.9.27 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.26 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.24 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.23 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.22 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.21 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.20 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.19 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.18 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.17 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.16 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.15 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.14 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.13 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.12 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.10 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.9 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.8 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.7 lib/gemwarrior/entities/items/sparklything.rb
gemwarrior-0.9.6 lib/gemwarrior/entities/items/sparklything.rb