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

chem heater on sprite #8789

Merged
merged 2 commits into from Jun 3, 2020
Merged

chem heater on sprite #8789

merged 2 commits into from Jun 3, 2020

Conversation

ToGWtF
Copy link
Contributor

@ToGWtF ToGWtF commented Jun 2, 2020

Intent of your Pull Request

adds a new sprite for chem heaters to show if they are on or not

@github-actions github-actions bot added the Sprites This PR has spriting changes label Jun 2, 2020
@Darkstick
Copy link
Contributor

giv picture pls

@boodaliboo
Copy link
Contributor

image

Copy link
Member

@monster860 monster860 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer something like:

icon_state = "mixer[beaker ? 1 : 0][on ? "a" : "b"]"

In general the code you've come up with is a bit messy though - you should be putting the more specific options first (reverse of what you have), and then using else if to abort out once a decision has been made. What you made works but I don't like it

@Hopekz
Copy link
Contributor

Hopekz commented Jun 3, 2020

Holy shit monster reviews PR's

@monster860 monster860 merged commit c7c7a88 into yogstation13:master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sprites This PR has spriting changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants