module Base
{
	xuiSkin default
	{
		entity ES_Floor_DirtEdge
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DirtEdgeFloor,
			Icon		= Build_blends_natural_01_77,
		}
	}

    entity Floor_DirtEdge
    {
        component UiConfig
                {
                    xuiSkin         = default,
                    entityStyle     = ES_Floor_DirtEdge,
                    uiEnabled       = false,
                }

        component SpriteConfig
        {
		    isThumpable     = false,
		    OnIsValid       = BuildRecipeCode.floor.OnIsValid,
		    OnCreate        = NB_BuildRecipeCode.PartFloors.OnCreate,
			
            face W
            {
                layer
                {
                    row = blends_natural_01_77,
                }
            }
            face N
            {
                layer
                {
                    row = blends_natural_01_76,
                }
            }
            face E
            {
                layer
                {
                    row = blends_natural_01_78,
                }
            }
            face S
            {
                layer
                {
                    row = blends_natural_01_79,
                }
            }
        }
		
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = EmptyBag,
            time          = 50,
            category      = Floors,
            ToolTip       = Tooltip_craft_dirtFloorDesc,
            inputs
            {
                item 1 [Base.Dirtbag] flags[Prop1],
            }
        }
    }
}