mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 03:59:26 +02:00
hotfix again.
This commit is contained in:
@@ -26,7 +26,9 @@ setting.coreItemCheckRate.description = set how often the core resources are che
|
||||
setting.wavemax.name = Wave Tap: Wave Amount to Display
|
||||
setting.wavemax.description = set waves limit for wave list tap.
|
||||
setting.infoui.name = Display Info UI
|
||||
setting.infoui.description = enable left-side tap ui to display.\nwhen inactive, all associated updates will be stopped.
|
||||
setting.infoui.description = enable left-side tap ui to display.\nwhen disabled, all associated updates will be stopped.
|
||||
setting.waveui.name = Display Wave UI
|
||||
setting.waveui.description = enable left-top-side wave ui to display.\nwhen disabled, all associated updates will be stopped.
|
||||
setting.pastwave.name = Wave Tap: Display Previous Wave
|
||||
setting.pastwave.description = display previous wave on wave list tap.\nCurrent wave is highlighted with red color.
|
||||
setting.emptywave.name = Wave Tap: Display Empty Wave
|
||||
@@ -84,7 +86,7 @@ setting.autoShooting.name = Enable Auto Shooting
|
||||
setting.autoShooting.description = no don't do hack
|
||||
|
||||
setting.shar-title = UnitInfo Setting
|
||||
setting.shar-wave = InfoTap Setting
|
||||
setting.shar-ui = OverlayUI Setting
|
||||
setting.shar-range = AutoRange Setting
|
||||
setting.shar-opacity = Opacity Setting
|
||||
setting.shar-draw = Overdrawing Setting
|
||||
|
||||
@@ -26,6 +26,8 @@ setting.wavemax.name = 표시할 단계 수
|
||||
setting.wavemax.description = 단계 탭에서 표시할 웨이브 수 제한을 설정합니다.
|
||||
setting.infoui.name = 정보 UI 표시
|
||||
setting.infoui.description = 좌측 탭 UI를 표시합니다. 비활성 시 관련된 모든 업데이트가 중지됩니다.
|
||||
setting.waveui.name = 단계 UI 표시
|
||||
setting.waveui.description = 좌측 상단 UI를 포시합니다. 비활성 시 관련된 모든 업데이트가 중지됩니다.
|
||||
setting.pastwave.name = 이전 단계 표시
|
||||
setting.pastwave.description = 단계 탭에서 이전 단계를 표시합니다. 현재 단계는 빨간색으로 강조됩니다.
|
||||
setting.emptywave.name = 빈 단계 표시
|
||||
@@ -83,7 +85,7 @@ setting.autoShooting.name = 자동 사격 활성화
|
||||
setting.autoShooting.description =
|
||||
|
||||
setting.shar-title = UnitInfo 설정
|
||||
setting.shar-wave = 정보탭 설정
|
||||
setting.shar-ui = 정보UI 설정
|
||||
setting.shar-range = 자동 사거리 설정
|
||||
setting.shar-opacity = 투명도 설정
|
||||
setting.shar-draw = 덧그리기 설정
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"displayName": "Unit Information",
|
||||
"author": "Sharlotte",
|
||||
"description": "The mod displays more information in-game, such as unit/building, wave, core, tile, item/unit total info etc",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"main": "UnitInfo.core.Main",
|
||||
"minGameVersion": "131",
|
||||
"dependencies": [],
|
||||
|
||||
@@ -298,7 +298,7 @@ public class HudUi {
|
||||
new Table(tt -> tt.button(Icon.downOpen, Styles.clearToggleTransi, () -> waveShown = !waveShown).size(4 * 8f).checked(b -> {
|
||||
b.getImage().setDrawable(waveShown ? Icon.upOpen : Icon.downOpen);
|
||||
return waveShown;
|
||||
})).left().top());
|
||||
})).left().top()).visible(() -> settings.getBool("waveui"));
|
||||
}
|
||||
|
||||
public void reset(int index, Seq<Button> buttons, Label label, Table table, Table labelTable, String hud){
|
||||
|
||||
@@ -16,6 +16,7 @@ public class Main extends Mod {
|
||||
public void init(){
|
||||
turretRange = new RangeShader();
|
||||
lineShader = new LineShader();
|
||||
|
||||
Core.app.post(() -> {
|
||||
Mods.ModMeta meta = Vars.mods.locateMod("unitinfo").meta;
|
||||
meta.displayName = "[#B5FFD9]Unit Information[]";
|
||||
|
||||
@@ -111,6 +111,7 @@ public class SettingS {
|
||||
addGraphicSlideSetting("coreItemCheckRate", 60, 6, 180, 6, s -> Strings.fixed(s/60f,1) + "sec", tapSeq);
|
||||
addGraphicTypeSetting("wavemax", 0, 200,100, true, () -> true, s -> s + "waves", tapSeq);
|
||||
addGraphicCheckSetting("infoui", true, tapSeq);
|
||||
addGraphicCheckSetting("waveui", true, tapSeq);
|
||||
addGraphicCheckSetting("pastwave", false, tapSeq);
|
||||
addGraphicCheckSetting("emptywave", true, tapSeq);
|
||||
|
||||
@@ -151,7 +152,7 @@ public class SettingS {
|
||||
|
||||
sharset.table(t -> {
|
||||
Seq<TextButton> buttons = new Seq<>();
|
||||
buttons.add(new TextButton(bundle.get("setting.shar-wave"), Styles.clearToggleMenut));
|
||||
buttons.add(new TextButton(bundle.get("setting.shar-ui"), Styles.clearToggleMenut));
|
||||
buttons.add(new TextButton(bundle.get("setting.shar-range"), Styles.clearToggleMenut));
|
||||
buttons.add(new TextButton(bundle.get("setting.shar-opacity"), Styles.clearToggleMenut));
|
||||
buttons.add(new TextButton(bundle.get("setting.shar-draw"), Styles.clearToggleMenut));
|
||||
|
||||
Reference in New Issue
Block a user