Sha256: 88f32d09601e7b37725262c8c9f3ad6daf3f7723c0df35adf0007c5eded685b7

Contents?: true

Size: 587 Bytes

Versions: 12

Compression:

Stored size: 587 Bytes

Contents

# lib/gemwarrior/entities/items/keystone.rb
# Entity::Item::Keystone

require_relative '../item'

module Gemwarrior
  class Keystone < Item
    def initialize
      super

      self.name         = 'keystone'
      self.name_display = 'Keystone'
      self.description  = 'Certainly greater than the sum of its parts, this smallish stone glows faintly and feels slick to the touch.'
      self.takeable     = true
    end

    def use(world)
      puts 'The keystone glows a bit brighter when you grasp it tightly.'
      { type: nil, data: nil }
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/items/keystone.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/items/keystone.rb