Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Distribution/GameData/REPOSoftTech/Agencies/Agents.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AGENT
{
name = REPOSoftTech
title = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00198 //Experts in the field of cryogenics, ergonomics and electrical equipment, the kerbals at REPOSoftTech are trying hard to keep all space fairing kerbals alive and their missions successful.
title = #autoLOC_JPLREPO_0001 //REPOSoftTech
description = #autoLOC_JPLREPO_0002 //Experts in the field of cryogenics, ergonomics and electrical equipment, the kerbals at REPOSoftTech are trying hard to keep all space fairing kerbals alive and their missions successful.

logoURL = REPOSoftTech/Agencies/REPOSoftTech
logoScaledURL = REPOSoftTech/Agencies/REPOSoftTech_scaled

Expand Down
6 changes: 5 additions & 1 deletion Distribution/GameData/REPOSoftTech/DeepFreeze/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
V0.23.5.0
V0.23.6.0
Russian Localization texts added - Thanks go to forum user- Artem Kerman.
Spanish Localization texts added - Thanks go to forum user- Fitiales.
Resized UI elements to fit other languages.
V0.23.5.0
Compile for KSP 1.3.0
Localization ready (but all in English) - Translation volunteers welcome. ;)
If Infinite EC is turned on DeepFreeze will not consume EC.
Expand Down
760 changes: 380 additions & 380 deletions Distribution/GameData/REPOSoftTech/DeepFreeze/DFLocalization.cfg

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"NAME":"DeepFreeze Continued...",
"URL":"http://ksp-avc.cybutek.net/version.php?id=183",
"DOWNLOAD":"http://spacedock.info/mod/142/DeepFreeze%20Continued...",
"VERSION":{"MAJOR":0,"MINOR":23,"PATCH":5,"BUILD":0},
"KSP_VERSION":{"MAJOR":1,"MINOR":3,"PATCH":0),
"VERSION":{"MAJOR":0,"MINOR":23,"PATCH":6,"BUILD":0},
"KSP_VERSION":{"MAJOR":1,"MINOR":3,"PATCH":0},
"KSP_VERSION_MIN":{"MAJOR":1,"MINOR":3,"PATCH":0},
"KSP_VERSION_MAX":{"MAJOR":1,"MINOR":3,"PATCH":0}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ PART
cost = 4000
category = Utility
subcategory = 0
title = #autoLOC_DF_00185 //CRY-0300 Cryonic Freezing Chamber
manufacturer = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00187 //Designed for long term storage of 1 kerbal. The CRY-0300 uses Glykerol and ElectricCharge to freeze or thaw one Kerbal. Please ensure you have enough ElectricCharge capacity on your ship. The CRY-0300 comes stocked with 10 units of Glykerol. CAUTION: The CRY-0300 also requires ElectricCharge per minute per Kerbal to keep it's Monitoring Systems Functioning. If it cannot get this ElectricCharge there is a risk of frozen Kerbals dying.
//CRY-0300 Cryonic Freezing Chamber
title = #autoLOC_DF_00185
manufacturer = #autoLOC_DF_00186
description = #autoLOC_DF_00187
attachRules = 1,0,1,1,0
mass = 1.5
dragModelType = default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ PART
cost = 4000
category = Utility
subcategory = 0
title = #autoLOC_DF_00189 //CRY-0300R Cryonic Freezing Chamber
manufacturer = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00190 //Designed for long term storage of 1 kerbal. The CRY-0300R uses Glykerol and ElectricCharge to freeze or thaw one Kerbal. Please ensure you have enough ElectricCharge capacity on your ship. The CRY-0300R comes stocked with 10 units of Glykerol. CAUTION: The CRY-0300R also requires ElectricCharge per minute per Kerbal to keep it's Monitoring Systems Functioning. If it cannot get this ElectricCharge there is a risk of frozen Kerbals dying.
//CRY-0300R Cryonic Freezing Chamber
title = #autoLOC_DF_00189
manufacturer = #autoLOC_DF_00186
description = #autoLOC_DF_00190
attachRules = 1,1,0,1,1
mass = 0.75
dragModelType = default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ PART
cost = 6000
category = Utility
subcategory = 0
title = #autoLOC_DF_00191 //CRY-1300 Cryonic Freezing Chamber
manufacturer = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00192 //Designed for long term storage of up to 3 Kerbals. The CRY-1300 uses Glykerol and ElectricCharge to freeze or thaw one Kerbal. Please ensure you have enough ElectricCharge capacity on your ship. The CRY-1300 comes stocked with 15 units of Glykerol. CAUTION: The CRY-1300 also requires ElectricCharge per minute per Kerbal to keep it's Monitoring Systems Functioning. If it cannot get this ElectricCharge there is a risk of frozen Kerbals dying.
//CRY-1300 Cryonic Freezing Chamber
title = #autoLOC_DF_00191
manufacturer = #autoLOC_DF_00186
description = #autoLOC_DF_00192
attachRules = 1,0,1,1,0
mass = 2.5
dragModelType = default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ PART
cost = 8000
category = Utility
subcategory = 0
title = #autoLOC_DF_00193 //CRY-2300 Cryonic Freezing Chamber
manufacturer = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00194 //Designed for long term storage of up to 10 Kerbals. The CRY-2300 uses Glykerol and ElectricCharge to freeze or thaw one Kerbal. Please ensure you have enough ElectricCharge capacity on your ship. The CRY-2300 comes stocked with 50 units of Glykerol. CAUTION: The CRY-2300 also requires ElectricCharge per minute per Kerbal to keep it's Monitoring Systems Functioning. If it cannot get this ElectricCharge there is a risk of frozen Kerbals dying.
//CRY-2300 Cryonic Freezing Chamber
title = #autoLOC_DF_00193
manufacturer = #autoLOC_DF_00186
description = #autoLOC_DF_00194
attachRules = 1,0,1,1,0

mass = 5.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ PART
cost = 500
category = FuelTank
subcategory = 0
title = #autoLOC_DF_00195 //RS-X20R Glykerol Container
manufacturer = #autoLOC_DF_00186 //REPOSoftTech
description = #autoLOC_DF_00196 //The RS-X20R is a small-volume Radial Glykerol container, for all your Kerbal Freezing and Thawing needs. Brought to you by the good folks at REPOSoftTech. Warranty void if filled with Glykerol.
//RS-X20R Glykerol Container
title = #autoLOC_DF_00195
manufacturer = #autoLOC_DF_00186
description = #autoLOC_DF_00196
attachRules = 0,1,0,0,1
mass = 0.03143
dragModelType = default
Expand Down
2 changes: 1 addition & 1 deletion Source/DeepFreeze.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\KSPDLLs - 1.3\Assembly-CSharp.dll</HintPath>
</Reference>
Expand Down
30 changes: 15 additions & 15 deletions Source/DeepFreezeGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ internal class DeepFreezeGUI : MonoBehaviour, Savable
{
//GUI Properties
internal AppLauncherToolBar DFMenuAppLToolBar;
private float DFWINDOW_WIDTH = 560;
private float DFWINDOW_WIDTH = 500;
//private float CFWINDOW_WIDTH = 340;
private float KACWINDOW_WIDTH = 485;
private float KACWINDOW_WIDTH = 500;
private float VSWINDOW_WIDTH = 340;
private float WINDOW_BASE_HEIGHT = 350;
private Rect DFwindowPos;
Expand Down Expand Up @@ -275,8 +275,8 @@ internal void Start()
KACtxtWdthATme = Mathf.Round((KACWINDOW_WIDTH - 38f) * .2f);
KACtxtWdthKName = Mathf.Round((KACWINDOW_WIDTH - 48f) * .2f);
KACtxtWdthKTyp = Mathf.Round((KACWINDOW_WIDTH - 48f) * .2f);
KACtxtWdthKTg1 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .16f);
KACtxtWdthKTg2 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .16f);
KACtxtWdthKTg1 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .25f);
KACtxtWdthKTg2 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .25f);

DFvslWdthName = Mathf.Round((DFWINDOW_WIDTH - 28f) * .28f);
DFvslPrtName = Mathf.Round((DFWINDOW_WIDTH - 28f) * .2f);
Expand Down Expand Up @@ -715,7 +715,7 @@ private void windowDF(int id)
{
GUI.enabled = false;
}
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00040, cacheautoLOC_DF_00041), GUILayout.Width(50f))) //"Thaw", "Thaw this Kerbal"
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00040, cacheautoLOC_DF_00041), GUILayout.Width(70f))) //"Thaw", "Thaw this Kerbal"
{
DeepFreezer frzr = DFIntMemory.Instance.DpFrzrActVsl.FirstOrDefault(a => a.part.flightID == kerbal.Value.partID);
if (frzr != null)
Expand All @@ -727,7 +727,7 @@ private void windowDF(int id)
}
if (HighLogic.LoadedScene == GameScenes.SPACECENTER)
{
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00040, cacheautoLOC_DF_00041), GUILayout.Width(50f))) //"Thaw", "Thaw this Kerbal"
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00040, cacheautoLOC_DF_00041), GUILayout.Width(70f))) //"Thaw", "Thaw this Kerbal"
{
// We need to check kerbal isn't in a vessel still out there somewhere....
Vessel vessel = FlightGlobals.Vessels.Find(v => v.id == kerbal.Value.vesselID);
Expand Down Expand Up @@ -785,7 +785,7 @@ private void windowDF(int id)
{
GUI.enabled = false;
}
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00043, cacheautoLOC_DF_00044), GUILayout.Width(50f))) //"Freeze", "Freeze this Kerbal"
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00043, cacheautoLOC_DF_00044), GUILayout.Width(70f))) //"Freeze", "Freeze this Kerbal"
{
frzr.beginFreezeKerbal(crew[i]);
}
Expand Down Expand Up @@ -881,14 +881,14 @@ private void windowKAC(int id)
{
//If a modify is in progress we turn off the delete button
GUI.enabled = false;
GUILayout.Button(new GUIContent(cacheautoLOC_DF_00118, cacheautoLOC_DF_00119), GUILayout.Width(50)); //#autoLOC_DF_00118 = Delete #autoLOC_DF_00119 = Delete this KAC alarm completely
GUILayout.Button(new GUIContent(cacheautoLOC_DF_00118, cacheautoLOC_DF_00119), GUILayout.Width(80)); //#autoLOC_DF_00118 = Delete #autoLOC_DF_00119 = Delete this KAC alarm completely
GUI.enabled = true;
// Utilities.Log_Debug("Delete button disabled");
}
else
{
if (TmeRemaining <= 0) GUI.enabled = false;
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00118, cacheautoLOC_DF_00119), GUILayout.Width(50))) //#autoLOC_DF_00118 = Delete #autoLOC_DF_00119 = Delete this KAC alarm completely
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00118, cacheautoLOC_DF_00119), GUILayout.Width(80))) //#autoLOC_DF_00118 = Delete #autoLOC_DF_00119 = Delete this KAC alarm completely
{
KACWrapper.KAC.DeleteAlarm(alarm.ID);
}
Expand All @@ -901,14 +901,14 @@ private void windowKAC(int id)
if (KACalarmMod.ID != alarm.ID) //If it isn't this alarm we disable the button
{
GUI.enabled = false;
GUILayout.Button(new GUIContent(cacheautoLOC_DF_00120, cacheautoLOC_DF_00121), GUILayout.Width(50)); //#autoLOC_DF_00120 = Modify #autoLOC_DF_00121 = Modify this Alarm
GUILayout.Button(new GUIContent(cacheautoLOC_DF_00120, cacheautoLOC_DF_00121), GUILayout.Width(80)); //#autoLOC_DF_00120 = Modify #autoLOC_DF_00121 = Modify this Alarm
GUI.enabled = true;
// Utilities.Log_Debug("Modify button disabled");
}
else //We are modifying an alarm and it's this one. So we draw a SAVE and Cancel button to save/cancel changes.
{
// Utilities.Log_Debug("mod in progress and it's this one, change to Save/Cancel");
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00122, cacheautoLOC_DF_00123), GUILayout.Width(50))) //#autoLOC_DF_00122 = Save #autoLOC_DF_00123 = Save Alarm Changes
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00122, cacheautoLOC_DF_00123), GUILayout.Width(80))) //#autoLOC_DF_00122 = Save #autoLOC_DF_00123 = Save Alarm Changes
{
if (DFInstalledMods.IsRTInstalled && !DFInstalledMods.RTVesselConnected(tmpid))
{
Expand All @@ -930,7 +930,7 @@ private void windowKAC(int id)
}
ModKACAlarm = false;
}
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00127, cacheautoLOC_DF_00128), GUILayout.Width(50))) //#autoLOC_DF_00127 = Cancel #autoLOC_DF_00128 = Cancel any changes
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00127, cacheautoLOC_DF_00128), GUILayout.Width(80))) //#autoLOC_DF_00127 = Cancel #autoLOC_DF_00128 = Cancel any changes
{
// Utilities.Log_Debug("User cancelled mod");
ModKACAlarm = false;
Expand Down Expand Up @@ -1050,7 +1050,7 @@ private void windowKAC(int id)
{
// Utilities.Log_Debug("no modify in progress so just show modify buttons on KAC alarm");
if (TmeRemaining <= 0) GUI.enabled = false;
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00137, cacheautoLOC_DF_00138), GUILayout.Width(50))) //#autoLOC_DF_00137 = Modify #autoLOC_DF_00138 = Modify this Alarms settings
if (GUILayout.Button(new GUIContent(cacheautoLOC_DF_00137, cacheautoLOC_DF_00138), GUILayout.Width(80))) //#autoLOC_DF_00137 = Modify #autoLOC_DF_00138 = Modify this Alarms settings
{
KACalarmMod = alarm;
KACAlarm_FrzKbls.Clear();
Expand Down Expand Up @@ -1211,8 +1211,8 @@ private void HandleResizeEventsKAC(Rect resizeRect)
KACtxtWdthATme = Mathf.Round((KACWINDOW_WIDTH - 38f) * .2f);
KACtxtWdthKName = Mathf.Round((KACWINDOW_WIDTH - 48f) * .2f);
KACtxtWdthKTyp = Mathf.Round((KACWINDOW_WIDTH - 48f) * .2f);
KACtxtWdthKTg1 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .16f);
KACtxtWdthKTg2 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .16f);
KACtxtWdthKTg1 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .25f);
KACtxtWdthKTg2 = Mathf.Round((KACWINDOW_WIDTH - 48f) * .25f);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.23.5.0")]
[assembly: AssemblyFileVersion("0.23.5.0")]
[assembly: AssemblyVersion("0.23.6.0")]
[assembly: AssemblyFileVersion("0.23.6.0")]
[assembly: KSPAssembly("DeepFreeze", 0, 23)]