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:
@@ -78,6 +78,8 @@ public enum CollisionGroup
|
||||
WallLayer = Opaque | Impassable | HighImpassable | MidImpassable | LowImpassable | BulletImpassable | InteractImpassable,
|
||||
GlassLayer = Impassable | HighImpassable | MidImpassable | LowImpassable | BulletImpassable | InteractImpassable,
|
||||
HalfWallLayer = MidImpassable | LowImpassable,
|
||||
// Allows people to interact past and target players inside of this
|
||||
SpecialWallLayer = Opaque | HighImpassable | MidImpassable | LowImpassable | BulletImpassable,
|
||||
|
||||
// Statue, monument, airlock, window
|
||||
FullTileMask = Impassable | HighImpassable | MidImpassable | LowImpassable | InteractImpassable,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user