Skip to content

Commit

Permalink
Updated internal storage for seeds in the Skylab to 20
Browse files Browse the repository at this point in the history
 Fixed exception in SlowUpdate when starting up
 Fixed experiment report to indicate that experiments are biome-specific
  • Loading branch information
linuxgurugamer committed Sep 28, 2020
1 parent 9563bb4 commit 801fd19
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 8 deletions.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog

0.5.1.6
Updated internal storage for seeds in the Skylab to 20
Fixed exception in SlowUpdate when starting up
Fixed experiment report to indicate that experiments are biome-specific

0.5.1.5
Fixed doubled "Picture Picture" experiment name when taking a picture

Expand Down
2 changes: 1 addition & 1 deletion GameData/LTech/LTech.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 5,
"PATCH": 1,
"BUILD": 4
"BUILD": 5
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
4 changes: 2 additions & 2 deletions GameData/LTech/Parts/Science/Skylab/Skylab.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ PART
RESOURCE
{
name = Seeds
amount = 200
maxAmount = 200
amount = 20
maxAmount = 20
}
}
Binary file modified GameData/LTech/Plugins/LtScience.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion LTech.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 5,
"PATCH": 1,
"BUILD": 5
"BUILD": 6
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
2 changes: 2 additions & 0 deletions LtScience/Addon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ void FindVesselsWithSkylab(Vessel vesselDestroyed = null)
IEnumerator SlowUpdate()
{
Log.Info("Addon.SlowUpdate started");
if (vesselsWithSkylab != null)

while (true)
{
// Look at each vessel with one or more Skylab parts
Expand Down
2 changes: 1 addition & 1 deletion LtScience/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

using System.Reflection;

[assembly: AssemblyVersion("0.5.1.4")]
[assembly: AssemblyVersion("0.5.1.5")]
5 changes: 4 additions & 1 deletion LtScience/Modules/SkyLabExperiment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,10 @@ internal void FinalizeExperiment()
var step = "Get Subject";
#endif
ScienceSubject labSub = ResearchAndDevelopment.GetExperimentSubject(labExp, activeExperiment.expSit, vessel.mainBody, activeExperiment.biomeSit, displayBiome);
labSub.title = $"{labExp.experimentTitle}";
//labSub.title = $"{labExp.experimentTitle}";

labSub.title = ScienceUtil.GenerateScienceSubjectTitle(labExp, activeExperiment.expSit, vessel.mainBody, activeExperiment.biomeSit, displayBiome);

labSub.subjectValue *= labBoostScalar;
labSub.scienceCap = labExp.scienceCap * labSub.subjectValue;

Expand Down
2 changes: 0 additions & 2 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Balance issue
Misplaced a decimal point somewhere, maybe? 2000 is definitely 50% of 4000, and 4000 is 10x 400 (i.e. "scienceCap".)
I am using RSS right now, but all the rest of the science values are what I expect them to be, i.e. painfully and depressingly low. I don't think that's affecting things, unless there's some hardcoding somewhere.

Yet another edit: I also noticed that the "Plant Seeds" resource is about 10x as dense as the other ones - intentional, or no?

the science window doesn't imply that the experiments are biome-dependent. No wonder I went off the rails thinking it was time-dependent.

If you have the PAW up and switch to camera view, and then close the PAW, you have no way to return to normal flight view - at least I can tell. This one might just be a lack of education than a bug - none of the camera switch controls I tried worked to return me from the camera view.
1 change: 1 addition & 0 deletions deploy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rem VERSIONFILE is the name of the version file, usually the same as GAMEDATA,
rem but not always

set H=%KSPDIR%
set H=R:\KSP_1.10.1_dev
set GAMEDIR=LTech
set GAMEDATA="GameData"

Expand Down

0 comments on commit 801fd19

Please sign in to comment.