From 2184d38460f22cff3a4af84f367d246bcff34da9 Mon Sep 17 00:00:00 2001
From: Moomoobeef <62638182+Moomoobeef@users.noreply.github.com>
Date: Wed, 4 Jun 2025 01:16:14 -0700
Subject: [PATCH] Stylized the nanotask printouts to be *pretty* (#37805)
---
.../en-US/cartridge-loader/cartridges.ftl | 10 +-
.../Entities/Objects/Misc/paper.yml | 19 ++++
.../Textures/Interface/Paper/attributions.yml | 6 ++
.../Paper/paper_heading_nanotask.svg | 102 ++++++++++++++++++
.../paper_heading_nanotask.svg.96dpi.png | Bin 0 -> 10317 bytes
5 files changed, 132 insertions(+), 5 deletions(-)
create mode 100644 Resources/Textures/Interface/Paper/attributions.yml
create mode 100644 Resources/Textures/Interface/Paper/paper_heading_nanotask.svg
create mode 100644 Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png
diff --git a/Resources/Locale/en-US/cartridge-loader/cartridges.ftl b/Resources/Locale/en-US/cartridge-loader/cartridges.ftl
index 5da0af441b..6621c000a3 100644
--- a/Resources/Locale/en-US/cartridge-loader/cartridges.ftl
+++ b/Resources/Locale/en-US/cartridge-loader/cartridges.ftl
@@ -64,11 +64,11 @@ nano-task-ui-description-placeholder = Get something important
nano-task-ui-requester-label = Requester:
nano-task-ui-requester-placeholder = John Nanotrasen
nano-task-ui-item-title = Edit Task
-nano-task-printed-description = Description: {$description}
-nano-task-printed-requester = Requester: {$requester}
-nano-task-printed-high-priority = Priority: High
-nano-task-printed-medium-priority = Priority: Medium
-nano-task-printed-low-priority = Priority: Low
+nano-task-printed-description = [bold]Description[/bold]: {$description}
+nano-task-printed-requester = [bold]Requester[/bold]: {$requester}
+nano-task-printed-high-priority = [bold]Priority[/bold]: [color=red]High[/color]
+nano-task-printed-medium-priority = [bold]Priority[/bold]: Medium
+nano-task-printed-low-priority = [bold]Priority[/bold]: Low
# Wanted list cartridge
wanted-list-program-name = Wanted list
diff --git a/Resources/Prototypes/Entities/Objects/Misc/paper.yml b/Resources/Prototypes/Entities/Objects/Misc/paper.yml
index 01017be81f..cd7dc74a75 100644
--- a/Resources/Prototypes/Entities/Objects/Misc/paper.yml
+++ b/Resources/Prototypes/Entities/Objects/Misc/paper.yml
@@ -217,6 +217,25 @@
- type: StaticPrice
price: 0
- type: NanoTaskPrinted
+ - type: Sprite
+ sprite: Objects/Misc/bureaucracy.rsi
+ layers:
+ - state: paper_receipt
+ - state: paper_receipt_words
+ map: ["enum.PaperVisualLayers.Writing"]
+ visible: false
+ - state: paper_stamp-generic
+ map: ["enum.PaperVisualLayers.Stamp"]
+ visible: false
+ - type: PaperVisuals
+ backgroundImagePath: "/Textures/Interface/Paper/paper_background_perforated.svg.96dpi.png"
+ headerImagePath: "/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png"
+ headerMargin: 0.0, 0.0, 0.0, 6.0
+ backgroundImageTile: true
+ backgroundPatchMargin: 0.0, 6.0, 0.0, 6.0
+ contentMargin: 12.0, 0.0, 12.0, 0.0
+ # This is a narrow piece of paper
+ maxWritableArea: 256.0, 0.0
- type: entity
id: PaperCargoBountyManifest
diff --git a/Resources/Textures/Interface/Paper/attributions.yml b/Resources/Textures/Interface/Paper/attributions.yml
new file mode 100644
index 0000000000..6d966fdb8e
--- /dev/null
+++ b/Resources/Textures/Interface/Paper/attributions.yml
@@ -0,0 +1,6 @@
+- files: ["paper_heading_nanotask.svg, paper_heading_nanotask.svg.96dpi.png"]
+ license: "CC-BY-SA-3.0"
+ copyright: "Created by moomoobeef"
+ source: "https://github.com/moomoobeef"
+
+ # TODO: need attributions for the rest of these files.
diff --git a/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg b/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg
new file mode 100644
index 0000000000..02583ee4a0
--- /dev/null
+++ b/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg
@@ -0,0 +1,102 @@
+
+
+
+
diff --git a/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png b/Resources/Textures/Interface/Paper/paper_heading_n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