Cryo and grinder cleanup (#34842)
* cryopod and grinder cleanup * lower case name * 4 spaces * prototype clean * looks like there is some kind of test that prevents removing this * grinder too * both should be empty * cleanup
@@ -1,4 +1,4 @@
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
@@ -16,7 +16,7 @@ public sealed partial class CryoPodComponent : Component
|
||||
public string PortName { get; set; } = "port";
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the name of the atmospherics port to draw gas from.
|
||||
/// Specifies the name of the slot that holds beaker with medicine.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("solutionContainerName")]
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
id: DummyGrind
|
||||
verbText: mixing-verb-default-grind
|
||||
icon:
|
||||
sprite: Structures/Machines/juicer.rsi
|
||||
state: juicer0
|
||||
sprite: Structures/Machines/grinder.rsi
|
||||
state: grinder_empty
|
||||
|
||||
- type: mixingCategory
|
||||
id: DummyJuice
|
||||
verbText: mixing-verb-default-juice
|
||||
icon:
|
||||
sprite: Structures/Machines/juicer.rsi
|
||||
state: juicer0
|
||||
sprite: Structures/Machines/grinder.rsi
|
||||
state: grinder_empty
|
||||
|
||||
- type: mixingCategory
|
||||
id: DummyCondense
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
- type: entity
|
||||
- type: entity
|
||||
parent: [BaseStructure, ConstructibleMachine] # Not a BaseMachinePowered since we don't want the anchorable component
|
||||
id: CryoPod
|
||||
name: cryo pod
|
||||
description: A special machine intended to create a safe environment for the use of chemicals that react in cold environments.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/cryogenics.rsi
|
||||
sprite: Structures/Machines/Medical/cryopod.rsi
|
||||
drawdepth: Mobs
|
||||
noRot: true
|
||||
offset: 0, 0.5
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
description: From BlenderTech. Will It Blend? Let's find out!
|
||||
suffix: grinder/juicer
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: ReagentGrinder
|
||||
- type: ActivatableUI
|
||||
key: enum.ReagentGrinderUiKey.Key
|
||||
@@ -19,8 +17,8 @@
|
||||
visuals:
|
||||
enum.ReagentGrinderVisualState.BeakerAttached:
|
||||
grinder:
|
||||
True: {state: "juicer1"}
|
||||
False: {state: "juicer0"}
|
||||
True: {state: "grinder_beaker_attached"}
|
||||
False: {state: "grinder_empty"}
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
@@ -33,13 +31,13 @@
|
||||
layer:
|
||||
- TabletopMachineLayer
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/juicer.rsi
|
||||
sprite: Structures/Machines/grinder.rsi
|
||||
drawdepth: SmallObjects
|
||||
snapCardinals: true
|
||||
offset: "0.0,0.4"
|
||||
layers:
|
||||
- map: [ "grinder" ]
|
||||
state: "juicer0"
|
||||
state: "grinder_empty"
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 300
|
||||
- type: ItemSlots
|
||||
|
||||
|
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
|
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 579 B |
17
Resources/Textures/Structures/Machines/grinder.rsi/meta.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"license":"CC-BY-SA-3.0",
|
||||
"copyright":"https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d",
|
||||
"version":1,
|
||||
"size":{
|
||||
"x":32,
|
||||
"y":32
|
||||
},
|
||||
"states":[
|
||||
{
|
||||
"name":"grinder_empty"
|
||||
},
|
||||
{
|
||||
"name":"grinder_beaker_attached"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{"license": "CC-BY-SA-3.0", "copyright": "https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d","version": 1, "size": {"x": 32, "y": 32}, "states": [{"name": "juicer0", "delays": [[1.0]]}, {"name": "juicer1", "delays": [[1.0]]}]}
|
||||