module Base {

    xuiSkin default {
		entity ES_HotBrassReloadingBench
		{
			LuaWindowClass  = ISEntityWindow,
			DisplayName     = Ammo Reloading Bench,
			Icon            = Build_AmmoReloadingBench,
		}
    }

    entity HotBrassReloadingBench {
        component UiConfig {
            xuiSkin     = default,
            entityStyle = ES_HotBrassReloadingBench,
            uiEnabled   = true,
        }

        component CraftBench {
            Recipes = AmmoReloadingBench,
        }

        component SpriteConfig {
            face S {
                layer {
                    row = HotBrassReloadingBench_0,
                }
            }
            face E {
                layer {
                    row = HotBrassReloadingBench_1,
                }
            }
            face N {
                layer {
                    row = HotBrassReloadingBench_2,
                }
            }
            face W {
                layer {
                    row = HotBrassReloadingBench_3,
                }
            }
        }

        component CraftRecipe {
            timedAction   = BuildWoodenStructureSmall,
            time          = 50,
            SkillRequired = Woodwork:3,
            xpAward       = Woodwork:50,
            category      = AmmoCrafting,
            Tags          = Carpentry;Furniture,
            Tooltip       = Tooltip_craft_reloadingBenchDesc,
            inputs {
                item 1 tags[base:hammer] mode:keep flags[Prop1;MayDegradeVeryLight],
                item 2 [Base.Plank],
                item 2 [Base.Nails],
                item 1 [HBAC.ReloadingTool],
            }
        }
    }

    item HotBrassReloadingBench {
        DisplayCategory   = Furniture,
        ItemType          = base:moveable,
        Icon              = default,
        Weight            = 0.5,
        WorldObjectSprite = HotBrassReloadingBench_0,
    }
}