Search found 6 matches

by Guard13007
Tue Oct 31, 2017 8:51 pm
Forum: Modding help
Topic: [SOLVED] I want to modify the mining_time on trees and rocks
Replies: 3
Views: 1379

Re: I want to modify the mining_time on trees and rocks

Figured out rocks:

Code: Select all

for name, entity in pairs(data.raw['simple-entity']) do
  if name:find('rock') and entity.minable and entity.minable.mining_time then
    entity.minable.mining_time = entity.minable.mining_time / 2
  end
end
by Guard13007
Tue Oct 31, 2017 8:48 pm
Forum: Modding help
Topic: [SOLVED] I want to modify the mining_time on trees and rocks
Replies: 3
Views: 1379

Re: I want to modify the mining_time on trees and rocks

Ghoulish wrote:There's a mod called https://mods.factorio.com/mods/zzcorrod ... ee-cutting Fast Tree Cutting, Have a look to see how they achieved it.
Thank you. Turns out for trees it is incredibly simple:

Code: Select all

for _, tree in pairs (data.raw.tree) do
	tree.minable.mining_time = 0.1
end
Now for rocks...
by Guard13007
Tue Oct 31, 2017 8:36 pm
Forum: Ideas and Requests For Mods
Topic: Factory Idle Mod idea
Replies: 4
Views: 2573

Re: Factory Idle Mod idea

Check out the Black Market mod.
by Guard13007
Tue Oct 31, 2017 7:28 pm
Forum: Mods
Topic: [MOD 0.15.x] Guard's Fast Mode (v0.1.2)
Replies: 0
Views: 795

[MOD 0.15.x] Guard's Fast Mode (v0.1.2)

Guard's Fast Mode A very simple mod. Research costs half the materials and half the time. Recipes cost half their materials and half their time (note: there is a minimum 0.5 seconds time and 1 item, so cheaper items aren't as affected). Resource mining times are cut in half, including trees and roc...
by Guard13007
Tue Oct 31, 2017 7:02 pm
Forum: Modding help
Topic: [SOLVED] I want to modify the mining_time on trees and rocks
Replies: 3
Views: 1379

[SOLVED] I want to modify the mining_time on trees and rocks

I figured out how to modify the mining_time on resources (which it seems applies to ores, stone, crude_oil, but NOT to trees or rocks). But I am having difficulty finding where trees and rocks are defined so I can modify them. I looked at data.raw.tile, data.raw.resource, data.raw.recipe (even thoug...
by Guard13007
Mon Feb 29, 2016 6:52 am
Forum: Spread the Word
Topic: Factorio mentioned in 'Co-Optional Podcast'.
Replies: 2
Views: 2246

Re: Factorio mentioned in 'Co-Optional Podcast'.

Aw man I'd love to see him make a video of it. :D

Actually, I'd love to see a video from him at all (been too busy to watch lately).

Go to advanced search