Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
charcoaltablets.c
Go to the documentation of this file.
1 class CharcoalTablets extends Edible_Base
2 {
3  override void SetActions()
4  {
5  super.SetActions();
6 
9  }
10 
11  override void OnConsume(float amount, PlayerBase consumer)
12  {
13  if (!consumer.GetModifiersManager().IsModifierActive(eModifiers.MDF_CHARCOAL))
14  consumer.GetModifiersManager().ActivateModifier(eModifiers.MDF_CHARCOAL);
15 
16  }
17 }
ActionEatTabletFromWrapper
Definition: actioneattabletfromwrapper.c:1
ActionForceConsumeSingle
void ActionForceConsumeSingle()
Definition: actionforceconsumesingle.c:13
PlayerBase
Definition: playerbaseclient.c:1
AddAction
void AddAction(typename actionName)
Definition: advancedcommunication.c:86
eModifiers
eModifiers
Definition: emodifiers.c:1
SetActions
void SetActions()
Definition: advancedcommunication.c:79
OnConsume
void OnConsume(float amount, PlayerBase consumer)
Edible_Base
Definition: bearsteakmeat.c:1