100% Ion resistance on Ninja Suit and Visor NVG. (#4916)

* Add NVG to visor, Ion Immunity and no EMP armor ignore

* Comments..

* .ftl from up to _DV

* Rewrote visor description.

* Remove ftl newline, forgor desc comment.
This commit is contained in:
MD360 2025-12-09 18:44:47 +02:00 committed by GitHub
parent 67c127ecee
commit 9ba19a023f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 2 deletions

View File

@ -19,6 +19,6 @@ public sealed class SiliconEmpSystem : EntitySystem
{
args.Cancel(); // Stop all the normal effects of the EMP
if (args.Damage is not { } damage) return;
_damageable.TryChangeDamage(ent, damage / 2, true); // Damage is divided by 2 because the event is raised twice (once from entity itself, and another is relayed from it's power cell) and I'm too lazy for an actual fix
_damageable.TryChangeDamage(ent, damage / 2, false); // Damage is divided by 2 because the event is raised twice (once from entity itself, and another is relayed from it's power cell) and I'm too lazy for an actual fix - NoElka | Make EMP not ignore armor.
}
}

View File

@ -9,3 +9,5 @@ held-armor-whitelist-fail = You are not [color=yellow]{$reason}[/color].
held-armor-blacklist-fail = You are [color=red]{$reason}[/color].
held-armor-bible-user-fail = faithful
armor-damage-type-ion = Ion

View File

@ -257,13 +257,15 @@
parent: [ClothingEyesBase, BaseMajorContraband]
id: ClothingEyesVisorNinja
name: ninja visor
description: An advanced visor protecting a ninja's eyes from flashing lights.
description: An advanced visor protecting a ninja's eyes from flashing lights while having an ability to see in the dark. # DeltaV
components:
- type: Sprite
sprite: Clothing/Eyes/Glasses/ninjavisor.rsi
- type: Clothing
sprite: Clothing/Eyes/Glasses/ninjavisor.rsi
- type: FlashImmunity
- type: NightVision # DeltaV
isEquipment: true
- type: entity
parent: [ClothingEyesBase, ShowSecurityIcons, BaseSecurityContraband]

View File

@ -166,6 +166,7 @@
Slash: 0.8
Piercing: 0.8
Heat: 0.8
Ion: 0 # DeltaV - I love self gibbing as ninja IPC!!
# phase cloak
- type: ToggleClothing
action: ActionTogglePhaseCloak