3 override void CreateActionComponent()
18 m_Text =
"#dismantle_stonecircle";
40 Object target_object = target.GetObject();
42 if ( target_object && target_object.IsFireplace() )
46 if ( fireplace_target.IsBaseFireplace() && fireplace_target.CanDismantleStoneCircle() )
57 Object target_object = action_data.m_Target.GetObject();
60 if ( fireplace_target.CanDismantleStoneCircle() )
62 ItemBase attached_item =
ItemBase.Cast( fireplace_target.GetAttachmentByType( fireplace_target.ATTACHMENT_STONES ) );
65 fireplace_target.SetStoneCircleState(
false );
68 fireplace_target.SetLifetimeMax( 10800 );