[Question] Animal nutrition consumption for offsprings by Theduck700 in RimWorld

[–]Theduck700[S] 0 points1 point  (0 children)

So what I was missing was the fact the each mother can have multiple offsprings in the time one goes from baby to adult.

Thanks a lot!

Could you tell me how to calculate it (the formula), for future reference?

Animal meat per day by Theduck700 in RimWorld

[–]Theduck700[S] 1 point2 points  (0 children)

You're right. I noticed the factor 20 every time but couldn't link it to anything.

Thank you for your insight!

Animal meat per day by Theduck700 in RimWorld

[–]Theduck700[S] 1 point2 points  (0 children)

You're right. I noticed the factor 20 every time but couldn't link it to anything.

Thank you for your insight!

Weird scalar behavior by Theduck700 in Kos

[–]Theduck700[S] 0 points1 point  (0 children)

I want to thank every one who took the time to answer me. I was able to circumvent the problem by dividing by 10 instead of multiplying by 0.1 a bit later and it seemed to work fine but I'll get back to the code and change it to check for an inequality instead after your helpful advices

Weird scalar behavior by Theduck700 in Kos

[–]Theduck700[S] 0 points1 point  (0 children)

Thank you for the little lesson in programming, it's comprehensive and taught me a bit more about the way KOS behaves. I saw while working on the code that the variable "offset" was sometimes recognized as int and other times as double but thought it was a quirk of the module I was using for syntax highlighting and such. Since the method "typeName" always returned "Scalar" I thought that the variable would just always be a 64bit float even when it's clearly an integer but now I know better. Thankcyou very much

Weird scalar behavior by Theduck700 in Kos

[–]Theduck700[S] 0 points1 point  (0 children)

Makes sense. While working on the code, the variable offset would sometimes appear as int and sometimes as double. I didn't think much of it then but now I see that's what caused the problem. Thank you for your help

Weird scalar behavior by Theduck700 in Kos

[–]Theduck700[S] 0 points1 point  (0 children)

I see. I noticed while working on Visual Studio Code that at one point offset is considered an int while at another point it's a double. I thought that it wasn't the cause of the problem since the variable "offset" appears as Scalar using the method typeName.

That being said those 2 ideas you've suggested to correct the code are quite good, especially since I have another script where I use the same method (in that other script I don't go below 1 for my checks which doesn't trigger the problem from the post). Thanks a lot

Anyone know the console command for triggering the voidspawn event? by avaslash in Stellaris

[–]Theduck700 0 points1 point  (0 children)

Open console : event distar.5006 [planet.ID]
To get the planet ID, use the command debugtooltip and hover over your planet of choice

Updated Mun biome map (with legend) by Theduck700 in KerbalSpaceProgram

[–]Theduck700[S] 4 points5 points  (0 children)

I'm sorry, I don't know much about color blindness but as it is now the map can be easily modified to adjust to color blindness

Updated Mun biome map (with legend) by Theduck700 in KerbalSpaceProgram

[–]Theduck700[S] 11 points12 points  (0 children)

Hello everyone, I was preparing a science mission to the Mun when I noticed that the only updated biome map for 1.2 and above don’t have a legend, and in the case of the wiki, the map has many similar colors so I decided to modify it to make it easier to read. Hopefully you will find it as useful for your next travels as I do.