Sha256: e32aeb9f983522e598c17aa421b596510adc8a6655d4f2ff87fe20cddf517e24

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 Bytes

Contents

# frozen_string_literal: true

module Gamefic
  module Standard
    module Actions
      module SaveRestoreUndo
        extend Gamefic::Scriptable

        # Save, Restore, and Undo need to be handled by the game client. They have
        # default implementations here to make them available in help.

        meta :save do |actor|
          actor.tell '<kbd>Save</kbd> is not available.'
        end

        meta :restore do |actor|
          actor.tell '<kbd>Restore</kbd> is not available.'
        end

        meta :undo do |actor|
          actor.tell '<kbd>Undo</kbd> is not available.'
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gamefic-standard-4.0.0 lib/gamefic/standard/actions/save-restore-undo.rb
gamefic-standard-3.3.0 lib/gamefic-standard/actions/save-restore-undo.rb