Skip to content

Commit

Permalink
Fix player -> character rename
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Dec 18, 2019
1 parent 85edde2 commit 0b6684e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Factorio Boxing Mod

Inspired by [Xecutor's Boxing mod](https://forums.factorio.com/viewtopic.php?f=94&t=7481), rewritten to add items dynamically.

I haven't been able to find the time to play Factorio as much lately, so this isn't maintained very well. If an update breaks it, I'd be happy to merge a pull request to fix it.


## TODOs

- Add setting for boxable subgroups
- Add settings for stack sizes
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"description": "Pack items into boxes to store more of them.",
"factorio_version": "0.17",
"dependencies": [
"base >= 0.17.14"
"base >= 0.17.79"
]
}
2 changes: 1 addition & 1 deletion prototypes/recipe/categories.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ for i,type in pairs(boxing.types) do
end

if settings.startup["player-craftable-wooden-boxing"].value then
table.insert(data.raw.player.player.crafting_categories, "boxing-wooden")
table.insert(data.raw.character.character.crafting_categories, "boxing-wooden")
end

0 comments on commit 0b6684e

Please sign in to comment.