]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Ninjas now get a custom bag! (#42112)
authorYoungThug <ramialanbagy@gmail.com>
Wed, 31 Dec 2025 01:23:59 +0000 (18:23 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Dec 2025 01:23:59 +0000 (01:23 +0000)
* Ninjas now recieve a custom satchel

* Original Size

* Requested Changes + Making bag silent

* Add code comment

Resources/Prototypes/Entities/Clothing/Back/satchel.yml
Resources/Prototypes/Roles/Antags/ninja.yml
Resources/Textures/Clothing/Back/Satchels/ninja.rsi/equipped-BACKPACK.png [new file with mode: 0644]
Resources/Textures/Clothing/Back/Satchels/ninja.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/Back/Satchels/ninja.rsi/meta.json [new file with mode: 0644]

index f12a837be045fed961807f2594033760652ca2b0..c0c53c9f70e2cc3c41aa4401be55e8304efc2090 100644 (file)
     - type: Sprite
       sprite: Clothing/Back/Satchels/salvage.rsi
 
+- type: entity
+  parent: [ClothingBackpackSatchel, BaseHighlyIllegalContraband]
+  id: ClothingBackpackSatchelNinja
+  name: spider clan satchel
+  description: A robust satchel for stashing your loot.
+  components:
+  - type: Sprite
+    sprite: Clothing/Back/Satchels/ninja.rsi
+  - type: Storage # Backpack sounds are null due to silent ninja tech
+    storageOpenSound: null
+    storageInsertSound: null
+
 - type: entity
   parent: ClothingBackpackSatchel
   id: ClothingBackpackSatchelHolding
index 27f4859cfb6e638b428a6d056cb91a391f74bf63..b43dbf72c15d006aded8830a05e49f443ce0e413 100644 (file)
@@ -11,7 +11,7 @@
   id: SpaceNinjaGear
   equipment:
     jumpsuit: ClothingUniformJumpsuitNinja
-    back: ClothingBackpackSatchel
+    back: ClothingBackpackSatchelNinja
     mask: ClothingMaskNinja
     head: ClothingHeadHelmetSpaceNinja
     eyes: ClothingEyesVisorNinja
diff --git a/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/equipped-BACKPACK.png b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/equipped-BACKPACK.png
new file mode 100644 (file)
index 0000000..bcb6f24
Binary files /dev/null and b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/equipped-BACKPACK.png differ
diff --git a/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/icon.png b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/icon.png
new file mode 100644 (file)
index 0000000..21e9283
Binary files /dev/null and b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-left.png b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..dffd1c3
Binary files /dev/null and b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-right.png b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..cd1da5c
Binary files /dev/null and b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/meta.json b/Resources/Textures/Clothing/Back/Satchels/ninja.rsi/meta.json
new file mode 100644 (file)
index 0000000..845c890
--- /dev/null
@@ -0,0 +1,26 @@
+{
+   "version": 1,
+   "license": "CC-BY-SA-3.0",
+   "copyright": "Sprites by YoungThugSS14 (Github) ",
+   "size": {
+     "x": 32,
+     "y": 32
+   },
+   "states": [
+     {
+       "name": "icon"
+     },
+     {
+       "name": "equipped-BACKPACK",
+       "directions": 4
+     },
+     {
+       "name": "inhand-left",
+       "directions": 4
+     },
+     {
+       "name": "inhand-right",
+       "directions": 4
+     }
+   ]
+}