Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sticky notes #2853

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Resources/Prototypes/Catalog/Fills/Crates/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
- type: StorageFill
contents:
- id: Paper
amount: 10 # DeltaV - make room for more folders in the bureaucracy crate
amount: 6 # DeltaV - make room for more folders & stickies in the bureaucracy crate
- id: Pen
amount: 2
- id: BoxFolderClipboard
Expand All @@ -136,6 +136,12 @@
amount: 2 # DeltaV - more folders in the bureacracy crate
- id: BoxFolderYellow
amount: 2 # DeltaV - more folders in the bureacracy crate
# Begin DeltaV: sticky notes
- id: PaperStickyNoteStackFilled
- id: PaperStickyNoteStackFilledPink
- id: PaperStickyNoteStackFilledGreen
- id: PaperStickyNoteStackFilledBlue
# End DeltaV: sticky notes
- id: NewtonCradle
- id: BoxEnvelope
- id: BrbSign
Expand Down
344 changes: 344 additions & 0 deletions Resources/Prototypes/_DV/Entities/Objects/Misc/sticky_notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,344 @@
# tags

- type: Tag
id: StickyNoteYellow

- type: Tag
id: StickyNotePink

- type: Tag
id: StickyNoteGreen

- type: Tag
id: StickyNoteBlue

# single sticky notes

- type: entity
parent: Paper
id: PaperStickyNote
name: sticky note
suffix: yellow
description: A sticky note, for when you want your reminders to stick
components:
sowelipililimute marked this conversation as resolved.
Show resolved Hide resolved
- type: Sprite
sprite: _DV/Objects/Misc/stickies.rsi
layers:
- state: sticky_note
color: "#dad71a"
- state: sticky_note_words
map: ["enum.PaperVisualLayers.Writing"]
color: "#dad71a"
visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false
sprite: Objects/Misc/bureaucracy.rsi
- type: PaperVisuals
contentMargin: 0.0, 0.0, 0.0, 0.0
maxWritableArea: 368.0, 368.0
backgroundModulate: "#fde663"
- type: Tag
tags:
- Document
- Paper
- StickyNoteYellow
- type: EmbeddableProjectile
removalTime: .2

- type: entity
parent: PaperStickyNote
id: PaperStickyNotePink
suffix: pink
components:
- type: Sprite
sprite: _DV/Objects/Misc/stickies.rsi
layers:
- state: sticky_note
color: "#ff8cba"
- state: sticky_note_words
map: ["enum.PaperVisualLayers.Writing"]
color: "#ff8cba"
visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false
sprite: Objects/Misc/bureaucracy.rsi
- type: Tag
tags:
- Document
- Paper
- StickyNotePink
- type: PaperVisuals
backgroundModulate: "#fbc4c4"

- type: entity
parent: PaperStickyNote
id: PaperStickyNoteGreen
suffix: green
components:
- type: Sprite
sprite: _DV/Objects/Misc/stickies.rsi
layers:
- state: sticky_note
color: "#9fd4a3"
- state: sticky_note_words
map: ["enum.PaperVisualLayers.Writing"]
color: "#9fd4a3"
visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false
sprite: Objects/Misc/bureaucracy.rsi
- type: Tag
tags:
- Document
- Paper
- StickyNoteGreen
- type: PaperVisuals
backgroundModulate: "#9fd4a3"

- type: entity
parent: PaperStickyNote
id: PaperStickyNoteBlue
suffix: blue
components:
- type: Sprite
sprite: _DV/Objects/Misc/stickies.rsi
layers:
- state: sticky_note
color: "#00c2e7"
- state: sticky_note_words
map: ["enum.PaperVisualLayers.Writing"]
color: "#00c2e7"
visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false
sprite: Objects/Misc/bureaucracy.rsi
- type: Tag
tags:
- Document
- Paper
- StickyNoteBlue
- type: PaperVisuals
backgroundModulate: "#58dbf4"

# sticky note stacks

- type: entity
parent: BaseItem
id: PaperStickyNoteStack
name: sticky note stack
suffix: yellow
components:
- type: Sprite
sprite: _DV/Objects/Misc/stickies.rsi
state: sticky_note_dispenser_base
color: "#dad71a"
drawdepth: SmallObjects
noRot: true
- type: Appearance
- type: ItemMapper
sprite: _DV/Objects/Misc/stickies.rsi
mapLayers:
sticky_note_dispenser_bin1:
whitelist:
tags:
- Paper
sticky_note_dispenser_bin2:
minCount: 4
whitelist:
tags:
- Paper
sticky_note_dispenser_bin3:
minCount: 8
whitelist:
tags:
- Paper
sticky_note_dispenser_bin4:
minCount: 12
whitelist:
tags:
- Paper
sticky_note_dispenser_bin5:
minCount: 16
whitelist:
tags:
- Paper
- type: Bin
whitelist:
tags:
- StickyNoteYellow
- type: ContainerContainer
containers:
bin-container: !type:Container {}

- type: entity
parent: PaperStickyNoteStack
id: PaperStickyNoteStackPink
name: sticky note stack
suffix: pink
components:
- type: Sprite
color: "#ff8cba"
- type: Bin
whitelist:
tags:
- StickyNotePink

- type: entity
parent: PaperStickyNoteStack
id: PaperStickyNoteStackGreen
name: sticky note stack
suffix: green
components:
- type: Sprite
color: "#9fd4a3"
- type: Bin
whitelist:
tags:
- StickyNoteGreen

- type: entity
parent: PaperStickyNoteStack
id: PaperStickyNoteStackBlue
name: sticky note stack
suffix: blue
components:
- type: Sprite
color: "#00c2e7"
- type: Bin
whitelist:
tags:
- StickyNoteBlue

# filled sticky note stacks

- type: entity
parent: PaperStickyNoteStack
id: PaperStickyNoteStackFilled
name: sticky note stack
suffix: yellow, filled
components:
- type: Bin
whitelist:
tags:
- StickyNoteYellow
initialContents:
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote
- PaperStickyNote

- type: entity
parent: PaperStickyNoteStackPink
id: PaperStickyNoteStackFilledPink
name: sticky note stack
suffix: pink, filled
components:
- type: Bin
whitelist:
tags:
- StickyNotePink
initialContents:
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink
- PaperStickyNotePink

- type: entity
parent: PaperStickyNoteStackGreen
id: PaperStickyNoteStackFilledGreen
name: sticky note stack
suffix: green, filled
components:
- type: Bin
whitelist:
tags:
- StickyNoteGreen
initialContents:
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen
- PaperStickyNoteGreen

- type: entity
parent: PaperStickyNoteStackBlue
id: PaperStickyNoteStackFilledBlue
name: sticky note stack
suffix: blue, filled
components:
- type: Bin
whitelist:
tags:
- StickyNoteBlue
initialContents:
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
- PaperStickyNoteBlue
Loading
Loading