Sha256: b70d55784a8ccbef5b10eaff80893aba2a72d60584af062ea87a1239141f92f9

Contents?: true

Size: 665 Bytes

Versions: 12

Compression:

Stored size: 665 Bytes

Contents

# lib/gemwarrior/entities/items/stonemite.rb
# Entity::Item::Stonemite

require_relative '../item'

module Gemwarrior
  class Stonemite < Item
    def initialize
      super

      self.name         = 'stonemite'
      self.name_display = 'Stonemite'
      self.description  = 'Stubby cave debris that is neat to look at, as it is off-grey and sparkly, but the size makes it unusable as anything but skipping on a lake.'
      self.takeable     = true
    end

    def use(world)
      puts 'You turn the stonemite over and over in your hand. It continues to be a small rock of little import.'
      { 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/stonemite.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/items/stonemite.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/items/stonemite.rb