Make metal crates reflect energy projectiles (#18884)

While here, change the crates that look plastic to actually be made of plastic so they don't reflect.
This commit is contained in:
Vordenburg
2023-08-09 01:15:20 -04:00
committed by GitHub
parent b35468826d
commit e3f491cdb8
2 changed files with 21 additions and 12 deletions

View File

@@ -117,3 +117,8 @@
node: cratesecure node: cratesecure
containers: containers:
- entity_storage - entity_storage
- type: Reflect
reflects:
- Energy
reflectProb: 0.2
spread: 90

View File

@@ -7,6 +7,11 @@
sprite: Structures/Storage/Crates/generic.rsi sprite: Structures/Storage/Crates/generic.rsi
- type: Sprite - type: Sprite
sprite: Structures/Storage/Crates/generic.rsi sprite: Structures/Storage/Crates/generic.rsi
- type: Reflect
reflects:
- Energy
reflectProb: 0.2
spread: 90
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateBaseWeldable
@@ -26,7 +31,7 @@
price: 80 price: 80
- type: entity - type: entity
parent: CrateBaseWeldable parent: CratePlastic
id: CrateFreezer id: CrateFreezer
name: freezer name: freezer
components: components:
@@ -37,9 +42,9 @@
- type: AntiRottingContainer - type: AntiRottingContainer
- type: entity - type: entity
parent: CratePlastic
id: CrateHydroponics id: CrateHydroponics
name: hydroponics crate name: hydroponics crate
parent: CrateBaseWeldable
components: components:
- type: Icon - type: Icon
sprite: Structures/Storage/Crates/hydroponics.rsi sprite: Structures/Storage/Crates/hydroponics.rsi
@@ -47,7 +52,7 @@
sprite: Structures/Storage/Crates/hydroponics.rsi sprite: Structures/Storage/Crates/hydroponics.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CratePlastic
id: CrateMedical id: CrateMedical
name: medical crate name: medical crate
components: components:
@@ -57,7 +62,7 @@
sprite: Structures/Storage/Crates/medical.rsi sprite: Structures/Storage/Crates/medical.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateGenericSteel
id: CrateRadiation id: CrateRadiation
name: radiation gear crate name: radiation gear crate
description: Is not actually lead lined. Do not store your plutonium in this. description: Is not actually lead lined. Do not store your plutonium in this.
@@ -68,7 +73,7 @@
sprite: Structures/Storage/Crates/radiation.rsi sprite: Structures/Storage/Crates/radiation.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CratePlastic
id: CrateInternals id: CrateInternals
name: oxygen crate name: oxygen crate
components: components:
@@ -78,7 +83,7 @@
sprite: Structures/Storage/Crates/o2.rsi sprite: Structures/Storage/Crates/o2.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CratePlastic
id: CrateElectrical id: CrateElectrical
name: electrical crate name: electrical crate
components: components:
@@ -88,7 +93,7 @@
sprite: Structures/Storage/Crates/electrical.rsi sprite: Structures/Storage/Crates/electrical.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateGenericSteel
id: CrateEngineering id: CrateEngineering
name: engineering crate name: engineering crate
components: components:
@@ -98,7 +103,7 @@
sprite: Structures/Storage/Crates/engineering.rsi sprite: Structures/Storage/Crates/engineering.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateGenericSteel
id: CrateScience id: CrateScience
name: science crate name: science crate
components: components:
@@ -108,7 +113,7 @@
sprite: Structures/Storage/Crates/science.rsi sprite: Structures/Storage/Crates/science.rsi
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateGenericSteel
id: CrateSurgery id: CrateSurgery
name: surgery crate name: surgery crate
components: components:
@@ -484,11 +489,10 @@
state: base state: base
- type: entity - type: entity
parent: CrateBaseWeldable parent: CrateGenericSteel
id: CrateSyndicate id: CrateSyndicate
components: components:
- type: Icon - type: Icon
sprite: Structures/Storage/Crates/syndicate.rsi sprite: Structures/Storage/Crates/syndicate.rsi
- type: Sprite - type: Sprite
sprite: Structures/Storage/Crates/syndicate.rsi sprite: Structures/Storage/Crates/syndicate.rsi