3 override void CreateActionComponent()
18 m_Text =
"#build_stonecircle";
41 Object target_object = target.GetObject();
43 if ( target_object && target_object.IsFireplace() )
47 if ( fireplace_target.IsBaseFireplace() && fireplace_target.CanBuildStoneCircle() )
58 Object target_object = action_data.m_Target.GetObject();
61 if ( fireplace_target.CanBuildStoneCircle() )
63 ItemBase attached_item =
ItemBase.Cast( fireplace_target.GetAttachmentByType( fireplace_target.ATTACHMENT_STONES ) );
70 fireplace_target.SetStoneCircleState(
true );
73 fireplace_target.SetLifetimeMax(
FireplaceBase.LIFETIME_FIREPLACE_STONE_CIRCLE );