From e979020f47d91694566d30e7a50eab1459f73c42 Mon Sep 17 00:00:00 2001
From: Emilitia Ennehrt <83123425+EmilitiaEnnehrt@users.noreply.github.com>
Date: Sat, 24 Aug 2024 07:08:09 +0700
Subject: [PATCH] Altyn helmet fix (#53)
## About The Pull Request
A very simple fix that only occurs for the Altyn helmet. Generally,
there are 4 types of helmet (with variations) that has an option to
"flip up" the face mask.
For all of them, the armor value consistently go down when the facemask
is up, and go up when the face mask is down to protect you _EXCEPT_ the
Altyn and it's variations such as Maska.
* This fixes that problem, since `armor_up` is the alternative value
called when the face plate is pushed up and out of the way to show the
person their face.
## Changelog
:cl:
fix: fixes the altyn helmet armor value
/:cl:
---
code/modules/clothing/head/helmet.dm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm
index 06c7fb3aa4c..c527a07c9c9 100644
--- a/code/modules/clothing/head/helmet.dm
+++ b/code/modules/clothing/head/helmet.dm
@@ -1659,8 +1659,8 @@
name = "altyn helmet"
desc = "A titanium helmet of serbian origin. Still widely used despite being discontinued."
icon_state = "altyn"
- armor_up = list(melee = 5, bullet = 4, energy = 0, bomb = 15, bio = 0, rad = 0)
- armor_list = list(melee = 2, bullet = 3, energy = 2, bomb = 35, bio = 0, rad = 0)
+ armor_up = list(melee = 2, bullet = 3, energy = 0, bomb = 15, bio = 0, rad = 0)
+ armor_list = list(melee = 5, bullet = 4, energy = 2, bomb = 35, bio = 0, rad = 0)
siemens_coefficient = 1
up = TRUE