Skip to content

Commit 8bd5a2a

Browse files
A big ass note
1 parent fcb628a commit 8bd5a2a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

compat/productivity.lua

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
log("Tweaking productivity restrictions")
22

3+
-- This solves an old problem of each productivity module having a list of recipes it can be used on.
4+
-- Recently (somewhere in 2.0) this has been changed to a setting in a recipe (big upside)
5+
-- This file does both: adding recipes ot a module if it has recipe limitations, and
6+
-- Adding `allow_productivity = true` to recipes as well, even though it is already set there.
7+
--
8+
-- Moving to a per-recipe setting only would be a good idea but that woudl mean any mod
9+
-- adding a productivity module using limitations is potentially broken slightly.
10+
-- In other words: API updates are hard.
11+
--
12+
-- Also proprs to DocJade's Baketorio vid for pointing this out, been making a fix for Baketorio
13+
-- before patching this mod and adding the fix here.
14+
--
15+
-- JohnTheCoolingFan
16+
317
-- Add some recipes to productivty modules limitation (which is whitelist for some reason)
418
local limitation_to_add = {
519
'advanced-nuclear-fuel-reprocessing',

0 commit comments

Comments
 (0)