diff options
author | gpcf <gpcf@gpcf.eu> | 2023-05-15 09:18:02 +0200 |
---|---|---|
committer | gpcf <gpcf@gpcf.eu> | 2023-05-15 09:18:02 +0200 |
commit | c16d9fc3d6057338e6b5bfe620e3b763cac0c1d3 (patch) | |
tree | 208d25746fa16a0dd4d148bb51671cfce019babd | |
parent | bfc0425797e83dd27002e28f79f683a5537844fe (diff) | |
download | departureboards-master.tar.gz departureboards-master.tar.bz2 departureboards-master.zip |
-rw-r--r-- | init.lua | 6 | ||||
-rw-r--r-- | mod.conf | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -120,3 +120,9 @@ minetest.register_abm({ chance = 1, action = display_api.update_entities, }) + +if atlatc then + atlatc.register_function("departureboard_set", function(pos, tb) + departureboards.contents[minetest.hash_node_position(pos)] = tb + end) +end @@ -2,4 +2,4 @@ name = departureboards title = Departure Boards description = A mod providing departure boards for advtrains depends = default,display_api,font_api,signs_api -optional_depends = intllib,digilines
\ No newline at end of file +optional_depends = intllib,digilines,advtrains_luaautomation
\ No newline at end of file |