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.37 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.36 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.35 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.34 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.33 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.32 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.31 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.30 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.28 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.27 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.26 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.24 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.23 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.22 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.21 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.20 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.19 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.18 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.17 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.9.16 lib/gemwarrior/entities/items/apple.rb