Add secure chemistry crates and jugs (#15211)
@@ -0,0 +1,8 @@
|
|||||||
|
ent-CrateChemistryP = Chemicals crate (P)
|
||||||
|
.desc = Contains chemicals from the P-Block of elements. Requires Chemistry access to open.
|
||||||
|
|
||||||
|
ent-CrateChemistryS = Chemicals crate (S)
|
||||||
|
.desc = Contains chemicals from the S-Block of elements. Requires Chemistry access to open.
|
||||||
|
|
||||||
|
ent-CrateChemistryD = Chemicals crate (D)
|
||||||
|
.desc = Contains chemicals from the D-Block of elements. Requires Chemistry access to open.
|
||||||
56
Resources/Prototypes/Catalog/Fills/Crates/chemistry.yml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
- type: entity
|
||||||
|
id: CrateChemistryP
|
||||||
|
parent: CrateChemistrySecure
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
|
- id: JugAluminium
|
||||||
|
amount: 1
|
||||||
|
- id: JugCarbon
|
||||||
|
amount: 1
|
||||||
|
- id: JugChlorine
|
||||||
|
amount: 1
|
||||||
|
- id: JugFluorine
|
||||||
|
amount: 1
|
||||||
|
- id: JugIodine
|
||||||
|
amount: 1
|
||||||
|
- id: JugPhosphorus
|
||||||
|
amount: 1
|
||||||
|
- id: JugSulfur
|
||||||
|
amount: 1
|
||||||
|
- id: JugSilicon
|
||||||
|
amount: 1
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateChemistryS
|
||||||
|
parent: CrateChemistrySecure
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
|
- id: JugHydrogen
|
||||||
|
amount: 1
|
||||||
|
- id: JugLithium
|
||||||
|
amount: 1
|
||||||
|
- id: JugSodium
|
||||||
|
amount: 1
|
||||||
|
- id: JugPotassium
|
||||||
|
amount: 1
|
||||||
|
- id: JugRadium
|
||||||
|
amount: 1
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateChemistryD
|
||||||
|
parent: CrateChemistrySecure
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
|
- id: JugIron
|
||||||
|
amount: 1
|
||||||
|
- id: JugCopper
|
||||||
|
amount: 1
|
||||||
|
- id: JugGold
|
||||||
|
amount: 1
|
||||||
|
- id: JugMercury
|
||||||
|
amount: 1
|
||||||
|
- id: JugSilver
|
||||||
|
amount: 1
|
||||||
@@ -0,0 +1,301 @@
|
|||||||
|
- type: entity
|
||||||
|
name: jug
|
||||||
|
parent: BaseItem
|
||||||
|
id: Jug
|
||||||
|
description: Used to contain a very large amount of chemicals or solutions. Chugging is extremely ill-advised.
|
||||||
|
components:
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
maxVol: 200
|
||||||
|
canMix: true
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Specific/Chemistry/jug.rsi
|
||||||
|
netsync: false
|
||||||
|
layers:
|
||||||
|
- state: jug
|
||||||
|
- state: jug1
|
||||||
|
map: [ "enum.SolutionContainerLayers.Fill" ]
|
||||||
|
visible: false
|
||||||
|
- type: Item
|
||||||
|
size: 10
|
||||||
|
sprite: Objects/Specific/Chemistry/jug.rsi
|
||||||
|
- type: RefillableSolution
|
||||||
|
solution: beaker
|
||||||
|
- type: DrainableSolution
|
||||||
|
solution: beaker
|
||||||
|
- type: ExaminableSolution
|
||||||
|
solution: beaker
|
||||||
|
- type: DrawableSolution
|
||||||
|
solution: beaker
|
||||||
|
- type: InjectableSolution
|
||||||
|
solution: beaker
|
||||||
|
- type: SolutionTransfer
|
||||||
|
canChangeTransferAmount: true
|
||||||
|
- type: UserInterface
|
||||||
|
interfaces:
|
||||||
|
- key: enum.TransferAmountUiKey.Key
|
||||||
|
type: TransferAmountBoundUserInterface
|
||||||
|
- type: Drink
|
||||||
|
isOpen: true
|
||||||
|
solution: beaker
|
||||||
|
- type: Spillable
|
||||||
|
solution: beaker
|
||||||
|
- type: Appearance
|
||||||
|
- type: SolutionContainerVisuals
|
||||||
|
maxFillLevels: 6
|
||||||
|
fillBaseName: jug
|
||||||
|
- type: StaticPrice
|
||||||
|
price: 80
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugCarbon
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Carbon
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Carbon
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugIodine
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Iodine
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Iodine
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugFluorine
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Fluorine
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Fluorine
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugChlorine
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Chlorine
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Chlorine
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugAluminium
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Aluminium
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Aluminium
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugPhosphorus
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Phosphorus
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Phosphorus
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugSulfur
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Sulfur
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Sulfur
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugSilicon
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Silicon
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Silicon
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugHydrogen
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Hydrogen
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Hydrogen
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugLithium
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Lithium
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Lithium
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugSodium
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Sodium
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Sodium
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugPotassium
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Potassium
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Potassium
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugRadium
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Radium
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Radium
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugIron
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Iron
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Iron
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugCopper
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Copper
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Copper
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugGold
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Gold
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Gold
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugMercury
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Mercury
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Mercury
|
||||||
|
Quantity: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Jug
|
||||||
|
id: JugSilver
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Label
|
||||||
|
currentLabel: Silver
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
beaker:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Silver
|
||||||
|
Quantity: 200
|
||||||
@@ -155,6 +155,18 @@
|
|||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["Medical"]]
|
access: [["Medical"]]
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: CrateBaseSecure
|
||||||
|
id: CrateChemistrySecure
|
||||||
|
name: secure chemistry crate
|
||||||
|
components:
|
||||||
|
- type: Icon
|
||||||
|
sprite: Structures/Storage/Crates/chemcrate_secure.rsi
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Storage/Crates/chemcrate_secure.rsi
|
||||||
|
- type: AccessReader
|
||||||
|
access: [["Chemistry"]]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: CrateBaseSecure
|
parent: CrateBaseSecure
|
||||||
id: CratePrivateSecure
|
id: CratePrivateSecure
|
||||||
|
|||||||
|
After Width: | Height: | Size: 297 B |
|
After Width: | Height: | Size: 277 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug.png
Normal file
|
After Width: | Height: | Size: 346 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug1.png
Normal file
|
After Width: | Height: | Size: 129 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug2.png
Normal file
|
After Width: | Height: | Size: 146 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug3.png
Normal file
|
After Width: | Height: | Size: 166 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug4.png
Normal file
|
After Width: | Height: | Size: 164 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug5.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
Resources/Textures/Objects/Specific/Chemistry/jug.rsi/jug6.png
Normal file
|
After Width: | Height: | Size: 164 B |
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Created by HoofedEar",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "jug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-left",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-right",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jug6"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 476 B |
|
After Width: | Height: | Size: 415 B |
|
After Width: | Height: | Size: 345 B |
|
After Width: | Height: | Size: 146 B |
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from Citadelstation at commit https://github.com/Citadel-Station-13/Citadel-Station-13/commit/85186a971453b0653bacfb3fae88f978dc1be689 - Modified by HoofedEar",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "base"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "welded"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sparking",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "locked"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "unlocked"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 157 B |
|
After Width: | Height: | Size: 276 B |