60 {
61 Object target_object = action_data.m_Target.GetObject();
63
64 if ( fireplace_target.CanBuildOven() )
65 {
66 ItemBase attached_item =
ItemBase.Cast( fireplace_target.GetAttachmentByType( fireplace_target.ATTACHMENT_STONES ) );
67
68
69
70
71
72
73 fireplace_target.SetOvenState( true );
74 fireplace_target.SetOrientation( action_data.m_Player.GetOrientation() - "180 0 0" );
75
76
77 fireplace_target.SetLifetimeMax(
FireplaceBase.LIFETIME_FIREPLACE_STONE_OVEN );
78 }
79 }