module Base
{
	xuiSkin default
	{
		entity ES_Floor_RailroadDark
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_RailroadDarkFloor,
			Icon		= Build_industry_railroad_05_39,
		}
	}

    entity Floor_RailroadDark
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Floor_RailroadDark,
            uiEnabled       = false,
        }

        component SpriteConfig
        {
		    isThumpable     = false,
		    OnIsValid       = BuildRecipeCode.floor.OnIsValid,
		    OnCreate        = NB_BuildRecipeCode.Floors.OnCreate,
			
            face W
            {
                layer
                {
                    row = industry_railroad_05_38,
                }
            }
            face N
            {
                layer
                {
                    row = industry_railroad_05_39,
                }
            }
        }

        component CraftRecipe
        {
            OnAddToMenu   = ignoreFromBuildMenu,
            timedAction   = BuildLowMetal,
            time          = 100,
            category      = Floors,
            SkillRequired = MetalWelding:3,
            xpAward       = MetalWelding:30,
            ToolTip       = Tooltip_craft_MetalRoofDesc,
            inputs
            {
                item 1 tags[Hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 1 [Base.BlowTorch] flags[DontRecordInput],
                item 2 [Base.SmallSheetMetal],
                item 1 [Base.WeldingRods] flags[DontRecordInput],
            }
        }
    }
}