module Base
{
	xuiSkin default
	{
		entity ES_Wood_WhiteRailingFence
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_WhiteRailingFence,
			Icon		= Build_fixtures_railings_01_65,
		}
	}

    entity Wood_WhiteRailingFence
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_WhiteRailingFence,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			health          = 250,
			skillBaseHealth = 20,

            face W
            {
                layer
                {
                    row = fixtures_railings_01_64,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_railings_01_65,
                }
            }
            corner  =   fixtures_railings_01_67,
        }
		
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWoodenStructureSmall,
            time          = 50,
            SkillRequired = Woodwork:3,
            xpAward       = Woodwork:30,
            category      = Fences,
            ToolTip       = Tooltip_craft_sandBagDesc,
            inputs
            {
                item 1 tags[base:hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 1 [Base.PaintWhite] flags[DontRecordInput],
                item 3 [Base.Plank],
                item 4 [Base.Nails],
            }
        }
    }
}