Add puddles / reagent spills (#743)
BIN
Resources/Audio/effects/Fluids/slosh.ogg
Normal file
BIN
Resources/Audio/effects/Fluids/splat.ogg
Normal file
BIN
Resources/Audio/effects/Fluids/watersplash.ogg
Normal file
119
Resources/Prototypes/Entities/Fluids/puddle.yml
Normal file
@@ -0,0 +1,119 @@
|
||||
# TODO: Add the other mess types
|
||||
- type: entity
|
||||
id: PuddleBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: Sprite
|
||||
drawdepth: FloorObjects
|
||||
- type: Solution
|
||||
caps: 1
|
||||
- type: Puddle
|
||||
spill_sound: /Audio/effects/Fluids/splat.ogg
|
||||
recolor: true
|
||||
- type: Sound
|
||||
- type: InteractionOutline
|
||||
- type: Clickable
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
hard: false
|
||||
|
||||
- type: entity
|
||||
name: Puddle
|
||||
id: PuddleGeneric
|
||||
parent: PuddleSmear
|
||||
|
||||
- type: entity
|
||||
name: Gibblets
|
||||
id: PuddleGibblet
|
||||
parent: PuddleBase
|
||||
description: Holds spilt milk
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/gibblet.rsi # Placeholder
|
||||
state: gibblet-0
|
||||
- type: Icon
|
||||
icon: Fluids/gibblet.rsi
|
||||
state: gibblet-0
|
||||
- type: Puddle
|
||||
variants: 5
|
||||
|
||||
- type: entity
|
||||
name: Smear
|
||||
id: PuddleSmear
|
||||
parent: PuddleBase
|
||||
description: Holds spilt milk
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/smear.rsi # Placeholder
|
||||
state: smear-0
|
||||
- type: Icon
|
||||
icon: Fluids/smear.rsi
|
||||
state: smear-0
|
||||
- type: Puddle
|
||||
variants: 7
|
||||
|
||||
- type: entity
|
||||
name: Splatter
|
||||
id: PuddleSplatter
|
||||
parent: PuddleBase
|
||||
description: Holds spilt milk
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/splatter.rsi # Placeholder
|
||||
state: splatter-0
|
||||
- type: Icon
|
||||
icon: Fluids/splatter.rsi
|
||||
state: splatter-0
|
||||
- type: Puddle
|
||||
variants: 6
|
||||
|
||||
- type: entity
|
||||
name: Vomit
|
||||
id: PuddleVomit
|
||||
parent: PuddleBase
|
||||
description:
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/vomit.rsi
|
||||
state: vomit-0
|
||||
- type: Icon
|
||||
icon: Fluids/vomit.rsi
|
||||
state: vomit-0
|
||||
- type: Puddle
|
||||
variants: 4
|
||||
recolor: false
|
||||
|
||||
- type: entity
|
||||
name: Toxins vomit
|
||||
id: PuddleVomitToxin
|
||||
parent: PuddleBase
|
||||
description: You probably don't want to get too close to this
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/vomit_toxin.rsi
|
||||
state: vomit_toxin-0
|
||||
- type: Icon
|
||||
icon: Fluids/vomit_toxin.rsi
|
||||
state: vomit_toxin-0
|
||||
- type: Puddle
|
||||
variants: 4
|
||||
recolor: false
|
||||
|
||||
- type: entity
|
||||
name: Writing
|
||||
id: PuddleWriting
|
||||
parent: PuddleBase
|
||||
description: Holds spilt milk
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Fluids/writing.rsi # Placeholder
|
||||
state: writing-0
|
||||
- type: Icon
|
||||
icon: Fluids/writing.rsi
|
||||
state: writing-0
|
||||
- type: Puddle
|
||||
variants: 5
|
||||
@@ -1,5 +1,5 @@
|
||||
- type: entity
|
||||
parent: ReagentItem
|
||||
parent: BaseItem
|
||||
name: "Extra-Grip™ Mop"
|
||||
id: MopItem
|
||||
description: A mop that can't be stopped, viscera cleanup detail awaits.
|
||||
@@ -10,36 +10,68 @@
|
||||
texture: Objects/Janitorial/mop.png
|
||||
- type: Item
|
||||
Size: 10
|
||||
- type: Mop
|
||||
- type: Solution
|
||||
maxVol: 10
|
||||
caps: 1
|
||||
- type: Sound
|
||||
|
||||
- type: entity
|
||||
parent: ReagentItem
|
||||
parent: BaseItem
|
||||
name: Mop Bucket
|
||||
id: MopBucket
|
||||
description: Holds water and the tears of the janitor.
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
texture: Objects/Janitorial/mopbucket.png
|
||||
drawdepth: Objects
|
||||
- type: Icon
|
||||
texture: Objects/Janitorial/mopbucket.png
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Bucket
|
||||
- type: Sound
|
||||
- type: Solution
|
||||
maxVol: 500
|
||||
caps: 3
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.25,-0.25,0.25,0.25"
|
||||
mask: 3
|
||||
layer: 1
|
||||
IsScrapingFloor: true
|
||||
- type: Physics
|
||||
mass: 5
|
||||
Anchored: false
|
||||
- type: Sound
|
||||
|
||||
- type: entity
|
||||
parent: ReagentItem
|
||||
parent: BaseItem
|
||||
name: Bucket
|
||||
id: Bucket
|
||||
description: "It's a bucket."
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
texture: Objects/Janitorial/bucket.png
|
||||
drawdepth: Objects
|
||||
- type: Icon
|
||||
texture: Objects/Janitorial/bucket.png
|
||||
- type: Bucket
|
||||
- type: Sound
|
||||
- type: Solution
|
||||
maxVol: 500
|
||||
caps: 3
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.25,-0.25,0.25,0.25"
|
||||
mask: 3
|
||||
layer: 1
|
||||
IsScrapingFloor: true
|
||||
- type: Physics
|
||||
mass: 5
|
||||
Anchored: false
|
||||
- type: Sound
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: reagent
|
||||
id: chem.Nutriment
|
||||
name: Nutriment
|
||||
desc: Generic nutrition
|
||||
desc: All the vitamins, minerals, and carbohydrates the body needs in pure form.
|
||||
color: "#664330"
|
||||
metabolism:
|
||||
- !type:DefaultFood
|
||||
@@ -17,7 +17,7 @@
|
||||
id: chem.H2O
|
||||
name: Water
|
||||
desc: A tasty colorless liquid.
|
||||
color: "#808080"
|
||||
color: "#DEF7F5"
|
||||
metabolism:
|
||||
- !type:DefaultDrink
|
||||
rate: 1
|
||||
|
||||
BIN
Resources/Textures/Fluids/gibblet.rsi/gibblet-0.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
Resources/Textures/Fluids/gibblet.rsi/gibblet-1.png
Normal file
|
After Width: | Height: | Size: 301 B |
BIN
Resources/Textures/Fluids/gibblet.rsi/gibblet-2.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
Resources/Textures/Fluids/gibblet.rsi/gibblet-3.png
Normal file
|
After Width: | Height: | Size: 367 B |
BIN
Resources/Textures/Fluids/gibblet.rsi/gibblet-4.png
Normal file
|
After Width: | Height: | Size: 349 B |
31
Resources/Textures/Fluids/gibblet.rsi/meta.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "gibblet-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "gibblet-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "gibblet-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "gibblet-3",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "gibblet-4",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
39
Resources/Textures/Fluids/smear.rsi/meta.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "smear-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-3",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-4",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-5",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "smear-6",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/smear.rsi/smear-0.png
Normal file
|
After Width: | Height: | Size: 553 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-1.png
Normal file
|
After Width: | Height: | Size: 519 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-2.png
Normal file
|
After Width: | Height: | Size: 481 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-3.png
Normal file
|
After Width: | Height: | Size: 509 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-4.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-5.png
Normal file
|
After Width: | Height: | Size: 511 B |
BIN
Resources/Textures/Fluids/smear.rsi/smear-6.png
Normal file
|
After Width: | Height: | Size: 387 B |
35
Resources/Textures/Fluids/splatter.rsi/meta.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "splatter-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "splatter-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "splatter-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "splatter-3",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "splatter-4",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "splatter-5",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-0.png
Normal file
|
After Width: | Height: | Size: 392 B |
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-1.png
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-2.png
Normal file
|
After Width: | Height: | Size: 440 B |
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-3.png
Normal file
|
After Width: | Height: | Size: 383 B |
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-4.png
Normal file
|
After Width: | Height: | Size: 279 B |
BIN
Resources/Textures/Fluids/splatter.rsi/splatter-5.png
Normal file
|
After Width: | Height: | Size: 267 B |
27
Resources/Textures/Fluids/vomit.rsi/meta.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "vomit-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit-3",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/vomit.rsi/vomit-0.png
Normal file
|
After Width: | Height: | Size: 566 B |
BIN
Resources/Textures/Fluids/vomit.rsi/vomit-1.png
Normal file
|
After Width: | Height: | Size: 663 B |
BIN
Resources/Textures/Fluids/vomit.rsi/vomit-2.png
Normal file
|
After Width: | Height: | Size: 523 B |
BIN
Resources/Textures/Fluids/vomit.rsi/vomit-3.png
Normal file
|
After Width: | Height: | Size: 457 B |
27
Resources/Textures/Fluids/vomit_toxin.rsi/meta.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "vomit_toxin-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit_toxin-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit_toxin-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "vomit_toxin-3",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/vomit_toxin.rsi/vomit_toxin-0.png
Normal file
|
After Width: | Height: | Size: 613 B |
BIN
Resources/Textures/Fluids/vomit_toxin.rsi/vomit_toxin-1.png
Normal file
|
After Width: | Height: | Size: 722 B |
BIN
Resources/Textures/Fluids/vomit_toxin.rsi/vomit_toxin-2.png
Normal file
|
After Width: | Height: | Size: 573 B |
BIN
Resources/Textures/Fluids/vomit_toxin.rsi/vomit_toxin-3.png
Normal file
|
After Width: | Height: | Size: 501 B |
31
Resources/Textures/Fluids/writing.rsi/meta.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/aff0d780742ca3902d8b05f854c212c8cda32c4f/icons/effects/blood.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "writing-0",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "writing-1",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "writing-2",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "writing-3",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "writing-4",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/writing.rsi/writing-0.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
Resources/Textures/Fluids/writing.rsi/writing-1.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
Resources/Textures/Fluids/writing.rsi/writing-2.png
Normal file
|
After Width: | Height: | Size: 362 B |
BIN
Resources/Textures/Fluids/writing.rsi/writing-3.png
Normal file
|
After Width: | Height: | Size: 402 B |
BIN
Resources/Textures/Fluids/writing.rsi/writing-4.png
Normal file
|
After Width: | Height: | Size: 296 B |