actionforcefeedmeat.c 708 B

1234567891011121314151617181920212223242526
  1. class ActionForceFeedMeatCB : ActionContinuousBaseCB
  2. {
  3. override void CreateActionComponent()
  4. {
  5. m_ActionData.m_ActionComponent = new CAContinuousQuantityEdible(UAQuantityConsumed.EAT_NORMAL,UATimeSpent.DEFAULT);
  6. }
  7. };
  8. //!DEPRECATED
  9. class ActionForceFeedMeat: ActionForceConsume
  10. {
  11. void ActionForceFeedMeat()
  12. {
  13. m_CallbackClass = ActionForceFeedMeatCB;
  14. m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_FORCEFEED;
  15. m_FullBody = true;
  16. m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
  17. m_Text = "#feed";
  18. }
  19. override void CreateConditionComponents()
  20. {
  21. m_ConditionTarget = new CCTMan(UAMaxDistances.DEFAULT);
  22. m_ConditionItem = new CCINonRuined;
  23. }
  24. };