module Base
{
	xuiSkin default
	{
		entity ES_Wood_WhiteExteriorDoor
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_WhiteExteriorWoodenDoor,
			Icon		= Build_fixtures_doors_01_46,
		}
	}

    entity Wood_WhiteExteriorDoor
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_WhiteExteriorDoor,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			skillBaseHealth = 400,
			breakSound      = BreakDoor,
			
            face W
            {
                layer
                {
                    row = fixtures_doors_01_44,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_doors_01_45,
                }
            }
			face W_OPEN
            {
                layer
                {
					row = fixtures_doors_01_46,
                }
            }
            face N_OPEN
            {
                layer
                {
					row = fixtures_doors_01_47,
                }
            }
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Doors,
            SkillRequired = Woodwork:7;Glassmaking:2,
            xpAward       = Woodwork:70:Glassmaking:20,
            ToolTip       = Tooltip_craft_woodenDoorDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 1 [Base.PaintWhite] flags[DontRecordInput],
				item 4 [Base.Plank],
				item 4 [Base.Nails],
				item 2 [Base.Hinge],
				item 1 [Base.Doorknob],
            }
        }
    }
}