Defines the Thermometer item of the Diseases plugin, a reusable diagnostic tool that tells its user the
temperature of the player being looked at, which is high when they have a fever.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Measures the temperature of the player being looked at, which is high when they have a fever.
Methods
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_thermometer.lua:33Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/items/sh_thermometer.lua:18Measures the temperature of the player being looked at, which is high when they have a fever.
Always returns false, so the thermometer is never used up.
Parameters
- player
- itemEntity