]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Changed the storage sizes of different swords. (#36564)
authorRedBookcase <crazykid1590@gmail.com>
Sat, 26 Apr 2025 20:45:08 +0000 (13:45 -0700)
committerGitHub <noreply@github.com>
Sat, 26 Apr 2025 20:45:08 +0000 (13:45 -0700)
Co-authored-by: RedBookcase <Usualmoves@gmail.com>
22 files changed:
Resources/Prototypes/Entities/Objects/Fun/toys.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/sword.yml
Resources/Textures/Objects/Weapons/Melee/captain_sabre.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/claymore.rsi/equipped-SUITSTORAGE.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/claymore.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/foam_storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BACKPACK.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BELT.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/katana.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/storage.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Melee/machete.rsi/meta.json
Resources/Textures/Objects/Weapons/Melee/machete.rsi/storage.png [new file with mode: 0644]

index 27187f611975bc6122bb823cd10e5b850fc1a21d..e758bd4ac09d844e2a522ce3715d60144727e548 100644 (file)
         Blunt: 0
   - type: Item
     size: Normal
-    sprite: Objects/Weapons/Melee/cutlass.rsi
+    storedSprite:
+      state: foam_storage
+      sprite: Objects/Weapons/Melee/cutlass.rsi
+    shape:
+    - 0,0,0,2
 
 - type: entity
   parent: BaseItem
index a87f380646684910eda63fb976ad00611b7bfda9..f4d4c5a918c7b091ae38158724e8e72f2d8a89ef 100644 (file)
@@ -1,3 +1,6 @@
+#While you were busy charging your batong... I studied the blade.
+
+#BaseSword
 - type: entity
   parent: BaseItem
   id: BaseSword
     qualities:
     - Slicing
 
+#Shortswords
+- type: entity
+  name: cutlass
+  parent: [ BaseSword, BaseMajorContraband ]
+  id: Cutlass
+  description: A wickedly curved blade, often seen in the hands of space pirates.
+  components:
+  - type: Tag
+    tags:
+    - Machete
+  - type: Sprite
+    sprite: Objects/Weapons/Melee/cutlass.rsi
+  - type: MeleeWeapon
+    damage:
+      types:
+        Slash: 16
+    soundHit:
+      path: /Audio/Weapons/bladeslice.ogg
+  - type: Item
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/cutlass.rsi
+    shape:
+    - 0,0,0,2
+  - type: DisarmMalus
+
+- type: entity
+  name: machete
+  parent: [ BaseSword, BaseMajorContraband ]
+  id: Machete
+  description: A large, vicious looking blade.
+  components:
+  - type: Tag
+    tags:
+    - Machete
+  - type: Sprite
+    sprite: Objects/Weapons/Melee/machete.rsi
+  - type: MeleeWeapon
+    damage:
+      types:
+        Slash: 15
+    soundHit:
+      path: /Audio/Weapons/bladeslice.ogg
+  - type: Item
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/machete.rsi
+    shape:
+    - 0,0,0,2
+  - type: DisarmMalus
+
+#Longswords
 - type: entity
   name: captain's sabre
   parent: [ BaseSword, BaseCommandContraband ]
     reflectProb: .1
     spread: 90
   - type: Item
-    sprite: Objects/Weapons/Melee/captain_sabre.rsi
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/captain_sabre_storage_64x.rsi #Done in 64x64 because it looks way too puny in 32x32
+    shape:
+    - 0,0,0,3
   - type: Tag
     tags:
     - CaptainSabre
     soundHit:
         path: /Audio/Weapons/bladeslice.ogg
   - type: Item
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/katana_storage_64x.rsi #Done in 64x64 because it looks way too puny in 32x32
+    shape:
+    - 0,0,0,3
+  - type: Clothing
     sprite: Objects/Weapons/Melee/katana.rsi
+    slots:
+    - Back
+    - Belt
   - type: DisarmMalus
 
 - type: entity
       types:
         Slash: 30
   - type: Item
-    sprite: Objects/Weapons/Melee/energykatana.rsi
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/energykatana_storage_64x.rsi #Done in 64x64 because it looks way too puny in 32x32
+    shape:
+    - 0,0,0,3
   - type: EnergyKatana
   - type: DashAbility
   - type: LimitedCharges
     - Belt
   - type: Reflect
 
-- type: entity
-  name: machete
-  parent: [ BaseSword, BaseMajorContraband ]
-  id: Machete
-  description: A large, vicious looking blade.
-  components:
-  - type: Tag
-    tags:
-    - Machete
-  - type: Sprite
-    sprite: Objects/Weapons/Melee/machete.rsi
-  - type: MeleeWeapon
-    damage:
-      types:
-        Slash: 15
-    soundHit:
-        path: /Audio/Weapons/bladeslice.ogg
-  - type: Item
-    sprite: Objects/Weapons/Melee/machete.rsi
-  - type: DisarmMalus
-
+#Greatswords
 - type: entity
   name: claymore
   parent: [ BaseSword, BaseMajorContraband ]
     soundHit:
         path: /Audio/Weapons/bladeslice.ogg
   - type: Item
+    storedSprite:
+      state: storage
+      sprite: Objects/Weapons/Melee/claymore_storage_64x.rsi #Done in 64x64 because it looks way too puny in 32x32
+    shape:
+    - 0,0,1,3
   - type: Clothing
     sprite: Objects/Weapons/Melee/claymore.rsi
     slots:
-    - back
-  - type: DisarmMalus
-
-- type: entity
-  name: cutlass
-  parent: [ BaseSword, BaseMajorContraband ]
-  id: Cutlass
-  description: A wickedly curved blade, often seen in the hands of space pirates.
-  components:
-  - type: Tag
-    tags:
-    - Machete
-  - type: Sprite
-    sprite: Objects/Weapons/Melee/cutlass.rsi
-  - type: MeleeWeapon
-    damage:
-      types:
-        Slash: 16
-    soundHit:
-        path: /Audio/Weapons/bladeslice.ogg
-  - type: Item
-    sprite: Objects/Weapons/Melee/cutlass.rsi
+    - Back
+    - SuitStorage #Bigger than the other swords, easier to strap to your suit.
   - type: DisarmMalus
 
+#Other/Weird
 - type: entity
   name: throngler
   parent: [ BaseSword, BaseMajorContraband ]
   id: Throngler
-  description: Why would you make this?
+  description: If Security dares take it from you, just remind them that they are indeed mortal.
   components:
     - type: Sprite
       sprite: Objects/Weapons/Melee/Throngler2.rsi
index a6b30533f540e16b3b0a7711f77a80bd55294c55..8662f1b945d7ac2f344d6dfa63f618dc0e1f90fc 100644 (file)
@@ -1,22 +1,22 @@
 {
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/555fa0ed9f380509156d94131bd8a3f1c1fee1cf",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-  "states": [
-    {
-      "name": "icon"
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/555fa0ed9f380509156d94131bd8a3f1c1fee1cf.",
+    "size": {
+        "x": 32,
+        "y": 32
     },
-    {
-      "name": "inhand-left",
-      "directions": 4
-    },
-    {
-      "name": "inhand-right",
-      "directions": 4
-    }
-  ]
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "inhand-right",
+            "directions": 4
+        }
+    ]
 }
diff --git a/Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/meta.json b/Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/meta.json
new file mode 100644 (file)
index 0000000..7ad399e
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Storage sprite by RedBookcase on Github.",
+    "size": {
+        "x": 64,
+        "y": 64
+    },
+    "states": [
+        {
+            "name": "storage"
+        }
+    ]
+}
diff --git a/Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/storage.png
new file mode 100644 (file)
index 0000000..685cc1b
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/captain_sabre_storage_64x.rsi/storage.png differ
diff --git a/Resources/Textures/Objects/Weapons/Melee/claymore.rsi/equipped-SUITSTORAGE.png b/Resources/Textures/Objects/Weapons/Melee/claymore.rsi/equipped-SUITSTORAGE.png
new file mode 100644 (file)
index 0000000..89c21dc
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/claymore.rsi/equipped-SUITSTORAGE.png differ
index a499314735510423e3d115c7aaa35b99ff898b4d..527c49be100f1cc6ce4aae8498e558d909535d8c 100644 (file)
         {
             "name": "equipped-BACKPACK",
             "directions": 4
+        },
+        {
+            "name": "equipped-SUITSTORAGE",
+            "directions": 4
         }
     ]
 }
diff --git a/Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/meta.json b/Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/meta.json
new file mode 100644 (file)
index 0000000..7ad399e
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Storage sprite by RedBookcase on Github.",
+    "size": {
+        "x": 64,
+        "y": 64
+    },
+    "states": [
+        {
+            "name": "storage"
+        }
+    ]
+}
diff --git a/Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/storage.png
new file mode 100644 (file)
index 0000000..f91ed94
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/claymore_storage_64x.rsi/storage.png differ
diff --git a/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/foam_storage.png b/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/foam_storage.png
new file mode 100644 (file)
index 0000000..0caa822
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/foam_storage.png differ
index fbe8c7afe08a354ace73753c17c8b97955068a94..0be8a20de513fd4d85b4c8091eea928d414aa404 100644 (file)
@@ -1,7 +1,7 @@
 {
     "version": 1,
     "license": "CC-BY-NC-SA-3.0",
-    "copyright": "Modified from https://github.com/space-wizards/space-station-14/tree/master/Resources/Textures/Objects/Weapons/Melee/captain_sabre.rsi by Taral#6480 (Discord) for ss14",
+    "copyright": "Modified from https://github.com/space-wizards/space-station-14/tree/master/Resources/Textures/Objects/Weapons/Melee/captain_sabre.rsi by Taral#6480 (Discord) for ss14. Storage and Foam Storage sprites by RedBookcase on Github.",
     "size": {
         "x": 32,
         "y": 32
         {
             "name": "icon"
         },
+        {
+            "name": "storage"
+        },
         {
             "name": "foam_icon"
+        },
+        {
+            "name": "foam_storage"
         },
                {
             "name": "inhand-left",
diff --git a/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/storage.png
new file mode 100644 (file)
index 0000000..4d97539
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/cutlass.rsi/storage.png differ
index de27e15fb759de84e9eac9719f0fe7bd0f55b0f6..981d3500632bb7f607e47576ed33335536c088cc 100644 (file)
@@ -1,30 +1,30 @@
 {
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/a9451f4d22f233d328b63490c2bcf64a640e42ff and modified by Jackal298",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-  "states": [
-    {
-      "name": "icon"
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/a9451f4d22f233d328b63490c2bcf64a640e42ff and modified by Jackal298.",
+    "size": {
+        "x": 32,
+        "y": 32
     },
-    {
-      "name": "equipped-BELT",
-      "directions": 4
-    },
-    {
-      "name": "inhand-left",
-      "directions": 4
-    },
-    {
-      "name": "inhand-right",
-      "directions": 4
-    },
-    {
-      "name": "equipped-BACKPACK",
-      "directions": 4
-    }
-  ]
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "inhand-right",
+            "directions": 4
+        },
+        {
+            "name": "equipped-BACKPACK",
+            "directions": 4
+        },
+        {
+            "name": "equipped-BELT",
+            "directions": 4
+        }
+    ]
 }
diff --git a/Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/meta.json b/Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/meta.json
new file mode 100644 (file)
index 0000000..7ad399e
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Storage sprite by RedBookcase on Github.",
+    "size": {
+        "x": 64,
+        "y": 64
+    },
+    "states": [
+        {
+            "name": "storage"
+        }
+    ]
+}
diff --git a/Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/storage.png
new file mode 100644 (file)
index 0000000..e8bed9a
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/energykatana_storage_64x.rsi/storage.png differ
diff --git a/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BACKPACK.png b/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BACKPACK.png
new file mode 100644 (file)
index 0000000..abd4829
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BACKPACK.png differ
diff --git a/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BELT.png b/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BELT.png
new file mode 100644 (file)
index 0000000..12f458f
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/katana.rsi/equipped-BELT.png differ
index b2c66cff5b244530104e9fd753cbd068aa0474f2..765dfdae2b252e0dbe185eb312925bf717de2e38 100644 (file)
@@ -1,22 +1,30 @@
 {
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "Taken and modified by Taral from tgstation at https://github.com/tgstation/tgstation/pull/20520/commits/47d235721d658027a9effd37177cc8104844e0bf",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-  "states": [
-    {
-      "name": "icon"
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken and modified by Taral from tgstation at https://github.com/tgstation/tgstation/pull/20520/commits/47d235721d658027a9effd37177cc8104844e0bf. Belt and SuitStorage sprites by RedBoockase on Github.",
+    "size": {
+        "x": 32,
+        "y": 32
     },
-    {
-      "name": "inhand-left",
-      "directions": 4
-    },
-    {
-      "name": "inhand-right",
-      "directions": 4
-    }
-  ]
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "inhand-right",
+            "directions": 4
+        },
+        {
+            "name": "equipped-BACKPACK",
+            "directions": 4
+        },
+        {
+            "name": "equipped-BELT",
+            "directions": 4
+        }
+    ]
 }
diff --git a/Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/meta.json b/Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/meta.json
new file mode 100644 (file)
index 0000000..7ad399e
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Storage sprite by RedBookcase on Github.",
+    "size": {
+        "x": 64,
+        "y": 64
+    },
+    "states": [
+        {
+            "name": "storage"
+        }
+    ]
+}
diff --git a/Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/storage.png
new file mode 100644 (file)
index 0000000..ad4aef4
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/katana_storage_64x.rsi/storage.png differ
index 069cee5a7048361dfc38f55d6f17ce56ec3e2b26..42d1cb70b6e5a55c6149f644fa2ec419e2bbb219 100644 (file)
@@ -1,7 +1,7 @@
 {
     "version": 1,
     "license": "CC-BY-NC-SA-3.0",
-    "copyright": "Taken from Baystation12 and modified by Taral at https://github.com/Baystation12/Baystation12/pull/29841/commits/57265cd89e6b66b9a67915172f60bbbeacbeced0",
+    "copyright": "Taken from Baystation12 and modified by Taral at https://github.com/Baystation12/Baystation12/pull/29841/commits/57265cd89e6b66b9a67915172f60bbbeacbeced0. Storage sprite by RedBookcase on Github.",
     "size": {
         "x": 32,
         "y": 32
@@ -10,6 +10,9 @@
         {
             "name": "icon"
         },
+        {
+            "name": "storage"
+        },
         {
             "name": "inhand-left",
             "directions": 4
diff --git a/Resources/Textures/Objects/Weapons/Melee/machete.rsi/storage.png b/Resources/Textures/Objects/Weapons/Melee/machete.rsi/storage.png
new file mode 100644 (file)
index 0000000..fdb9f9d
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/machete.rsi/storage.png differ