|
|
@ -419,15 +419,15 @@ Ok, you're all set up! Now, let's take a look at an example
|
|
|
|
|
|
|
|
|
|
|
|
-- main file for example-mod
|
|
|
|
-- main file for example-mod
|
|
|
|
|
|
|
|
|
|
|
|
-- these lines indicate that the script supports the "enable" API so you
|
|
|
|
-- these lines indicate that the script supports the "enable"
|
|
|
|
-- can start it by running "enable example-mod" and stop it by running
|
|
|
|
-- API so you can start it by running "enable example-mod" and
|
|
|
|
-- "disable example-mod"
|
|
|
|
-- stop it by running "disable example-mod"
|
|
|
|
--@module = true
|
|
|
|
--@module = true
|
|
|
|
--@enable = true
|
|
|
|
--@enable = true
|
|
|
|
|
|
|
|
|
|
|
|
-- this is the help text that will appear in `help` and `gui/launcher`
|
|
|
|
-- this is the help text that will appear in `help` and
|
|
|
|
-- Documentation on how to format docs here:
|
|
|
|
-- `gui/launcher`. see possible tags here:
|
|
|
|
-- see possible tags here: https://docs.dfhack.org/en/latest/docs/Tags.html
|
|
|
|
-- https://docs.dfhack.org/en/latest/docs/Tags.html
|
|
|
|
--[====[
|
|
|
|
--[====[
|
|
|
|
example-mod
|
|
|
|
example-mod
|
|
|
|
===========
|
|
|
|
===========
|
|
|
|