rich rocks requiem

This commit is contained in:
Brevven 2021-02-28 20:19:23 -08:00
parent 4eb6e89b73
commit 47453164a4
4 changed files with 25 additions and 1 deletions

View file

@ -1,7 +1,13 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.1
Date: 2021-01-27
Fixes:
- Rich Rocks Requiem dependency
---------------------------------------------------------------------------------------------------
Version: 0.2.0
Date: 2021-01-25
Features:
- Rich Rocks Requiem for K2 compatibility
- 5dims compatibility
---------------------------------------------------------------------------------------------------
Version: 0.1.4

View file

@ -2,6 +2,7 @@ require("lead-recipe-final-stacking")
require("lead-recipe-modules")
require("lead-recipe-colors")
require("lead-recipe-final-5d")
require("lead-recipe-final-rrr")
----

View file

@ -1,6 +1,6 @@
{
"name": "bzlead",
"version": "0.2.0",
"version": "0.2.1",
"factorio_version": "1.1",
"title": "Lead",
"author": "Brevven",
@ -10,6 +10,7 @@
"base >= 1.1.0",
"? space-exploration",
"? Krastorio2",
"? Rich-Rocks-Requiem",
"? deadlock-beltboxes-loaders",
"? DeadlockCrating"
],

16
lead-recipe-final-rrr.lua Normal file
View file

@ -0,0 +1,16 @@
local util = require("__bzlead__.util");
if mods["Rich-Rocks-Requiem"] then
if data.raw.recipe["rrr-stone-processing"] then
table.insert(data.raw.recipe["rrr-stone-processing"].results,
{name = "lead-ore", probability = 0.25, amount = 1}
)
end
if data.raw.recipe["rrr-raw-ores-processing"] then
table.insert(data.raw.recipe["rrr-raw-ores-processing"].results,
{name = "lead-ore", probability = 0.75, amount = 10}
)
end
end