Sha256: db63e2a34d440b588bf5fb0de8d796a5a60da34751d75f39493f47d83ea9e6ac

Contents?: true

Size: 1.26 KB

Versions: 48

Compression:

Stored size: 1.26 KB

Contents

# lib/gemwarrior/entities/people/thin_man.rb
# Entity::Creature::Person::ThinMan

require_relative '../person'

module Gemwarrior
  class ThinMan < Person
    def initialize
      super

      self.name         = 'thin_man'
      self.name_display = 'Thin Man'
      self.description  = 'An almost shockingly gaunt man is sitting on the ground, resting against a wall. He wears a patchwork quilt of a hat, and his slender frame is covered by a simple brown tunic. His feet point comically toward the sky in brown boots while his head dips down slightly, eyes watching something in the distance you can\'t see.'
    end

    def use(world)
      if self.used
        puts 'The thin man barely moves his head as he puts up a single grim hand, motioning you to back off.'
      else
        puts 'The thin man lifts his head up slightly, meets your gaze, and responds to your greeting:'
        speak('I may be incredibly spare right now, but I was once a strapping young person, such as yourself. Just in case you ever fall during your journey, be sure to approach unlikely sources, as you may find those who will help you.')
        speak('Now, please, allow me my peace.')

        self.used = true
      end

      { type: nil, data: nil }
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
gemwarrior-0.15.0 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.8 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.7 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.6 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.5 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.4 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.3 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.2 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.1 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.14.0 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.13.2 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.13.1 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.13.0 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.8 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/people/thin_man.rb