<Thomas>
ahh, I think I know it. the landclasses are new, and class.scatters (the associations) is null. But I only apply the new list if anything was added to it (which didn't happen b/c RequireConfigType)
<Thomas>
It is still unstable but it should work
<Thomas>
Inb4 it doesnt works :P
<Sigma88>
now it works
<Sigma88>
at least, it loads the body
<Sigma88>
and the kittopia dump looks fine
<Kopernicus>
[Kopernicus] StollD pushed 1 new commit to master: https://git.io/vQoxE
<Kopernicus>
Kopernicus/master 3c382eb Dorian Stoll: Check if the array is null. If yes, set it to an empty array so foreach works
<Qboid>
Starting build #96 for job Kopernicus-Dev (previous build: SUCCESS)
<Sigma88>
would it be possible to clone laythe instead of kerbin? and then patch atmosphere, pqs and ocean from kerbin
<Sigma88>
and finally patch the cfg on top of this?
<Sigma88>
and clone kerbin only for the first planet that has "isHomeWorld = true"
<Sigma88>
?
<Sigma88>
I think the issue occurs when cloning the kerbin template
regex has joined #Kopernicus
<Sigma88>
Thomas: let me know if you want me to test anything in particular
ferram4 has joined #Kopernicus
egg|afk|egg is now known as egg
<Sigma88>
thomas I have a coding question
<Sigma88>
I have a class with a bunch of parameters
<Sigma88>
and I have two classes that inherit that class
<Sigma88>
each of those 2 new classes adds extra parameters
<Sigma88>
when I create a new instance of the base class+
<Sigma88>
I have made it so I can specify the values of the parameters
<Sigma88>
so
<Sigma88>
BaseClass oneBasicClass = new BaseClass(bool param1 = true, bool param2 = false, int param3 = 42);
<Sigma88>
like that
<Sigma88>
now, If I want to create a new instance of one of the inherited classes
<Sigma88>
I can do
<Sigma88>
InheritedClass myDerivedClass = new InheritedClass(bool param1 = true, bool param2 = false, int param3 = 42);
<Sigma88>
how do I make it so I can generate a new Inherited class specifying all parameters (included the new ones that are specific of the inherited class) ?
<Sigma88>
do I need to copy the whole code from the base class and add the new parameters? or is there a way to use the code from the base class, while adding some new stuff?
<Thomas>
you can extend the constructor
<Thomas>
public InheritedClass(bool param1, bool param2, int param3, string param4) : base(param1, param2, param3) { this.param4 = param4; }
<Sigma88>
nice
<Sigma88>
thanks
egg is now known as egg|nomz|egg
<Kopernicus>
[Kopernicus] Avera9eJoe opened issue #193: Terrain scatter is broken in 1.3.0-4 https://git.io/vQK3P
<Kopernicus>
[Kopernicus] StollD closed issue #193: Terrain scatter is broken in 1.3.0-4 https://git.io/vQK3P
TonyC2 has joined #Kopernicus
<Kopernicus>
[Kopernicus] Sigma88 commented on issue #189: this issue should have been solved, if it passes some more tests it will most likely be included in the next release https://git.io/vQKsP
<Sigma88>
thomas, when I create a new instance of a class with multiple optional parameters
<Sigma88>
I can choose which ones to set
<Sigma88>
right?
<Sigma88>
so I could do
<Sigma88>
Class test = new Class(param1 = true, param5 = false);
<Thomas>
new Something(true, true, optionalParam1: false, optionalParam5: "donut")
<Sigma88>
ah
<Thomas>
Hah! We used the same numbers xD
<Sigma88>
lol
<Sigma88>
so I need to use :
<Sigma88>
?
TonyC1 has quit [Ping timeout: 186 seconds]
<Sigma88>
instead of "="
<Thomas>
Yes
<Kopernicus>
[Kopernicus] StollD commented on issue #176: This will be in 1.3.0-5 https://git.io/vQKGO
<Kopernicus>
[Kopernicus] Avera9eJoe commented on issue #189: Sounds good Sigma, Spectra will look a lot better with trees again! https://git.io/vQKWV
GregroxLaptop has joined #Kopernicus
<GregroxLaptop>
o/
egg|nomz|egg is now known as egg
egg is now known as egg|zzz|egg
regex has quit [Remote host closed the connection]