]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Stair decals (#20080)
authorMorb <14136326+Morb0@users.noreply.github.com>
Tue, 12 Sep 2023 20:54:28 +0000 (23:54 +0300)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 20:54:28 +0000 (14:54 -0600)
* wip

* done

30 files changed:
Resources/Prototypes/Decals/stairs.yml [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/material_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/material_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/material_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/material_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_l_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_l_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_l_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_l_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_m_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_m_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_m_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_m_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_r_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_r_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_r_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_r_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stairs_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stone_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stone_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stone_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/stone_w.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/wood_e.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/wood_n.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/wood_s.png [new file with mode: 0644]
Resources/Textures/Decals/stairs.rsi/wood_w.png [new file with mode: 0644]

diff --git a/Resources/Prototypes/Decals/stairs.yml b/Resources/Prototypes/Decals/stairs.yml
new file mode 100644 (file)
index 0000000..db40e6f
--- /dev/null
@@ -0,0 +1,195 @@
+- type: decal
+  id: StairsMaterialE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: material_e
+
+- type: decal
+  id: StairsMaterialN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: material_n
+
+- type: decal
+  id: StairsMaterialS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: material_s
+
+- type: decal
+  id: StairsMaterialW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: material_w
+
+- type: decal
+  id: StairsE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_e
+
+- type: decal
+  id: StairsN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_n
+
+- type: decal
+  id: StairsS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_s
+
+- type: decal
+  id: StairsW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_w
+
+- type: decal
+  id: StairsLE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_l_e
+
+- type: decal
+  id: StairsLN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_l_n
+
+- type: decal
+  id: StairsLS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_l_s
+
+- type: decal
+  id: StairsLW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_l_w
+
+- type: decal
+  id: StairsME
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_m_e
+
+- type: decal
+  id: StairsMN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_m_n
+
+- type: decal
+  id: StairsMS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_m_s
+
+- type: decal
+  id: StairsMW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_m_w
+
+- type: decal
+  id: StairsRE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_r_e
+
+- type: decal
+  id: StairsRN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_r_n
+
+- type: decal
+  id: StairsRS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_r_s
+
+- type: decal
+  id: StairsRW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stairs_r_w
+
+- type: decal
+  id: StairsStoneE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stone_e
+
+- type: decal
+  id: StairsStoneN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stone_n
+
+- type: decal
+  id: StairsStoneS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stone_s
+
+- type: decal
+  id: StairsStoneW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: stone_w
+
+- type: decal
+  id: StairsWoodE
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: wood_e
+
+- type: decal
+  id: StairsWoodN
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: wood_n
+
+- type: decal
+  id: StairsWoodS
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: wood_s
+
+- type: decal
+  id: StairsWoodW
+  tags: ["station", "stairs"]
+  sprite:
+    sprite: Decals/stairs.rsi
+    state: wood_w
diff --git a/Resources/Textures/Decals/stairs.rsi/material_e.png b/Resources/Textures/Decals/stairs.rsi/material_e.png
new file mode 100644 (file)
index 0000000..26a4446
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/material_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/material_n.png b/Resources/Textures/Decals/stairs.rsi/material_n.png
new file mode 100644 (file)
index 0000000..a7bcbec
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/material_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/material_s.png b/Resources/Textures/Decals/stairs.rsi/material_s.png
new file mode 100644 (file)
index 0000000..6e6fc84
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/material_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/material_w.png b/Resources/Textures/Decals/stairs.rsi/material_w.png
new file mode 100644 (file)
index 0000000..06bc06e
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/material_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/meta.json b/Resources/Textures/Decals/stairs.rsi/meta.json
new file mode 100644 (file)
index 0000000..ad134bd
--- /dev/null
@@ -0,0 +1,95 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken from https://github.com/tgstation/tgstation/blob/2ddbdca1b7fb5cb85cbdcd566a489cbc4794edcf/icons/obj/stairs.dmi and https://github.com/tgstation/tgstation/blob/b2dda940c5abb74d1a53d21c371788edffd0db5b/icons/turf/floors.dmi",
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "states": [
+        {
+            "name": "material_e"
+        },
+        {
+            "name": "material_n"
+        },
+        {
+            "name": "material_s"
+        },
+        {
+            "name": "material_w"
+        },
+        {
+            "name": "stairs_e"
+        },
+        {
+            "name": "stairs_n"
+        },
+        {
+            "name": "stairs_s"
+        },
+        {
+            "name": "stairs_w"
+        },
+        {
+            "name": "stairs_l_e"
+        },
+        {
+            "name": "stairs_l_n"
+        },
+        {
+            "name": "stairs_l_s"
+        },
+        {
+            "name": "stairs_l_w"
+        },
+        {
+            "name": "stairs_m_e"
+        },
+        {
+            "name": "stairs_m_n"
+        },
+        {
+            "name": "stairs_m_s"
+        },
+        {
+            "name": "stairs_m_w"
+        },
+        {
+            "name": "stairs_r_e"
+        },
+        {
+            "name": "stairs_r_n"
+        },
+        {
+            "name": "stairs_r_s"
+        },
+        {
+            "name": "stairs_r_w"
+        },
+        {
+            "name": "stone_e"
+        },
+        {
+            "name": "stone_n"
+        },
+        {
+            "name": "stone_s"
+        },
+        {
+            "name": "stone_w"
+        },
+        {
+            "name": "wood_e"
+        },
+        {
+            "name": "wood_n"
+        },
+        {
+            "name": "wood_s"
+        },
+        {
+            "name": "wood_w"
+        }
+    ]
+}
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_e.png b/Resources/Textures/Decals/stairs.rsi/stairs_e.png
new file mode 100644 (file)
index 0000000..e92ee5c
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_l_e.png b/Resources/Textures/Decals/stairs.rsi/stairs_l_e.png
new file mode 100644 (file)
index 0000000..528f496
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_l_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_l_n.png b/Resources/Textures/Decals/stairs.rsi/stairs_l_n.png
new file mode 100644 (file)
index 0000000..7842aa8
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_l_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_l_s.png b/Resources/Textures/Decals/stairs.rsi/stairs_l_s.png
new file mode 100644 (file)
index 0000000..1cbc824
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_l_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_l_w.png b/Resources/Textures/Decals/stairs.rsi/stairs_l_w.png
new file mode 100644 (file)
index 0000000..320b683
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_l_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_m_e.png b/Resources/Textures/Decals/stairs.rsi/stairs_m_e.png
new file mode 100644 (file)
index 0000000..5c20ba1
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_m_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_m_n.png b/Resources/Textures/Decals/stairs.rsi/stairs_m_n.png
new file mode 100644 (file)
index 0000000..de07f2d
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_m_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_m_s.png b/Resources/Textures/Decals/stairs.rsi/stairs_m_s.png
new file mode 100644 (file)
index 0000000..3ae8f70
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_m_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_m_w.png b/Resources/Textures/Decals/stairs.rsi/stairs_m_w.png
new file mode 100644 (file)
index 0000000..ff77d64
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_m_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_n.png b/Resources/Textures/Decals/stairs.rsi/stairs_n.png
new file mode 100644 (file)
index 0000000..e6c1cb8
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_r_e.png b/Resources/Textures/Decals/stairs.rsi/stairs_r_e.png
new file mode 100644 (file)
index 0000000..3aaccb9
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_r_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_r_n.png b/Resources/Textures/Decals/stairs.rsi/stairs_r_n.png
new file mode 100644 (file)
index 0000000..53ff270
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_r_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_r_s.png b/Resources/Textures/Decals/stairs.rsi/stairs_r_s.png
new file mode 100644 (file)
index 0000000..4a7a63d
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_r_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_r_w.png b/Resources/Textures/Decals/stairs.rsi/stairs_r_w.png
new file mode 100644 (file)
index 0000000..542fcdc
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_r_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_s.png b/Resources/Textures/Decals/stairs.rsi/stairs_s.png
new file mode 100644 (file)
index 0000000..1223846
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stairs_w.png b/Resources/Textures/Decals/stairs.rsi/stairs_w.png
new file mode 100644 (file)
index 0000000..9b6e711
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stairs_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stone_e.png b/Resources/Textures/Decals/stairs.rsi/stone_e.png
new file mode 100644 (file)
index 0000000..c9f78b2
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stone_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stone_n.png b/Resources/Textures/Decals/stairs.rsi/stone_n.png
new file mode 100644 (file)
index 0000000..7ac935d
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stone_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stone_s.png b/Resources/Textures/Decals/stairs.rsi/stone_s.png
new file mode 100644 (file)
index 0000000..3046e9e
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stone_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/stone_w.png b/Resources/Textures/Decals/stairs.rsi/stone_w.png
new file mode 100644 (file)
index 0000000..8cac12a
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/stone_w.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/wood_e.png b/Resources/Textures/Decals/stairs.rsi/wood_e.png
new file mode 100644 (file)
index 0000000..f3d6329
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/wood_e.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/wood_n.png b/Resources/Textures/Decals/stairs.rsi/wood_n.png
new file mode 100644 (file)
index 0000000..bcfb046
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/wood_n.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/wood_s.png b/Resources/Textures/Decals/stairs.rsi/wood_s.png
new file mode 100644 (file)
index 0000000..db2f46e
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/wood_s.png differ
diff --git a/Resources/Textures/Decals/stairs.rsi/wood_w.png b/Resources/Textures/Decals/stairs.rsi/wood_w.png
new file mode 100644 (file)
index 0000000..7f017f5
Binary files /dev/null and b/Resources/Textures/Decals/stairs.rsi/wood_w.png differ