module Base

{

	xuiSkin default

	{

		entity ES_Pottery_GreyTileDoorFrame

		{

			LuaWindowClass	= ISEntityWindow,

			DisplayName	= NBEntityName_GreyTileDoorFrame,

			Icon		= Build_walls_commercial_03_59,

		}

	}



    entity Pottery_GreyTileDoorFrame

    {

        component UiConfig

        {

            xuiSkin         = default,

            entityStyle     = ES_Pottery_GreyTileDoorFrame,

            uiEnabled       = false,

        }



        component SpriteConfig

        {

			skillBaseHealth = 300,

			isThumpable     = false,

			OnIsValid = BuildRecipeCode.doorFrame.OnIsValid,



            face W

            {

                layer

                {

                    row = walls_commercial_03_58,

                }

            }

            face N

            {

                layer

                {

                    row = walls_commercial_03_59,

                }

            }

			

            corner = walls_commercial_03_51,

        }

		

        component CraftRecipe

        {

            OnAddToMenu   = ignoreFromBuildMenu,

            timedAction   = BuildWallHammer,

            time          = 200,

            category      = Doors,

            SkillRequired = Pottery:5,

            xpAward       = Pottery:50,

			ToolTip       = Tooltip_craft_doorFrameDesc,

            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 2 [Base.ClayTile],

                item 2 [Base.Nails],

            }

        }

    }

}