This commit is contained in:
Nordi98 2025-07-19 04:03:32 +02:00
parent 5bc7076dbf
commit bd8bb2d99b
19 changed files with 1134 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View file

@ -62,6 +62,14 @@ config.ammo = {
ammo = 120, -- Only works on ammoSystem 1
maxAmmoInWeapon = 250 -- Only works on ammoSystem 1
},
{
ammoType = "AMMO_AIRSOFT",
item = "airsoft_bullets",
ammo = 30, -- Only works on ammoSystem 1
maxAmmoInWeapon = 250 -- Only works on ammoSystem 1
},
-- POLICE
{
ammoType = "AMMO_POLICE_STUNGUN",

View file

@ -771,7 +771,7 @@ itemsData = {
unique = true,
description = 'Carbine Rifle MK2',
image = 'screenshot_455-removebg-preview.png',
label = 'Softair Gewehr',
label = 'Trainings Gewehr',
ammotype = 'AMMO_RIFLE',
name = 'weapon_carbinerifle_mk2',
},
@ -4336,7 +4336,7 @@ itemsData = {
unique = true,
description = 'Sie sieht gefährlich aus, macht Krach und verursacht blaue Flecken.',
image = 'weapon_snspistol_mk2.png',
label = 'Softair Pistole',
label = 'Trainings Pistole',
ammotype = 'AMMO_PISTOL',
name = 'weapon_snspistol_mk2',
},
@ -10588,4 +10588,28 @@ itemsData = {
image = 'weapon_repair_kit.png',
name = 'weapon_repair_kit',
},
weapon_airsoftglock20 = {
shouldClose = true,
type = 'weapon',
description = '',
weight = 1000,
label = 'Softair Klog 20',
unique = true,
useable = true,
image = 'weapon_airsoftglock20.png',
name = 'weapon_airsoftglock20',
},
airsoft_bullets = {
shouldClose = true,
type = 'item',
description = '',
weight = 600,
label = 'Softair Kugeln',
unique = true,
useable = true,
image = 'airsoft_bullets.png',
name = 'airsoft_bullets',
},
}

View file

@ -40,7 +40,7 @@ local weaponsList = {
weapon_revolver = { name = 'weapon_revolver', label = 'Revolver', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_revolver.png', description = 'A pistol with revolving chambers enabling several shots to be fired without reloading' },
weapon_revolver_mk2 = { name = 'weapon_revolver_mk2', label = 'Violence', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_revolver_mk2.png', description = 'da Violence' },
weapon_doubleaction = { name = 'weapon_doubleaction', label = 'Double Action Revolver', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_doubleaction.png', description = 'Double Action Revolver' },
weapon_snspistol_mk2 = { name = 'weapon_snspistol_mk2', label = 'SNS Pistol Mk II', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_snspistol_mk2.png', description = 'SNS Pistol MK2' },
weapon_snspistol_mk2 = { name = 'weapon_snspistol_mk2', label = 'Trainings Pistole', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_snspistol_mk2.png', description = 'SNS Pistol MK2' },
weapon_raypistol = { name = 'weapon_raypistol', label = 'Up-n-Atomizer', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_raypistol.png', description = 'Weapon Raypistol' },
weapon_ceramicpistol = { name = 'weapon_ceramicpistol', label = 'Ceramic Pistol', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_ceramicpistol.png', description = 'Weapon Ceramicpistol' },
weapon_navyrevolver = { name = 'weapon_navyrevolver', label = 'Navy Revolver', weight = 1000, ammotype = 'AMMO_PISTOL', image = 'weapon_navyrevolver.png', description = 'Weapon Navyrevolver' },
@ -73,7 +73,7 @@ local weaponsList = {
weapon_assaultrifle = { name = 'weapon_assaultrifle', label = 'AK 75', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_assaultrifle.png', description = 'A rapid-fire, magazine-fed automatic rifle designed for infantry use' },
weapon_assaultrifle_mk2 = { name = 'weapon_assaultrifle_mk2', label = 'Assault Rifle Mk II', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_assaultrifle_mk2.png', description = 'Assault Rifle MK2' },
weapon_carbinerifle = { name = 'weapon_carbinerifle', label = 'AR 15', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_carbinerifle.png', description = 'A light weight automatic rifle' },
weapon_carbinerifle_mk2 = { name = 'weapon_carbinerifle_mk2', label = 'Carbine Rifle Mk II', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_carbinerifle_mk2.png', description = 'Carbine Rifle MK2' },
weapon_carbinerifle_mk2 = { name = 'weapon_carbinerifle_mk2', label = 'Trainings Gewehr', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_carbinerifle_mk2.png', description = 'Carbine Rifle MK2' },
weapon_advancedrifle = { name = 'weapon_advancedrifle', label = 'Advanced Rifle', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_advancedrifle.png', description = 'An assault version of a rapid-fire, magazine-fed automatic rifle designed for infantry use' },
weapon_specialcarbine = { name = 'weapon_specialcarbine', label = 'KH 450', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_specialcarbine.png', description = 'An extremely versatile assault rifle for any combat situation' },
weapon_bullpuprifle = { name = 'weapon_bullpuprifle', label = 'QBX-92-3', weight = 1000, ammotype = 'AMMO_RIFLE', image = 'weapon_bullpuprifle.png', description = 'A compact automatic assault rifle' },
@ -125,6 +125,15 @@ local weaponsList = {
weapon_fireextinguisher = { name = 'weapon_fireextinguisher', label = 'Fire Extinguisher', weight = 1000, ammotype = nil, image = 'weapon_fireextinguisher.png', description = 'A portable device that discharges a jet of water, foam, gas, or other material to extinguish a fire' },
weapon_hazardcan = { name = 'weapon_hazardcan', label = 'Hazardous Jerry Can', weight = 1000, ammotype = 'AMMO_PETROLCAN', image = 'weapon_hazardcan.png', description = 'Weapon Hazardcan' },
-- Softair
weapon_airsoftglock20 = { name = 'weapon_airsoftglock20', label = 'Softair Klog 20', weight = 1000, ammotype = 'AMMO_AIRSOFT', image = 'weapon_airsoftglock20.png', description = '' },
}
local ammoTypeToPolice = {
AMMO_SMG = "AMMO_POLICE_SMG",