Skip to content

Elisp implementation of the Tabletop Simulator external editor API.

Notifications You must be signed in to change notification settings

dangersalad/emacs-tts-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

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

About

Elisp implementation of the Tabletop Simulator external editor API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published