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

Encapsulate stim and move it to Character #34844

Merged
merged 5 commits into from
Oct 20, 2019

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Encapsulate stim and move it to Character"

Purpose of change

Part of #34721

Describe the solution

Move stim to Character
Make stim private
add get_stim(), set_stim(), mod_stim()
Use new function where appropriate

Describe alternatives you've considered

Testing

Load a new character, snort a bump of coke, everything seem to work as expected

Additional context

src/character.cpp Outdated Show resolved Hide resolved
Co-Authored-By: Curtis Merrill <curtis.r.merrill@gmail.com>
src/consumption.cpp Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics labels Oct 18, 2019
@Fris0uman Fris0uman mentioned this pull request Oct 19, 2019
@ZhilkinSerg ZhilkinSerg merged commit 8e5ba60 into CleverRaven:master Oct 20, 2019
@Fris0uman Fris0uman deleted the wlak branch October 20, 2019 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants