cmss13-devs / cmss13-devs/cmss13

Nutriment doesn't trigger "vomit" threshold via Gas-Inhalation/Injector-injection

Open
#11,607 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
DM
Stars
170
Forks
940
Avg merge
5d 16h
Merged PRs (30d)
61

Description

## Testmerges
#10999: 'Fix of various plane related issues' by Blundir at commit f85a7153c4
#11389: 'Yautja Leap' by realforest2001 at commit 0fd7966dd6
#11214: 'Proof of concept movielike pred invisibility' by Blundir at commit d8fc73ab73
#9404: 'Guns can now drop bullet casings' by Nihisohel at commit 448bf01707
#11459: 'admin ranks from api' by hry-gh at commit 89509ee4eb
#10823: 'Abyssal Station - (Lowpop) Ground Map' by Steelpoint at commit a0926106de
#9774: 'Adds a minesweeper game to a bunch of interactions.' by kiVts at commit ea0ae40948
#11589: 'byondoidc' by hry-gh at commit e07220a9e1
#11575: 'whiteflame nerfs' by kiVts at commit 15410b2063
#11541: 'Leadership Changes: Megaphone Additions' by Nihisohel at commit 076576e4be

## Round ID
32078

## Description of the bug
Title.

Currently, the OD threshold of nutriment (and it's subtypes) is 60 units of all types of nutriment combined, and when reached, will cause the consumer to vomit with a 20-second slow, and a 10-second vomit-stun that follows after.

But, *this only triggers upon EATING FOOD*.
Which means, you can inject your self/inhale the gas with nutriment chems without worrying about vomiting.

## What's the difference with what should have happened?
The code should still proc the OD threshold even if the user hasn't "bitten" into a food-stuff. It should still proc when the amount of nutriment (and it's subtypes) have increased the total amount of units above 60.00 units.

## How do we reproduce this bug?
1) Grind protein bars, and get a syringe.
2) Syringe your self with the nutriment something like 8-10 times.
3) Be amazed that you didn't vomit.
Optional:
After previous steps:
4) Set your hunger to starving (red burger icon)
5) Spam eating protein bars for like 30 seconds until you couldn't do it anymore.
6) Wait for a few seconds.
7) Gain slowdown for 15-20 seconds, then vomit.

## Attached logs
```
N/A
```

## Additional details
- Author: Undesirable_Beholder
- Admin: SmellyHippie
- Note: None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.