]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make cargo pallets smoothing with eachother (#27049)
authorlzk <124214523+lzk228@users.noreply.github.com>
Wed, 17 Apr 2024 13:22:09 +0000 (15:22 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 13:22:09 +0000 (23:22 +1000)
18 files changed:
Resources/Prototypes/Entities/Objects/Specific/Cargo/cargo_pallet.yml
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_0.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_1.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_2.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_3.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_4.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_5.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_6.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_7.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_0.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_1.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_2.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_3.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_4.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_5.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_6.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_7.png [new file with mode: 0644]
Resources/Textures/Structures/cargo_pallets.rsi/meta.json

index c628d199a90af31104abc902144f295d36e33804..7c3ce28b2c13e94c97e858fcf0f2943007214b95 100644 (file)
     palletType: sell
   - type: Sprite
     drawdepth: FloorTiles
-    layers:
-    - sprite: Structures/cargo_pallets.rsi
-      state: cargo_pallet_sell
-
+    sprite: Structures/cargo_pallets.rsi
+  - type: Icon
+    sprite: Structures/cargo_pallets.rsi
+    state: cargo_pallet_sell
+  - type: IconSmooth
+    key: cargo_pallet_sell
+    base: cargo_pallet_sell_
 
 - type: entity
   id: CargoPalletBuy
     palletType: buy
   - type: Sprite
     drawdepth: FloorTiles
-    layers:
-    - sprite: Structures/cargo_pallets.rsi
-      state: cargo_pallet_buy
-
+    sprite: Structures/cargo_pallets.rsi
+  - type: Icon
+    sprite: Structures/cargo_pallets.rsi
+    state: cargo_pallet_buy
+  - type: IconSmooth
+    key: cargo_pallet_buy
+    base: cargo_pallet_buy_
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_0.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_0.png
new file mode 100644 (file)
index 0000000..1505c89
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_0.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_1.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_1.png
new file mode 100644 (file)
index 0000000..e0d5a4d
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_1.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_2.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_2.png
new file mode 100644 (file)
index 0000000..1505c89
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_2.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_3.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_3.png
new file mode 100644 (file)
index 0000000..e0d5a4d
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_3.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_4.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_4.png
new file mode 100644 (file)
index 0000000..38cb411
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_4.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_5.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_5.png
new file mode 100644 (file)
index 0000000..b863e36
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_5.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_6.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_6.png
new file mode 100644 (file)
index 0000000..38cb411
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_6.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_7.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_7.png
new file mode 100644 (file)
index 0000000..88ffa37
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_buy_7.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_0.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_0.png
new file mode 100644 (file)
index 0000000..136a480
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_0.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_1.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_1.png
new file mode 100644 (file)
index 0000000..06fb688
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_1.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_2.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_2.png
new file mode 100644 (file)
index 0000000..136a480
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_2.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_3.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_3.png
new file mode 100644 (file)
index 0000000..06fb688
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_3.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_4.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_4.png
new file mode 100644 (file)
index 0000000..80a85ef
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_4.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_5.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_5.png
new file mode 100644 (file)
index 0000000..4a194d7
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_5.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_6.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_6.png
new file mode 100644 (file)
index 0000000..80a85ef
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_6.png differ
diff --git a/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_7.png b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_7.png
new file mode 100644 (file)
index 0000000..88ffa37
Binary files /dev/null and b/Resources/Textures/Structures/cargo_pallets.rsi/cargo_pallet_sell_7.png differ
index 4751d95b9b59d7bd22960564ac8a72a33f547a46..c32fcfefd05967cd5899e585680d084bee8294b5 100644 (file)
         {
             "name": "cargo_pallet_buy"
         },
+        {
+            "name": "cargo_pallet_buy_0",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_1",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_2",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_3",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_4",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_5",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_6",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_buy_7",
+            "directions": 4
+        },
         {
             "name": "cargo_pallet_sell"
+        },
+        {
+            "name": "cargo_pallet_sell_0",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_1",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_2",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_3",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_4",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_5",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_6",
+            "directions": 4
+        },
+        {
+            "name": "cargo_pallet_sell_7",
+            "directions": 4
         }
     ]
 }