Defines the Pack of Probiotics medical item (probiotics) of the Diseases plugin, which cures diarrhea when it is
swallowed or given to the player being looked at with its Give action.
Summary
Methods
Gives the probiotics to the player being looked at with "Give", curing their diarrhea.
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Cures the player's diarrhea and fires
PlayerHealed.Methods
ITEM:OnCustomFunction(player, name)
server gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_propbiotics.lua:30Gives the probiotics to the player being looked at with "Give", curing their diarrhea.
Fires PlayerHealed with the giver as the healer. Returns false when no player is looked at.
Parameters
- player
- name
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_propbiotics.lua:49Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_propbiotics.lua:18Cures the player's diarrhea and fires PlayerHealed.
Parameters
- player
- itemEntity