[MIRROR] New traitor item: Polarized Contacts [MDB IGNORE] (#22513)

* New traitor item: Polarized Contacts (#76752)

## About The Pull Request
Adds a new simple but sweet traitor item for 3 tc, polarized contacts.
Use them in hand to upgrade your eyes to have +tier 2 flash resistance.
Single use.
Now if you have welder protection of 2 or higher, and someone checks
your eyes with a flashlight, your pupils to not dilate. This is
potentially possible non-antagonistically through the use of upgraded
robotic eyes.
## Why It's Good For The Game
The idea behind this change is to allow traitors some counterplay
against revolutionaries and security. If a traitor thinks they are about
to go into combat with people with flashes, they will be rewarded for
preparing. It also fills a similar role as no-slip shoes as being a low
cost but always nice to have passive item, which I don't think we have
enough of.
Its arguable that this should only be worth 2 tc to be on-par with
noslips, or that it should be more because flash protection is more
valuable.
## Changelog
🆑 itseasytosee
add: A new traitor item has been added, Polarized Contacts!
/🆑

---------

Co-authored-by: Sealed101 <cool.bullseye@ yandex.ru>

* New traitor item: Polarized Contacts

---------

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: Sealed101 <cool.bullseye@ yandex.ru>
This commit is contained in:
SkyratBot
2023-07-16 18:41:20 -04:00
committed by GitHub
co-authored by Sealed101 itseasytosee
parent cb0cfe5ebb
commit 8de62993cb
4 changed files with 31 additions and 1 deletions
@@ -141,7 +141,7 @@
user.visible_message(span_warning("[user] directs [src] to [M]'s eyes."), ignored_mobs = user)
render_list += span_info("You direct [src] to [M]'s eyes:\n")
if(M.stat == DEAD || M.is_blind())
if(M.stat == DEAD || M.is_blind() || M.get_eye_protection() > FLASH_PROTECTION_WELDER)
render_list += "<span class='danger ml-1'>[M.p_their(TRUE)] pupils don't react to the light!</span>\n"//mob is dead
else if(brain.damage > 20)
render_list += "<span class='danger ml-1'>[M.p_their(TRUE)] pupils contract unevenly!</span>\n"//mob has sustained damage to their brain