Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.19 KB

README.org

File metadata and controls

44 lines (30 loc) · 1.19 KB

tts-editor

Description

Elisp implementation of the Tabletop Simulator external editor API.

Installation

(use-package
    :straight (tts-editor :type git
                          :host github
                          :repo "dangersalad/emacs-tts-editor")
    :commands (tts-editor/listen-start
               tts-editor/listen-stop))

Usage

Start the server with M-x tts-editor/listen-start. You will see messages and other information in the *tts-editor* buffer.

In the generated buffers, the C-x C-s keybinding will performe a “Save and Play” on all of the script/UI files and reload them all. To save your buffers to your file system, you can use the C-x C-w (write-file) binding.

You can use M-x tts-editor/reload to reload the files in the current save.

M-x tts-editor/listen-stop will close the server and remove all script buffers.

Progress

  • [X] Handle script loading on game save load
  • [X] Handle single object script editor loading
  • [X] Handle log/error messages
  • [X] Handle custom/scripting messages
  • [X] Send updated scripts to TTS
  • [X] Send custom messages