module Base

{

	xuiSkin default

	{

		entity ES_Wood_GreenPanelDoorFrame

		{

			LuaWindowClass	= ISEntityWindow,

			DisplayName	= NBEntityName_GreenPanelDoorFrame,

			Icon		= Build_walls_exterior_house_02_91,

		}

	}



    entity Wood_GreenPanelDoorFrame

    {

        component UiConfig

        {

            xuiSkin         = default,

            entityStyle     = ES_Wood_GreenPanelDoorFrame,

            uiEnabled       = false,

        }



        component SpriteConfig

        {

			skillBaseHealth = 300,

			isThumpable     = false,
			OnIsValid = BuildRecipeCode.doorFrame.OnIsValid,



            face W

            {

                layer

                {

                    row = walls_exterior_house_02_90,

                }

            }

            face N

            {

                layer

                {

                    row = walls_exterior_house_02_91,

                }

            }

			

            corner = walls_exterior_house_02_83,

        }

		

        component CraftRecipe

        {

            OnAddToMenu   = ignoreFromBuildMenu,

            timedAction   = BuildWallHammer,

            time          = 200,

            category      = Doors,

            SkillRequired = Woodwork:6,

            xpAward       = Woodwork:60,

            ToolTip       = Tooltip_craft_NeedsWallframeDesc,

            inputs

            {

                item 1 tags[PlasterTrowel;MasonsTrowel] mode:keep flags[Prop1],

                item 1 tags[base:hammer] mode:keep flags[Prop2;MayDegradeVeryLight],

                item 1 [Base.PaintGreen] flags[DontRecordInput],

                item 1 [Base.BucketPlasterFull] flags[DontRecordInput],

                item 2 [Base.Plank],

                item 4 [Base.Nails],

            }

        }

    }

}