-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed repeating categories in the crafting menu and sorted all the recipes #11272
Fixed repeating categories in the crafting menu and sorted all the recipes #11272
Conversation
if i see anything that looks odd, i'm gonna punt somoene
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
I mergefix hoping it's all good to go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What code changes actually fixed the bug? This PR is very large and difficult to review for what is a simple change.
var/reqs[] = list() | ||
//type paths of items explicitly not allowed as an ingredient | ||
var/blacklist[] = list() | ||
//type path of item resulting from this craft | ||
var/result | ||
//type paths of items needed but not consumed | ||
var/tools[] = list() | ||
//time in deciseconds | ||
var/time = 30 | ||
//type paths of items that will be placed in the result | ||
var/parts[] = list() | ||
//like tools but for reagents | ||
var/chem_catalysts[] = list() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change these to use var/list/name
//type paths of items needed but not consumed | ||
var/tools[] = list() | ||
//time in deciseconds | ||
var/time = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are moving time around, you might as well change this to 3 SECONDS and use time defines instead.
Actually just remembered my prior review |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
1 similar comment
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
About The Pull Request
This PR fixes the repeating categories in the crafting menu as certain items on the crafting list were repeating (See Egg-Based Food).
However, the bulk of this PR is that i sorted and standardized all the recipes in the game under the
components/crafting
folder, meaning that not only all the recipes are there, but they're not in a massive unorganized list anymore.Why It's Good For The Game
Fixes and coding QoL good.
Testing Photographs and Procedure
Screenshots&Videos
Changelog
🆑
fix: Fixed repeating categories in the crafting menu.
refactor: Sorted and standardized all the recipes, please DO NOT put the recipes outside of that folder and stick to the format of all the other recipes.
code: Rebalanced the times to craft and interaction of some recipes.
/:cl: