module Base
{
	xuiSkin default
	{
		entity ES_Wood_DoubleDoorDark
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DoubleDoorDark,
			Icon		= Build_fixtures_doors_fences_01_50,
		}
	}

    entity Wood_DoubleDoorDark
    {
        component UiConfig
                {
                    xuiSkin         = default,
                    entityStyle     = ES_Wood_DoubleDoorDark,
                    uiEnabled       = false,
                }

        component SpriteConfig
        {
			skillBaseHealth = 300,
			dontNeedFrame	= true,
			breakSound      = BreakDoor,
			
            face W
            {
                layer
                {
                    row = fixtures_doors_fences_01_49,
                    row = fixtures_doors_fences_01_48,
                    row = fixtures_doors_fences_01_57,
                    row = fixtures_doors_fences_01_56,
                }
            }
            face N
            {
                layer
                {
                    row = fixtures_doors_fences_01_50 fixtures_doors_fences_01_51 fixtures_doors_fences_01_58 fixtures_doors_fences_01_59,
                }
            }
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Doors,
            SkillRequired = Woodwork:4,
            xpAward       = Woodwork:40,
            ToolTip       = Tooltip_craft_doubleWoodenDoorDesc,
            inputs
            {
                item 1 tags[base:hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 8 [Base.Plank],
                item 8 [Base.Nails],
                item 4 [Base.Hinge],
                item 2 [Base.Doorknob],
            }
        }
    }
}