Link to patch guide
This commit is contained in:
@@ -471,6 +471,7 @@ editor.rules = Rules
|
||||
editor.generation = Generation
|
||||
editor.objectives = Objectives
|
||||
editor.locales = Locale Bundles
|
||||
editor.patches.guide = Patch Guide
|
||||
editor.patches = Content Patches
|
||||
editor.patch: Patchset: {0}
|
||||
editor.patches.none = [lightgray]No patchsets loaded.
|
||||
|
||||
@@ -79,6 +79,8 @@ public class Vars implements Loadable{
|
||||
public static final String discordURL = "https://discord.gg/mindustry";
|
||||
/** Link to the wiki's modding guide.*/
|
||||
public static final String modGuideURL = "https://mindustrygame.github.io/wiki/modding/1-modding/";
|
||||
/** Link to the wiki's patch guide.*/
|
||||
public static final String patchesGuideURL = "https://mindustrygame.github.io/wiki/contentpatches/";
|
||||
/** URLs to the JSON file containing all the BE servers. Only queried in BE. */
|
||||
public static final String[] serverJsonBeURLs = {"https://raw.githubusercontent.com/Anuken/MindustryServerList/master/servers_be.json", "https://cdn.jsdelivr.net/gh/anuken/mindustryserverlist/servers_be.json"};
|
||||
/** URLs to the JSON file containing all the stable servers. */
|
||||
|
||||
@@ -23,7 +23,9 @@ public class MapPatchesDialog extends BaseDialog{
|
||||
shown(this::setup);
|
||||
|
||||
addCloseButton();
|
||||
buttons.button("@add", Icon.add, () -> showImport(this::addPatch)).size(210f, 64f);
|
||||
buttons.button("@editor.patches.guide", Icon.link, () -> Core.app.openURI(patchesGuideURL)).size(200, 64f);
|
||||
|
||||
buttons.button("@add", Icon.add, () -> showImport(this::addPatch)).size(200f, 64f);
|
||||
|
||||
cont.top();
|
||||
getCell(cont).grow();
|
||||
|
||||
Reference in New Issue
Block a user