module Base
{
	xuiSkin default
	{
		entity ES_Wood_DarkDoorFrameLvl1
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_DarkWoodDoorFrame(Shoddy),
			Icon		= Build_walls_exterior_wooden_01_78,
		}
	}

    entity WoodenDarkDoorFrameLvl1
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Wood_DarkDoorFrameLvl1,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
            skillBaseHealth = 300,
            isThumpable     = false,
            OnIsValid       = BuildRecipeCode.doorFrame.OnIsValid,

            face W
            {
                layer
                {
                    row = walls_exterior_wooden_01_78,
                }
            }
            face N
            {
                layer
                {
                    row = NB_building_tiles_01_0,
                }
            }

            corner = walls_exterior_wooden_01_31,
        }

        component CraftRecipe
        {
            OnAddToMenu   = woodenDoorFrameLvl1Test,
            timedAction   = BuildWallHammer,
            time          = 200,
            category      = Doors,
            SkillRequired = Woodwork:2,
            xpAward       = Woodwork:20,
            Tooltip       = Tooltip_craft_doorFrameDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 4 [Base.Plank],
                item 4 [Base.Nails],
            }
        }
    }
}