module Base
{
    entity SC_StrawDoorFrame
    {
        component UiConfig
        {
            xuiSkin = default,
            entityStyle = ES_SC_StrawDoorFrame,
            uiEnabled = false,
        }

        component SpriteConfig
        {
            health = 200,
            isThumpable = false,
            OnIsValid = BuildRecipeCode.doorFrame.OnIsValid,

            face W
            {
                layer
                {
                    row = sc_strawdoorframe_0,
                }
            }

            face N
            {
                layer
                {
                    row = sc_strawdoorframe_1,
                }
            }
        }

        component CraftRecipe
        {
            timedAction = BuildWallNoTool,
            time = 200,
            category = Carpentry,
            xpAward = Woodwork:10,
            inputs
            {
                item 3 [Base.HayTuft],
                item 2 [Base.TreeBranch2;Base.WoodenStick2],
                item 1 [Base.RippedSheets;Base.RippedSheetsDirty;Base.Twine;Base.Rope;Base.SheetRope] flags[DontReplace],
            }
        }
    }
}