From 3b94336d747b56665482db62eaa2db2953266c54 Mon Sep 17 00:00:00 2001 From: Dvir Date: Sat, 29 Jul 2023 18:41:57 +0300 Subject: [PATCH] Walls for the mime ship --- .../Entities/Structures/Windows/window.yml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Resources/Prototypes/_NF/Entities/Structures/Windows/window.yml diff --git a/Resources/Prototypes/_NF/Entities/Structures/Windows/window.yml b/Resources/Prototypes/_NF/Entities/Structures/Windows/window.yml new file mode 100644 index 00000000000..390548159f9 --- /dev/null +++ b/Resources/Prototypes/_NF/Entities/Structures/Windows/window.yml @@ -0,0 +1,42 @@ +# Mime + +- type: entity + id: WallInvisibleShip + name: Invisible Wall + suffix: Ship + components: + - type: Sprite + drawdepth: WallTops + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.5,-0.5,0.5,0.5" + mask: + - FullTileMask + layer: + - GlassLayer + - type: Damageable + damageContainer: Inorganic + damageModifierSet: RGlass + - type: Physics + bodyType: Static + - type: Airtight + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 200 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: GlassBreak + - !type:SpawnEntitiesBehavior + - !type:DoActsBehavior + acts: [ "Destruction" ] + - type: InteractionPopup + interactSuccessString: comp-window-knock + messagePerceivedByOthers: comp-window-knock + interactSuccessSound: + path: /Audio/Effects/glass_knock.ogg \ No newline at end of file