rocks give zircon
This commit is contained in:
parent
2ce7597761
commit
dec00dc1c2
3 changed files with 14 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.3.2
|
||||
Date: 2021-12-31
|
||||
Features:
|
||||
- Rocks now give some zircon
|
||||
Changes:
|
||||
- JA l10n updates
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -4,3 +4,9 @@ require("zircon-matter")
|
|||
require("map-gen-preset-updates")
|
||||
require("omni")
|
||||
require("strange-matter")
|
||||
|
||||
local util = require("__bzzirconium__.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})
|
||||
|
|
|
|||
|
|
@ -435,4 +435,10 @@ function add_to_product(recipe, product, amount)
|
|||
end
|
||||
end
|
||||
|
||||
function util.add_minable_result(t, name, result)
|
||||
if data.raw[t] and data.raw[t][name] and data.raw[t][name].minable and data.raw[t][name].minable.results then
|
||||
table.insert(data.raw[t][name].minable.results, result)
|
||||
end
|
||||
end
|
||||
|
||||
return util
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue