Translations:Extended.mod.json/54/en-gb: Difference between revisions
From Shroudforge
More actions
Importing a new version from external source |
Importing a new version from external source |
||
| Line 1: | Line 1: | ||
An action declaration only creates the button. Your mod's Lua code must register a handler for the same action ID. UI actions use the ShroudForge runtime, so a mod that uses them must request the <code>runtime</code> capability in its <code>mod.json</code>. See [[Modding: Capabilities|Modding: Capabilities]] for the capability rules. | |||
Latest revision as of 16:15, 18 November 2026
An action declaration only creates the button. Your mod's Lua code must register a handler for the same action ID. UI actions use the ShroudForge runtime, so a mod that uses them must request the runtime capability in its mod.json. See Modding: Capabilities for the capability rules.