Sha256: 9901046df922012b1bae2e0f87878efff9ad8fe9e48226f29dd9252e2d6034df

Contents?: true

Size: 452 Bytes

Versions: 36

Compression:

Stored size: 452 Bytes

Contents

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

require_relative '../item'

module Gemwarrior
  class Apple < Item
    def initialize
      super

      self.name         = 'apple'
      self.name_display = '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.takeable     = true
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
gemwarrior-0.15.8 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.15.0 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.8 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.7 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.6 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.5 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.4 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.3 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.2 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.1 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.14.0 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.13.2 lib/gemwarrior/entities/items/apple.rb
gemwarrior-0.13.1 lib/gemwarrior/entities/items/apple.rb