forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle research trigger 'craft-item' (#327)
While checking for the Space Age changes of #320, I noticed 'new' errors when loading a project. Which was triggered by the (lack of) support of the new [research triggers](https://lua-api.factorio.com/latest/concepts/ResearchTrigger.html). Adding the `craft-item` type was fairly easy (I was fiddling a bit and it worked): _\<removed outdated screenshot, see comments for newer one\>_ So I cleaned the code a little and made this PR. Note that supporting `mine-entity` was also easy, but for some reason it makes most of the items inaccessible... So I did not include it in this PR. We need to take a better look. The other types, I did not try as their implementation was not directly apparent to me (and `craft-fluid` is not in use, so I could not try/test)
- Loading branch information
Showing
3 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters