Skip to content
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

Merged

Conversation

PestoVerde322
Copy link
Contributor

@PestoVerde322 PestoVerde322 commented Jul 31, 2024

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

image

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:

PigeonVerde322 added 2 commits July 31, 2024 15:37
if i see anything that looks odd, i'm gonna punt somoene
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

PigeonVerde322 added 2 commits August 27, 2024 13:33
I mergefix hoping it's all good to go
Copy link
Member

@PowerfulBacon PowerfulBacon left a 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.

Comment on lines 6 to 18
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()
Copy link
Member

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
Copy link
Member

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.

@PowerfulBacon PowerfulBacon added this pull request to the merge queue Aug 28, 2024
@PowerfulBacon PowerfulBacon removed this pull request from the merge queue due to a manual request Aug 28, 2024
@PowerfulBacon
Copy link
Member

Actually just remembered my prior review

Copy link

github-actions bot commented Sep 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

1 similar comment
Copy link

github-actions bot commented Sep 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@PowerfulBacon PowerfulBacon added this pull request to the merge queue Sep 9, 2024
Merged via the queue into BeeStation:master with commit 6e4fbcd Sep 9, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants