Zirconium

by brevven

Adds zircon, zirconia, zirconium, and cermet to the base game. Compatible with Krastorio 2, Space Exploration, FE+, and more. Part of BZ Mods.

Content
9 months ago
1.1
29.4K
Mining Manufacturing

g Rock loot

1 year, 8 months ago

Is it intended that big rocks only drop stone if destroyed?

1 year, 8 months ago

Not intended. Do you know the internal name of the type of rock? I may have missed one type?

1 year, 8 months ago
(updated 1 year, 8 months ago)

Alien biome rocks. There's a whole load of them.
might be easier to write a script that logs all rocks and their loot.

1 year, 7 months ago

This is how I'm currently doing it, and it seems to match all the alien biomes rocks I can find in game.

for _, e in pairs(data.raw["simple-entity"]) do
  if (e.subgroup == "grass" or e.subgroup == "wrecks") and e.name:match("rock%-") then
    local adjusted_max = e.name:match("huge") and max * 2 or max
    local adjusted_min = e.name:match("huge") and min * 2 or min
    util.add_minable_result("simple-entity", e.name, {name="zircon", amount_min=adjusted_min, amount_max=adjusted_max})
  end
end

If you can give me an example internal name I'll investigate further.

New response