Sha256: 8b25f180444b24b399723d692e406ab9782079405b514c7131d061b70213a8e7

Contents?: true

Size: 555 Bytes

Versions: 53

Compression:

Stored size: 555 Bytes

Contents

# lib/gemwarrior/entities/items/apple.rb
# Item::Apple

require_relative '../item'

module Gemwarrior
  class Apple < Item
    def initialize
      self.name         = 'apple'
      self.description  = 'Reddish-orangeish in color, this fruit looks sweet, but it is heavy and feels more like a rock you would sooner not bite into.'
      self.atk_lo       = nil
      self.atk_hi       = nil
      self.takeable     = true
      self.useable      = false
      self.equippable   = false
      self.equipped     = false
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
gemwarrior-0.9.15 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.14 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.13 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.12 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.10 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.9 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.8 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.7 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.6 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.5 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.4 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.3 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.2 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.1 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.0 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.8.8 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.8.7 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.8.6 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.8.5 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.8.3 lib/gemwarrior/entities/items/apple.rb