Added credits for each map to bundle (not displayed yet)

This commit is contained in:
Anuken
2026-01-16 19:51:19 -05:00
parent 4f9ea8b70d
commit 88acbbdc84
4 changed files with 52 additions and 16 deletions

View File

@@ -918,20 +918,48 @@ sector.coastline.description = Remnants of naval unit technology have been detec
sector.navalFortress.description = The enemy has established a base on a remote, naturally-fortified island. Destroy this outpost. Acquire their advanced naval craft technology, and research it. sector.navalFortress.description = The enemy has established a base on a remote, naturally-fortified island. Destroy this outpost. Acquire their advanced naval craft technology, and research it.
#do not translate #do not translate
sector.facility32m.description = WIP, map submission by Stormride_R sector.facility32m.description = WIP
sector.taintedWoods.description = WIP, map submission by Stormride_R sector.taintedWoods.description = WIP
sector.sunkenPier.description = WIP, map submission by Stormride_R sector.sunkenPier.description = WIP
sector.atolls.description = WIP, map submission by Stormride_R sector.atolls.description = WIP
sector.frontier.description = WIP, map submission by Stormride_R sector.frontier.description = WIP
sector.infestedCanyons.description = WIP, map submission by Skeledragon sector.infestedCanyons.description = WIP
sector.polarAerodrome.description = WIP, map submission by hhh i 17 sector.polarAerodrome.description = WIP
sector.testingGrounds.description = WIP, map submission by dnx2019 sector.testingGrounds.description = WIP
sector.perilousHarbor.description = WIP, map submission by inkognito626 sector.perilousHarbor.description = WIP
sector.weatheredChannels.description = WIP, map submission by Skeledragon sector.weatheredChannels.description = WIP
sector.fallenVessel.description = WIP, map submission sector.fallenVessel.description = WIP
sector.mycelialBastion.description = WIP, map submission by Skeledragon sector.mycelialBastion.description = WIP
sector.cruxscape.description = WIP, map submission by Stormride_R sector.cruxscape.description = WIP
sector.geothermalStronghold.description = WIP, map submission by Skeledragon sector.geothermalStronghold.description = WIP
#names, do not translate
sector.frozenForest.credit = Elixias Adrys
sector.facility32m.credit = Stormride_R
sector.taintedWoods.credit = Stormride_R
sector.sunkenPier.credit = Stormride_R
sector.atolls.credit = Stormride_R
sector.frontier.credit = Stormride_R
sector.infestedCanyons.credit = Skeledragon
sector.polarAerodrome.credit = hhh i 17
sector.testingGrounds.credit = Stormride_R
sector.perilousHarbor.credit = inkognito626
sector.weatheredChannels.credit = Skeledragon
sector.fallenVessel.credit = wpx, Stormride_R, Nahan
sector.mycelialBastion.credit = Skeledragon
sector.planetaryTerminal.credit = Skeledragon
sector.cruxscape.credit = Stormride_R
sector.geothermalStronghold.credit = Skeledragon
sector.overgrowth.credit = Skeledragon
sector.stainedMountains.credit = Pitchblende
sector.ruinousShores.credit = Pitchblende
sector.nuclearComplex.credit = Pitchblende
sector.coastline.credit = Stormride_R
sector.tarFields.credit = Dexapnow
sector.saltFlats.credit = Dexapnow
sector.windsweptIslands.credit = Stormride_R, Anuke
sector.navalFortress.credit = blackberry2093
sector.desolateRift.credit = hhh i 17
sector.onset.name = The Onset sector.onset.name = The Onset
sector.aegis.name = Aegis sector.aegis.name = Aegis
@@ -951,6 +979,12 @@ sector.crossroads.name = Crossroads
sector.karst.name = Karst sector.karst.name = Karst
sector.origin.name = Origin sector.origin.name = Origin
sector.origin.credit = Mechanical Fishe
sector.karst.credit = Mechanical Fishe
sector.caldera-erekir.credit = hhh i 17
sector.siege.credit = hhh i 17
sector.ravine.credit = Bepis
sector.onset.description = Commence the conquest of Erekir. Gather resources, produce units, and begin researching technology. sector.onset.description = Commence the conquest of Erekir. Gather resources, produce units, and begin researching technology.
sector.aegis.description = This sector contains deposits of tungsten.\nResearch the [accent]Impact Drill[] to mine this resource, and destroy the enemy base in the area. sector.aegis.description = This sector contains deposits of tungsten.\nResearch the [accent]Impact Drill[] to mine this resource, and destroy the enemy base in the area.
sector.lake.description = This sector's slag lake greatly limits viable units. A hover unit is the only option.\nResearch the [accent]ship fabricator[] and produce an [accent]elude[] unit as soon as possible. sector.lake.description = This sector's slag lake greatly limits viable units. A hover unit is the only option.\nResearch the [accent]ship fabricator[] and produce an [accent]elude[] unit as soon as possible.

View File

@@ -29,7 +29,7 @@ public abstract class UnlockableContent extends MappableContent{
/** Localized, formal name. Never null. Set to internal name if not found in bundle. */ /** Localized, formal name. Never null. Set to internal name if not found in bundle. */
public String localizedName; public String localizedName;
/** Localized description & details. May be null. */ /** Localized description & details. May be null. */
public @Nullable String description, details; public @Nullable String description, details, credit;
/** Whether this content is always unlocked in the tech tree. */ /** Whether this content is always unlocked in the tech tree. */
public boolean alwaysUnlocked = false; public boolean alwaysUnlocked = false;
/** Whether to show the description in the research dialog preview. */ /** Whether to show the description in the research dialog preview. */
@@ -90,6 +90,7 @@ public abstract class UnlockableContent extends MappableContent{
this.localizedName = Core.bundle.get(getContentType() + "." + this.name + ".name", this.name); this.localizedName = Core.bundle.get(getContentType() + "." + this.name + ".name", this.name);
this.description = Core.bundle.getOrNull(getContentType() + "." + this.name + ".description"); this.description = Core.bundle.getOrNull(getContentType() + "." + this.name + ".description");
this.details = Core.bundle.getOrNull(getContentType() + "." + this.name + ".details"); this.details = Core.bundle.getOrNull(getContentType() + "." + this.name + ".details");
this.credit = Core.bundle.getOrNull(getContentType() + "." + this.name + ".credit");
this.unlocked = Core.settings != null && Core.settings.getBool(this.name + "-unlocked", false); this.unlocked = Core.settings != null && Core.settings.getBool(this.name + "-unlocked", false);
} }

View File

@@ -94,6 +94,7 @@ public class SectorSubmissions{
var preset = new SectorPreset("sector-" + planet.name + "-" + id, "hidden/" + id, planet, id); var preset = new SectorPreset("sector-" + planet.name + "-" + id, "hidden/" + id, planet, id);
if(preset.credit == null) preset.credit = author;
preset.requireUnlock = false; preset.requireUnlock = false;
if(difficulty > 0f) preset.difficulty = difficulty; if(difficulty > 0f) preset.difficulty = difficulty;

View File

@@ -109,7 +109,7 @@ public class ContentInfoDialog extends BaseDialog{
if(contentClass.isAnonymousClass()) contentClass = contentClass.getSuperclass(); if(contentClass.isAnonymousClass()) contentClass = contentClass.getSuperclass();
Core.app.openURI("https://mindustrygame.github.io/wiki/Modding%20Classes/" + contentClass.getSimpleName()); Core.app.openURI("https://mindustrygame.github.io/wiki/Modding%20Classes/" + contentClass.getSimpleName());
}).margin(8f).pad(4f).padTop(8f).size(300f, 50f).row(); }).margin(8f).pad(4f).padTop(16f).size(300f, 50f).row();
} }
content.displayExtra(table); content.displayExtra(table);