Mopping ECS (No BucketComponents allowed!) (#6718)

Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
This commit is contained in:
Willhelm53
2022-03-14 16:02:26 -05:00
committed by GitHub
parent 84225dde3d
commit 65178bccc4
10 changed files with 449 additions and 332 deletions

View File

@@ -0,0 +1,15 @@
mopping-system-tool-full = { CAPITALIZE(THE($used)) } is full!
mopping-system-puddle-diluted = You dilute the puddle.
mopping-system-puddle-success = You mop the puddle.
mopping-system-release-to-floor = You squeeze some liquid onto the floor.
mopping-system-target-container-full = { CAPITALIZE(THE($target)) } is full!
mopping-system-target-container-empty = { CAPITALIZE(THE($target)) } is empty!
mopping-system-target-container-too-small = { CAPITALIZE(THE($target)) } is too small for that!
mopping-system-refillable-success = You wring { THE($used) } into { THE($target) }.
mopping-system-drainable-success = You wet { THE($used) } from { THE($target) }.
mopping-system-hand-squeeze-still-wet = You wring { THE($used) } with your hands. It's still wet.
mopping-system-hand-squeeze-little-wet = You wring { THE($used) } with your hands. It's still a little wet.
mopping-system-hand-squeeze-dry = You wring { THE($used) } with your hands. It's pretty much dry.

View File

@@ -1,3 +0,0 @@
mop-component-mop-is-dry-message = Mop needs to be wet!
mop-component-mop-is-full-message = Mop is full!
mop-component-mop-is-now-full-message = Mop is now full

View File

@@ -11,10 +11,13 @@
- type: Item
size: 10
sprite: Objects/Specific/Janitorial/mop.rsi
- type: Mop
- type: Absorbent
- type: Tag
tags:
- Mop
- type: SolutionContainerManager
solutions:
mop:
absorbed:
maxVol: 50
- type: Tag
tags:
@@ -34,7 +37,6 @@
- state: mopbucket_water
drawdepth: Objects
- type: InteractionOutline
- type: Bucket
- type: SolutionContainerManager
solutions:
bucket:
@@ -42,6 +44,13 @@
reagents:
- ReagentId: Water
Quantity: 250 # half-full at roundstart to leave room for puddles
- type: DrainableSolution
solution: bucket
- type: RefillableSolution
solution: bucket
- type: Tag
tags:
- Wringer
- type: Physics
bodyType: Dynamic
- type: Fixtures

View File

@@ -16,7 +16,6 @@
sprite: Objects/Tools/bucket.rsi
Slots:
- HEAD
- type: Bucket
- type: SolutionContainerManager
solutions:
bucket:

View File

@@ -204,6 +204,9 @@
- type: Tag
id: MonkeyCube
- type: Tag
id: Mop
- type: Tag
id: NoSpinOnThrow
@@ -310,5 +313,8 @@
- type: Tag
id: Wrench
- type: Tag
id: Wringer
- type: Tag
id: Write