Increases rates research

Place to get help with not working mods / modding interface.
Post Reply
seomaster99
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue May 08, 2018 1:53 pm
Contact:

Increases rates research

Post by seomaster99 »

Hello!

How can I create research that increases the game's rates after learning them?

Specifically, I want to multiply increase:
Mining Speed
Machine Crafting Speed
Lab Research Speed

what is it for?

To ensure that after launching the snap does not build mega-factories, but increase the game's rates.
Modules are not enough for me)

I used the standard code for technology:

Code: Select all

type = "technology",
    name= "mining-speed",
    icon = "__Mining_Speed_Research__/mining-speed-research.png",
    icon_size = 64,
    effects =
    {
      {
        type = "mining-speed",
        modifier = 0.2
But to my great chagrin gives an error: "Unkown modifer type "mining-speed'' :?

Is it possible to change parameters mining and crafting speed with the research?

Character settings are not interested) Only for buildings)

betrok
Fast Inserter
Fast Inserter
Posts: 101
Joined: Wed Feb 28, 2018 12:08 pm
Contact:

Re: Increases rates research

Post by betrok »

For labs and miners you can use "laboratory-productivity" and "mining-drill-productivity-bonus".

With crafting things are more complicated.
You can create several prototypes with a single difference in speed and replace old ones on build and finish of research.
It's a hacky solution with possible side effects, but i do not think there are any alternatives for modifier-style upgrades.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Increases rates research

Post by bobingabout »

you can only use pre-defined modifiers, so if a modifier isn't used in the base game, it probably doesn't exist.

there are exceptions to this rule though, there were quite a few added that affect the player, such as inventory size, movement speed, etc.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding help”