module Base
{
	xuiSkin default
	{
		entity ES_Wood_DarkWallLvl2
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DarkWoodenWall(Poor),
			Icon		= Build_walls_exterior_wooden_01_65,
		}
	}

    entity WoodenDarkWallLvl2
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_DarkWallLvl2,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
			LogicClass      = WoodenWall,
			health          = 550,
       		skillBaseHealth = 20,
			previousStage   = WoodenWallFrame;MetalWallFrame;WoodenWallLvl1,
			breakSound      = ZombieThumpWoodCollapse,

            face W
            {
                layer
                {
                    row = walls_exterior_wooden_01_64,
                }
            }
            face N
            {
                layer
                {
                    row = walls_exterior_wooden_01_65,
                }
            }
			
			corner = walls_exterior_wooden_01_31,
        }
		
		component CraftRecipe
        {
            OnAddToMenu   = woodenWallLvl2Test,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Walls,
            SkillRequired = Woodwork:4,
            xpAward       = Woodwork:40,
            ToolTip       = Tooltip_craft_NeedsWallframeDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 2 [Base.Plank],
                item 4 [Base.Nails],
            }
        }
    }
}