Skip to content

Commit

Permalink
Allow disabling steel->iron overrides (#382)
Browse files Browse the repository at this point in the history
Co-authored-by: cheapie <[email protected]>
  • Loading branch information
cheapie and cheapie authored Sep 28, 2024
1 parent 4446ea6 commit 2920b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions technic_worldgen/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ local defaults = {
enable_granite_generation = "true",
enable_marble_generation = "true",
enable_rubber_tree_generation = "true",
enable_steel_override = "true",
}

for k, v in pairs(defaults) do
Expand Down
2 changes: 1 addition & 1 deletion technic_worldgen/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dofile(modpath.."/config.lua")
dofile(modpath.."/nodes.lua")
dofile(modpath.."/oregen.lua")
dofile(modpath.."/crafts.lua")
if minetest.get_modpath("default") then
if minetest.get_modpath("default") and technic.config:get_bool("enable_steel_override") then
dofile(modpath.."/overrides.lua")
end

Expand Down

0 comments on commit 2920b4c

Please sign in to comment.