tweak some icons
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.0.11
|
||||||
|
Date: 2022-01-06
|
||||||
|
Changes:
|
||||||
|
- Tweak icons for visibility, especially graphene
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.10
|
Version: 0.0.10
|
||||||
Date: 2022-01-05
|
Date: 2022-01-05
|
||||||
Features:
|
Features:
|
||||||
|
|
|
||||||
|
|
@ -472,12 +472,22 @@ function add_to_product(recipe, product, amount)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Adds a result to a mineable type
|
||||||
function util.add_minable_result(t, name, result)
|
function util.add_minable_result(t, name, result)
|
||||||
if data.raw[t] and data.raw[t][name] and data.raw[t][name].minable and data.raw[t][name].minable.results then
|
if data.raw[t] and data.raw[t][name] and data.raw[t][name].minable then
|
||||||
table.insert(data.raw[t][name].minable.results, result)
|
if data.raw[t][name].minable.result and not data.raw[t][name].minable.results then
|
||||||
|
data.raw[t][name].minable.results = {
|
||||||
|
{data.raw[t][name].minable.result ,data.raw[t][name].minable.count}}
|
||||||
|
data.raw[t][name].minable.result = nil
|
||||||
|
data.raw[t][name].minable.result_count = nil
|
||||||
|
end
|
||||||
|
if data.raw[t][name].minable.results then
|
||||||
|
table.insert(data.raw[t][name].minable.results, result)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local function insert(nodes, node, value)
|
local function insert(nodes, node, value)
|
||||||
table.insert(node, value) -- store as parameter
|
table.insert(node, value) -- store as parameter
|
||||||
if 21 == #node then
|
if 21 == #node then
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 22 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Graphite & Diamonds",
|
"title": "Graphite & Diamonds",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||