module Base
{
	xuiSkin default
	{
		entity ES_Floor_RailroadLight
		{
			LuaWindowClass	= ISEntityWindow,
			DisplayName	= NBEntityName_RailroadLightFloor,
			Icon		= Build_industry_railroad_05_23,
		}
	}

    entity Floor_RailroadLight
    {
        component UiConfig
        {
            xuiSkin         = default,
            entityStyle     = ES_Floor_RailroadLight,
            uiEnabled       = false,
        }

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

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