zircon in rocks
This commit is contained in:
parent
aa2500551f
commit
1869493067
2 changed files with 15 additions and 3 deletions
|
|
@ -5,6 +5,8 @@ Date: 2021-01-26
|
||||||
- K2: Dirty water filtration quantity
|
- K2: Dirty water filtration quantity
|
||||||
- Cermet requires 2 zirconia (result quantity also increased by 1)
|
- Cermet requires 2 zirconia (result quantity also increased by 1)
|
||||||
- Minor compatibility tweaks
|
- Minor compatibility tweaks
|
||||||
|
Fixes:
|
||||||
|
- Most rocks should now have Zircon in Space Exploration, too
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.5.2
|
Version: 0.5.2
|
||||||
Date: 2021-01-20
|
Date: 2021-01-20
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,16 @@ require("strange-matter")
|
||||||
|
|
||||||
local util = require("data-util");
|
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})
|
-- Add zircon to rocks
|
||||||
util.add_minable_result("simple-entity", "rock-big", {name="zircon", amount_min = 15, amount_max=25})
|
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