From 9a0f5df8ab6a435879309d62474bc7c1a596a036 Mon Sep 17 00:00:00 2001 From: Niezann Date: Mon, 26 Aug 2024 04:40:47 -0700 Subject: [PATCH 1/2] dart gun fixs (+ sprites for darts) --- .../ammunition/calibers/special/dart.dm | 8 +++++--- icons/modules/projectiles/casings/slim.dmi | Bin 1299 -> 1347 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/projectiles/ammunition/calibers/special/dart.dm b/code/modules/projectiles/ammunition/calibers/special/dart.dm index a52d0c1939dc..118dac8ddb33 100644 --- a/code/modules/projectiles/ammunition/calibers/special/dart.dm +++ b/code/modules/projectiles/ammunition/calibers/special/dart.dm @@ -6,12 +6,13 @@ /obj/item/ammo_casing/dart/chemdart name = "chemical dart" desc = "A casing containing a small hardened, hollow dart." - icon_state = "dartcasing" + icon_state = "dart" caliber = /datum/ammo_caliber/dart projectile_type = /obj/projectile/bullet/chemdart /obj/item/ammo_casing/dart/chemdart/small name = "short chemical dart" + icon_state = "dartsmall" desc = "A casing containing a small hardened, hollow dart." projectile_type = /obj/projectile/bullet/chemdart/small @@ -21,6 +22,7 @@ name = "dart cartridge" desc = "A rack of hollow darts." + icon = 'icons/modules/projectiles/magazines/darts.dmi' icon_state = "darts-5" base_icon_state = "darts" rendering_system = GUN_RENDERING_STATES @@ -30,7 +32,7 @@ origin_tech = list(TECH_MATERIAL = 2) magazine_type = MAGAZINE_TYPE_NORMAL ammo_caliber = /datum/ammo_caliber/dart - ammo_type = /obj/item/ammo_casing/dart/chemdart + ammo_preload = /obj/item/ammo_casing/dart/chemdart ammo_max = 5 /obj/item/ammo_magazine/chemdart/small @@ -43,7 +45,7 @@ rendering_count = 3 origin_tech = list(TECH_MATERIAL = 2) - ammo_type = /obj/item/ammo_casing/dart/chemdart/small + ammo_preload = /obj/item/ammo_casing/dart/chemdart/small ammo_max = 3 //* Projectiles *// diff --git a/icons/modules/projectiles/casings/slim.dmi b/icons/modules/projectiles/casings/slim.dmi index 034c040811df67ece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ug 2024 04:41:01 -0700 Subject: [PATCH 2/2] 5.7x28mm mag fix --- code/modules/projectiles/ammunition/calibers/normal/a5_7mm.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/projectiles/ammunition/calibers/normal/a5_7mm.dm b/code/modules/projectiles/ammunition/calibers/normal/a5_7mm.dm index 567dbf5fece8..ad7e3d669142 100644 --- a/code/modules/projectiles/ammunition/calibers/normal/a5_7mm.dm +++ b/code/modules/projectiles/ammunition/calibers/normal/a5_7mm.dm @@ -33,6 +33,7 @@ /obj/item/ammo_magazine/a5_7mm ammo_caliber = /datum/ammo_caliber/a5_7mm + ammo_preload = /obj/item/ammo_casing/a5_7mm /obj/item/ammo_magazine/a5_7mm/nt_les name = "magazine (5.7x28mm)"