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

Simplify sterilizing CBM behind the scene logic #33902

Merged
merged 5 commits into from
Sep 10, 2019

Conversation

Fris0uman
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Simplify sterilizing CBM behind the scene logic"

Purpose of change

Failing to pack CBM becomes immediatly apparent
Unpacked CBM are no longer sterile for 1s after coming out of the autoclave.

Describe the solution

Get rid of the faulty package logic
Get rid of the "sterile" var, CBM are now sterile forever or not at all.

Describe alternatives you've considered

Additional context

@kevingranade
Copy link
Member

This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/some-cbms-become-non-sterile-when-removed-from-autoclave/21280/5

src/iuse.cpp Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Bionics CBM (Compact Bionic Modules) Items / Item Actions / Item Qualities Items and how they work and interact labels Sep 9, 2019
src/item.cpp Outdated Show resolved Hide resolved
src/item.cpp Outdated Show resolved Hide resolved
Fris0uman and others added 2 commits September 9, 2019 11:03
Co-Authored-By: Alexey Mostovoy <amurkin1988@yandex.ru>
Co-Authored-By: Anton Burmistrov <Night_Pryanik@mail.ru>
@ZhilkinSerg ZhilkinSerg merged commit 3b10f41 into CleverRaven:master Sep 10, 2019
@Fris0uman Fris0uman deleted the pouch branch September 21, 2019 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bionics CBM (Compact Bionic Modules) [C++] Changes (can be) made in C++. Previously named `Code` 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.

5 participants