Use electricity instead of fuel?
Posted: Sun Mar 03, 2013 6:10 am
I'm trying to make myself an electric furnace, thanks to FreeER's awesome work, making a new furnace was a piece of cake.
However, now I need to swap out this part of the code
I looked a little around at the items that have the thing in common that they use power, and it goes something like this for all of them
However, the furnace doesn't use "energy-source" at all, unlike the burner inserter which uses
Basically, I'm getting really confused to how I'd go about having the furnace use power to smelt.
Anybody got any helpful tips?
However, now I need to swap out this part of the code
Code: Select all
"burner":
{
"heat-capacity": 100,
"heat-loss": 0.01,
"heat-transport-speed": 0.005,
"burning-speed": 0.001,
"effectivity": 1000,
"fuel-inventory-size": 1,
"smoke":
[
{
"name": "smoke",
"frequency": 0.5,
"deviation": [0.1, 0.1],
"position": [0, -2.3]
}
]
},
Code: Select all
"energy-usage-per-tick": 1.5,
"effectivity": 1.5,
"energy-source":
{
"type": "electric",
"input-priority": "secondary"
},
Code: Select all
"energy-source":
{
"type": "burner",
"heat-capacity": 100,
"heat-loss": 0.01,
"heat-transport-speed": 0.005,
"burning-speed": 0.001,
"effectivity": 1000,
"fuel-inventory-size": 1,
"smoke":
[
{
"name": "smoke",
"frequency": 0.3,
"deviation": [0.1, 0.1]
}
]
},
Anybody got any helpful tips?