SlashCo Wiki

SlashCo.RegisterDocument

  SlashCo.RegisterDocument( Document table )

Description

Registers a document table, keyed by its Name, and groups it under its Type.
If Type is "Slasher" and no Document.Slasher field is set, it defaults to the document's Name.
Must be called before document loading finishes; calling it afterwards throws an error.

Arguments

1Document table

The Document table to register.