Sha256: c8527f51b1c36268224782e202e9939147cd15557055b5c1fcb45a57ef2e2836

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module Gamefic
  module Standard
    # Add a simple introduction that sets an appropriate name and synonyms for
    # the player character.
    #
    module Introduction
      extend Gamefic::Scriptable

      introduction do |actor|
        actor.name = 'you'
        actor.synonyms = 'self me yourself myself'
        actor.proper_named = true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-standard-3.3.0 lib/gamefic-standard/introduction.rb