]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Two variations of human scars (#21895)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Mon, 11 Dec 2023 09:18:20 +0000 (20:18 +1100)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 09:18:20 +0000 (02:18 -0700)
* add

* fix

Resources/Locale/en-US/markings/scars.ftl [new file with mode: 0644]
Resources/Prototypes/Entities/Mobs/Customization/Markings/scars.yml [new file with mode: 0644]
Resources/Textures/Mobs/Customization/scars.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_left.png [new file with mode: 0644]
Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_right.png [new file with mode: 0644]

diff --git a/Resources/Locale/en-US/markings/scars.ftl b/Resources/Locale/en-US/markings/scars.ftl
new file mode 100644 (file)
index 0000000..e229795
--- /dev/null
@@ -0,0 +1,5 @@
+marking-ScarEyeRight-eyescarright = Eye scar (Right)
+marking-ScarEyeRight = Eye Scar (Right)
+
+marking-ScarEyeLeft-eyescarleft = Eye scar (Left)
+marking-ScarEyeLeft = Eye Scar (Left)
\ No newline at end of file
diff --git a/Resources/Prototypes/Entities/Mobs/Customization/Markings/scars.yml b/Resources/Prototypes/Entities/Mobs/Customization/Markings/scars.yml
new file mode 100644 (file)
index 0000000..9475216
--- /dev/null
@@ -0,0 +1,27 @@
+- type: marking
+  id: ScarEyeRight
+  bodyPart: Head
+  markingCategory: Head
+  speciesRestriction: [Human, Dwarf]
+  coloring:
+    default:
+      type:
+        !type:TattooColoring
+      fallbackColor: "#FFFFFF"
+  sprites:
+  - sprite: Mobs/Customization/scars.rsi
+    state: scar_eye_right
+
+- type: marking
+  id: ScarEyeLeft
+  bodyPart: Head
+  markingCategory: Head
+  speciesRestriction: [Human, Dwarf]
+  coloring:
+    default:
+      type:
+        !type:TattooColoring
+      fallbackColor: "#FFFFFF"
+  sprites:
+  - sprite: Mobs/Customization/scars.rsi
+    state: scar_eye_left
diff --git a/Resources/Textures/Mobs/Customization/scars.rsi/meta.json b/Resources/Textures/Mobs/Customization/scars.rsi/meta.json
new file mode 100644 (file)
index 0000000..c36c925
--- /dev/null
@@ -0,0 +1,19 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Drawn by Ubaser",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "scar_eye_left",
+      "directions": 4
+    },
+    {
+      "name": "scar_eye_right",
+      "directions": 4
+    }
+  ]
+}
diff --git a/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_left.png b/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_left.png
new file mode 100644 (file)
index 0000000..3bfa12f
Binary files /dev/null and b/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_left.png differ
diff --git a/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_right.png b/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_right.png
new file mode 100644 (file)
index 0000000..7d5891f
Binary files /dev/null and b/Resources/Textures/Mobs/Customization/scars.rsi/scar_eye_right.png differ