foundry fix

This commit is contained in:
Brevven 2022-07-08 22:15:51 -07:00
parent 253d6d9430
commit 0ec1c66acd
5 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,11 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.0.4
Date: 2022-07-07
Fixes:
- Support foundry minimal mode for bronze
Changes:
- Thumbnail tweak
---------------------------------------------------------------------------------------------------
Version: 0.0.3 Version: 0.0.3
Date: 2022-07-06 Date: 2022-07-06
Features: Features:

View file

@ -1,6 +1,6 @@
{ {
"name": "bztin", "name": "bztin",
"version": "0.0.3", "version": "0.0.4",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Tin", "title": "Tin",
"author": "Brevven", "author": "Brevven",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

Binary file not shown.

View file

@ -200,7 +200,7 @@ data:extend({
for item, count in pairs(bronze_i) do for item, count in pairs(bronze_i) do
util.add_ingredient("bronze-plate", item, count) util.add_ingredient("bronze-plate", item, count)
end end
if mods.bzfoundry then if mods.bzfoundry and data.raw.item["foundry"] then
util.add_effect("foundry", { type = "unlock-recipe", recipe = "bronze-plate" }) util.add_effect("foundry", { type = "unlock-recipe", recipe = "bronze-plate" })
util.add_prerequisite("fast-inserter", "foundry") util.add_prerequisite("fast-inserter", "foundry")
util.set_to_founding("bronze-plate") util.set_to_founding("bronze-plate")