[Request] Decrement track pickup/mining speed to equal belts

This is the place to request new mods or give ideas about what could be done.
Post Reply
DeserveVictory
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Feb 05, 2015 12:50 pm
Contact:

[Request] Decrement track pickup/mining speed to equal belts

Post by DeserveVictory »

Like the title says. I dislike how long it takes to pick up track compared to conveyor belts.

[Edit] By track I mean Straight Rail and Curved Rail specifically. It takes much longer to pick up rail then it does to pick up conveyor belts.

User avatar
bigyihsuan
Filter Inserter
Filter Inserter
Posts: 299
Joined: Thu Jan 01, 2015 12:57 pm
Contact:

Re: [Request] Decrement track pickup/mining speed to equal b

Post by bigyihsuan »

So I found this snippet of code in [Factorio Folder Here]\data\base\prototypes\entity.lua

Code: Select all

{
    type = "rail",
    name = "straight-rail",
    icon = "__base__/graphics/icons/straight-rail.png",
    flags = {"placeable-neutral", "player-creation", "building-direction-8-way"},
    minable = {mining_time = 1, result = "straight-rail"},
  },
  {
    type = "rail",
    name = "curved-rail",
    icon = "__base__/graphics/icons/curved-rail.png",
    flags = {"placeable-neutral", "player-creation", "building-direction-8-way"},
    minable = {mining_time = 1, result = "curved-rail"},
  }
If I'm guessing correctly, all you have to change is {mining_time = x}, and you should be good.

edit: I think the number in mining_time is how many seconds it takes to mine. I'm guessing if you set it to 0, you'll instantly mine it.

Post Reply

Return to “Ideas and Requests For Mods”