crafting cats

This commit is contained in:
Brevven 2023-03-05 22:37:41 -08:00
parent e2d4fa648f
commit 0955b15f7d
3 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.9
Date: 2022-12-27
Fixes:
- Attempt to fix issue with character crafting categories
---------------------------------------------------------------------------------------------------
Version: 0.2.8
Date: 2022-12-24
Localization:

View file

@ -1,6 +1,6 @@
{
"name": "bzfoundry",
"version": "0.2.8",
"version": "0.2.9",
"factorio_version": "1.1",
"title": "Foundry",
"author": "Brevven",

View file

@ -11,6 +11,8 @@ if util.me.basic_founding() then
{ type = "recipe-category", name = "basic-founding"},
})
for i, character in pairs(data.raw.character) do
table.insert(character.crafting_categories, "basic-founding")
if character.crafting_categories then
table.insert(character.crafting_categories, "basic-founding")
end
end
end