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

Can't skin skinless #34221

Merged
merged 4 commits into from
Sep 26, 2019
Merged

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Sep 24, 2019

Summary

SUMMARY: Bugfixes "Skinning action no longer available when corpse has no skin to begin with"

Purpose of change

Fixes #28209
and reduces keypresses for butchery when dark.

Describe the solution

Checks the harvest list of the mtype related to the item when butchering, and puts that logic into the UI

Additional context

The text descriptions in the code were very long, so i broke them up a little bit.

image
image

@KorGgenT KorGgenT added Items / Item Actions / Item Qualities Items and how they work and interact <Bugfix> This is a fix for a bug (or closes open issue) labels Sep 24, 2019
src/game.cpp Outdated Show resolved Hide resolved
uilist smenu;
smenu.desc_enabled = true;
smenu.text = _( "Choose type of butchery:" );

smenu.addentry_col( BUTCHER, enough_light, 'B', _( "Quick butchery" ), cut_time( BUTCHER ),
const std::string cannot_see = colorize( _( "can't see!" ), c_red );
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe change it to something like "too dark"? Otherwise players might think that there are some problems with their eyes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Huh, so what happens if the player is boomered etc and actually cannot see? Will they be able to start butchering or is this message displayed?

Copy link
Member Author

Choose a reason for hiding this comment

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

i didn't check with boomered, but i checked with a blindfold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) Items / Item Actions / Item Qualities Items and how they work and interact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zombie Dogs are able to be skinned, produce no hides
4 participants