module Base
{
    entity Wood_Stairs
    {
        component UiConfig
        {
            xuiSkin = default,
            entityStyle = ES_Wood_Stairs,
            uiEnabled = false,
        }
        component SpriteConfig
        {
            OnCreate = BuildRecipeCode.stairs.OnCreate,
            OnIsValid = BuildRecipeCode.stairs.OnIsValid,
            health = 150,
            skillBaseHealth = 50,
            face S
            {
                layer
                {
                    row = carpentry_02_90 carpentry_02_89 carpentry_02_88,
                }
            }
            face W
            {
                layer
                {
                    row = carpentry_02_98,
                    row = carpentry_02_97,
                    row = carpentry_02_96,
                }
            }
        }
        component CraftRecipe
        {
            timedAction = BuildWallHammer,
            time = 200,
            SkillRequired = Woodwork:6,
            xpAward = Woodwork:60,
            category = Stairs,
            Tooltip = Tooltip_craft_stairsDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 13 [Base.Plank],
                item 8 [Base.Nails],
            }
        }
    }
}
