module Base
{
	xuiSkin default
	{
		entity ES_Pottery_GreyTileWindowFrame
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_GreyTileWindowFrame,
			Icon		= Build_walls_commercial_03_57,
		}
	}

    entity Pottery_GreyTileWindowFrame
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Pottery_GreyTileWindowFrame,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			LogicClass      = WoodenWall,
			health          = 650,
       		skillBaseHealth = 20,
			previousStage   = WoodenWallFrame;MetalWallFrame,
            OnCreate        = NB_BuildRecipeCode.NewWall.OnCreate,

            face W
            {
                layer
                {
                    row = walls_commercial_03_56,
                }
            }
            face N
            {
                layer
                {
                    row = walls_commercial_03_57,
                }
            }
			
            corner = walls_commercial_03_51,
        }
		
        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallNoTool,
            time          = 200,
            category      = Windows,
            SkillRequired = Pottery:5,
            xpAward       = Pottery:50,
            ToolTip       = Tooltip_craft_NeedsWallframeDesc,
            inputs
            {
                item 1 tags[PlasterTrowel;MasonsTrowel] mode:keep flags[Prop1],
                item 1 tags[Hammer] mode:keep flags[Prop2;MayDegradeVeryLight],
                item 1 [Base.BucketPlasterFull] flags[DontRecordInput],
                item 3 [Base.ClayTile],
                item 4 [Base.Nails],
            }
        }
    }
}