From: spderman3333 <118777573+spderman3333@users.noreply.github.com> Date: Tue, 25 Feb 2025 14:43:03 +0000 (-0800) Subject: Unbreakable bar sign fix. (#35490) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7ddad07118059b4a5c2c5b79ce6b7580b72653b4;p=space-station-14.git Unbreakable bar sign fix. (#35490) * Fixed bar signs being indestructable * Apply suggestions from code review --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml index 653031133c..f00216393b 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml @@ -31,6 +31,8 @@ enum.WiresUiKey.Key: type: WiresBoundUserInterface - type: Appearance + - type: Damageable + damageContainer: StructuralInorganic - type: Destructible thresholds: - trigger: @@ -38,7 +40,10 @@ damage: 50 behaviors: - !type:DoActsBehavior - acts: ["Destruction"] + acts: [ "Destruction" ] + - !type:PlaySoundBehavior + sound: + collection: MetalGlassBreak - type: StationAiWhitelist - type: WiresPanel - type: Wires