mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Added link to modding guide
This commit is contained in:
parent
92d7efeea2
commit
46f118db13
@ -70,6 +70,7 @@ mods.alphainfo = Keep in mind that mods are in alpha, and[scarlet] may be very b
|
||||
mods.alpha = [accent](Alpha)
|
||||
mods = Mods
|
||||
mods.none = [LIGHT_GRAY]No mods found!
|
||||
mods.guide = Modding Guide
|
||||
mod.enabled = [lightgray]Enabled
|
||||
mod.disabled = [scarlet]Disabled
|
||||
mod.disable = Disable
|
||||
|
@ -45,6 +45,8 @@ public class Vars implements Loadable{
|
||||
public static final String discordURL = "https://discord.gg/mindustry";
|
||||
/** URL for sending crash reports to */
|
||||
public static final String crashReportURL = "http://mins.us.to/report";
|
||||
/** URL the links to the wiki's modding guide.*/
|
||||
public static final String modGuideURL = "https://mindustrygame.github.io/wiki/modding/";
|
||||
/** list of built-in servers.*/
|
||||
public static final Array<String> defaultServers = Array.with(/*"mins.us.to"*/);
|
||||
/** maximum distance between mine and core that supports automatic transferring */
|
||||
|
@ -17,6 +17,10 @@ public class ModsDialog extends FloatingDialog{
|
||||
public ModsDialog(){
|
||||
super("$mods");
|
||||
addCloseButton();
|
||||
buttons.addImageTextButton("$mods.guide", Icon.wiki,
|
||||
() -> Core.net.openURI(modGuideURL))
|
||||
.size(290f, 64f);
|
||||
|
||||
shown(this::setup);
|
||||
|
||||
hidden(() -> {
|
||||
|
Loading…
Reference in New Issue
Block a user