Friday Facts #266 - Cleanup of mechanics
Author: Klonan,
published 6 years ago,
Hello...
Part of the GUI rework for 0.17 is also tweaking the tooltips:[list][*]They should be structured better.[*]They should contain more useful information.[*]They should be a better tool for new players to understand how things work.[/list]We will cover more of the tooltip changes in a future FFF, but the necessary preparation for this is to rethink the way we explain some basic properties of machines to avoid as much bloat as possible. One of the good ways to do that is also to remove the need to show some of the mechanics by simplifying them, or completely removing them if we figure out that they are not really important for the game.
[h1]Cleanup of mechanics[/h1]
It has been quite a long time since the work on Factorio started, and we obviously couldn't see which mechanics/systems would be useful later on, and which would not. At that time, it was completely okay to just throw concepts into the game and see how it all works together.
But now, when we are finishing the game, it is the time for cleanup. Time to identify which mechanics are just adding barriers to understanding the game while not adding much to the game-design aspect, a good example of something we already removed a long time ago is the old furnace mechanics.
In the ancient versions of Factorio, the furnace mechanics were much more complicated. The furnace had to "warm up" before being operational, and if it wasn't used, the temperature went down again. This sounded like a nice mechanic, but it was soon discovered, that it adds little value in the scale of the factory, and it just bloats the games rules, so these complex mechanics have been removed from the the game for a very long time already.
[h1]Pickaxe removal[/h1]
In the ancient times, you first had to create a wooden pick, to create a stone pick, to mine basic resources, to make iron, so you can make an iron pick. Yes... this was clearly Minecraft affecting our ideas. We identified soon, that this prequel of manual mining has nothing to do with the core of the game, and is an unnecessary distraction. The fact that it was the first thing the player had to do in the game was gravely affecting what new players thought the game is about. So we kept only the iron/steel pick to streamline things.
Fast forward to these days and play-testing some of the tutorial tweaks. We noticed that players, when they start with Factorio, they often try to mine by taking the pickaxe into the cursor and doing the mining (as they might be used to doing from Minecraft or other similar games).
https://cdn.factorio.com/assets/img/blog/fff-266-mine-with-axe.webm
https://cdn.factorio.com/assets/img/blog/fff-266-mine-with-axe.mp4
So we were thinking how to improve the tutorial to avoid this mistake, but the next natural question was: "Why would we even need to have pickaxe in the game?". We realized that it is the item that you just craft in the beginning, and upgrade once in the middle for a steel pick, and that is it. The cost of it is zero compared to the factory output. It is just bloat. So the change for 0.17 is that we completely removed mining tools from the game. The mining speed at the game start is the same as with iron pickaxe, and the research that unlocked steel pickaxe just increases player mining speed accordingly and that is it.
[h1]Burner efficiency streamlining[/h1]
We use 3 energy sources in the base game, burner, electricity, and heat. When an entity uses a burner energy source, it consumes the fuel, and the energy is used for it to function. Now lets say, that we want to answer this question:
[i]How many boilers can be continuously fed from a single yellow belt of coal?[/i]
Lets look on the information the player can get:
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/94e4d0ddaa2df3afaf51c9e3d47dce042728358e.png[/img]
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/7dc880c03b87ad2c5a5e3db3fb5cf54296cdc840.png[/img]
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/46be81244df52e344d05179ac6d7270d204c947e.png[/img]
So we will need to calculate how much energy is supplied by the value of the full belt of coal, which is 13.33/s * 8MJ = ~107MW.
Now, we should divide by the energy consumption, so 107 / 3.6 = ~29. Wait, what is this efficiency, and do we have to factor it in?
In the base game, this efficiency mechanic is almost completely useless, so we decided to remove it. To keep the previous balancing on the same level, all the fuel values have been halved, and the efficiency set to 100%. This just means, that the fuel value is the amount of energy the machines can actually extract from the fuel and calculations like this will give clear results. In this case, the functionality will still remain for mods to use.
[h1]Hardness, Mining power, Mining speed & Mining time streamlining[/h1]
Lets start with a small quiz. Based on these two tooltips, are you able to calculate how much iron ore an electric mining drill will produce each second?
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/eee87aac5c3dad46def09b600eeecaf2509e5f5c.png[/img]
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/af3da4cb1eb932e857f097bc95bde9ee64019098.png[/img]
The answer is 0.525/s. The calculation is [i]simple[/i]...[list][*]The hardness of the iron ore (0.9) is subtracted from the mining power of the mining drill (3) to get the [i]adjusted[/i] mining power of 2.1.[*]This is multiplied by the mining speed of the mining drill (0.5), to get the [i]adjusted[/i] mining speed of 1.05.[*]Since the mining time of the iron ore is 2, I divide 1.05 by 2 to get the 0.525 ores mined per second.[/list]
The hardness was supposed to be something like an "armor" of mining. It was meant to provide possibilities to define different tiers of mineable materials. However this feature was hardly ever utilized in the end. So the decision is that the whole hardness and mining power mechanics was removed. To make things even more straightforward, I made the mining time of stone and iron the same (stone was the only basic resource with different mining speed), so now, we can get the information needed as directly as this:
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/dc606d76de6a13d6583500fafbb0f79ad897cf8b.png[/img]
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/151b53e6fff0f9b7a5c29f3922fe8fa4c4f5453c.png[/img]
Calculating how many miners can fill a belt is now quite a straightforward task, and even with ores of non-standard mining speed, it is still much clearer, as the modifier should be understandable:
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/054eb78e23a6816b6e6f2084d387fbba2fae4076.png[/img]
[h1]Resistances streamlining[/h1]
We have 8 different damage types in the game now: physical, impact, poison, explosion, fire, laser, acid and electric. Every other building has some kind of resistance, and it got so much in the way, that we don't even show resistances in tooltips anymore, only for enemy units and spawners.
The plan is to:[list][*]Reduce the number of damage types to something like: generic, impact, heat, and acid.[*]Keep the resistances mainly only on fight-related entities (walls, turrets, enemies) and remove them from the rest.[/*][*]Show the resistances for everything except some very specific cases (fire resistance for rails and poles to survive fires etc.).[/*][/list]This is also related to the way these things will be presented in the tooltip, but that too is a topic for a future FFF.
[h1]Assembling machine ingredient limit removal[/h1]
The idea behind this mechanic was that better assembling machines can use more complex recipes. But the reality is, that there is not really a clear connection between the number of ingredients and the complexity of the recipe. Since it was yet another thing that had to be explained somehow, we decided to just remove it. The only real downside is, that the achievement "lazy bastard" will be much less of a puzzle, but we still consider it to be worth it.
As always, let us know what you think on our [url=https://forums.factorio.com/63125]forum[/url].