Move RCD to ECS (#4742)

* Moved ammo to ecs

* Moved RCD to ecs

* Replaced RCDDeconstructWhitelist with Tag

* Updated new structures RCDDeconstructWhitelist

* Queue delete
This commit is contained in:
Alex Evgrashin
2021-10-24 06:34:00 +03:00
committed by GitHub
parent f6803eb324
commit 7de1ebbd77
12 changed files with 378 additions and 306 deletions

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: Smoke
name: smoke
abstract: true
@@ -102,7 +102,9 @@
snap:
- Wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Clickable
- type: InteractionOutline
- type: Sprite

View File

@@ -4,6 +4,9 @@
name: grille
description: A flimsy framework of iron rods.
components:
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: CanBuildWindowOnTop
- type: Sprite
netsync: false
@@ -13,7 +16,6 @@
- type: Icon
sprite: Structures/Walls/grille.rsi
state: grille
- type: RCDDeconstructWhitelist
- type: Construction
graph: grille
node: grille
@@ -46,7 +48,9 @@
- type: Icon
sprite: Structures/Walls/grille.rsi
state: grille_broken
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Construction
graph: grille
node: grilleBroken

View File

@@ -4,7 +4,9 @@
name: low wall
description: Goes up to about your waist.
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: CanBuildWindowOnTop
- type: Sprite
netsync: false

View File

@@ -3,7 +3,9 @@
id: WallBrick
name: brick wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/brick.rsi
- type: Icon
@@ -30,7 +32,9 @@
id: WallClock
name: clock wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/clock.rsi
- type: Icon
@@ -57,7 +61,9 @@
id: WallClown
name: clown wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/clown.rsi
- type: Icon
@@ -85,7 +91,9 @@
id: WallCult
name: cult wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/cult.rsi
- type: Icon
@@ -116,7 +124,7 @@
- type: Tag
tags:
- Debug
- type: RCDDeconstructWhitelist
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/debug.rsi
- type: Icon
@@ -143,7 +151,9 @@
id: WallDiamond
name: diamond wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/diamond.rsi
- type: Icon
@@ -170,7 +180,9 @@
id: WallGold
name: gold wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/gold.rsi
- type: Icon
@@ -197,7 +209,9 @@
id: WallIce
name: ice wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/ice.rsi
- type: Icon
@@ -224,7 +238,9 @@
id: WallMetal
name: metal wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/metal.rsi
- type: Icon
@@ -251,7 +267,9 @@
id: WallPlasma
name: plasma wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/plasma.rsi
- type: Icon
@@ -278,7 +296,9 @@
id: WallPlastic
name: plastic wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/plastic.rsi
- type: Icon
@@ -337,7 +357,9 @@
id: WallRiveted
name: riveted wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/riveted.rsi
- type: Icon
@@ -364,7 +386,9 @@
id: WallSandstone
name: sandstone wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/sandstone.rsi
- type: Icon
@@ -391,7 +415,9 @@
id: WallSilver
name: silver wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/silver.rsi
- type: Icon
@@ -418,7 +444,9 @@
id: WallSolid
name: solid wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/solid.rsi
- type: Construction
@@ -476,7 +504,9 @@
id: WallWood
name: wood wall
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/wood.rsi
- type: Icon

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: Window
parent: BaseStructure
name: window
@@ -8,7 +8,9 @@
snap:
- Window
components:
- type: RCDDeconstructWhitelist
- type: Tag
tags:
- RCDDeconstructWhitelist
- type: Sprite
netsync: false
drawdepth: WallTops

View File

@@ -205,6 +205,9 @@
- type: Tag
id: Write
- type: Tag
id: RCDDeconstructWhitelist
- type: Tag
id: Wooden # just like our atmos