Make wood-military optional

This commit is contained in:
Simon Brodtmann 2025-01-16 00:28:37 +01:00
parent 5b8c335bc1
commit 5a040ce642
9 changed files with 49 additions and 26 deletions

View file

@ -1 +1,2 @@
require("hot-metals")
require("hot-metals")
require("wood-military")

View file

@ -1 +1,5 @@
if not mods["wood-military"] then
return
end
data.raw.armor["wood-armor"].equipment_grid = "tiny-equipment-grid"

View file

@ -1,3 +1,8 @@
-- Wooden military mod replaces the content here
if mods["wood-military"] then
return
end
local item_sounds = require("__base__.prototypes.item_sounds")
local simulations = require("__base__.prototypes.factoriopedia-simulations")