New hint tutorial system (unfinished!)

This commit is contained in:
Anuken
2020-11-21 14:05:58 -05:00
parent 522a7f4728
commit 6fba84959c
23 changed files with 343 additions and 364 deletions

View File

@@ -116,7 +116,7 @@ public class LaunchLoadoutDialog extends BaseDialog{
selected = s;
update.run();
rebuildItems.run();
}).group(group).pad(4).disabled(!sitems.has(s.requirements())).checked(s == selected).size(200f);
}).group(group).pad(4).checked(s == selected).size(200f);
if(++i % cols == 0){
t.row();

View File

@@ -134,6 +134,11 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
/** show with no limitations, just as a map. */
@Override
public Dialog show(){
if(net.client()){
ui.showInfo("@map.multiplayer");
return this;
}
mode = look;
selected = hovered = launchSector = null;
launching = false;

View File

@@ -169,7 +169,7 @@ public class ResearchDialog extends BaseDialog{
public Dialog show(){
if(net.client()){
ui.showInfo("@research.multiplayer");
return null;
return this;
}
return super.show();