Artifact container (#7822)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
@@ -0,0 +1,11 @@
|
||||
- type: cargoProduct
|
||||
name: "Artifact Container"
|
||||
id: ArtifactContainer
|
||||
description: Used to safely contain and move artifacts.
|
||||
icon:
|
||||
sprite: Structures/Storage/Crates/artifact.rsi
|
||||
state: artifact_container_icon
|
||||
product: CrateArtifactContainer
|
||||
cost: 2000
|
||||
category: Science
|
||||
group: market
|
||||
|
||||
@@ -162,6 +162,7 @@
|
||||
- AtmosphericsOxygen
|
||||
- AtmosphericsNitrogen
|
||||
- AtmosphericsCarbonDioxide
|
||||
- ArtifactContainer
|
||||
- type: CrewMonitoringConsole
|
||||
snap: false
|
||||
precision: 3
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
- type: entity
|
||||
id: CrateArtifactContainer
|
||||
name: artifact container
|
||||
description: Used to safely contain and move artifacts.
|
||||
parent: BaseStructureDynamic
|
||||
components:
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: AccessReader
|
||||
access: [["Research"], ["Salvage"]]
|
||||
- type: Lock
|
||||
- type: Sprite
|
||||
drawdepth: Objects
|
||||
netsync: false
|
||||
sprite: Structures/Storage/Crates/artifact.rsi
|
||||
layers:
|
||||
- state: artifact_container
|
||||
- state: artifact_container_door
|
||||
map: ["enum.StorageVisualLayers.Door"]
|
||||
- state: welded
|
||||
visible: false
|
||||
map: ["enum.StorageVisualLayers.Welded"]
|
||||
- state: locked
|
||||
map: ["enum.StorageVisualLayers.Lock"]
|
||||
shader: unshaded
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.45
|
||||
mass: 150
|
||||
mask:
|
||||
- Impassable
|
||||
layer:
|
||||
- Opaque
|
||||
- MobImpassable
|
||||
- SmallImpassable
|
||||
- type: Icon
|
||||
sprite: Structures/Storage/Crates/artifact.rsi
|
||||
state: artifact_container_icon
|
||||
- type: ArtifactStorage
|
||||
Capacity: 1
|
||||
CanWeldShut: true
|
||||
- type: SuppressArtifactContainer
|
||||
- type: PlaceableSurface
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: PaperLabel
|
||||
labelSlot:
|
||||
insertVerbText: Attach Label
|
||||
ejectVerbText: Remove Label
|
||||
whitelist:
|
||||
components:
|
||||
- Paper
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StorageVisualizer
|
||||
state_open: artifact_container_open
|
||||
state_closed: artifact_container_door
|
||||
@@ -6,6 +6,7 @@
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: SmallObjects
|
||||
sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi
|
||||
netsync: false
|
||||
state: ano01
|
||||
|
||||
@@ -412,6 +412,7 @@
|
||||
- AtmosphericsOxygen
|
||||
- AtmosphericsNitrogen
|
||||
- AtmosphericsCarbonDioxide
|
||||
- ArtifactContainer
|
||||
# - AtmosphericsWaterVapor
|
||||
# - AtmosphericsPlasma
|
||||
# - AtmosphericsTritium
|
||||
|
||||
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 393 B |
|
After Width: | Height: | Size: 575 B |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 198 B |
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from baystation at commit https://github.com/Baystation12/Baystation12/commit/a929584d9db319eb7484113221be25cfa1d5dc09",
|
||||
"states": [
|
||||
{
|
||||
"name": "artifact_container"
|
||||
},
|
||||
{
|
||||
"name": "artifact_container_door"
|
||||
},
|
||||
{
|
||||
"name": "artifact_container_open"
|
||||
},
|
||||
{
|
||||
"name": "artifact_container_icon"
|
||||
},
|
||||
{
|
||||
"name": "locked"
|
||||
},
|
||||
{
|
||||
"name": "unlocked"
|
||||
},
|
||||
{
|
||||
"name": "welded"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 203 B |
|
After Width: | Height: | Size: 375 B |