Recycler: Difference between revisions
(→Non-recyclable items: More detailed information after consulting with the Lua file itself, found in `data\quality\prototypes\recycling.lua`, the function `default_can_recycle`) |
(→Non-recyclable items: Forgot to remove this.) |
||
Line 48: | Line 48: | ||
* [[Fusion reactor]] | * [[Fusion reactor]] | ||
* [[Fusion generator]] | * [[Fusion generator]] | ||
=== Unique recycling recipes === | === Unique recycling recipes === |
Revision as of 05:51, 19 November 2024
Recycler |
Recipe |
|||||||||||||
+ + + + → | |||||||||||||
Total raw |
|||||||||||||
+ + + + | |||||||||||||
Map color |
|||||||||||||
Health |
|
||||||||||||
Resistances |
Fire: 0/80% |
||||||||||||
Stack size |
20 |
||||||||||||
Dimensions |
4×2 |
||||||||||||
Energy consumption |
186 kW (electric) |
||||||||||||
Drain |
6.0 kW (electric) |
||||||||||||
Crafting speed |
|
||||||||||||
Mining time |
0.2 |
||||||||||||
Pollution |
2/m |
||||||||||||
Module slots |
4 slots |
||||||||||||
Prototype type |
|||||||||||||
Internal name |
recycler |
||||||||||||
Required technologies |
|||||||||||||
Produced by |
|||||||||||||
This article is a stub, and not comprehensive. |
---|
You can help this wiki by expanding it. |
Space Age expansion exclusive feature.
The recycler is a building that can convert most items into the ingredients used in their recipes, at the cost of losing 75% of said ingredients. In other words, it performs a lossy reversal of crafting.
It has 4 module slots, but it cannot use Productivity modules.
Mechanics
When an item enters a recycler, the item's main recipe is found, and the recycler is automatically set to perform its inverse.
For each type of item used as an ingredient in the recycled item's main recipe, the number of items returned by the recycler is decided by floor(0.25 * i / o + r)
, where i
is the number of items used as ingredients, o
is the number of items returned by the recipe, and r
is a random number that is greater than or equal to 0 but less than 1. On average, this returns exactly 25% of the items needed to craft one item of the same type as the recycled item. For example, recycling a processing unit always gives 5 electronic circuits while having a 50% chance of returning one advanced circuit.
All fluid ingredients are lost when recycling, as the recycler has no fluid output.
Without quality modules, the resulting items have the same quality as the item being recycled, even if the latter was crafted using lower-quality ingredients. Quality modules can further increase the output's quality, just like with regular non-recycling recipes.
The recycler has 12 internal slots for its output, but can only hold one stack of each item. The recycler will try to eject the contents of these slots, much like a mining drill. It is therefore not necessary to use an inserter to collect its output.
Non-recyclable items
The broad rule with the recycler's ability to reverse a recipe is that it can only reverse recipes made in Assembling machines of some type. There are many exceptions to this, however. For the purposes of the recycler's ability to recycle items, the Electromagnetic plant counts as an "assembler". So all of its recipes count unless otherwise stated.
Items can have multiple recipes; all that is needed for the recycler to reverse it is to find a single reversible recipe that produces that item.
If no valid recipe producing the item can be reversed, the recycler will return the same item 25% of the time (possibly with a Quality bonus if the appropriate modules are used), with the other 75% destroying the item.
Assembler recipes which cannot be recycled:
- All science packs
- Wood processing
- Landfill
- Tungsten carbide
- Superconductor
- Biolab
- Uranium fuel cell
- Holmium plate (due to only using a liquid as input)
- All recipes for nutrients, save the one made from spoilage
Non-assembler/EMP recipes which can be recycled:
- Battery
- Big mining drill
- Turbo transport belt, Turbo underground belt, and Turbo splitter
- Cryogenic plant
- Railgun
- Railgun turret
- Fusion reactor
- Fusion generator
Unique recycling recipes
Some items have unique recycling recipes:
- Recycling scrap will perform the scrap recycling recipe, for which there is no inverse, as scrap can not be crafted. This is used to obtain most resources on Fulgora.
- Recycling one nutrients will yield 2.5x that amount of spoilage, as if they were made using the nutrients from spoilage recipe. This is useful for getting rid of excess nutrients, as they cannot be burned directly.
Stats
The recycling recipe for an item besides scrap takes time equal to 1/16th (0.0625) of the time it takes to craft that item. (Items without recipes, such as ore, are treated as having a crafting time of 0.5 seconds.) But because the recycler has a base crafting speed of 0.5, the time it takes one recycler to recycle one item is effectively 1/8th (0.125) of the item's crafting time without modules or beacons. For example, the time it takes to craft a steel plate in a stone furnace (which has a crafting speed of 1) is 16 seconds, and so recycling a steel plate takes 2 seconds. The following table provides some examples of how long it takes a recycler without modules or beacons to recycle one of that item, and the rate at which it recycles those items.
Recycler Input | Time | Rates |
---|---|---|
Processing unit | 1.25s | 0.8/s |
Advanced circuit | 0.75s | 1.33/s |
Low density structure | 1.875s | 0.533/s |
Steel plate | 2.0s | 0.5/s |
Copper plate | 0.4s | 2.5/s |
Iron plate | 0.4s | 2.5/s |
Iron ore | 0.0625s | 16/s |
The scrap recycling recipe takes .2 seconds, meaning that it actually takes .4 seconds to run in a recycler, so a recycler takes in 2.5 scrap/s. The output rates are as follows:
Input | Output | Chance | Rate |
---|---|---|---|
Scrap | Processing unit | 2% | 0.05/s |
Advanced circuit | 3% | 0.075/s | |
Low density structure | 1% | 0.025/s | |
Solid fuel | 7% | 0.175/s | |
Steel plate | 4% | 0.1/s | |
Concrete | 6% | 0.15/s | |
Battery | 4% | 0.1/s | |
Ice | 5% | 0.125/s | |
Stone | 4% | 0.1/s | |
Holmium ore | 1% | 0.025/s | |
Iron gear wheel | 20% | 0.5/s | |
Copper cable | 3% | 0.075/s |
In total, the recycler spits out 1.5 items/s, meaning 10 recyclers are just enough to saturate a yellow belt. The output values are increased by scrap recycling productivity research.
Trivia
- If the recycled item has a fluid ingredient, then the smoke emitted from the recycler matches the fluid in colour.