Add puddles / reagent spills (#743)
This commit is contained in:
119
Resources/Prototypes/Entities/Fluids/puddle.yml
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
|
||||
|
||||
Reference in New Issue
Block a user