From ee2b555784dba93e5f7908fcd776fd53083b344c Mon Sep 17 00:00:00 2001 From: Bokkiewokkie Date: Tue, 1 Aug 2023 14:17:29 +0200 Subject: [PATCH 1/3] w --- .../mob/living/silicon/robot/robot_modules.dm | 7 ++-- config/game_options.txt | 2 +- nsv13/code/modules/jobs/security/weapons.dm | 38 ++++++++++++++++++ nsv13/icons/obj/guns/projectile.dmi | Bin 3375 -> 3459 bytes 4 files changed, 43 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm index 213dee56b11..c43b93fe79a 100644 --- a/code/modules/mob/living/silicon/robot/robot_modules.dm +++ b/code/modules/mob/living/silicon/robot/robot_modules.dm @@ -440,10 +440,11 @@ /obj/item/restraints/handcuffs/cable/zipties, /obj/item/melee/baton/loaded, /obj/item/borg/charger, - /obj/item/gun/energy/disabler/cyborg, + /obj/item/gun/energy/printer/taser, + /obj/item/gun/energy/printer/glock, /obj/item/clothing/mask/gas/sechailer/cyborg, - /obj/item/extinguisher/mini) - emag_modules = list(/obj/item/gun/energy/laser/cyborg) + /obj/item/extinguisher/mini) //NSV13 replaced disabler with taser and (lethal) glock printer guns + emag_modules = list(/obj/item/gun/energy/printer) //NSV13 replaced energy gun with LMG ratvar_modules = list( /obj/item/clock_module/abscond, /obj/item/clockwork/weapon/brass_spear, diff --git a/config/game_options.txt b/config/game_options.txt index 68f4ca6d5a9..37353b430ad 100644 --- a/config/game_options.txt +++ b/config/game_options.txt @@ -350,7 +350,7 @@ ALLOW_AI_MULTICAM ## Secborg ### ## Uncomment to prevent the security cyborg module from being chosen -DISABLE_SECBORG +#DISABLE_SECBORG ## Peacekeeper Borg ### ## Uncomment to prevent the peacekeeper cyborg module from being chosen diff --git a/nsv13/code/modules/jobs/security/weapons.dm b/nsv13/code/modules/jobs/security/weapons.dm index 2e0364beb6f..ab7a24de6a3 100644 --- a/nsv13/code/modules/jobs/security/weapons.dm +++ b/nsv13/code/modules/jobs/security/weapons.dm @@ -215,3 +215,41 @@ M.set_heartattack(TRUE) M.reagents.add_reagent(/datum/reagent/medicine/corazone, 3) // To give the victim a final chance to shock their heart before losing consciousness . = ..() + + +//Secborg guns +/obj/item/gun/energy/printer/taser + name = "Cyborg X25 Taser" + desc = "A stunning weapon developed by Czanek Corp. It can deliver an extremely powerful electric shock via a specialised electrode, the electrodes are resupplied using the cyborg's internal power source. It has an effective range of 2 meters" + icon = 'nsv13/icons/obj/guns/projectile.dmi' + icon_state = "taser" + fire_delay = 2 SECONDS + recoil = 2 //BZZZZTTTTTTT + ammo_type = list(/obj/item/ammo_casing/energy/taser) + automatic = FALSE + fire_rate = 2.5 + +/obj/item/ammo_casing/energy/taser + projectile_type = /obj/item/projectile/energy/electrode/hitscan + select_name = "electrode" + fire_sound = 'sound/weapons/zapbang.ogg' + firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect + +/obj/item/gun/energy/printer/glock + name = "Cyborg Glock-13BR" + desc = "An integrated 9mm handgun for use by Nanotrasen security cyborgs. Designed to fire lethal bullets" + icon = 'nsv13/icons/obj/guns/projectile.dmi' + icon_state = "secborgglock" + gun_charge = 1500 //15 shots + can_suppress = TRUE + burst_size = 3 + fire_delay = 2 + ammo_type = list(/obj/item/ammo_casing/energy/c9mmbullet) + automatic = FALSE + fire_rate = 2 + +/obj/item/ammo_casing/energy/c9mmbullet + projectile_type = /obj/item/projectile/bullet/c9mm + select_name = "9mm" + fire_sound = 'nsv13/sound/weapons/glock.ogg' + firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect diff --git a/nsv13/icons/obj/guns/projectile.dmi b/nsv13/icons/obj/guns/projectile.dmi index cc6f81f8d474c21382313d2fefc16b0b784cfa8b..ce4ac44209c9502a416604468f5882031442f2b3 100644 GIT binary patch delta 3069 zcmVV=-0C=30mdkE}Koo}8@DxP1wPDoQ zvgpQYjcIC3`v7EsBM`wMGo!}0FJeS!jr_CY@_n3t&Rjy@na&r>l{5QV+6R&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ucUk2<;>bCl{WZq9e4`P1~#KYoDxOS+sBG}_vtpnNB3bXb0! zfPC3(Nx8EL7IAONR9$L;Q~m3ruU{P(eqG1 zZvM<1Pn{G~Ap3?&7N9iECmtw}c|+L|;IYK~rz3|G6#7rbya=Z@94`QpPiu4w~aC*O-G zB(vR_VcHg7Jgkx2rzmuev7hpPtrqCLCZn+WK|6-8pUnW1*8bzD%WYq6}wNPUe@aA8Kw$OZBuJ(J7Muj-Dgc{+A#MhS zLeBkSK3{S__gnNC7!U+O5ClOG1VNDVN$mKA#K8@_yJLT>U$`()!$g_V6n|lld;4Km z2hx;@WOV$3^GcZrvhfdpe$X5LAiSyzfN6$XS8v=x{|2H8MI+4o{{Ru*zUTj2tb#N6 z|D)p<1m5_C(eV#%&>#Qc8n65N`vLQC)SiCh7JB>kZLmIs z?nIX~PkuOdpKmg!>zdG+bF0Pa)YA@y#D zKO~{p2@sMot#|)_`^7x6^YZ^GZM7&B(+`}l%w0?n;3z-;pG^ Date: Thu, 3 Aug 2023 17:43:21 +0200 Subject: [PATCH 2/3] Delays & types --- nsv13/code/modules/jobs/security/weapons.dm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/nsv13/code/modules/jobs/security/weapons.dm b/nsv13/code/modules/jobs/security/weapons.dm index ab7a24de6a3..1cec531947d 100644 --- a/nsv13/code/modules/jobs/security/weapons.dm +++ b/nsv13/code/modules/jobs/security/weapons.dm @@ -223,28 +223,25 @@ desc = "A stunning weapon developed by Czanek Corp. It can deliver an extremely powerful electric shock via a specialised electrode, the electrodes are resupplied using the cyborg's internal power source. It has an effective range of 2 meters" icon = 'nsv13/icons/obj/guns/projectile.dmi' icon_state = "taser" - fire_delay = 2 SECONDS recoil = 2 //BZZZZTTTTTTT ammo_type = list(/obj/item/ammo_casing/energy/taser) automatic = FALSE - fire_rate = 2.5 + fire_rate = 0.2 /obj/item/ammo_casing/energy/taser projectile_type = /obj/item/projectile/energy/electrode/hitscan select_name = "electrode" fire_sound = 'sound/weapons/zapbang.ogg' firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect + e_cost = 600 //uses a lot more energy /obj/item/gun/energy/printer/glock name = "Cyborg Glock-13BR" desc = "An integrated 9mm handgun for use by Nanotrasen security cyborgs. Designed to fire lethal bullets" icon = 'nsv13/icons/obj/guns/projectile.dmi' icon_state = "secborgglock" - gun_charge = 1500 //15 shots can_suppress = TRUE - burst_size = 3 - fire_delay = 2 - ammo_type = list(/obj/item/ammo_casing/energy/c9mmbullet) + ammo_type = list(/obj/item/ammo_casing/energy/c9mmbullet/rubber, /obj/item/ammo_casing/energy/c9mmbullet) //Switch between lethal or rubber bullets with attack_self automatic = FALSE fire_rate = 2 @@ -253,3 +250,7 @@ select_name = "9mm" fire_sound = 'nsv13/sound/weapons/glock.ogg' firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect + +/obj/item/ammo_casing/energy/c9mmbullet/rubber + projectile_type = /obj/item/projectile/bullet/c9mm/rubber + select_name = "9mm (Rubber)" From 47032c2025dfb128c32eed05e11a82b501d85be0 Mon Sep 17 00:00:00 2001 From: Bokkiewokkie Date: Thu, 3 Aug 2023 18:47:40 +0200 Subject: [PATCH 3/3] missed this --- nsv13/code/modules/jobs/security/weapons.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/nsv13/code/modules/jobs/security/weapons.dm b/nsv13/code/modules/jobs/security/weapons.dm index 1cec531947d..768752aca07 100644 --- a/nsv13/code/modules/jobs/security/weapons.dm +++ b/nsv13/code/modules/jobs/security/weapons.dm @@ -240,7 +240,6 @@ desc = "An integrated 9mm handgun for use by Nanotrasen security cyborgs. Designed to fire lethal bullets" icon = 'nsv13/icons/obj/guns/projectile.dmi' icon_state = "secborgglock" - can_suppress = TRUE ammo_type = list(/obj/item/ammo_casing/energy/c9mmbullet/rubber, /obj/item/ammo_casing/energy/c9mmbullet) //Switch between lethal or rubber bullets with attack_self automatic = FALSE fire_rate = 2