From cace47191fc68ebfea4499c483fd44390eedfb22 Mon Sep 17 00:00:00 2001 From: Janet Blackquill Date: Sun, 2 Feb 2025 02:57:49 -0500 Subject: [PATCH] Add sticky notes --- .../Catalog/Fills/Crates/service.yml | 8 +- .../Entities/Objects/Misc/sticky_notes.yml | 344 ++++++++++++++++++ .../_DV/Objects/Misc/stickies.rsi/meta.json | 35 ++ .../Objects/Misc/stickies.rsi/sticky_note.png | Bin 0 -> 191 bytes .../sticky_note_dispenser_base.png | Bin 0 -> 153 bytes .../sticky_note_dispenser_bin1.png | Bin 0 -> 163 bytes .../sticky_note_dispenser_bin2.png | Bin 0 -> 177 bytes .../sticky_note_dispenser_bin3.png | Bin 0 -> 184 bytes .../sticky_note_dispenser_bin4.png | Bin 0 -> 196 bytes .../sticky_note_dispenser_bin5.png | Bin 0 -> 195 bytes .../Misc/stickies.rsi/sticky_note_words.png | Bin 0 -> 273 bytes 11 files changed, 386 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/_DV/Entities/Objects/Misc/sticky_notes.yml create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/meta.json create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_base.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin1.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin2.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin3.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin4.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin5.png create mode 100644 Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_words.png diff --git a/Resources/Prototypes/Catalog/Fills/Crates/service.yml b/Resources/Prototypes/Catalog/Fills/Crates/service.yml index e808df0e17e..c9b1e253b4f 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/service.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/service.yml @@ -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 @@ -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 diff --git a/Resources/Prototypes/_DV/Entities/Objects/Misc/sticky_notes.yml b/Resources/Prototypes/_DV/Entities/Objects/Misc/sticky_notes.yml new file mode 100644 index 00000000000..c6c13f0b1c2 --- /dev/null +++ b/Resources/Prototypes/_DV/Entities/Objects/Misc/sticky_notes.yml @@ -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: + - 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 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/meta.json b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/meta.json new file mode 100644 index 00000000000..aaca7900c9c --- /dev/null +++ b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/meta.json @@ -0,0 +1,35 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "sticky_note/sticky_note_wordssticky_note_dispenser_base/sticky_note_dispenser_bin1/sticky_note_dispenser_bin2/sticky_note_dispenser_bin3/sticky_note_dispenser_bin4/sticky_note_dispenser_bin5 by Janet Blackquill 2025", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "sticky_note" + }, + { + "name": "sticky_note_words" + }, + { + "name": "sticky_note_dispenser_base" + }, + { + "name": "sticky_note_dispenser_bin1" + }, + { + "name": "sticky_note_dispenser_bin2" + }, + { + "name": "sticky_note_dispenser_bin3" + }, + { + "name": "sticky_note_dispenser_bin4" + }, + { + "name": "sticky_note_dispenser_bin5" + } + ] +} \ No newline at end of file diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note.png new file mode 100644 index 0000000000000000000000000000000000000000..8368415c08d166197f685f3e055497f32a79518a GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}m7Xq+ArY-_ zr)=bHFyLX4KO&IgvHU!fr+-_Et`l?6suTK`K3>07HCN{+qhiYs>+W*HrB`M=2=m-W+S3j3^P6k4UjKx9jP7LeL$-D$|Vm)0PLp(Z@ z6C_v{Cx{q;K$7s9KmDZ~-L literal 0 HcmV?d00001 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin2.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin2.png new file mode 100644 index 0000000000000000000000000000000000000000..f662ff67fc8d2e3242d8296d4048c6c3b33ca732 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UjKx9jP7LeL$-D$|vOQfKLp(Z@ z6C_v{Cqyu~PR93bF+%ne@nhnpB+33Vm(p~#$pPA z*WC7T7j0a|vMBaLW1^9>9`m~$?rag0jhLOE)idfWx-rR!k6A*(XycRimlmP@O%wST Y@~-o|I%ax83TQ2Zr>mdKI;Vst03S;_X8-^I literal 0 HcmV?d00001 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin3.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin3.png new file mode 100644 index 0000000000000000000000000000000000000000..f7c166c976072848f0f7101e7934d9979610b5f4 GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UjKx9jP7LeL$-D$|iacE$Lp(a) zPCm%nV8Fx7e?-6_h5ZGSfdhMj%`Vr<4@@@~JvyrVy*o8>qL8z|pGL>dotdB2?o8gM zwovq?3F8KvXNP~diC^$$xuG4S9=$(*!V~q9`~XdrKX2oi)3jK>SC^-VD{R-g61&5< gL2rsyumHoH2N421c`@t118ryUboFyt=akR{0Lr&Oxc~qF literal 0 HcmV?d00001 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin4.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin4.png new file mode 100644 index 0000000000000000000000000000000000000000..72f56cad0713c6dd23174845a447b13bb12a9893 GIT binary patch literal 196 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UjKx9jP7LeL$-D$|>O5T>Lp(a) zPTt7dU?9NE@8UR9=vZbL8E>&X}i5+1wVIum9wt uXmTgdk71?Q!gq&qSzgGmocF+jLEPuAAp7Ny(zAgsVeoYIb6Mw<&;$U^K}?kZ literal 0 HcmV?d00001 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin5.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_dispenser_bin5.png new file mode 100644 index 0000000000000000000000000000000000000000..239d23f513e4da23291004b9e3f505f790bbb31e GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UjKx9jP7LeL$-D$|YCT;XLp(a) zPTt7dV8Fw|e}q9Z@dVESCIbhy1e=&mjv6m6L`Pitr+4jn%FDkKybdmC%f9|Bc87ZI z+N5hsE;AnZR5iaZ{|iH)>H*(}ojJevJ5HT0aPL4y$e%a%jI4_v-i>1@2;6WWUECmf tih{#7!E5WxELv_ezVKRYwLFNy{PzK2mQD_?P@qE?JYD@<);T3K0RWgnN}d1! literal 0 HcmV?d00001 diff --git a/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_words.png b/Resources/Textures/_DV/Objects/Misc/stickies.rsi/sticky_note_words.png new file mode 100644 index 0000000000000000000000000000000000000000..f573ad92f87b0aa55086cefa5b354c3bf2d74be5 GIT binary patch literal 273 zcmV+s0q*{ZP)Px#%Sl8*R9J=WltB)IAP_}=o388yYEs>D5{`p=FQEH+98SU(OzZ{f)@}+hZDM9H zt~zf6f#LH5GXn^MApAQgYGB*83rD!`dy@8rBia~4ihB$LS(9Y|0B&Wux&NFdmLA&x z066EMl!9{(0N}kxUDr@bv9+=c#EZVi9L_n1thE?Jz!(CowP`JftQXK)r}@3Ae%1~* z5dS{r!L=yxn&;zlU|n8a*Ci8sVC6t#47nFjA-}+_P literal 0 HcmV?d00001