zircon in rocks
This commit is contained in:
parent
aa2500551f
commit
1869493067
2 changed files with 15 additions and 3 deletions
|
|
@ -7,6 +7,16 @@ require("strange-matter")
|
|||
|
||||
local util = require("data-util");
|
||||
|
||||
util.add_minable_result("simple-entity", "rock-huge", {name="zircon", amount_min = 15, amount_max=25})
|
||||
util.add_minable_result("simple-entity", "sand-rock-big", {name="zircon", amount_min = 15, amount_max=25})
|
||||
util.add_minable_result("simple-entity", "rock-big", {name="zircon", amount_min = 15, amount_max=25})
|
||||
|
||||
-- Add zircon to rocks
|
||||
local min = 15
|
||||
local max = 23
|
||||
if mods["space-exploration"] then
|
||||
min = 6
|
||||
max = 10
|
||||
end
|
||||
for _, e in pairs(data.raw["simple-entity"]) do
|
||||
if (e.subgroup == "grass" or e.subgroup == "wrecks") and e.name:match("rock%-") then
|
||||
util.add_minable_result("simple-entity", e.name, {name="zircon", amount_min = min, amount_max=max})
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue