Sha256: daaece86140f0ad96c520c2c146a005c547ff1f654395d5e34c02f265a5aef20

Contents?: true

Size: 565 Bytes

Versions: 48

Compression:

Stored size: 565 Bytes

Contents

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

require_relative '../item'

module Gemwarrior
  class SparklyThing < Item
    def initialize
      super

      self.name         = 'sparkly_thing'
      self.name_display = 'SparklyThing(tm)'
      self.description  = 'The sparkling that this thing does is unimaginably brilliant.'
      self.takeable     = true
    end

    def use(world)
      puts 'Everything, and I mean *everything*, begins to sparkle. Huh.'
      { type: nil, data: nil }
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
gemwarrior-0.15.0 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.8 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.7 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.6 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.5 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.4 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.3 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.2 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.1 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.14.0 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.13.2 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.13.1 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.13.0 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.8 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/items/sparkly_thing.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/items/sparkly_thing.rb