Sha256: c678add88f3460cb65be2c56341483a76d196f8cbcc72db9690b372a557ae49c

Contents?: true

Size: 666 Bytes

Versions: 15

Compression:

Stored size: 666 Bytes

Contents

# lib/gemwarrior/entities/weapons/stone.rb
# Entity::Item::Weapon::Stone

require_relative '../weapon'

module Gemwarrior
  class Stone < Weapon
    def initialize
      super

      self.name         = 'stone'
      self.name_display = 'Stone'
      self.description  = 'A small, yet quite sharp, sedimentary pebble, suitable for tossing in amusement, and perhaps combat.'
      self.atk_lo       = 1
      self.atk_hi       = 2
    end
    
    def use(world)
      puts 'You toss the stone a few feet into the air, and then it falls back into your palm. The experience was truly thrilling.'
      { type: nil, data: nil }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gemwarrior-0.12.8 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.1 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.12.0 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.5 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.4 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.3 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.2 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.1 lib/gemwarrior/entities/weapons/stone.rb
gemwarrior-0.11.0 lib/gemwarrior/entities/weapons/stone.rb