components:
- type: Sprite
drawdepth: Effects
- color: "#ffffffcc" #Add some transparency
+ color: "#ffffffcc"
sprite: Effects/foam.rsi
- state: foam
layers:
- state: foam
map: ["enum.FoamVisualLayers.Base"]
+ - map: [ "enum.EdgeLayer.South" ]
+ state: foam-south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: foam-east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: foam-north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: foam-west
- type: AnimationPlayer
- type: Appearance
+ - type: SmoothEdge
+ - type: IconSmooth
+ key: walls
+ mode: NoSprite
- type: SmokeVisuals
- type: FoamVisuals
animationTime: 0.6
- type: StepTrigger
- type: entity
- id: IronMetalFoam
- name: iron metal foam
+ id: MetalFoam
+ name: metal foam
noSpawn: true
parent: Foam
components:
- type: Sprite
- state: mfoam
+ drawdepth: Effects
+ color: "#ffffffcc"
+ sprite: Effects/foam.rsi
layers:
- - state: mfoam
- map: ["enum.FoamVisualLayers.Base"]
+ - state: m_foam
+ map: ["enum.FoamVisualLayers.Base"]
+ - map: [ "enum.EdgeLayer.South" ]
+ state: m_foam-south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: m_foam-east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: m_foam-north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: m_foam-west
- type: Appearance
- type: SmokeVisuals
- type: FoamVisuals
animationTime: 0.6
- animationState: mfoam-dissolve
+ animationState: m_foam-dissolve
- type: Smoke
+
+- type: entity
+ id: IronMetalFoam
+ name: iron metal foam
+ noSpawn: true
+ parent: MetalFoam
+ components:
- type: SpawnOnDespawn
prototype: FoamedIronMetal
id: AluminiumMetalFoam
name: aluminium metal foam
noSpawn: true
- parent: Foam
+ parent: MetalFoam
components:
- - type: Sprite
- state: mfoam
- layers:
- - state: mfoam
- map: ["enum.FoamVisualLayers.Base"]
- - type: Appearance
- - type: SmokeVisuals
- - type: FoamVisuals
- animationTime: 0.6
- animationState: mfoam-dissolve
- - type: Smoke
- type: SpawnOnDespawn
prototype: FoamedAluminiumMetal
mask:
- WallLayer
- type: Occluder
+ - type: Appearance
+ - type: SmoothEdge
+ - type: IconSmooth
+ key: walls
+ mode: NoSprite
- type: Transform
anchored: true
- type: Airtight
parent: BaseFoamedMetal
components:
- type: Sprite
+ drawdepth: Effects
+ color: "#ffffffcc"
sprite: Effects/foam.rsi
- state: ironfoam
+ layers:
+ - state: iron_foam
+ map: ["enum.FoamVisualLayers.Base"]
+ - map: [ "enum.EdgeLayer.South" ]
+ state: iron_foam-south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: iron_foam-east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: iron_foam-north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: iron_foam-west
- type: entity
id: FoamedAluminiumMetal
parent: BaseFoamedMetal
components:
- type: Sprite
+ drawdepth: Effects
+ color: "#ffffffcc"
sprite: Effects/foam.rsi
- state: metalfoam
+ layers:
+ - state: metal_foam
+ map: ["enum.FoamVisualLayers.Base"]
+ - map: [ "enum.EdgeLayer.South" ]
+ state: metal_foam-south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: metal_foam-east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: metal_foam-north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: metal_foam-west
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi", "states": [{"name": "foam", "directions": 1}, {"name": "foam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}, {"name": "ironfoam", "directions": 1}, {"name": "metalfoam", "directions": 1}, {"name": "mfoam", "directions": 1}, {"name": "mfoam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}]}
\ No newline at end of file
+{
+ "version": 1,
+ "license": "CC-BY-SA-3.0",
+ "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi, foam_directionals by brainfood1183 (github)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "states": [
+ {
+ "name": "foam"
+ },
+ {
+ "name": "foam-west"
+ },
+ {
+ "name": "foam-east"
+ },
+ {
+ "name": "foam-north"
+ },
+ {
+ "name": "foam-south"
+ },
+ {
+ "name": "iron_foam"
+ },
+ {
+ "name": "iron_foam-north"
+ },
+ {
+ "name": "iron_foam-east"
+ },
+ {
+ "name": "iron_foam-south"
+ },
+ {
+ "name": "iron_foam-west"
+ },
+ {
+ "name": "metal_foam"
+ },
+ {
+ "name": "metal_foam-north"
+ },
+ {
+ "name": "metal_foam-east"
+ },
+ {
+ "name": "metal_foam-south"
+ },
+ {
+ "name": "metal_foam-west"
+ },
+ {
+ "name": "m_foam"
+ },
+ {
+ "name": "m_foam-north"
+ },
+ {
+ "name": "m_foam-east"
+ },
+ {
+ "name": "m_foam-south"
+ },
+ {
+ "name": "m_foam-west"
+ },
+ {
+ "name": "m_foam-dissolve",
+ "directions": 1,
+ "delays": [
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ]
+ ]
+ },
+ {
+ "name": "foam-dissolve",
+ "directions": 1,
+ "delays": [
+ [
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1,
+ 0.1
+ ]
+ ]
+ }
+ ]
+}