Interface Designīefore actually building any subfactory modules, we need to design a universal logistics network as the interface between the modules. The blueprints for all the examples below can be downloaded here.
#How to alt f4 life mods
To better implement this idea, the LTN - Logistic Train Network, AAI Containers & Warehouses and Miniloader mods are being used in the following examples.
![how to alt f4 life how to alt f4 life](https://i.kym-cdn.com/photos/images/original/000/090/282/answer2everything.jpg)
power and rail grids) without direct dependencies, making them interchangeable. Low coupling between the modules meaning modules interact with each other through predefined interfaces (ie. High cohesion inside the module meaning the module contains all the facilities (assemble machines, inserters, belts, power poles, beacons, etc.) needed to make the recipe so it can work independently. The purpose of this division is to achieve high cohesion inside the modules and low coupling between the modules. A separate logistics system is used to fetch raw materials and ditch products for the modules, as the interface for external interaction of the module. The recipe is kind of an atomic operation in Factorio: an indivisible unit, as it can’t be broken down further.īased on a certain recipe, a dedicated subfactory is packaged into a module. Red circuits can be crafted by an assembly machine of any tier, which may be affected by different modules, and the required raw materials may come from a belt, a logistics chest, or even an adjacent copper wire assembly machine, but no matter how other conditions may change, the recipe itself keeps being copper wires, electronic circuits with plastic bars to the advanced circuit. Like most philosophies, ROFL tries to find one timeless Arche as the origin of everything In our case, we choose the recipe. In ROFL, we divide the whole factory into independent, interchangeable subfactory modules, such that each contains everything necessary to process only one recipe of the desired factory.
#How to alt f4 life software
Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute a single aspect of the desired functionality. People with programming experience should have heard of Object-Oriented Programming Modular Programming, which is the theory that Recipe-Oriented Factorio Life (ROFL) aims to mimic. It’s a complex engineering problem with similar challenges to software engineering, so I think it is worthwhile to use some real-life experience to improve the game experience.
![how to alt f4 life how to alt f4 life](https://i.kym-cdn.com/photos/images/newsfeed/002/034/224/a17.png)
spaghetti) that make the game fun and challenging. Recipe-Oriented Factorio Life Ph.Xįactorio has a complex network of production lines (i.e. We will of course only ever use this for Alt-F4 posts, and not spam you with irrelevant crap. Just enter your email here and you’ll be notified every Friday on release of the newest issue. Taking inspiration from software development and the lessons learned there, Ph.X uses the concepts of Modular Programming to their advantage.Īlso, in other news, we now offer an email list that you can subscribe to! If you don’t browse reddit or the forums or even our Discord regularly, we now offer the option of the ever-popular concept of an email list. This fine week in March, first-time contributor Ph.X talks about their very compartmentalized system for laying out a base using isolated modules and connecting them through a Logistic Train Network.