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 tools activating for one turn even without charges #35896

Merged
merged 2 commits into from
Dec 6, 2019
Merged

Fixed tools activating for one turn even without charges #35896

merged 2 commits into from
Dec 6, 2019

Conversation

Night-Pryanik
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fixed tools activating for one turn even without charges."

Purpose of change

Closes #35797. Closes #35524.

Describe the solution

Without charges_per_use field, tools are effectively require no charges to activate. Added this field to various tools (gasoline and electric chainsaws, electric carver, RM13 armor, Shishkebab, hedge trimmer and many others) - 5 charges for power-hungry tools, 1 charge for low fuel/energy consuming tools.

Describe alternatives you've considered

None.

Testing

Spawned empty gasoline chainsaw, tried to activate it, no luck.

Additional context

None.

@Night-Pryanik Night-Pryanik 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 Dec 6, 2019
@ZhilkinSerg ZhilkinSerg merged commit da86792 into CleverRaven:master Dec 6, 2019
@Night-Pryanik Night-Pryanik deleted the fix-tools-activation-with-zero-charges branch December 7, 2019 03:51
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
2 participants