1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-02-11 13:39:17 +02:00

Migrate efficiency modules internal names

This commit is contained in:
RedRafe 2024-10-26 10:58:32 +02:00
parent 1dae30a316
commit db57033243
8 changed files with 21 additions and 21 deletions

View File

@ -77,9 +77,9 @@ local item_worths = {
['destroyer-capsule'] = 256,
['discharge-defense-equipment'] = 2048,
['distractor-capsule'] = 128,
['effectivity-module-2'] = 512,
['effectivity-module-3'] = 2048,
['effectivity-module'] = 128,
['efficiency-module-2'] = 512,
['efficiency-module-3'] = 2048,
['efficiency-module'] = 128,
['electric-engine-unit'] = 64,
['electric-furnace'] = 256,
['electric-mining-drill'] = 32,

View File

@ -4,7 +4,7 @@ local Token = require 'utils.token'
local loot = {
{weight = 10},
{stack = {name = 'coin', count = 50, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'effectivity-module', count = 7, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'efficiency-module', count = 7, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'speed-module', count = 5, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'productivity-module', count = 2, distance_factor = 1 / 20}, weight = 5}
}
@ -21,8 +21,8 @@ local loot_callback =
local factory_loot = {
{
stack = {
recipe = 'effectivity-module',
output = {item = 'effectivity-module', min_rate = 0.5 / 15 / 60, distance_factor = 0.5 / 15 / 60 / 512}
recipe = 'efficiency-module',
output = {item = 'efficiency-module', min_rate = 0.5 / 15 / 60, distance_factor = 0.5 / 15 / 60 / 512}
},
weight = 5
},

View File

@ -4,7 +4,7 @@ local Token = require 'utils.token'
local loot = {
{weight = 10},
{stack = {name = 'coin', count = 50, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'effectivity-module-2', count = 7, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'efficiency-module-2', count = 7, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'speed-module-2', count = 5, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'productivity-module-2', count = 5, distance_factor = 1 / 20}, weight = 5}
}
@ -21,8 +21,8 @@ local loot_callback =
local factory_loot = {
{
stack = {
recipe = 'effectivity-module-2',
output = {item = 'effectivity-module-2', min_rate = 0.5 / 30 / 60, distance_factor = 0.5 / 30 / 60 / 512}
recipe = 'efficiency-module-2',
output = {item = 'efficiency-module-2', min_rate = 0.5 / 30 / 60, distance_factor = 0.5 / 30 / 60 / 512}
},
weight = 5
},

View File

@ -4,7 +4,7 @@ local Token = require 'utils.token'
local loot = {
{weight = 10},
{stack = {name = 'coin', count = 50, distance_factor = 1 / 20}, weight = 5},
{stack = {name = 'effectivity-module-3', count = 4, distance_factor = 1 / 64}, weight = 5},
{stack = {name = 'efficiency-module-3', count = 4, distance_factor = 1 / 64}, weight = 5},
{stack = {name = 'speed-module-3', count = 2, distance_factor = 1 / 64}, weight = 5},
{stack = {name = 'productivity-module-3', count = 2, distance_factor = 1 / 64}, weight = 5}
}
@ -21,8 +21,8 @@ local loot_callback =
local factory_loot = {
{
stack = {
recipe = 'effectivity-module-3',
output = {item = 'effectivity-module-3', min_rate = 0.5 / 60 / 60, distance_factor = 0.5 / 60 / 60 / 512}
recipe = 'efficiency-module-3',
output = {item = 'efficiency-module-3', min_rate = 0.5 / 60 / 60, distance_factor = 0.5 / 60 / 60 / 512}
},
weight = 5
},

View File

@ -164,8 +164,8 @@ local config = {
['piercing-rounds-magazine'] = {chance = 0.10, min = 15, max = 35},
['gun-turret'] = {chance = 0.3, min = 1, max = 2},
['beacon'] = {chance = 0.01, min = 1, max = 2},
['effectivity-module'] = {chance = 0.03, min = 1, max = 2},
['effectivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['efficiency-module'] = {chance = 0.03, min = 1, max = 2},
['efficiency-module-2'] = {chance = 0.01, min = 1, max = 2},
['productivity-module'] = {chance = 0.03, min = 1, max = 2},
['productivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['speed-module'] = {chance = 0.03, min = 1, max = 2},

View File

@ -164,8 +164,8 @@ local config = {
['piercing-rounds-magazine'] = {chance = 0.10, min = 15, max = 35},
['gun-turret'] = {chance = 0.3, min = 1, max = 2},
['beacon'] = {chance = 0.01, min = 1, max = 2},
['effectivity-module'] = {chance = 0.03, min = 1, max = 2},
['effectivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['efficiency-module'] = {chance = 0.03, min = 1, max = 2},
['efficiency-module-2'] = {chance = 0.01, min = 1, max = 2},
['productivity-module'] = {chance = 0.03, min = 1, max = 2},
['productivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['speed-module'] = {chance = 0.03, min = 1, max = 2},

View File

@ -164,8 +164,8 @@ local config = {
['piercing-rounds-magazine'] = {chance = 0.10, min = 15, max = 35},
['gun-turret'] = {chance = 0.3, min = 1, max = 2},
['beacon'] = {chance = 0.01, min = 1, max = 2},
['effectivity-module'] = {chance = 0.03, min = 1, max = 2},
['effectivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['efficiency-module'] = {chance = 0.03, min = 1, max = 2},
['efficiency-module-2'] = {chance = 0.01, min = 1, max = 2},
['productivity-module'] = {chance = 0.03, min = 1, max = 2},
['productivity-module-2'] = {chance = 0.01, min = 1, max = 2},
['speed-module'] = {chance = 0.03, min = 1, max = 2},

View File

@ -137,9 +137,9 @@ local recipes = {
['speed-module'] = true,
['speed-module-2'] = true,
['speed-module-3'] = true,
['effectivity-module'] = true,
['effectivity-module-2'] = true,
['effectivity-module-3'] = true,
['efficiency-module'] = true,
['efficiency-module-2'] = true,
['efficiency-module-3'] = true,
['productivity-module'] = true,
['productivity-module-2'] = true,
['productivity-module-3'] = true,