delivery cannon SE

This commit is contained in:
Brevven 2021-01-22 04:20:59 -08:00
parent dd3e074fa5
commit 4346425610
3 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.1.3
Date: 2021-01-19
Changes:
- SE Delivery Cannon Capsules
---------------------------------------------------------------------------------------------------
Version: 0.1.2 Version: 0.1.2
Date: 2021-01-18 Date: 2021-01-18
Fixes: Fixes:

View file

@ -1,6 +1,6 @@
{ {
"name": "bzlead", "name": "bzlead",
"version": "0.1.2", "version": "0.1.3",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Lead", "title": "Lead",
"author": "Brevven", "author": "Brevven",

View file

@ -2,6 +2,8 @@
local util = require("__bzlead__.util"); local util = require("__bzlead__.util");
if mods["space-exploration"] then if mods["space-exploration"] then
se_delivery_cannon_recipes[util.lead_ore] = {name= util.lead_ore}
se_delivery_cannon_recipes[util.lead_plate] = {name= util.lead_plate}
if mods["Krastorio2"] then if mods["Krastorio2"] then
data:extend({ data:extend({
{ {
@ -31,6 +33,7 @@ if mods["space-exploration"] then
table.insert(data.raw.technology["se-processing-vulcanite"].effects, table.insert(data.raw.technology["se-processing-vulcanite"].effects,
{type = "unlock-recipe", recipe= "enriched-lead-smelting-vulcanite"}) {type = "unlock-recipe", recipe= "enriched-lead-smelting-vulcanite"})
data.raw.recipe["enriched-lead-plate"].order= "d[lead-plate]" data.raw.recipe["enriched-lead-plate"].order= "d[lead-plate]"
se_delivery_cannon_recipes["enriched-lead"] = {name= "enriched-lead"}
else else
data:extend({ data:extend({
{ {