]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Stylized the nanotask printouts to be *pretty* (#37805)
authorMoomoobeef <62638182+Moomoobeef@users.noreply.github.com>
Wed, 4 Jun 2025 08:16:14 +0000 (01:16 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jun 2025 08:16:14 +0000 (01:16 -0700)
Resources/Locale/en-US/cartridge-loader/cartridges.ftl
Resources/Prototypes/Entities/Objects/Misc/paper.yml
Resources/Textures/Interface/Paper/attributions.yml [new file with mode: 0644]
Resources/Textures/Interface/Paper/paper_heading_nanotask.svg [new file with mode: 0644]
Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png [new file with mode: 0644]

index 5da0af441b8a72fa4bed0519ba49df432c6ae986..6621c000a39dc464aa2050cdd39ee42d41f74541 100644 (file)
@@ -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
index 01017be81fa29b65df87e9d8cfc2bc49fad6309b..cd7dc74a75ed9903ff952811132acddfee848b64 100644 (file)
   - 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 (file)
index 0000000..6d966fd
--- /dev/null
@@ -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 (file)
index 0000000..02583ee
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="230"
+   height="72"
+   viewBox="0 0 60.854166 19.05"
+   version="1.1"
+   id="svg1"
+   xml:space="preserve"
+   inkscape:version="1.4.1 (93de688d07, 2025-03-30)"
+   sodipodi:docname="paper_heading_nanotask.svg"
+   inkscape:export-filename="paper_heading_nanotask.svg.96dpi.png"
+   inkscape:export-xdpi="96"
+   inkscape:export-ydpi="96"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
+     id="namedview1"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="false"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="px"
+     inkscape:zoom="4.9436763"
+     inkscape:cx="113.17488"
+     inkscape:cy="25.992802"
+     inkscape:window-width="2560"
+     inkscape:window-height="1360"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" /><defs
+     id="defs1" /><g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"><g
+       id="g11"
+       inkscape:label="shape thingy"
+       style="display:none"><path
+         id="path1"
+         style="fill:#ff7cc5;fill-opacity:1;stroke-width:0.121115;paint-order:stroke markers fill"
+         d="M 0,0 V 19.05 H 2.0220988 L 6.0668131,16.328719 H 4.0447143 L 8.0889119,13.606921 H 6.0668131 L 10.111011,10.88564 H 8.0889119 L 12.13311,8.1643594 H 10.111011 L 14.155208,5.4430785 H 12.13311 L 16.177307,2.7212808 H 14.155208 L 18.199923,-1.0434783e-7 Z"
+         inkscape:label="Shape thingy"
+         sodipodi:nodetypes="ccccccccccccccccc" /><path
+         id="path1-0"
+         style="fill:#cc639e;fill-opacity:1;stroke-width:0.121115;paint-order:stroke markers fill"
+         d="M 0,-3.0434783e-7 V 19.05 L 4.0447143,16.328718 H 2.0226155 L 6.0668131,13.606921 H 4.0447143 L 8.0889117,10.88564 H 6.0668131 L 10.111011,8.1643594 H 8.0889117 l 4.0441973,-2.721281 h -2.022098 l 4.044197,-2.721798 H 12.133109 L 16.177824,-3.0434783e-7 Z"
+         inkscape:label="Shape thingy"
+         sodipodi:nodetypes="cccccccccccccccc" /></g><text
+       xml:space="preserve"
+       style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87778px;line-height:1;font-family:Arial;-inkscape-font-specification:'Arial, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;letter-spacing:0px;writing-mode:lr-tb;direction:ltr;text-anchor:middle;fill:#000000;fill-opacity:1;stroke-width:0.1016;paint-order:stroke markers fill"
+       x="37.553146"
+       y="8.5165148"
+       id="text7"
+       inkscape:label="Title"><tspan
+         sodipodi:role="line"
+         id="tspan7"
+         style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87778px;font-family:Arial;-inkscape-font-specification:'Arial, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.1016"
+         x="37.553146"
+         y="8.5165148">NanoTask</tspan></text><text
+       xml:space="preserve"
+       style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333px;line-height:1;font-family:Arial;-inkscape-font-specification:'Arial, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;letter-spacing:0px;writing-mode:lr-tb;direction:ltr;text-anchor:middle;fill:#000000;fill-opacity:1;stroke-width:0.1016;paint-order:stroke markers fill"
+       x="37.560936"
+       y="12.568236"
+       id="text7-1"
+       inkscape:label="Subtitle"><tspan
+         sodipodi:role="line"
+         id="tspan7-0"
+         style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333px;font-family:Arial;-inkscape-font-specification:'Arial, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.1016"
+         x="37.560936"
+         y="12.568236">Your own personal</tspan><tspan
+         sodipodi:role="line"
+         style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333px;font-family:Arial;-inkscape-font-specification:'Arial, Italic';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.1016"
+         x="37.560936"
+         y="16.801567"
+         id="tspan10">productivity assistant!</tspan></text><g
+       id="g10"
+       inkscape:label="NanoTask Logo"
+       transform="matrix(1.8511661,0,0,1.8511661,-31.479707,-1.2442186)"><circle
+         style="fill:#ff7cc5;fill-opacity:1;stroke-width:0.124229;paint-order:stroke markers fill"
+         id="circle9"
+         cx="20.939524"
+         cy="5.5660329"
+         r="3.5991898" /><circle
+         style="fill:#cc639e;fill-opacity:1;stroke-width:0.1016;paint-order:stroke markers fill"
+         id="path9"
+         cx="20.939524"
+         cy="5.5660329"
+         r="2.9435754" /><path
+         style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.114215;stroke-opacity:1;paint-order:stroke markers fill"
+         d="M 19.918382,8.183145 23.611,4.4905287 23.039434,3.918963 20.031192,6.9272042 18.925663,5.8216757 18.241288,6.5060506 Z"
+         id="path10-4"
+         sodipodi:nodetypes="ccccccc" /><path
+         style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.114215;stroke-opacity:1;paint-order:stroke markers fill"
+         d="M 19.918382,8.0225864 23.611,4.3299701 23.039434,3.7584044 20.031192,6.7666456 18.925663,5.6611171 18.241288,6.345492 Z"
+         id="path10"
+         sodipodi:nodetypes="ccccccc" /></g></g></svg>
diff --git a/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png b/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png
new file mode 100644 (file)
index 0000000..694e21d
Binary files /dev/null and b/Resources/Textures/Interface/Paper/paper_heading_nanotask.svg.96dpi.png differ