Sha256: a97f5779f1ff3c705fd0fbaeb9ea04ef3d4ec08348e155cd48f6862d956e6e7d

Contents?: true

Size: 478 Bytes

Versions: 35

Compression:

Stored size: 478 Bytes

Contents

# lib/gemwarrior/entities/person.rb
# Entity::Creature::Person base class

require_relative 'creature'

module Gemwarrior
  class Person < Creature
    def initialize
      super
      
      self.name         = 'person.'
      self.name_display = Formatting::upstyle(name)
      self.description  = 'It appears to be a person of some kind.'
    end
  
    def use(world)
      'That person does not seem to want to talk to you right now.'
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

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