High toxins level cause damage to liver.
Antitoxin stops that damage, and heals liver if it's not too damaged (over 10 damage)
Alcohol causes liver damage and some toxic damage, at the stage where you pass out.
Runtime error fix.
Separated ERT from red alert and other small changes...



Separated the ERT to be callable via the keycard auth device.

Gave the ERT call different messages to work with the above, as well as a message when it has been denied.

The old base amount of 50 was way too stronk. Furthermore, it was added to by other factors from the game. It has been lowered a bit and a proc added in to increase it the longer the round has been going on.

Made it so that you may only attempt to call the ERT a single time.

Changed it so that you only have 5 minutes to join the ERT after it has been called.
Made admins able to override the 'can_call_ert' via force...



And removed a few // DEC I put in for being able to easily hop in the code.
Painkillers stop regular pain messages too, not only custom ones.
Bicaridine stops internal wounds from growing bigger over time.
Does not stop bleeding itself though.
Made character HUD show pain level instead of actual health.

Pain are calculated based on health, but all damages contribute differently, for example 50u burn will feel like 100u, but 50u poisoning would only feel like 25u.
changelog.html
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into pain

Conflicts:
	html/changelog.html
Merge pull request #3422 from Segrain/dev

Slowfix.
Merge pull request #3423 from NicholasDV/ertChanges

ERT Changes
Typo
Merge pull request #3420 from comma/medtweaks

Liver's delight
Merge pull request #3419 from comma/pain

Pain
Compile fixes for organ/reagent code.
Merge pull request #3425 from Zuhayr/feature

Compile fixes for organ/reagent code.
Shuttle doors will now close and lock upon departure
Made maintenance all access capable of being revoked...



Via the keycard authentication consoles.
Actually added the button...