Skip to content

Commit 5dd8985

Browse files
authored
Merge pull request #1150 from BobPalmer/DEVELOP
2017.02.05 Release
2 parents cfe1bcf + 8b34d5a commit 5dd8985

26 files changed

+62
-29
lines changed

FOR_RELEASE/GameData/000_AT_Utils/000_AT_Utils.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"MAJOR":1,
99
"MINOR":4,
10-
"PATCH":0,
10+
"PATCH":1,
1111
"BUILD":0
1212
},
1313
"KSP_VERSION_MIN":
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

FOR_RELEASE/GameData/000_USITools/CHANGELOG.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
0.8.12 - 2017.02.04
1+
0.8.13 - 2017.02.04
22
------------------
3-
Dependency Updates
3+
Fixed some nullref spam in Animations related to logistics
4+
5+
0.8.13 - 2017.02.04
6+
------------------
7+
Fixed an issue with the new warehouse toggles
48

59
0.8.11 - 2017.01.16
610
-------------------
512 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

FOR_RELEASE/GameData/000_USITools/USITools.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"VERSION":{
1111
"MAJOR":0,
1212
"MINOR":8,
13-
"PATCH":12,
13+
"PATCH":14,
1414
"BUILD":0
1515
},
1616
"KSP_VERSION":{

FOR_RELEASE/GameData/ConfigurableContainers/ConfigurableContainers.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"MAJOR":2,
99
"MINOR":4,
1010
"PATCH":0,
11-
"BUILD":3
11+
"BUILD":4
1212
},
1313
"KSP_VERSION_MIN":
1414
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@PART[*]:NEEDS[GPOSpeedFuelPump]:HAS[@MODULE[ModuleTankManager],!MODULE[GPOSpeedPump]]:FINAL
2+
{
3+
MODULE
4+
{
5+
name = GPOSpeedPump
6+
}
7+
}
8+
9+
@PART[*]:NEEDS[GPOSpeedFuelPump]:HAS[@MODULE[ModuleSwitchableTank],!MODULE[GPOSpeedPump]]:FINAL
10+
{
11+
MODULE
12+
{
13+
name = GPOSpeedPump
14+
}
15+
}

FOR_RELEASE/GameData/GroundConstruction/GroundConstruction.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"MAJOR":1,
99
"MINOR":1,
10-
"PATCH":0,
10+
"PATCH":1,
1111
"BUILD":0
1212
},
1313
"KSP_VERSION_MIN":

FOR_RELEASE/GameData/GroundConstruction/GroundWorkshopPatch.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@PART[*]:HAS[#CrewCapacity[*],~CrewCapacity[0],!MODULE[GroundWorkshop]]:FINAL
1+
@PART[*]:HAS[#CrewCapacity[*],~CrewCapacity[0],!MODULE[NotGroundWorkshop],!MODULE[GroundWorkshop]]:FINAL
22
{
33
MODULE
44
{
@@ -19,4 +19,4 @@
1919
{
2020
name = ConstructionSkill
2121
}
22-
}
22+
}
Binary file not shown.
Binary file not shown.

FOR_RELEASE/GameData/UmbraSpaceIndustries/Karibou/Parts/KER_Shelter.cfg

+10-10
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ PART
1919
subcategory = 0
2020
title = Deployable Emergency Shelter
2121
manufacturer = Umbra Space Industries
22-
description = This emergency shelter can provide two Kerbals ample room for either a shorter-term mission, or emergency habitation on a long-term mission while they await rescue. Suitable for twelve months of habitation at full occupancy.
22+
description = This emergency shelter can provide two Kerbals ample room for either a shorter-term mission, or emergency habitation on a long-term mission while they await rescue.
2323
attachRules =1,0,0,1,0
2424
mass = .24
2525
dragModelType = default
@@ -42,14 +42,6 @@ PART
4242
name = PodCockpit
4343
}
4444

45-
MODULE
46-
{
47-
name = USIAnimation
48-
animationName = Deploy
49-
inflatable = true
50-
CrewCapacity = 2
51-
}
52-
5345
MODULE
5446
{
5547
name = ModuleLight
@@ -78,7 +70,7 @@ PART
7870
MODULE
7971
{
8072
name = ModuleHabitation
81-
KerbalMonths = 1.2
73+
BaseKerbalMonths = 1.2
8274
HabMultiplier = 0
8375
}
8476

@@ -107,4 +99,12 @@ PART
10799
carriable = true
108100
allowAttachOnStatic = false
109101
}
102+
103+
MODULE
104+
{
105+
name = USIAnimation
106+
animationName = Deploy
107+
inflatable = true
108+
CrewCapacity = 2
109+
}
110110
}

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/CHANGELOG.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.50.15 - 2017.02.05
2+
------------------
3+
Fixed issue with expanding modules
4+
Updated GC version and other dependencies
5+
16
0.50.15 - 2017.02.04
27
------------------
38
Bundled the 'Ground Construction' mod as the standard off-world construction mod for USI.
Binary file not shown.
Binary file not shown.
Binary file not shown.

FOR_RELEASE/GameData/UmbraSpaceIndustries/MKS/MKS.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"VERSION":{
1111
"MAJOR":0,
1212
"MINOR":50,
13-
"PATCH":15,
13+
"PATCH":16,
1414
"BUILD":0
1515
},
1616
"KSP_VERSION":{
5 KB
Binary file not shown.

Source/KolonyTools/KolonyTools/KolonyTools.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
</Reference>
5252
<Reference Include="USITools">
5353
<HintPath>..\..\..\..\..\KSP_DEV\GameData\000_USITools\USITools.dll</HintPath>
54+
<Private>False</Private>
5455
</Reference>
5556
</ItemGroup>
5657
<ItemGroup>

Source/KolonyTools/KolonyTools/PlanetaryLogistics/ModulePlanetaryLogistics.cs

+18-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4+
using System.Runtime.InteropServices;
45
using KolonyTools;
56
using USITools;
67
using USITools.Logistics;
@@ -41,18 +42,23 @@ public void FixedUpdate()
4142
if(_warehouseList == null)
4243
_warehouseList = vessel.FindPartModulesImplementing<USI_ModuleResourceWarehouse>();
4344

44-
foreach (var mod in _warehouseList)
45+
if (_warehouseList != null)
4546
{
46-
bool hasSkill = LogisticsTools.NearbyCrew(vessel, 500, "LogisticsSkill");
47-
48-
if (!mod.soiTransferEnabled)
49-
continue;
50-
51-
var rCount = mod.part.Resources.Count;
52-
for (int i = 0; i < rCount; ++i)
47+
foreach (var mod in _warehouseList)
5348
{
54-
var res = mod.part.Resources[i];
55-
LevelResources(mod.part, res.resourceName,hasSkill);
49+
bool hasSkill = LogisticsTools.NearbyCrew(vessel, 500, "LogisticsSkill");
50+
51+
if (!mod.soiTransferEnabled)
52+
continue;
53+
54+
var rCount = mod.part.Resources.Count;
55+
for (int i = 0; i < rCount; ++i)
56+
{
57+
var res = mod.part.Resources[i];
58+
if (_blackList.Contains(res.resourceName))
59+
continue;
60+
LevelResources(mod.part, res.resourceName, hasSkill);
61+
}
5662
}
5763
}
5864
}
@@ -62,6 +68,8 @@ public void FixedUpdate()
6268
}
6369
}
6470

71+
private List<String> _blackList = new List<string> { "Machinery", "EnrichedUranium", "DepletedFuel", "Construction", "ReplacementParts", "ElectricCharge" };
72+
6573

6674
private void LevelResources(Part rPart, string resource, bool hasSkill)
6775
{

0 commit comments

Comments
 (0)