Skip to content

Commit

Permalink
Better Gas masks - Model concentration better, and make gas mask cart…
Browse files Browse the repository at this point in the history
…iges last longer (#68570)

* Some initial work on better modelling of gas mask usage, doesn't work as I can't get the intensity level

* add absorbtion calculation

* Modify calculation to make gas mask last 20 minutes from full charge in thick toxic gas

* Add low gas charges warning

* Change gas_absorption _factor to be a timescale

* Fix loading of concentration

* Add documentation

* linting C++ code

* Apply suggestions from code review

Add linting suggestions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

* Better documentation clarity

* Update src/iuse.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Zhilkin Serg <[email protected]>
  • Loading branch information
3 people authored Oct 13, 2023
1 parent e130926 commit 7c8fdbd
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 48 deletions.
Loading

0 comments on commit 7c8fdbd

Please sign in to comment.