Skip to content

Extension points

tilttek/rpg-systems

The package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

PointWhat an application givesWhere
Documents of the formatIts systems and their localisations, in YAML or JSONThe format
Import\ImportProfile, Import\TableMappingA profile that reads an extract shaped otherwise, or another open sourceImporting open sources
ProvenanceThe source, licence and attribution of what it imports or writesSources and attribution
Data packagesOne open source in one version, already imported, required with Composer under the type tilttek-rpg-data, which Package\InstalledDataPackages loadsData packages
The method of difficulty numbersNumbers of its own under a method its tools read, beside check, level-dc, budget and levelSystems and records
The limit of Format\SystemReaderThe longest document it reads, in bytesThe format

The limit of Package\DataPackageReader, the longest manifest it reads, is its argument too. Package\InstalledDataPackages takes that reader, and the packages and their directories by name instead of those Composer installed.

The records are values the application may also build in code. The services keep no state of their own between two calls.