Skip to content

Commit

Permalink
N2O no longer puts you into a coma (#2850)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Replaces add sleep with set sleep for nitrous so the current sleep +4
seconds doesnt stack with itself to comically high numbers

## Why It's Good For The Game

If i wanted to sleep id get a blanket not a silly tank

## Changelog

:cl:
fix: anesthetic can no longer semi permanently knock people out
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

---------

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Apr 11, 2024
1 parent 54dbb55 commit 268f27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/lungs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
if(SA_pp > SA_para_min) // Enough to make us stunned for a bit
H.Unconscious(60) // 60 gives them one second to wake up and run away a bit!
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
H.Sleeping(max(H.AmountSleeping() + 40, 200))
H.Sleeping(200)
else if(SA_pp > 0.01) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
if(prob(20))
H.emote(pick("giggle", "laugh"))
Expand Down

0 comments on commit 268f27d

Please sign in to comment.