module Base
{


	/************************Sawed-off Firearms************************/
	craftRecipe firearmsSawOffRifle
	{
		timedAction = SawOffShotgun,
		Time = 200,
		OnCreate = firearms_onCreate_ShotgunSawnoff,
		ToolTip = Tooltip_Recipe_NeedSawMetal,
		Tags = InHandCraft,
		category = Weaponry,
		inputs
		{
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[Prop1;MayDegrade],
			item 1 [HuntingRifle;Winchester94;Marlin1894] flags[Prop2;InheritCondition;InheritAmmunition] mappers[rifleType],
		}
		outputs
		{
			item 1 mapper:rifleType,
		}
		itemMapper rifleType
		{
			Base.HuntingRifle_Sawn = Base.HuntingRifle,
			Base.Winchester94_Sawn = Base.Winchester94,
			Base.Marlin1894_Sawn = Base.Marlin1894,
		}
	}

	craftRecipe firearmsSawOffShotgun
	{
		timedAction = SawOffShotgun,
		Time = 200,
		OnCreate = firearms_onCreate_ShotgunSawnoff,
		ToolTip = Tooltip_Recipe_NeedSawMetal,
		Tags = InHandCraft,
		category = Weaponry,
		inputs
		{
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[Prop1;MayDegrade],
			item 1 [Base.M37;Base.Remington870Wood] flags[Prop2;InheritCondition;InheritAmmunition] mappers[shotgunType],
		}
		outputs
		{
			item 1 mapper:shotgunType,
		}
		itemMapper shotgunType
		{
			Base.M37Sawnoff = Base.M37,
			Base.Remington870Sawnoff = Base.Remington870Wood,
		}
	}

}
