energy :: double [Read-only]
Energy required to execute this recipe. This directly affects the crafting time: Recipe's energy is exactly its crafting time in seconds, when crafted in an assembling machine with crafting speed exactly equal to one.
I think it is energy_required in the protoype ...
Search found 7 matches
- Sat Jul 30, 2016 10:11 pm
- Forum: Modding help
- Topic: Change crafting time
- Replies: 4
- Views: 3071
- Sat Jul 30, 2016 7:54 pm
- Forum: Modding help
- Topic: Change crafting time
- Replies: 4
- Views: 3071
Change crafting time
How do I change the crafting time of an item?
I tried a couple of things that didn't have any effect—
e.g.
I tried a couple of things that didn't have any effect—
e.g.
Code: Select all
-- This doesn't work!
data.raw.recipe["medium-electric-pole"].time = 2;
- Sat Jul 30, 2016 7:53 pm
- Forum: Modding help
- Topic: Changing the supply area and wire distance of electric poles
- Replies: 5
- Views: 2536
Re: Changing the supply area and wire distance of electric poles
Thanks guys, your suggestions worked.
- Sun Jul 24, 2016 8:33 pm
- Forum: Modding help
- Topic: Changing the supply area and wire distance of electric poles
- Replies: 5
- Views: 2536
Changing the supply area and wire distance of electric poles
How would I go about changing the supply area and wire distance of electric poles while still having the visuals correctly display those?
Also, what is the name of the small electric pole entity?
I'm looking in the `Factorio/data/base/prototypes/entity/entities.lua` file, and I only see the other ...
Also, what is the name of the small electric pole entity?
I'm looking in the `Factorio/data/base/prototypes/entity/entities.lua` file, and I only see the other ...
- Wed Apr 06, 2016 9:43 pm
- Forum: Modding help
- Topic: Changing the "mining time" of Iron ore
- Replies: 4
- Views: 1865
Re: Changing the "mining time" of Iron ore
I see. Thanks for your help.prg wrote:I just had a look through data/base/prototypes/entity/demo-resources.lua and made a guess.
- Wed Apr 06, 2016 9:37 pm
- Forum: Modding help
- Topic: Changing the "mining time" of Iron ore
- Replies: 4
- Views: 1865
Re: Changing the "mining time" of Iron ore
Excellent, that did the trick. Thank you.prg wrote:You're looking for data.raw.resource["iron-ore"].minable.mining_time
Is there a place where I can look up this API?
- Wed Apr 06, 2016 9:30 pm
- Forum: Modding help
- Topic: Changing the "mining time" of Iron ore
- Replies: 4
- Views: 1865
Changing the "mining time" of Iron ore
I want to change the mining speed of Iron ore so that it can be mined faster (per my understanding of the mining formula).
How can this be accomplished?
I've tried a few things in both data.lua and prototypes/items.lua , but none seem to work.
(Though they did add a yellow label to the Iron ore's ...
How can this be accomplished?
I've tried a few things in both data.lua and prototypes/items.lua , but none seem to work.
(Though they did add a yellow label to the Iron ore's ...