<table name="p38mod">
	<Localization directory="Localization" default="english.txt">
	</Localization>
	<AssetUpdates id="17771" name="asset_updates" folder_name="Walther P38" provider="lastbullet"/>
	<GlobalValue id="p38mod" color="Color(0.7, 0.2, 0.1)"/>
	<WeaponMod id="wpn_fps_pis_p38_barrel" based_on="wpn_fps_pis_beretta_b_std" a_obj="a_o" type="slide" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_pis_p38_frame" based_on="wpn_fps_pis_beretta_body_beretta" type="lower_reciever" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_pis_p38_grip" based_on="wpn_fps_pis_beretta_g_std" type="grip" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_pis_p38_irons" based_on="wpn_fps_smg_polymer_o_iron" type="sight" unit="units/payday2/weapons/wpn_upg_dummy/wpn_upg_dummy" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_pis_p38_mag" based_on="wpn_fps_pis_beretta_m_std" type="magazine" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag" drop="false" is_a_unlockable="false"/>
	
	<WeaponMod id="wpn_fps_pis_p38_rail" based_on="wpn_fps_pis_beretta_body_rail" type="extra" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_pis_p38_slide" based_on="wpn_fps_pis_beretta_sl_std" type="upper_reciever" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide" drop="false" is_a_unlockable="false"/>

	<WeaponMod id="wpn_fps_upg_p38_grip_p1" based_on="wpn_fps_pis_beretta_g_std" type="grip" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1" drop="false" texture_bundle_folder="mods" is_a_unlockable="true">
		<stats concealment="1"/>
		<pcs/>
	</WeaponMod>

	<WeaponMod id="wpn_fps_upg_p38_grip_pearl" based_on="wpn_fps_pis_beretta_g_std" type="grip" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl" drop="false" texture_bundle_folder="mods" is_a_unlockable="true">
		<stats recoil="1" concealment="-1"/>
		<pcs/>
	</WeaponMod>
	<WeaponMod id="wpn_fps_pis_p38_mag_extended" based_on="wpn_fps_pis_beretta_m_extended" type="magazine" unit="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended" drop="false" texture_bundle_folder="mods" is_a_unlockable="true">
		<stats extra_ammo="4" concealment="-2"/>
		<pcs/>
	</WeaponMod>
	
	<WeaponNew unlock_level="20">
		<weapon id="p38" based_on="b92fs" CLIP_AMMO_MAX="8" NR_CLIPS_MAX="20" texture_bundle_folder="mods" global_value="p38mod">
			<stats spread="17" spread_moving="17" recoil="13" zoom="1"/>
			<fire_mode_data fire_rate="0.12"/>
			<animations reload_name_id="b92fs" equip_id="equip_glock" recoil_steelsight="true">
			</animations>
		</weapon>
        <factory id="wpn_fps_pis_p38" unit="units/mods/weapons/wpn_fps_pis_p38/wpn_fps_pis_p38">
			<optional_types>
				<value_node value="barrel_ext"/>
				<value_node value="gadget"/>
			</optional_types>
			<default_blueprint>
				<value_node value="wpn_fps_pis_p38_barrel"/>
				<value_node value="wpn_fps_pis_p38_frame"/>
				<value_node value="wpn_fps_pis_p38_grip"/>
				<value_node value="wpn_fps_pis_p38_irons"/>
				<value_node value="wpn_fps_pis_p38_mag"/>
				<value_node value="wpn_fps_pis_p38_slide"/>
			</default_blueprint>
			<uses_parts>
				<value_node value="wpn_fps_pis_p38_barrel"/>
				<value_node value="wpn_fps_pis_p38_frame"/>
				<value_node value="wpn_fps_pis_p38_grip"/>
				<value_node value="wpn_fps_pis_p38_irons"/>
				<value_node value="wpn_fps_pis_p38_mag"/>
				<value_node value="wpn_fps_pis_p38_mag_extended"/>
				<value_node value="wpn_fps_pis_p38_slide"/>

				<value_node value="wpn_fps_upg_p38_grip_p1"/>
				<value_node value="wpn_fps_upg_p38_grip_pearl"/>

				<value_node value="wpn_fps_upg_fl_pis_laser"/>
				<value_node value="wpn_fps_upg_fl_pis_tlr1"/>
				<value_node value="wpn_fps_upg_fl_pis_crimson"/>
				<value_node value="wpn_fps_upg_fl_pis_x400v"/>
				<value_node value="wpn_fps_upg_fl_pis_m3x"/>
				<value_node value="wpn_fps_upg_ns_pis_large"/>
				<value_node value="wpn_fps_upg_ns_pis_medium"/>
				<value_node value="wpn_fps_upg_ns_pis_small"/>
				<value_node value="wpn_fps_upg_ns_pis_large_kac"/>
				<value_node value="wpn_fps_upg_ns_pis_medium_gem"/>
				<value_node value="wpn_fps_upg_ns_pis_medium_slim"/>
				<value_node value="wpn_fps_upg_ns_pis_meatgrinder"/>
				<value_node value="wpn_fps_upg_pis_ns_flash"/>
				<value_node value="wpn_fps_upg_ns_pis_ipsccomp"/>
				<value_node value="wpn_fps_upg_ns_pis_jungle"/>
			</uses_parts>
		</factory>
		<stance/>
	</WeaponNew>
	<AddFiles directory="assets">
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/p38_df"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/p38_grip_p1_df"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/p38_grip_pearl_df"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/p38_grip_pearl_nm"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/p38_nm"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/rail_df"/>
		<texture path="units/mods/weapons/wpn_fps_pis_p38_pts/rail_nm"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38/wpn_fps_pis_p38"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38/wpn_fps_pis_p38"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38/wpn_fps_pis_p38"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38/wpn_fps_pis_p38"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_barrel_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_frame_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_grip_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_mag_extended_thq"/>
		
		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_rail_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_pis_p38_slide_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_p1_thq"/>

		<cooked_physics path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl"/>
		<model path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl"/>
		<object path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl"/>
		<unit path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl"/>
		<material_config path="units/mods/weapons/wpn_fps_pis_p38_pts/wpn_fps_upg_p38_grip_pearl_thq"/>

		<texture path="guis/dlcs/mods/textures/pd2/blackmarket/icons/mods/wpn_fps_upg_p38_grip_p1"/>
		<texture path="guis/dlcs/mods/textures/pd2/blackmarket/icons/mods/wpn_fps_upg_p38_grip_pearl"/>
		<texture path="guis/dlcs/mods/textures/pd2/blackmarket/icons/mods/wpn_fps_pis_p38_mag_extended"/>
		<texture path="guis/dlcs/mods/textures/pd2/blackmarket/icons/weapons/p38"/>
	</AddFiles>
	<Hooks directory="Hooks">
		<hook file="weaponfactorytweakdata.lua" source_file="lib/tweak_data/weaponfactorytweakdata"/>
	</Hooks>
</table>