Quick Question Thread

The second one allows for more flexibility, but should be defined before the code block.

1 Like

If you have a lot of code inside switch statements, it gets hard to read at some point. But on the other hand having code inside the switch cases allows you to see more easily what happens in each case and allows comparing them. The same applies to extracting parts of functions as other functions. It makes the original function shorter, but to see everything that happens, you need to jump around in the code.

Iโ€™d say the exact opposite. Itโ€™s more logical to me to first read the general outline of what a function does, and only after that are the more detailed individual function parts easier to understand in the context of where they were used.

2 Likes

I was meaning execute should be defined first, sorry if I didnt make it clear. But for me specifically, defining all the functions seperatly allows for greater flexibility while maybe its just my puthon way of thinking, but i can just smell the errors from not defining execute code.

Well, in my case the function is a global one, so I can declare it at the end without any consequences. I think I will use a global function to replace the code block in my code as it would make it a hundred times more readable. Iโ€™ve been hesitating for a while because I had to define some variables inside the UserConsoleCommand() function to make the code work, so my global function will have to use some parameters and pass those variables as arguments.

Hows the development of the new release going?
Edit: is there a way for generator to create the microbial mat?

Megastructures can be designed in tech editor?

I want to know this too.

Why not? If other structures and technologies are designed the player (or rather can be designed, the game would be a really slow experience to go through if the player had to design each and every technology they unlock) surely megastructures should also fall in that same category.

could rotational energy power things if they were built right? if so i have a way to potentially make computers without any wires and just moving parts and it would function well enough for me to get to waterproofing before electricity.

Sure you could, but that would be insanely inefficient, the best thing humans have created is tide calculators and the antikythera mechanism as well as the differential calculator, which were all meters in size.

1 Like

Will there be a way to design weapons and armored fighting vehicles in the tech editor?
Because there isnโ€™t much info about it in the wiki.

well if it works in water itโ€™s better than nothing for a planet with no land

DONT
start the Underwater Civ debate all over again please

2 Likes

In a planet with no land you wouldnโ€™t even have the necessary materials to make such a machine.

Just had to do itโ€ฆ

There are only 3 things in the universe that we are absolutely sure will happen:

-Death
-Total entropy
-Carcinisation

I didnโ€™t list the underwater discuss because itโ€™s common sense

5 Likes

by โ€œa planet with no landโ€ i meant a planet with no dry surfaces large enough for a sapient organism to live on it


you forgot celebrities turning into Nicholas cage disguised as themselves

Has this concept been abandoned or not?

4 Likes

Ooh, this is a fun idea! i didnt know this existed lol.

Well itโ€™s not on the roadmap, so It wonโ€™t happen unless some developer who can push this to completion is actually very interested in that.

3 Likes