mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2025-12-18 20:43:30 +08:00
WIP
This commit is contained in:
20
AutoPilot/README.md
Normal file
20
AutoPilot/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# AutoPilot
|
||||
|
||||
## What's this?
|
||||
|
||||
Auto pilot to a planet or star system.
|
||||
|
||||
This mod is a CruiseAssist extension.
|
||||
|
||||
Original mod: [AutoPilot](https://thunderstore.io/package/tanu/AutoPilot/)
|
||||
It was discontinued, so I made a fork of it.
|
||||
|
||||
## CHANGE LOG
|
||||
|
||||
### 0.1.0
|
||||
* Cleanup from disassmbly codes of AutoPilot 0.0.4.
|
||||
* Optimization to codes.
|
||||
* Add a simple localization implementation.
|
||||
|
||||
### Origianal AutoPilot Changelogs
|
||||
Check [original mod](https://thunderstore.io/c/dyson-sphere-program/p/tanu/AutoPilot/) for details
|
||||
@@ -87,7 +87,7 @@ internal static class AutoPilotConfigUI
|
||||
_labelStyle.fixedWidth = 240f;
|
||||
GUILayout.Label(Strings.Get(17), _labelStyle);
|
||||
GUILayout.FlexibleSpace();
|
||||
SetValue(ref TempWarpMinRangeAu, GUILayout.TextArea(TempWarpMinRangeAu, _textFieldStyle), 1, 60, ref AutoPilotPlugin.Conf.WarpMinRangeAu);
|
||||
SetValue(ref TempWarpMinRangeAu, GUILayout.TextField(TempWarpMinRangeAu, _textFieldStyle), 1, 60, ref AutoPilotPlugin.Conf.WarpMinRangeAu);
|
||||
_labelStyle.fixedWidth = 20f;
|
||||
GUILayout.Label("AU", _labelStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
@@ -95,7 +95,7 @@ internal static class AutoPilotConfigUI
|
||||
_labelStyle.fixedWidth = 240f;
|
||||
GUILayout.Label(Strings.Get(18), _labelStyle);
|
||||
GUILayout.FlexibleSpace();
|
||||
SetValue(ref TempSpeedToWarp, GUILayout.TextArea(TempSpeedToWarp, _textFieldStyle), 0, 2000, ref AutoPilotPlugin.Conf.SpeedToWarp);
|
||||
SetValue(ref TempSpeedToWarp, GUILayout.TextField(TempSpeedToWarp, _textFieldStyle), 0, 2000, ref AutoPilotPlugin.Conf.SpeedToWarp);
|
||||
_labelStyle.fixedWidth = 20f;
|
||||
GUILayout.Label("m/s", _labelStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using CruiseAssist.Commons;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace AutoPilot.UI;
|
||||
@@ -60,7 +59,7 @@ public static class Strings
|
||||
"最小能量百分比 (0-100 默认:20)",
|
||||
"最大速度 (0-2000 默认:2000)",
|
||||
"启用曲速最小距离 (1-60 默认:2)",
|
||||
"航行速度达到此值时启动曲速 (0-2000 默认:1200)",
|
||||
"启动曲速的航行速度 (0-2000 默认:1200)",
|
||||
"即使本星系的行星也允许曲速",
|
||||
// 20
|
||||
"设置目标行星后立即开始导航",
|
||||
|
||||
Reference in New Issue
Block a user