From cc69c8409fa0eb3257068bf9f895aec9aba69998 Mon Sep 17 00:00:00 2001 From: Morrow Date: Mon, 28 Aug 2023 10:54:00 -0400 Subject: [PATCH] helmet rail light tweaks --- code/modules/projectiles/gun_attachables.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/projectiles/gun_attachables.dm b/code/modules/projectiles/gun_attachables.dm index 331064e3ebb2..c7b88ef0c1ae 100644 --- a/code/modules/projectiles/gun_attachables.dm +++ b/code/modules/projectiles/gun_attachables.dm @@ -604,7 +604,8 @@ Defined in conflicts.dm of the #defines folder. var/original_state = "flashlight" var/original_attach = "flashlight_a" - var/helm_mounted_light_mod = 5 + var/helm_mounted_light_power = 2 + var/helm_mounted_light_range = 3 var/datum/action/item_action/activation var/obj/item/attached_item @@ -671,8 +672,8 @@ Defined in conflicts.dm of the #defines folder. attach_icon += "-on" light_on = TRUE attached_item.update_icon() - attached_item.set_light_range(helm_mounted_light_mod) - attached_item.set_light_power(helm_mounted_light_mod) + attached_item.set_light_range(helm_mounted_light_range) + attached_item.set_light_power(helm_mounted_light_power) attached_item.set_light_on(light_on) activation.update_button_icon() return