Defines the Premium Supplements food item (premium_supplements) handed out by the high tier ration packets, which heals 5 health, boosts endurance by 2 for two minutes and leaves an empty cardboard box.

Summary

Methods

Lets the item be dropped; nothing else happens.
Heals 5 health, boosts endurance by 2 for two minutes and gives back an empty cardboard box.

Methods

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnUse(player, itemEntity)

shared gamemodes/cwhl2rp/schema/items/sh_premium_supplements.lua:16

Heals 5 health, boosts endurance by 2 for two minutes and gives back an empty cardboard box.

Parameters

  • player
  • itemEntity

Defined in