1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-03 13:12:11 +02:00

enable landmines in loot

This commit is contained in:
danielmartin0 2024-09-11 16:35:08 +01:00
parent d0c5ae0ac1
commit 273cd65682
3 changed files with 12 additions and 11 deletions

View File

@ -1675,6 +1675,7 @@ function Public.is_id_valid(id)
end
end
-- TODO: Remove this function or properly integrate it into the scenario
-- NOTE: Items here are either unobtainable or hard to find/get
-- Connected with crew.lua recipe and technology disables
function Public.get_item_blacklist(tier)

View File

@ -136,6 +136,7 @@ Public.chest_loot_data_raw = {
{10, 0.2, 1.2, true, 'piercing-shotgun-shell', 6, 9},
{2, 0.3, 1.2, true, 'combat-shotgun', 1, 1},
{5, 0.2, 1.8, true, 'cluster-grenade', 8, 16},
{5, 0, 1.2, true, 'land-mine', 8, 32},
{0.04, 0.1, 1.9, true, 'modular-armor', 1, 1},
{0.01, 0.4, 1.6, true, 'power-armor', 1, 1},
@ -200,7 +201,6 @@ Public.chest_loot_data_raw = {
-- {4, 0.2, 0.6, true, 'engine-unit', 8, 16},
--late-game:
--{9, 0.5, 0.8, false, "railgun-dart", 8, 16},
-- {5, 0, 1.2, true, 'land-mine', 16, 32},
-- {5, 0.4, 0.7, true, 'cannon-shell', 16, 32},
-- {5, 0.4, 0.8, true, 'explosive-cannon-shell', 16, 32},
-- {2, 0.25, 1.75, true, 'logistic-robot', 5, 25},

View File

@ -280,16 +280,16 @@ Public.entry_price_data_raw = {-- choose things which make interesting minifacto
itemBatchSize = 2,
batchRawMaterials = {['iron-plate'] = 80, ['copper-plate'] = 55},
},
['land-mine'] = {
overallWeight = 1,
minLambda = 0.4,
maxLambda = 1.5,
shape = 'density',
enabled = true,
base_amount = 1000,
itemBatchSize = 4,
batchRawMaterials = {['iron-plate'] = 5, ['coal'] = 1, ['sulfur'] = 1},
},
-- ['land-mine'] = {
-- overallWeight = 1,
-- minLambda = 0.4,
-- maxLambda = 1.5,
-- shape = 'density',
-- enabled = true,
-- base_amount = 1000,
-- itemBatchSize = 4,
-- batchRawMaterials = {['iron-plate'] = 5, ['coal'] = 1, ['sulfur'] = 1},
-- },
['cluster-grenade'] = {
overallWeight = 1,
minLambda = 0.6,