Sha256: fae00af4ff8aea18ea563bfe57cf556bfe86297c96bda5731f6d946412185631

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

# Add a locale description to entities.
# In the standard library, itemizing the contents of a room will display an
# entity's locale description instead of adding its name to a list.
#
# Example without locale descriptions:
#   You are in a room.
#   You see a book, a key, and a cup.
#
# Example with a locale description for the cup:
#   You are in a room.
#   You see a book and a key.
#   A gold cup gleams in the candlelight.
#
module LocaleDescription
  attr_writer :locale_description
  
  def locale_description
    @locale_description ||= ''
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-sdk-1.7.0 scripts/standard/modules/locale_description.plot.rb