How to change vanilla technologie ingredient?

Place to get help with not working mods / modding interface.
Oskar
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 02, 2019 6:30 pm
Contact:

How to change vanilla technologie ingredient?

Post by Oskar »

How to change vanilla technologie ingredient?
Schallfalke
Fast Inserter
Fast Inserter
Posts: 162
Joined: Sun Oct 28, 2018 7:57 am
Contact:

Re: How to change vanilla technologie ingredient?

Post by Schallfalke »

In data.lua,

Code: Select all

data.raw.technology["logistics-2"].unit =
    {
      count = 10,
      ingredients =
      {
        {"automation-science-pack", 1}
      },
      time = 15
    }
This sets logistics 2 super cheap, using 10 red breakers only.
Oskar
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 02, 2019 6:30 pm
Contact:

Re: How to change vanilla technologie ingredient?

Post by Oskar »

Thanks a lot. That is the last thing i needed in my mod.

I guess "automation-science-pack" is "science-pack-1" in 0.17
Post Reply

Return to “Modding help”