mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-17 21:08:08 +02:00
Migrate removed items
This commit is contained in:
parent
f42cb07464
commit
a193d91305
@ -56,6 +56,7 @@ local item_worths = {
|
||||
['burner-mining-drill'] = 8,
|
||||
['cannon-shell'] = 8,
|
||||
['car'] = 128,
|
||||
['cargo-landing-pad'] = 2048,
|
||||
['cargo-wagon'] = 256,
|
||||
['centrifuge'] = 2048,
|
||||
['chemical-plant'] = 128,
|
||||
@ -75,7 +76,6 @@ local item_worths = {
|
||||
['defender-capsule'] = 16,
|
||||
['destroyer-capsule'] = 256,
|
||||
['discharge-defense-equipment'] = 2048,
|
||||
['discharge-defense-remote'] = 32,
|
||||
['distractor-capsule'] = 128,
|
||||
['effectivity-module-2'] = 512,
|
||||
['effectivity-module-3'] = 2048,
|
||||
@ -108,7 +108,6 @@ local item_worths = {
|
||||
['flying-robot-frame'] = 128,
|
||||
['fission-reactor-equipment'] = 8192,
|
||||
['gate'] = 16,
|
||||
['green-wire'] = 4,
|
||||
['grenade'] = 16,
|
||||
['gun-turret'] = 64,
|
||||
['hazard-concrete'] = 4,
|
||||
@ -173,17 +172,16 @@ local item_worths = {
|
||||
['rail-chain-signal'] = 16,
|
||||
['rail-signal'] = 16,
|
||||
['rail'] = 8,
|
||||
['red-wire'] = 4,
|
||||
['refined-concrete'] = 16,
|
||||
['refined-hazard-concrete'] = 16,
|
||||
['repair-pack'] = 8,
|
||||
['roboport'] = 2048,
|
||||
['rocket-control-unit'] = 256,
|
||||
['rocket-fuel'] = 256,
|
||||
['rocket-launcher'] = 128,
|
||||
['rocket-silo'] = 65536,
|
||||
['rocket'] = 8,
|
||||
['satellite'] = 32768,
|
||||
['selector-combinator'] = 16,
|
||||
['shotgun-shell'] = 4,
|
||||
['shotgun'] = 16,
|
||||
['slowdown-capsule'] = 16,
|
||||
|
@ -120,7 +120,6 @@ if config.market.enabled then
|
||||
'tank-machine-gun',
|
||||
'artillery-wagon-cannon',
|
||||
'artillery-turret',
|
||||
'artillery-targeting-remote',
|
||||
'defender-capsule',
|
||||
'destroyer-capsule',
|
||||
'programmable-speaker',
|
||||
|
@ -46,8 +46,6 @@ if _DEBUG then
|
||||
{name = 'construction-robot', count = 50},
|
||||
{name = 'rocket-launcher', count = 1},
|
||||
{name = 'explosive-rocket', count = 200},
|
||||
{name = 'green-wire', count = 200},
|
||||
{name = 'red-wire', count = 200},
|
||||
{name = 'dungeon-support', count = 50},
|
||||
}
|
||||
else
|
||||
|
@ -32,7 +32,6 @@ return {
|
||||
{price = 8, name = 'grenade'},
|
||||
{price = 10, name = 'artillery-shell'},
|
||||
{price = 10, name = 'light-armor'},
|
||||
{price = 25, name = 'artillery-targeting-remote'},
|
||||
{price = 25, name = 'cliff-explosives'},
|
||||
{price = 25, name = 'flamethrower-ammo'},
|
||||
{price = 30, name = 'submachine-gun'},
|
||||
|
@ -240,7 +240,6 @@ local item_pool = {
|
||||
{name = 'slowdown-capsule', count = 100, weight = 100},
|
||||
{name = 'construction-robot', count = 50, weight = 100},
|
||||
{name = 'solar-panel-equipment', count = 5, weight = 833.3333},
|
||||
{name = 'artillery-targeting-remote', count = 1, weight = 50},
|
||||
{name = 'tank-flamethrower', count = 1, weight = 33.3333},
|
||||
{name = 'explosive-uranium-cannon-shell', count = 100, weight = 33.3333},
|
||||
{name = 'destroyer-capsule', count = 10, weight = 33.3333},
|
||||
|
@ -9,7 +9,6 @@ local loot = {
|
||||
{stack = {name = 'electronic-circuit', count = 800, distance_factor = 1}, weight = 5},
|
||||
{stack = {name = 'advanced-circuit', count = 400, distance_factor = 1 / 2}, weight = 5},
|
||||
{stack = {name = 'processing-unit', count = 200, distance_factor = 1 / 4}, weight = 5},
|
||||
{stack = {name = 'rocket-control-unit', count = 30, distance_factor = 1 / 20}, weight = 2}
|
||||
}
|
||||
|
||||
local factory = {
|
||||
@ -39,8 +38,8 @@ local factory_c = {
|
||||
local factory_d = {
|
||||
callback = ob.magic_item_crafting_callback,
|
||||
data = {
|
||||
recipe = 'rocket-control-unit',
|
||||
output = {min_rate = 0.5 / 60, distance_factor = 0.5 / 60 / 512, item = 'rocket-control-unit'}
|
||||
recipe = 'processing-unit',
|
||||
output = {min_rate = 0.5 / 60, distance_factor = 0.5 / 60 / 512, item = 'processing-unit'}
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,12 +74,6 @@ local market = {
|
||||
distance_factor = 8 / 512,
|
||||
min_price = 0.8
|
||||
},
|
||||
{
|
||||
name = 'rocket-control-unit',
|
||||
price = 35,
|
||||
distance_factor = 17.5 / 512,
|
||||
min_price = 3.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,6 @@ local random = math.random
|
||||
local wreck_item_pool = {
|
||||
{name = 'iron-gear-wheel', count = 32},
|
||||
{name = 'iron-plate', count = 64},
|
||||
{name = 'rocket-control-unit', count = 1},
|
||||
{name = 'rocket-fuel', count = 7},
|
||||
{name = 'coal', count = 8},
|
||||
{name = 'rocket-launcher', count = 1},
|
||||
|
@ -117,7 +117,6 @@ local k2_items = {
|
||||
{ price = 45, name = 'poison-capsule' },
|
||||
{ price = 45, name = 'slowdown-capsule' },
|
||||
|
||||
{ price = 100, name = 'artillery-targeting-remote' },
|
||||
{ price = 2000, name = 'artillery-turret' },
|
||||
|
||||
{ price = 900, name = 'modular-armor' },
|
||||
|
@ -73,8 +73,6 @@ local recipes = {
|
||||
['defender-capsule'] = true,
|
||||
['distractor-capsule'] = true,
|
||||
['destroyer-capsule'] = true,
|
||||
['discharge-defense-remote'] = true,
|
||||
['artillery-targeting-remote'] = true,
|
||||
['heavy-armor'] = true,
|
||||
['modular-armor'] = true,
|
||||
['power-armor'] = true,
|
||||
@ -119,11 +117,10 @@ local recipes = {
|
||||
recipe = {
|
||||
['pump'] = true,
|
||||
['fluid-wagon'] = true,
|
||||
['red-wire'] = true,
|
||||
['green-wire'] = true,
|
||||
['arithmetic-combinator'] = true,
|
||||
['decider-combinator'] = true,
|
||||
['constant-combinator'] = true,
|
||||
['selector-combinator'] = true,
|
||||
['power-switch'] = true,
|
||||
['programmable-speaker'] = true,
|
||||
['storage-tank'] = true,
|
||||
@ -151,7 +148,7 @@ local recipes = {
|
||||
['nuclear-fuel-reprocessing'] = true,
|
||||
['uranium-processing'] = true,
|
||||
['kovarex-enrichment-process'] = true,
|
||||
['rocket-control-unit'] = true,
|
||||
['cargo-landing-pad'] = true,
|
||||
['empty-barrel'] = true,
|
||||
['fill-crude-oil-barrel'] = true,
|
||||
['fill-heavy-oil-barrel'] = true,
|
||||
|
@ -105,7 +105,7 @@ if Game_mode_config.king_of_the_hill then
|
||||
local e = surface.create_entity(entity)
|
||||
lock_entity(e)
|
||||
if entity.recipe then
|
||||
e.set_recipe('rocket-control-unit')
|
||||
e.set_recipe('processing-unit')
|
||||
e.recipe_locked = true
|
||||
register_crafter(e)
|
||||
end
|
||||
|
@ -110,8 +110,6 @@ local function on_init()
|
||||
Retailer.set_item('items', {price = 15, name = 'train-stop'})
|
||||
Retailer.set_item('items', {price = 75, name = 'locomotive'})
|
||||
Retailer.set_item('items', {price = 30, name = 'cargo-wagon'})
|
||||
Retailer.set_item('items', {price = 0.95, name = 'red-wire'})
|
||||
Retailer.set_item('items', {price = 0.95, name = 'green-wire'})
|
||||
Retailer.set_item('items', {price = 3, name = 'decider-combinator'})
|
||||
Retailer.set_item('items', {price = 3, name = 'arithmetic-combinator'})
|
||||
Retailer.set_item('items', {price = 3, name = 'constant-combinator'})
|
||||
@ -142,7 +140,6 @@ local function on_init()
|
||||
Retailer.set_item('items', {price = 75, name = 'destroyer-capsule'})
|
||||
Retailer.set_item('items', {price = 35, name = 'poison-capsule'})
|
||||
Retailer.set_item('items', {price = 35, name = 'slowdown-capsule'})
|
||||
Retailer.set_item('items', {price = 50, name = 'artillery-targeting-remote'})
|
||||
Retailer.set_item('items', {price = 1000, name = 'artillery-turret'})
|
||||
Retailer.set_item('items', {price = 350, name = 'modular-armor'})
|
||||
Retailer.set_item('items', {price = 875, name = 'power-armor'})
|
||||
|
@ -219,7 +219,6 @@ local item_pool = {
|
||||
{name = 'slowdown-capsule', count = 100, weight = 100},
|
||||
{name = 'construction-robot', count = 50, weight = 100},
|
||||
{name = 'solar-panel-equipment', count = 5, weight = 833.3333},
|
||||
{name = 'artillery-targeting-remote', count = 1, weight = 50},
|
||||
{name = 'tank-flamethrower', count = 1, weight = 33.3333},
|
||||
{name = 'explosive-uranium-cannon-shell', count = 100, weight = 33.3333},
|
||||
{name = 'destroyer-capsule', count = 10, weight = 33.3333},
|
||||
|
@ -23,7 +23,6 @@ local item_pool = {
|
||||
{name = 'slowdown-capsule', count = 100, weight = 100},
|
||||
{name = 'construction-robot', count = 50, weight = 100},
|
||||
{name = 'solar-panel-equipment', count = 5, weight = 833.3333},
|
||||
{name = 'artillery-targeting-remote', count = 1, weight = 50},
|
||||
{name = 'tank-flamethrower', count = 1, weight = 33.3333},
|
||||
{name = 'explosive-uranium-cannon-shell', count = 100, weight = 33.3333},
|
||||
{name = 'destroyer-capsule', count = 10, weight = 33.3333},
|
||||
|
@ -6,7 +6,6 @@ local random = math.random
|
||||
local wreck_item_pool = {
|
||||
{name = 'iron-gear-wheel', count = 32},
|
||||
{name = 'iron-plate', count = 64},
|
||||
{name = 'rocket-control-unit', count = 1},
|
||||
{name = 'atomic-bomb', count = 1},
|
||||
{name = 'rocket-fuel', count = 7},
|
||||
{name = 'coal', count = 8},
|
||||
|
@ -15,6 +15,7 @@ return {
|
||||
'boiler',
|
||||
'burner-inserter',
|
||||
'burner-mining-drill',
|
||||
'cargo-landing-pad',
|
||||
'centrifuge',
|
||||
'chemical-plant',
|
||||
'coal',
|
||||
@ -28,6 +29,7 @@ return {
|
||||
'crude-oil-barrel',
|
||||
'decider-combinator',
|
||||
'discharge-defense-equipment',
|
||||
'display-panel',
|
||||
'electric-engine-unit',
|
||||
'electric-furnace',
|
||||
'electric-mining-drill',
|
||||
@ -51,7 +53,6 @@ return {
|
||||
'flying-robot-frame',
|
||||
'fission-reactor-equipment',
|
||||
'gate',
|
||||
'green-wire',
|
||||
'gun-turret',
|
||||
'hazard-concrete',
|
||||
'heat-exchanger',
|
||||
@ -101,15 +102,14 @@ return {
|
||||
'radar',
|
||||
'rail-chain-signal',
|
||||
'rail-signal',
|
||||
'red-wire',
|
||||
'refined-concrete',
|
||||
'refined-hazard-concrete',
|
||||
'roboport',
|
||||
'rocket-control-unit',
|
||||
'rocket-fuel',
|
||||
'rocket-part',
|
||||
'rocket-silo',
|
||||
'satellite',
|
||||
'selector-combinator',
|
||||
'small-electric-pole',
|
||||
'small-lamp',
|
||||
'solar-panel',
|
||||
|
@ -24,8 +24,6 @@ return {
|
||||
{price = 15, name = 'train-stop'},
|
||||
{price = 75, name = 'locomotive'},
|
||||
{price = 30, name = 'cargo-wagon'},
|
||||
{price = 0.95, name = 'red-wire'},
|
||||
{price = 0.95, name = 'green-wire'},
|
||||
{price = 3, name = 'decider-combinator'},
|
||||
{price = 3, name = 'arithmetic-combinator'},
|
||||
{price = 3, name = 'constant-combinator'},
|
||||
@ -59,7 +57,6 @@ return {
|
||||
{price = 75, name = 'destroyer-capsule'},
|
||||
{price = 35, name = 'poison-capsule'},
|
||||
{price = 35, name = 'slowdown-capsule'},
|
||||
{price = 50, name = 'artillery-targeting-remote'},
|
||||
{price = 1000, name = 'artillery-turret'},
|
||||
{price = 350, name = 'modular-armor'},
|
||||
{price = 875, name = 'power-armor'},
|
||||
|
@ -28,7 +28,7 @@ return {
|
||||
leave_message = '{player} has left the {tag} squad'
|
||||
},
|
||||
['Wizard'] = {
|
||||
path = 'item/green-wire',
|
||||
path = 'item/selector-combinator',
|
||||
join_message = '{tag} has combinated with {player}',
|
||||
leave_message = '{player} has left the {tag} squad'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user