Documentation system integration for Advtrains (mirror)

Y. Wang 0507e64a7b Fix LaTeX output error for empty advtrains_livery_tools templates 11 ماه پیش
.woodpecker b588e2b9fe Refactor code, part 1 11 ماه پیش
ci dc80f5f7dc Add helper for mineunit CI 1 سال پیش
locale 9af31611b4 Add header to sections 1 سال پیش
spec b588e2b9fe Refactor code, part 1 11 ماه پیش
test 716a56dd36 Use mtt for testing 11 ماه پیش
.dir-locals.el 58d34ea39b Add config for luacheckrc and emacs 1 سال پیش
.gitignore b588e2b9fe Refactor code, part 1 11 ماه پیش
.luacheckrc 92e6fd5672 Describe functions using LuaJIT bytecode if possible 11 ماه پیش
LICENSE 0fae9ba31c Initial commit 2 سال پیش
README.md 2f95d90be3 Refactor code, part 2 11 ماه پیش
bc.lua 92e6fd5672 Describe functions using LuaJIT bytecode if possible 11 ماه پیش
config.ld 51504061ab Minor UI adjustments 11 ماه پیش
describe.lua 2f95d90be3 Refactor code, part 2 11 ماه پیش
doc_ui.lua 92e6fd5672 Describe functions using LuaJIT bytecode if possible 11 ماه پیش
hypertext.lua 92e6fd5672 Describe functions using LuaJIT bytecode if possible 11 ماه پیش
init.lua 92e6fd5672 Describe functions using LuaJIT bytecode if possible 11 ماه پیش
latex.lua 0507e64a7b Fix LaTeX output error for empty advtrains_livery_tools templates 11 ماه پیش
mathutils.lua 2f95d90be3 Refactor code, part 2 11 ماه پیش
mod.conf 716a56dd36 Use mtt for testing 11 ماه پیش
mtt.lua 2f95d90be3 Refactor code, part 2 11 ماه پیش
utils.lua 51504061ab Minor UI adjustments 11 ماه پیش

README.md

Documentation System Integration for Advtrains

This mod integrates Advtrains with the doc mod, among other things.

Usage

The /helpform command can be used as usual.

This mod adds the "Wagons" category that contains information related to the wagons. It also adds adds certain Advtrains-related properties to certain nodes.

This mod also provides the atdoc_write command, which can be used to export wagon datasheets.

Please keep in mind that, while this mod attempts to provide accurate information, its accuracy, especially for information related to liveries, is limited by various factors. Refer the source code of the relevant mods for authoritative information.

Documentation strings

Wagon mods can add a description to the _doc_wagon_longdesc field of the wagon prototype; adding advtrains_doc_integration as an optional dependency is not needed.

CI

This mod also be used with Mineunit in addition to a regular Minetest environment, such as to generate wagon datasheets. However, please note that, due to various limitations, the datasheet generated in such an environment does not contain certain information that would otherwise be available from Minetest.