stacking bronze

This commit is contained in:
Brevven 2022-07-18 21:31:01 -07:00
parent 7c680d1112
commit 2fa6eb74bb
3 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.0.6
Date: 2022-07-19
Changes:
- Deadlock Stacking: Bronze support
---------------------------------------------------------------------------------------------------
Version: 0.0.5 Version: 0.0.5
Date: 2022-07-16 Date: 2022-07-16
Changes: Changes:

View file

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

View file

@ -9,6 +9,9 @@ if deadlock then
if data.raw.item["tinned-cable"] then if data.raw.item["tinned-cable"] then
deadlock.add_stack("tinned-cable", nil , "deadlock-stacking-2", nil) deadlock.add_stack("tinned-cable", nil , "deadlock-stacking-2", nil)
end end
if data.raw.item["bronze-plate"] then
deadlock.add_stack("bronze-plate", nil , "deadlock-stacking-1", nil)
end
if mods.Krastorio2 then if mods.Krastorio2 then
deadlock.add_stack("enriched-tin", "__bztin__/graphics/icons/stacked/enriched-tin-ore-stacked.png" , "deadlock-stacking-3", 128) deadlock.add_stack("enriched-tin", "__bztin__/graphics/icons/stacked/enriched-tin-ore-stacked.png" , "deadlock-stacking-3", 128)
end end
@ -22,6 +25,9 @@ if deadlock_crating then
if data.raw.item["tinned-cable"] then if data.raw.item["tinned-cable"] then
deadlock_crating.add_crate("tinned-cable", "deadlock-crating-2") deadlock_crating.add_crate("tinned-cable", "deadlock-crating-2")
end end
if data.raw.item["bronze-plate"] then
deadlock_crating.add_crate("bronze-plate", "deadlock-crating-1")
end
if mods.Krastorio2 then if mods.Krastorio2 then
deadlock_crating.add_crate("enriched-tin", "deadlock-crating-3") deadlock_crating.add_crate("enriched-tin", "deadlock-crating-3")
end end