]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix borg soap (#36961)
authorGhagliiarghii <68826635+Ghagliiarghii@users.noreply.github.com>
Tue, 6 May 2025 19:10:10 +0000 (15:10 -0400)
committerGitHub <noreply@github.com>
Tue, 6 May 2025 19:10:10 +0000 (15:10 -0400)
* Create SoapBorg and replace SoapNT with SoapBorg in BorgModuleCustodial

* Reparent SoapBorg

No longer a container so the soap reagent cannot be extracted from the soap, no longer a food, no longer slippery since it can't be removed from the borg to be placed on the ground

* Move SoapBorg to end of soap.yml

* correct comp order

* fix failing tests

Resources/Prototypes/Entities/Objects/Specific/Janitorial/soap.yml
Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml

index 9cedbb23cac70f8632043cb368e054d6b6f2b97a..70ed762ca1a017076adc3b6fe0121c7d2078b668 100644 (file)
   - type: Residue
     residueAdjective: residue-slippery
     residueColor: residue-blue
+
+- type: entity
+  name: soap
+  id: SoapBorg # Intended for borg internals, not slippery or food, not a container for soap reagent
+  parent: BaseItem
+  description: A Nanotrasen brand bar of soap. Smells of plasma and machines.
+  components:
+  - type: Sprite
+    sprite: Objects/Specific/Janitorial/soap.rsi
+    layers:
+    - state: nt-4
+  - type: Appearance
+  - type: Item
+    sprite: Objects/Specific/Janitorial/soap.rsi
+    storedRotation: -90
+  - type: CleansForensics
+  - type: Residue
+    residueAdjective: residue-slippery
+    residueColor: residue-grey
+  - type: Tag
+    tags:
+    - Soap
index 3fb89149c980ddde1ba8a529692eba19d5df134f..6e5d260af04e2e11de902f554dcd02dbff0eb4ba 100644 (file)
     - LightReplacer
     - BorgTrashBag
     - Plunger
-    - SoapNT
+    - SoapBorg
   - type: BorgModuleIcon
     icon: { sprite: Interface/Actions/actions_borg.rsi, state: light-replacer-module }