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