3 override void CreateActionComponent()
41 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
44 Object target_object = target.GetObject();
46 if ( target_object && target_object.IsFireplace() )
50 if ( fireplace_target.IsBaseFireplace() && fireplace_target.CanBuildOven() )
61 Object target_object = action_data.m_Target.GetObject();
64 if ( fireplace_target.CanBuildOven() )
66 ItemBase attached_item =
ItemBase.Cast( fireplace_target.GetAttachmentByType( fireplace_target.ATTACHMENT_STONES ) );
73 fireplace_target.SetOvenState(
true );
74 fireplace_target.SetOrientation( action_data.m_Player.GetOrientation() -
"180 0 0" );
77 fireplace_target.SetLifetimeMax(
FireplaceBase.LIFETIME_FIREPLACE_STONE_OVEN );