diff --git a/Chromium2/graphics/entity/ores/chromite-ore.png b/Chromium2/graphics/entity/ores/chromite-ore.png deleted file mode 100644 index 16756c3..0000000 Binary files a/Chromium2/graphics/entity/ores/chromite-ore.png and /dev/null differ diff --git a/Chromium2/prototypes/chromite-ore.lua b/Chromium2/prototypes/chromite-ore.lua index eb219d5..7303b54 100644 --- a/Chromium2/prototypes/chromite-ore.lua +++ b/Chromium2/prototypes/chromite-ore.lua @@ -3,25 +3,26 @@ local resource_autoplace = require('resource-autoplace') local util = require("data-util") data:extend({ - { + { type = "autoplace-control", category = "resource", name = "chromite-ore", richness = true, order = "b-e" - }, - { + }, + { type = "noise-layer", name = "chromite-ore" - }, - { + }, + { type = "resource", - icon_size = 64, icon_mipmaps = 3, + icon_size = 64, + icon_mipmaps = 3, name = "chromite-ore", icon = "__Chromium__/graphics/icons/chromite-ore.png", - flags = {"placeable-neutral"}, - order="a-b-a", - map_color = {r=0.90, g=0.80, b=1.00}, + flags = { "placeable-neutral" }, + order = "a-b-a", + map_color = { r = 0.90, g = 0.80, b = 1.00 }, minable = { hardness = 1, @@ -29,10 +30,10 @@ data:extend({ mining_time = 1, result = "chromite-ore" }, - collision_box = {{ -0.1, -0.1}, {0.1, 0.1}}, - selection_box = {{ -0.5, -0.5}, {0.5, 0.5}}, + collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } }, + selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, - autoplace = resource_autoplace.resource_autoplace_settings{ + autoplace = resource_autoplace.resource_autoplace_settings { name = "chromite-ore", order = "b-z", base_density = 2, @@ -42,35 +43,28 @@ data:extend({ starting_rq_factor_multiplier = 1.0, }, - stage_counts = {15000, 9500, 5500, 2900, 1300, 400, 150, 80}, - stages = - { - sheet = - { - filename = "__Chromium__/graphics/entity/ores/chromite-ore.png", - priority = "extra-high", - size = 64, - frame_count = 8, - variation_count = 8, - hr_version = + stage_counts = { 15000, 9500, 5500, 2900, 1300, 400, 150, 80 }, + stages = + { + sheet = { - filename = "__Chromium__/graphics/entity/ores/hr-chromite-ore.png", + filename = "__Chromium__/graphics/entity/ores/hr-chromite-ore.png", priority = "extra-high", size = 128, frame_count = 8, variation_count = 8, scale = 0.5 } - } }, }, { - type = "item", - name = "chromite-ore", - icon_size = 64, icon_mipmaps = 3, - icon = "__Chromium__/graphics/icons/chromite-ore.png", - subgroup = "raw-resource", - order = "t-c-a", - stack_size = util.get_stack_size(50) + type = "item", + name = "chromite-ore", + icon_size = 64, + icon_mipmaps = 3, + icon = "__Chromium__/graphics/icons/chromite-ore.png", + subgroup = "raw-resource", + order = "t-c-a", + stack_size = util.get_stack_size(50) }, })