actionfillbottlesnow.c 763 B

12345678910111213141516171819202122232425
  1. class ActionFillBottleSnow: ActionFillBottleBase
  2. {
  3. void ActionFillBottleSnow()
  4. {
  5. m_CallbackClass = ActionFillBottleBaseCB;
  6. m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_FILLING_CONTAINER_SNOW;
  7. m_FullBody = true;
  8. m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
  9. m_SpecialtyWeight = UASoftSkillsWeight.PRECISE_LOW;
  10. m_Text = "#fill";
  11. m_AllowedLiquidMask = LIQUID_SNOW;
  12. }
  13. override protected int GetActionCommandEx(ActionData actionData)
  14. {
  15. //skip parents super, can be omitted if parent is split into two actions
  16. int commandOverride = GetCommandOverride(actionData);
  17. if (commandOverride != -1)
  18. return commandOverride;
  19. return GetActionCommand(actionData.m_Player);
  20. }
  21. }