From 0452f9927a52ceac5bdd857f5beb6a76eb94192d Mon Sep 17 00:00:00 2001 From: someone543 <95106800+someone543@users.noreply.github.com> Date: Sat, 11 Nov 2023 03:15:42 +0800 Subject: [PATCH] Lets ghost ships use gauss (#2575) --- nsv13/code/modules/overmap/overmap_ghosts.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nsv13/code/modules/overmap/overmap_ghosts.dm b/nsv13/code/modules/overmap/overmap_ghosts.dm index 490fc64c97f..5f0f1f385ee 100644 --- a/nsv13/code/modules/overmap/overmap_ghosts.dm +++ b/nsv13/code/modules/overmap/overmap_ghosts.dm @@ -67,6 +67,11 @@ tactical = new /obj/machinery/computer/ship/tactical/internal(src) tactical.linked = src + //Lets ships with gauss use them + if(weapon_types[FIRE_MODE_GAUSS]) + var/datum/ship_weapon/GA = weapon_types[FIRE_MODE_GAUSS] + GA.allowed_roles = OVERMAP_USER_ROLE_GUNNER + //Override AMS weapon_types[FIRE_MODE_AMS] = null //Resolve this later to be auto weapon_types[FIRE_MODE_FLAK] = null //Resolve this later to be a toggle