<
awang>
Should the Ranger probe core have avionics?
ProjectThoth has joined #RO
TM1978m has quit [Remote host closed the connection]
blowfish has joined #RO
<
github>
[RP-0] aw1621107 opened pull request #778: Add more science cores (master...add-more-science-cores)
https://git.io/vdMK3
<
github>
[RP-0] aw1621107 closed pull request #778: Add more science cores (master...add-more-science-cores)
https://git.io/vdMK3
<
github>
[RP-0] aw1621107 opened pull request #779: Add science cores to some Bluedog probe cores (Developmental...add-more-science-cores)
https://git.io/vdMKG
hattivat has quit [Quit: WeeChat 1.9]
Wetmelon has joined #RO
Wetmelon has quit [Ping timeout: 183 seconds]
Bornholio has joined #RO
<
awang>
taniwha: I just realized... Is there a way to change the text of a GUILayout.button after the fact?
<
awang>
After the button is first created
<
awang>
Something like "if the button is "active", use green text. Otherwise, use red"
<
taniwha>
awang: OnGUI stuff is immediate mode which means you create the button every time
<
taniwha>
so yes, it can be changed just by changing the text when you need it to change
<
awang>
Is GUILayout for OnGUI?
<
awang>
(I'm working with Principia, so there are some intermediate layers, I think)
<
awang>
But it sounds like I'll need to keep track of state elsewhere?
<
taniwha>
GUILayout and GUI
<
taniwha>
GUILayout just provides automatic layout stuff for GUI things
Probus__ has quit [Read error: Connection reset by peer]
<
awang>
This just reminds me why I dislike GUI work :(
<
taniwha>
you and me both :/
<
awang>
Kind of a stupid question
<
awang>
foreach(var pair in <dict>)
<
awang>
Is changing pair.Value correct?
<
awang>
Or does that just change a temporary copy that will be lost?
<
awang>
I think it's right, but just want to make sure
<
taniwha>
I don't know, but I suspect it might be
<
taniwha>
(correct)
<
taniwha>
test it :)
<
awang>
Apparently it's read-only
<
taniwha>
hmm, maybe what you want is foreach (var key in dict.Keys) { dict[key] = newval; }
<
awang>
That looks much better
<
awang>
So I'd like to do something like part.Modules.any(m => m is Moduleengines && (m as ModuleEngines).engineIgnited)
<
awang>
But apparently Modules doesn't support Any
<
awang>
Is there some other equivalent that is relatively concise?
<
awang>
That's not necessary
<
blowfish>
awang: problem is PartModuleList doesn't implement IEnumerable<PartModule>
<
taniwha>
iirc, you can get at the list anyway
<
awang>
C# dictionaries aren't like maps in that operator[] creates the value if it isn't already there, right?
<
awang>
C++ maps create the value if it isn't already there
<
awang>
C# ones don't, right?
<
awang>
That's what I meant
<
blowfish>
if the key is not yet in the dictionary, []= will create it
<
taniwha>
c# ones do
<
awang>
So .Add() is redundant?
<
lamont>
bill i may need to ping you about inverse rotation again
<
awang>
So apparently you can't edit any of the pairs of a Dictionary when editing over it?
<
awang>
I thought it would have just complained about adding/removing things
<
awang>
Not changing values
<
blowfish>
ehh, it probably was just simpler to make KeyValuePair immutable
<
awang>
KSP uses XKCDColors?
<
awang>
Is Part.partName the right way to get a part name?
<
awang>
I appear to just be getting "Part" as the string
<
blowfish>
I think part.name gives what you want
<
awang>
Indeed it is
<
awang>
I have no idea how I missed that
<
awang>
Could have sworn that partName was the only thing in the API
<
awang>
Man, KSP is so snappy without all those mods
<
awang>
Can you not create GUILayout.Buttons in a loop?
<
awang>
Also, is there a way to programmatically set the state of a GUILayout.Button?
<
awang>
Never mind the second question
HebaruSan has quit [Remote host closed the connection]
Senshi has joined #RO
<
blowfish>
damn, I definitely made something in MM slower
aradapilot has joined #RO
Senshi has quit [Read error: Connection reset by peer]
qwertyy__ has joined #RO
qwertyy_ has quit [Ping timeout: 186 seconds]
Jack-o-Melon has joined #RO
ProjectThoth has quit [Quit: +++out of cheese error+++]
blowfish has quit [Quit: Leaving]
Olympic1 has quit [Quit: Nice talking to you]
egg|zzz|egg is now known as egg|afk|egg
Hypergolic_Skunk has joined #RO
ferram4 has quit [Ping timeout: 383 seconds]
BasharMilesTeg has quit [Read error: Connection reset by peer]
BadRocketsCo has joined #RO
Jack-o-Melon has quit [Read error: Connection reset by peer]
BadRocketsCo has quit [Ping timeout: 204 seconds]
BadRocketsCo has joined #RO
Probus has joined #RO
Hohman has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0.1/20171002220106]]
BadRocketsCo has quit [Ping timeout: 186 seconds]
BadRocketsCo has joined #RO
BadRocketsCo has quit [Ping timeout: 204 seconds]
probus_ has joined #RO
Probus has quit [Ping timeout: 383 seconds]
BadRocketsCo has joined #RO
BadRocketsCo has quit [Ping timeout: 383 seconds]
Maxsimal|Work has joined #RO
hattivat has joined #RO
hattivat is now known as hattivat|work
ferram4 has joined #RO
X has quit [Ping timeout: 204 seconds]
TheKosmonaut_ has joined #RO
NBones has quit [*.net *.split]
TheKosmonaut has quit [*.net *.split]
Iskierka has quit [*.net *.split]
TheKosmonaut_ is now known as TheKosmonaut
Iskierka has joined #RO
NBones has joined #RO
wb99999999 has joined #RO
<
wb99999999>
hi world
aradapilot has quit [Remote host closed the connection]
aradapilot has joined #RO
<
Maxsimal|Work>
Hey 9's
<
Maxsimal|Work>
Btw, anyone get the new version of ckan, I've been having trouble with it & RP0, wondering if anyone else has
<
wb99999999>
no idea, spent the weekend playing a Japanese MMO
Maxsimal|Work has quit [Quit: Web client closed]
Senshi has joined #RO
BasharMilesTeg has joined #RO
UmbralRaptor is now known as NomalRaptor
egg|afk|egg is now known as egg|nomz|egg
BasharMilesTeg has quit [Ping timeout: 198 seconds]
BasharMilesTeg has joined #RO
BasharMilesTeg_ has joined #RO
BasharMilesTeg has quit [Ping timeout: 200 seconds]
Ezko_ has quit [Remote host closed the connection]
Jack-o-Melon has joined #RO
hattivat|work has quit [Ping timeout: 186 seconds]
Hypergolic_Skunk has quit [Quit: Connection closed for inactivity]
regex has joined #RO
qwertyy_ has joined #RO
hattivat|work has joined #RO
qwertyy__ has quit [Ping timeout: 383 seconds]
<
wb99999999>
why is the ESO narrator's voice so...shady
<
wb99999999>
she sounds like someone from a video game evil cooperation
Ezko_ has joined #RO
Senshi has quit [Read error: Connection reset by peer]
hattivat|work is now known as hattivat
regex has quit [Remote host closed the connection]
egg|nomz|egg is now known as egg|zzz|egg
TM1978m has joined #RO
<
Bornholio>
spam spam spam spaam spammity spam. Hi Seven, yes she does.
<
awang>
I just realized, part.name provides the internal name for the part
<
awang>
How do I get the "user-friendly" name?
<
xShadowx>
part.title or part.prefab.title somewhere around there without lookin
<
xShadowx>
awang: or part.partname
<
xShadowx>
oh part.partinfo.title is what i was thinkin :|
NomalRaptor is now known as UmbralRaptor
<
awang>
xShadowx: Yep, that's it!
<
awang>
I tried part.partName, but that just gave me "Part"
<
awang>
Not really helpful :(
<
xShadowx>
ya i dont get the purpose of that
<
xShadowx>
its the name field in cfg i think, and its Part for all but fuel line / strut i think
<
taniwha>
it's the type
<
taniwha>
Part for most parts, CompoundPart for fuel lines and struts
<
xShadowx>
so im right ;3
<
xShadowx>
taniwha: i was just given some kind of japanese dessert thingies, 'gluten free' and tastes like a flavorless sand-textured jelly ball -.-
<
xShadowx>
no name on it
<
xShadowx>
yep thats it
<
Bornholio>
rice candy, made from pounded or ground rice
<
xShadowx>
and no flavor
<
xShadowx>
i like rice pudding...it has flavor
<
Bornholio>
flavor to suit , green tea is a good one for traditional, i like caramel, but yes kind of grainy
<
xShadowx>
.....now i want rice pudding -.-
<
Bornholio>
now? or more "i want rice pudding" as a state of being
<
xShadowx>
this one is red pastey ish inside, almost flavorless, but almost a hint of ground up bean
<
Bornholio>
red bean ice cream... weird texture thing in Nihon sweets
<
xShadowx>
aint no icecream......
<
xShadowx>
these are room temp
<
Bornholio>
sweet been sauce and filling is common in a bunch of dishes
<
xShadowx>
everything i see on google says these are sweet
<
xShadowx>
this thing aint sweet
* xShadowx
gives the rest to Bornholio
<
Bornholio>
i've never had a mochi that was very sugary, justa mild seet
<
xShadowx>
i dont like grainy stuff :D
<
xShadowx>
i like things that taste like fire
<
xShadowx>
though i have yet to try hot sauce on icecream o.O
<
Bornholio>
certain ones are good but i prefer pepper & vanilla for wweird hot icecream flavors
<
Bornholio>
so how about them gravity waves. pretty cool getting pictures of exploding neutrons stars in my inbox today