Infinite Research Cost Tweaker

by hathair

Customize the infinite research cost scaling formulas and how they interact with the technology price multiplier.

Tweaks
1 year, 10 months ago
1.1
1.34K
Owner:
hathair
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
2 years ago
Latest Version:
1.3.0 (1 year, 10 months ago)
Factorio version:
1.1
Downloaded by:
1.34K users

Overview

Ever thought that the infinite research costs scale too fast, especially when playing with a research multiplier? Me too. This mod enables editing the infinite research cost formulas through the mod settings menu. The screenshots show the effects of tweaking various settings.

This also works with mods that add infinite techs!

Additionally, the following vanilla techs can be tweaked by directly editing their formulas:

  • Mining productivity
  • Worker robot speed
  • Follower robot count
  • Artillery shell range
  • Artillery shell shooting speed
  • Physical projectile damage
  • Stronger explosives
  • Refined flammables
  • Energy weapons damage

Quick setup

Requires Factorio Standard Library.

Set the first option Infinite research divisor to your save file's research multiplier and leave everything else unchanged to rescale all infinite research costs to the vanilla defaults. Note that high multipliers/divisors will lead to rounding error (e.g. tech cost of 249 instead of 250, or 20 instead of 25).

Mod compatibility

  • Uncheck Apply formulas? to reduce potential conflicts.
  • If Apply divisor? and Apply divisor to pre-infinite techs? are turned on, custom infinite techs should work out of the box for the infinite part of the tech (infinity symbol in the tech range, e.g. 4-inf), but earlier levels (e.g. 1, 2, 3) require customization.
  • If you want the divisor to apply to new techs added by the mod, type in their prototype names separated by a semicolon. See below for a few examples.
  • Additionally, I added a mod preset for Space Exploration which covers its infinite techs as of Jan 2023. I do not plan to maintain tech lists for different mods.

Depending on mod load order other weirdness may occur. The optional dependencies on K2, SE, and PyMods make sure they are loaded before this one.

Custom tech list examples

Technologies entered in the custom tech list must be separated by a semicolon. The mod searches through the tech tree based on a pattern match and applies the divisor.

  • research-speed applies to every level of lab research speed.
  • research-speed-5; research-speed-6 applies only to those two levels. If a mod added a research-speed-50 or research-speed-66 or similar it would apply there too.
  • Be careful: logistic will apply to bots and logistic chests (logistic-robots; logistic-system), but also green science (logistic-science-pack) and belts (logistics; logistics-2; logistics-3)!