FORGOTTEN TOWNS

FORGOTTEN TOWNS / DOCUMENTAÇÃO DE MODIFICAÇÃO

Wiki de modificação ↗

Java Referência da API (Javadoc)

MOD API 15

Navegue na wiki

Documentação atual da Mod API.

A documentação técnica está disponível em inglês. O código e os nomes dos campos seguem a API Mod atual.

DOCUMENTAÇÃO DE MODIFICAÇÃO

Sundering Bench source

This is the gameplay mod's source example. Java hooks live in src/sundering/SunderingMod.java. The extracted SDK places the runtime JSON, translations and artwork in this project's pack/ directory. In the engine repository those files are authored separately under examples/mods/sundering.

From the extracted SDK root, build without the engine source:

.\examples\mod-sdk\build-mod.ps1 -Project .\examples\sundering-mod -ApiJar .\build\mod-sdk\forgotten-towns-mod-api-15.jar -OutputDirectory .\sundering-build

Build from the repository root with ./gradlew.bat --no-daemon assembleSunderingMod. Install the resulting build/mods/sundering folder. See the mod manual for gameplay details.

The assembled folder also includes about/preview.png and descriptions in all thirteen languages. The same folder can ship with the game or stand alone for later Workshop distribution; do not install a second copy under a different ID. Publishing is a separate step. The cover is generated promotional art centered on the station and elemental shards, surrounded by quiet parchment, not a gameplay screenshot.

Presentation files stay outside the gameplay save fingerprint. The settings manifest and gameplay files retain their identities. See covers and descriptions for the authoring convention.

The host conversion panel supports about/ui.json button, modal, row, resource and scrollbar skins. See UI customization.