Makes secure crates harder to break into (#5744)
This commit is contained in:
@@ -16,6 +16,18 @@
|
|||||||
Slash: 0.5
|
Slash: 0.5
|
||||||
Piercing: 0.7
|
Piercing: 0.7
|
||||||
Shock: 1.2
|
Shock: 1.2
|
||||||
|
|
||||||
|
- type: damageModifierSet
|
||||||
|
id: StrongMetallic
|
||||||
|
coefficients:
|
||||||
|
Blunt: 0.7
|
||||||
|
Slash: 0.5
|
||||||
|
Piercing: 0.7
|
||||||
|
Shock: 1.2
|
||||||
|
flatReductions:
|
||||||
|
Blunt: 16
|
||||||
|
Slash: 16
|
||||||
|
Piercing: 10
|
||||||
|
|
||||||
- type: damageModifierSet
|
- type: damageModifierSet
|
||||||
id: Inflatable
|
id: Inflatable
|
||||||
|
|||||||
@@ -61,3 +61,71 @@
|
|||||||
whitelist:
|
whitelist:
|
||||||
components:
|
components:
|
||||||
- Paper
|
- Paper
|
||||||
|
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateBaseSecure
|
||||||
|
parent: BaseStructureDynamic
|
||||||
|
abstract: true
|
||||||
|
name: crate
|
||||||
|
description: A large container for items.
|
||||||
|
components:
|
||||||
|
- type: Transform
|
||||||
|
noRot: true
|
||||||
|
- type: Sprite
|
||||||
|
noRot: true
|
||||||
|
netsync: false
|
||||||
|
sprite: Structures/Storage/Crates/generic.rsi
|
||||||
|
layers:
|
||||||
|
- state: crate
|
||||||
|
- state: crate_door
|
||||||
|
map: ["enum.StorageVisualLayers.Door"]
|
||||||
|
- state: welded
|
||||||
|
visible: false
|
||||||
|
map: ["enum.StorageVisualLayers.Welded"]
|
||||||
|
- type: InteractionOutline
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
- shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.4,-0.4,0.4,0.29"
|
||||||
|
mass: 25
|
||||||
|
mask:
|
||||||
|
- Impassable
|
||||||
|
- VaultImpassable
|
||||||
|
- SmallImpassable
|
||||||
|
layer:
|
||||||
|
- Opaque
|
||||||
|
- MobImpassable
|
||||||
|
- SmallImpassable
|
||||||
|
- type: EntityStorage
|
||||||
|
Capacity: 500
|
||||||
|
CanWeldShut: true
|
||||||
|
- type: PlaceableSurface
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: StrongMetallic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 100
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- type: Appearance
|
||||||
|
visuals:
|
||||||
|
- type: StorageVisualizer
|
||||||
|
state_open: crate_open
|
||||||
|
state_closed: crate_door
|
||||||
|
- type: PaperLabel
|
||||||
|
labelSlot:
|
||||||
|
insertVerbText: Attach Label
|
||||||
|
ejectVerbText: Remove Label
|
||||||
|
whitelist:
|
||||||
|
components:
|
||||||
|
- Paper
|
||||||
|
- type: Construction
|
||||||
|
graph: CrateSecure
|
||||||
|
node: cratesecure
|
||||||
@@ -291,7 +291,7 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
id: CrateSecgear
|
id: CrateSecgear
|
||||||
name: secgear crate
|
name: secgear crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Security"]]
|
access: [["Security"]]
|
||||||
@@ -316,14 +316,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: secgearcrate_open
|
state_open: secgearcrate_open
|
||||||
state_closed: secgearcrate_door
|
state_closed: secgearcrate_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateEngineeringSecure
|
id: CrateEngineeringSecure
|
||||||
name: secure engineering crate
|
name: secure engineering crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Engineering"]]
|
access: [["Engineering"]]
|
||||||
@@ -348,14 +345,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: engicratesecure_open
|
state_open: engicratesecure_open
|
||||||
state_closed: engicratesecure_door
|
state_closed: engicratesecure_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateMedicalSecure
|
id: CrateMedicalSecure
|
||||||
name: secure medical crate
|
name: secure medical crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Medical"]]
|
access: [["Medical"]]
|
||||||
@@ -380,14 +374,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: medicalcratesecure_open
|
state_open: medicalcratesecure_open
|
||||||
state_closed: medicalcratesecure_door
|
state_closed: medicalcratesecure_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CratePrivateSecure
|
id: CratePrivateSecure
|
||||||
name: private crate
|
name: private crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
- type: Lock
|
- type: Lock
|
||||||
@@ -411,14 +402,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: privatecrate_open
|
state_open: privatecrate_open
|
||||||
state_closed: privatecrate_door
|
state_closed: privatecrate_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateScienceSecure
|
id: CrateScienceSecure
|
||||||
name: secure science crate
|
name: secure science crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Research"]]
|
access: [["Research"]]
|
||||||
@@ -443,14 +431,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: scicratesecure_open
|
state_open: scicratesecure_open
|
||||||
state_closed: scicratesecure_door
|
state_closed: scicratesecure_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CratePlasma
|
id: CratePlasma
|
||||||
name: plasma crate
|
name: plasma crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Engineering"]]
|
access: [["Engineering"]]
|
||||||
@@ -475,14 +460,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: plasmacrate_open
|
state_open: plasmacrate_open
|
||||||
state_closed: plasmacrate_door
|
state_closed: plasmacrate_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateSecure
|
id: CrateSecure
|
||||||
name: secure crate
|
name: secure crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
- type: Lock
|
- type: Lock
|
||||||
@@ -506,14 +488,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: securecrate_open
|
state_open: securecrate_open
|
||||||
state_closed: securecrate_door
|
state_closed: securecrate_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateHydroSecure
|
id: CrateHydroSecure
|
||||||
name: secure hydroponics crate
|
name: secure hydroponics crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Service"]]
|
access: [["Service"]]
|
||||||
@@ -538,14 +517,11 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: hydrocratesecure_open
|
state_open: hydrocratesecure_open
|
||||||
state_closed: hydrocratesecure_door
|
state_closed: hydrocratesecure_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateWeaponSecure
|
id: CrateWeaponSecure
|
||||||
name: secure weapon crate
|
name: secure weapon crate
|
||||||
parent: CrateGeneric
|
parent: CrateBaseSecure
|
||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Security"]]
|
access: [["Security"]]
|
||||||
@@ -567,9 +543,6 @@
|
|||||||
- type: StorageVisualizer
|
- type: StorageVisualizer
|
||||||
state_open: weaponcrate_open
|
state_open: weaponcrate_open
|
||||||
state_closed: weaponcrate_door
|
state_closed: weaponcrate_door
|
||||||
- type: Construction
|
|
||||||
graph: CrateSecure
|
|
||||||
node: cratesecure
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CrateLivestock
|
id: CrateLivestock
|
||||||
|
|||||||
Reference in New Issue
Block a user