Remove hr_version

This commit is contained in:
Simon Brodtmann 2025-10-10 17:57:16 +02:00
parent 2ce24b0ee4
commit 931a0afc7b
2 changed files with 26 additions and 32 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

View file

@ -3,25 +3,26 @@ local resource_autoplace = require('resource-autoplace')
local util = require("data-util") local util = require("data-util")
data:extend({ data:extend({
{ {
type = "autoplace-control", type = "autoplace-control",
category = "resource", category = "resource",
name = "chromite-ore", name = "chromite-ore",
richness = true, richness = true,
order = "b-e" order = "b-e"
}, },
{ {
type = "noise-layer", type = "noise-layer",
name = "chromite-ore" name = "chromite-ore"
}, },
{ {
type = "resource", type = "resource",
icon_size = 64, icon_mipmaps = 3, icon_size = 64,
icon_mipmaps = 3,
name = "chromite-ore", name = "chromite-ore",
icon = "__Chromium__/graphics/icons/chromite-ore.png", icon = "__Chromium__/graphics/icons/chromite-ore.png",
flags = {"placeable-neutral"}, flags = { "placeable-neutral" },
order="a-b-a", order = "a-b-a",
map_color = {r=0.90, g=0.80, b=1.00}, map_color = { r = 0.90, g = 0.80, b = 1.00 },
minable = minable =
{ {
hardness = 1, hardness = 1,
@ -29,10 +30,10 @@ data:extend({
mining_time = 1, mining_time = 1,
result = "chromite-ore" result = "chromite-ore"
}, },
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}}, collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } },
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}}, 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", name = "chromite-ore",
order = "b-z", order = "b-z",
base_density = 2, base_density = 2,
@ -42,35 +43,28 @@ data:extend({
starting_rq_factor_multiplier = 1.0, starting_rq_factor_multiplier = 1.0,
}, },
stage_counts = {15000, 9500, 5500, 2900, 1300, 400, 150, 80}, stage_counts = { 15000, 9500, 5500, 2900, 1300, 400, 150, 80 },
stages = stages =
{ {
sheet = sheet =
{
filename = "__Chromium__/graphics/entity/ores/chromite-ore.png",
priority = "extra-high",
size = 64,
frame_count = 8,
variation_count = 8,
hr_version =
{ {
filename = "__Chromium__/graphics/entity/ores/hr-chromite-ore.png", filename = "__Chromium__/graphics/entity/ores/hr-chromite-ore.png",
priority = "extra-high", priority = "extra-high",
size = 128, size = 128,
frame_count = 8, frame_count = 8,
variation_count = 8, variation_count = 8,
scale = 0.5 scale = 0.5
} }
}
}, },
}, },
{ {
type = "item", type = "item",
name = "chromite-ore", name = "chromite-ore",
icon_size = 64, icon_mipmaps = 3, icon_size = 64,
icon = "__Chromium__/graphics/icons/chromite-ore.png", icon_mipmaps = 3,
subgroup = "raw-resource", icon = "__Chromium__/graphics/icons/chromite-ore.png",
order = "t-c-a", subgroup = "raw-resource",
stack_size = util.get_stack_size(50) order = "t-c-a",
stack_size = util.get_stack_size(50)
}, },
}) })