item_antidote
#
Antidote (also known as antitoxin) is a pickable item that is used automatically upon the player getting the time based damage effect from poison and nervegas and also gives temporary immunity against the subsequent time based damage (but doesn’t protect from the impact damage).
The limit on the number of antidotes the player can carry is configured in templates/inventory.json. By default there’s no limit.
When
item_antidoteis picked up the suit plays the!HEV_DET4sentence. This can be configured via the entity templates.When
item_antidoteis getting used the suit plays the!HEV_HEAL4sentence.
See also: item_radiation
Changes #
- Stops poison/nervegas time based effect faster.
- If
item_antidoteis defined in hud.txt it will be used to show the antidote in pickup history. - If
item_antidoteis defined in hud.txt the antidote sprite along with the current count will be shown in HUD, among player inventory items.
New parameters #
Pickup sound- custom pickup sound (by defaultitem_antidotewill use the Antidote.Pickup soundscript).
Skill variables #
- sk_antidote_time - how long the player will be protected from getting the time based effect from the subsequent toxic attacks after the antidote has been applied. This is 10 seconds by default.
Soundscripts #
- Antidote.Pickup - the antidote is getting picked up.
- Player.AntidoteUse
Entity template examples #
{
"item_antidote": {
"pickup": {
"suit_sentence": "!HEV_ANTIDOTE"
}
}
}
Possible sentences.txt entry:
HEV_ANTIDOTE fvox/blip blip blip, antitoxin_shot(e50), acquired