Added temporary credit text for sector submissions

This commit is contained in:
Anuken
2026-01-19 08:50:29 +09:00
parent 08c1a7aa29
commit 9150360f74
2 changed files with 8 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ sector.saltFlats.credit = Dexapnow
sector.windsweptIslands.credit = Stormride_R sector.windsweptIslands.credit = Stormride_R
sector.navalFortress.credit = blackberry2093 sector.navalFortress.credit = blackberry2093
sector.desolateRift.credit = hhh i 17 sector.desolateRift.credit = hhh i 17
sector.extractionOutpost.credit = coaldeficit, wpx sector.extractionOutpost.credit = CD, wpx
sector.origin.credit = Mechanical Fishe sector.origin.credit = Mechanical Fishe
sector.karst.credit = Mechanical Fishe sector.karst.credit = Mechanical Fishe

View File

@@ -1,6 +1,7 @@
package mindustry.ui.dialogs; package mindustry.ui.dialogs;
import arc.*; import arc.*;
import arc.graphics.*;
import arc.scene.actions.*; import arc.scene.actions.*;
import arc.scene.ui.*; import arc.scene.ui.*;
import arc.scene.ui.layout.*; import arc.scene.ui.layout.*;
@@ -103,6 +104,12 @@ public class ContentInfoDialog extends BaseDialog{
table.row(); table.row();
} }
//TODO: move this into a final end-game credit sequence. this is temporary and thus not localized
if(content.credit != null){
table.row();
table.add("Created by: " + content.credit).color(Color.gray).padTop(40f).row();
}
if(settings.getBool("console")){ if(settings.getBool("console")){
table.button("@viewfields", Icon.link, Styles.grayt, () -> { table.button("@viewfields", Icon.link, Styles.grayt, () -> {
Class<?> contentClass = content.getClass(); Class<?> contentClass = content.getClass();