Force Wall Tweaks (#37525)

* Reduces forcewall time to 10 seconds

* Increases force wall action delay to 15

* Adds Special Wall Layer

* Fixes indenting. Changes Mask and Layer to Special Wall Layer

* Update Resources/Prototypes/Entities/Structures/Walls/walls.yml

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
keronshb
2025-05-18 21:30:46 -04:00
committed by GitHub
parent 7b93bf8fb5
commit 054d35a4f8
3 changed files with 27 additions and 25 deletions

View File

@@ -1387,30 +1387,30 @@
id: WallForce
name: force wall
components:
- type: TimedDespawn
lifetime: 12
- type: Tag
tags:
- Wall
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
mask:
- FullTileMask
layer:
- WallLayer
- type: Airtight
- type: Sprite
sprite: Structures/Magic/forcewall.rsi
state: forcewall
- type: Icon
sprite: Structures/Magic/forcewall.rsi
state: forcewall
- type: TimedDespawn
lifetime: 10
- type: Tag
tags:
- Wall
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
mask:
- SpecialWallLayer
layer:
- SpecialWallLayer
- type: Airtight
- type: Sprite
sprite: Structures/Magic/forcewall.rsi
state: forcewall
- type: Icon
sprite: Structures/Magic/forcewall.rsi
state: forcewall
- type: entity
parent: BaseWall

View File

@@ -4,7 +4,7 @@
description: Creates a magical barrier.
components:
- type: InstantAction
useDelay: 10
useDelay: 15
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/forcewall.ogg