Skip to content

Commit d86cbed

Browse files
committed
take into account cost of a kerbal's inventory
1 parent c3dc556 commit d86cbed

File tree

9 files changed

+22
-10
lines changed

9 files changed

+22
-10
lines changed

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
## ChangeLog:
22

3+
### Version 2.0.11 (Beta)
4+
* take into account cost of a kerbal's inventory
5+
* ksp 1.12.2
6+
37
### Version 2.0.10 (Beta)
48
* ksp 1.12
59
* using stock Alarm Clock App by default
10+
* [known bug]
11+
Adding new alarm when Alarm Clock App GUI is opened, makes the alarm be showed in the GUI as 0:00:00 until scene change.
612

713
### Version 2.0.2
814
* fix doubling time of the appeding alarm

GameData/KVASS/ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
## ChangeLog:
22

3+
### Version 2.0.11 (Beta)
4+
* take into account cost of a kerbal's inventory
5+
* ksp 1.12.2
6+
37
### Version 2.0.10 (Beta)
48
* ksp 1.12
59
* using stock Alarm Clock App by default
10+
* [known bug]
11+
Adding new alarm when Alarm Clock App GUI is opened, makes the alarm be showed in the GUI as 0:00:00 until scene change.
612

713
### Version 2.0.2
814
* fix doubling time of the appeding alarm

GameData/KVASS/KVASS.version

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
"VERSION": {
1010
"MAJOR": 2,
1111
"MINOR": 0,
12-
"PATCH": 10,
12+
"PATCH": 11,
1313
"BUILD": 0
1414
},
1515
"KSP_VERSION": {
1616
"MAJOR": 1,
1717
"MINOR": 12,
18-
"PATCH": 0
18+
"PATCH": 2
1919
},
2020
"KSP_VERSION_MIN": {
2121
"MAJOR": 1,
2222
"MINOR": 12,
23-
"PATCH": 0
23+
"PATCH": 2
2424
},
2525
"KSP_VERSION_MAX": {
2626
"MAJOR": 1,

GameData/KVASS/Plugins/KVASS.dll

0 Bytes
Binary file not shown.

KVASS.version

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
"VERSION": {
1010
"MAJOR": 2,
1111
"MINOR": 0,
12-
"PATCH": 10,
12+
"PATCH": 11,
1313
"BUILD": 0
1414
},
1515
"KSP_VERSION": {
1616
"MAJOR": 1,
1717
"MINOR": 12,
18-
"PATCH": 0
18+
"PATCH": 2
1919
},
2020
"KSP_VERSION_MIN": {
2121
"MAJOR": 1,
2222
"MINOR": 12,
23-
"PATCH": 0
23+
"PATCH": 2
2424
},
2525
"KSP_VERSION_MAX": {
2626
"MAJOR": 1,

KVASS/Alarm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public void AlarmAppendedToQueue(ref Alarm alarm)
269269
}
270270
case AlarmType.AlarmClockApp:
271271
{
272-
IEnumerable<AlarmTypeBase> alarms = ACAUtils.GetSortedPlanningActiveAlarms();
272+
var alarms = ACAUtils.GetSortedPlanningActiveAlarms();
273273

274274
if (alarms.Any())
275275
{

KVASS/KVASS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static void AnyButtonClick(NewAlarmQueueType queueButton)
223223
{
224224
string alarmTitle = Utils.AlarmTitle(Utils.GetVesselName());
225225

226-
float cost = EditorLogic.fetch.ship.GetShipCosts(out _, out _);
226+
float cost = EditorLogic.fetch.ship.GetShipCosts(out _, out _, ShipConstruction.ShipManifest);
227227
float mass = EditorLogic.fetch.ship.GetTotalMass() * 1000;
228228
double time = CalcAlarmTime(cost, mass);
229229
double alarm_ut = Utils.UT() + time;

KVASS/Properties/AssemblyVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
using System.Reflection;
1919

20-
[assembly: AssemblyVersion("2.0.10.0")]
20+
[assembly: AssemblyVersion("2.0.11.0")]

buildDeploy.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rem v2
66
rem instruction in the BUILDRELEASE.BAT
77

88
rem Set variables here
9-
set GAMEPATH=c:\Users\User\Games\Kerbal Space Program 1.12.0
9+
set GAMEPATH=c:\Users\User\Games\Kerbal Space Program 1.12.2
1010

1111
set MODNAME=KVASS
1212

0 commit comments

Comments
 (0)