module Base
{
	xuiSkin default
	{
		entity ES_SES_Oak_Wooden_Stairs
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= Oak Wooden Stairs (N/S/W/E),
			Icon		= Build_StairsOakWooden,
		}
	}

    entity SES_Oak_Wooden_Stairs
    {
        component UiConfig
		{
			xuiSkin         = default,
			entityStyle     = ES_SES_Oak_Wooden_Stairs,
			uiEnabled       = false,
		}

        component SpriteConfig
        {
			OnCreate = SES_BuildRecipeCode.stairs.OnCreate,
			OnIsValid = SES_BuildRecipeCode.stairs.OnIsValid,

            face S
            {
                layer
                {
                    row = SES_fixtures_stairs_01_66 SES_fixtures_stairs_01_65 SES_fixtures_stairs_01_64,
                }
            }
            face W
            {
                layer
                {
                    row = SES_fixtures_stairs_01_74,
                    row = SES_fixtures_stairs_01_73,
                    row = SES_fixtures_stairs_01_72,
                }
            }
            face N
            {
                layer
                {
                    row = SES_fixtures_stairs_01_68 SES_fixtures_stairs_01_69 SES_fixtures_stairs_01_70,
                }
            }
            face E
            {
                layer
                {
                    row = SES_fixtures_stairs_01_76,
					row = SES_fixtures_stairs_01_77,
					row = SES_fixtures_stairs_01_78,
                }
            }
        }
        
        component CraftRecipe
        {
            timedAction   = BuildWallHammer,
            time          = 200,
            SkillRequired = Woodwork:7,
            xpAward       = Woodwork:60,
            category      = Carpentry,
            ToolTip       = Tooltip_craft_stairsDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 13 [Base.Plank],
                item 8 [Base.Nails],
            }
        }
    }
}