removes metal walls, adds rusted walls (#8416)

* removes metal walls, adds rusted walls

* removes 2 metal walls in bagel

* remove metal walls from pillar

* Remove icon from rust wall

* Made welding work

* removes old prototype
This commit is contained in:
Peptide90
2022-07-04 08:11:47 +01:00
committed by GitHub
parent 6702ce209d
commit bc19f52aa6
23 changed files with 64 additions and 45 deletions

View File

@@ -241,36 +241,6 @@
key: walls
base: ice
- type: entity
parent: WallBase
id: WallMetal
name: metal wall
components:
- type: Tag
tags:
- Wall
- RCDDeconstructWhitelist
- type: Sprite
sprite: Structures/Walls/metal.rsi
- type: Icon
sprite: Structures/Walls/metal.rsi
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
Girder:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: IconSmooth
key: walls
base: metal
- type: entity
parent: WallBase
id: WallPlasma
@@ -589,6 +559,42 @@
base: solid
- type: StaticPrice
price: 1 # total material cost. If you change the recipe for the wall you should recalculate this.
- type: entity
parent: WallBase
id: WallSolidRust
name: solid wall
suffix: rusted
components:
- type: Sprite
sprite: Structures/Walls/solidrust.rsi
- type: Construction
graph: Girder
node: wallrust
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 400
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
destroySound:
path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: solidrust
- type: entity
parent: WallBase

View File

@@ -143,3 +143,16 @@
data: 0
- tool: Cutting
doAfter: 1
- node: wallrust
entity: WallSolidRust
edges:
- to: wall
completed:
- !type:SpawnPrototype
prototype: WallSolid
amount: 1
- !type:DeleteEntity {}
steps:
- tool: Welding
doAfter: 5