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

Fix consumption of medications #20027

Merged
merged 3 commits into from Jan 18, 2017

Conversation

Projects
None yet
3 participants
@codemime
Copy link
Member

commented Jan 14, 2017

Fixes #20006.

@codemime

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2017

This is a quick fix. I'm gonna improve the consumption code further.

@keyspace

This comment has been minimized.

Copy link
Contributor

commented Jan 14, 2017

  • Fixes bandage not consumed.
  • Allows activating "cigarette" (and adds effects properly).
  • Doesn't allow activating "pack with cigarette". (sic!)

Attaching savefile used for testing. It's dirtyish. EDIT: Player character has mentioned items in inventory.

test-vanilla.zip

@keyspace

This comment has been minimized.

Copy link
Contributor

commented Jan 14, 2017

Note: even with fix applied, "cigarette" has "actvivate" and "eat" highlighted in inventory-item submenu, whereas "pack of cigarette" doesn't. Eating/activating the latter still works.

@codemime

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2017

Fixed.

@codemime

This comment has been minimized.

Copy link
Member Author

commented Jan 15, 2017

@keyspace Thanks for testing this.

@keyspace

This comment has been minimized.

Copy link
Contributor

commented Jan 15, 2017

Heh, thanks for fixing this. :)


Here's a survivor's note:

I swear, I've been sucking on the same cig for hours now, and IT DOESN'T HELP. All those children at the schoolyard... What have I done?!

@Rivet-the-Zombie Rivet-the-Zombie merged commit 3033633 into CleverRaven:master Jan 18, 2017

1 check passed

default
Details

@codemime codemime deleted the codemime:fix_meds branch Jan 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.