Tweaks
18 hours ago
2.0
7
Cheats
Owner:
Iorek
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
18 hours ago
Latest Version:
0.1.0 (18 hours ago)
Factorio version:
2.0
Downloaded by:
7 users

adds quality bonus of 30% to every level of SE's Wide area and compact beacons

is this too strong? probably yes. I haven't unlocked WAB or compact beacons yet, so not tested the balance.....

is it janky, yes!

does:

-- data-updates.lua
local bonus_value = 0.3

local function is_wide_beacon(name, proto)
if name == "beacon" then
return false
end

-- this also catches the compact beacon
if proto.module_slots and type(proto.module_slots) == "number" and proto.module_slots >= 8 then
return true
end

-- hopefully the base game beacon is a false ......
return false
end

local beacons = data.raw["beacon"] or {}
for name, prototype in pairs(beacons) do
if type(prototype) == "table" and is_wide_beacon(name, prototype) then
prototype.distribution_effectivity_bonus_per_quality_level = bonus_value
end
end