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.20 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/people/thin_man.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/people/thin_man.rb