sfence
2021-09-10 140701c99efb60d81bf63c9a9087720b21c414ca
refs
author sfence <sfence.software@gmail.com>
Friday, September 10, 2021 20:42 +0200
committer GitHub <noreply@github.com>
Friday, September 10, 2021 20:42 +0200
commit140701c99efb60d81bf63c9a9087720b21c414ca
tree 179b06b7d6c7703cd1b6cb37aeb67117242fc127 tree | zip | gz
parent 1c219487d3f4dd03c01ff9aa1f298c7c18c7e189 view | diff
Add technic_on_disable callback (#592)

This adds a new callback to trigger when the machine is no longer powered by the technic power grid. Also allows mods to override the infotext if needed.
2 files modified
22 ■■■■■ changed files
technic/doc/api.md 9 ●●●● diff | view | raw | blame | history
technic/machines/switching_station.lua 13 ●●●● diff | view | raw | blame | history