User Tools

Site Tools


preview:dependencies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
preview:dependencies [2019/05/30 10:34] – created maximepreview:dependencies [2019/05/30 10:34] maxime
Line 1: Line 1:
 ====== Dependencies ====== ====== Dependencies ======
  
-If your mod uses features/content created in another mod, you can declare this other mod as a dependency of yours. Doing so will warn players if they try to run your mod without its dependencies.+If your mod uses features/content created in another mod, you can declare this other mod as a dependency of yours. Doing so will warn players if they try to use your mod without its dependencies.
  
 To declare dependencies for your mod, add a ''"Dependencies"'' table in your ''mod.json''. Each entry in this table requires the name of the dependency mod (''"Name"''), and its ID (''"Id"'', you can find it in the dependency's ''generated_ids.lua'' file). To declare dependencies for your mod, add a ''"Dependencies"'' table in your ''mod.json''. Each entry in this table requires the name of the dependency mod (''"Name"''), and its ID (''"Id"'', you can find it in the dependency's ''generated_ids.lua'' file).

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki