]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove the shock collar. (#31229)
authorLankLTE <135308300+LankLTE@users.noreply.github.com>
Wed, 21 Aug 2024 17:56:56 +0000 (10:56 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2024 17:56:56 +0000 (13:56 -0400)
* Remove the shock collar.

* add migration

Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Resources/Prototypes/Entities/Objects/Devices/shock_collar.yml [deleted file]
Resources/Prototypes/Objectives/objectiveGroups.yml
Resources/Prototypes/Objectives/stealTargetGroups.yml
Resources/Prototypes/Objectives/thief.yml
Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/equipped-NECK.png [deleted file]
Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/icon.png [deleted file]
Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/meta.json [deleted file]
Resources/migration.yml

index 265ab7d86d1b085642d9e6ede9e27d8e746741fc..56683c7411a6cf50abfff00548e25167902520e3 100644 (file)
@@ -20,7 +20,7 @@
       - id: ClothingOuterHardsuitWarden
       - id: HoloprojectorSecurity
       - id: BookSpaceLaw
-      - id: ClothingNeckShockCollar
+      - id: ClothingBackpackElectropack
         amount: 2
       - id: RemoteSignaller
         amount: 2
@@ -46,7 +46,7 @@
       - id: DoorRemoteArmory
       - id: HoloprojectorSecurity
       - id: BookSpaceLaw
-      - id: ClothingNeckShockCollar
+      - id: ClothingBackpackElectropack
         amount: 2
       - id: RemoteSignaller
         amount: 2
diff --git a/Resources/Prototypes/Entities/Objects/Devices/shock_collar.yml b/Resources/Prototypes/Entities/Objects/Devices/shock_collar.yml
deleted file mode 100644 (file)
index 22f2d09..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-- type: entity
-  parent: Clothing
-  id: ClothingNeckShockCollar
-  name: shock collar
-  suffix: SelfUnremovable
-  description: An electric collar that shocks on the signal.
-  components:
-  - type: Item
-    size: Small
-  - type: Sprite
-    sprite: Clothing/Neck/Misc/shock_collar.rsi
-    state: icon
-  - type: Clothing
-    sprite: Clothing/Neck/Misc/shock_collar.rsi
-    stripDelay: 10
-    equipDelay: 5 # to avoid accidentally falling into the trap associated with SelfUnremovableClothing
-    quickEquip: true
-    slots:
-    - neck
-  - type: SelfUnremovableClothing
-  - type: ShockOnTrigger
-    damage: 5
-    duration: 3
-    cooldown: 4
-  - type: TriggerOnSignal
-  - type: DeviceLinkSink
-    ports:
-      - Trigger
-  - type: GuideHelp
-    guides:
-      - Security
-  - type: StealTarget
-    stealGroup: ClothingNeckShockCollar
-  - type: Tag
-    tags:
-    - WhitelistChameleon
index b6d727f880a3b05b858769c43d6a1f07bb15c0c3..481ca0f93d84ef293a177b72608c68fc94110532 100644 (file)
@@ -73,7 +73,6 @@
     ForensicScannerStealObjective: 1                    #sec
     FlippoEngravedLighterStealObjective: 0.5
     ClothingHeadHatWardenStealObjective: 1
-    ClothingNeckShockCollarStealObjective: 1
     ClothingOuterHardsuitVoidParamedStealObjective: 1   #med
     MedicalTechFabCircuitboardStealObjective: 1
     ClothingHeadsetAltMedicalStealObjective: 1
index a912a6ad8e753749cf5866aedda3cc994ac89011..5b57a9550310c6a2949b373812e5f9bfe7b144f3 100644 (file)
     sprite: Clothing/Neck/Medals/clownmedal.rsi
     state: icon
 
-- type: stealTargetGroup
-  id: ClothingNeckShockCollar
-  name: shock collar
-  sprite:
-    sprite: Clothing/Neck/Misc/shock_collar.rsi
-    state: icon
-
 #Thief structures
 
 - type: stealTargetGroup
index c401ab432528e6ffa35c75bc0e6f26ea96387d18..df34d09c246502674af7ff72a52352fe0f694896 100644 (file)
   - type: Objective
     difficulty: 1
 
-- type: entity
-  parent: BaseThiefStealObjective
-  id: ClothingNeckShockCollarStealObjective
-  components:
-  - type: NotJobRequirement
-    job: Warden
-  - type: StealCondition
-    stealGroup: ClothingNeckShockCollar
-  - type: Objective
-    difficulty: 1
-
 # Structures
 
 - type: entity
diff --git a/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/equipped-NECK.png b/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/equipped-NECK.png
deleted file mode 100644 (file)
index ffca324..0000000
Binary files a/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/equipped-NECK.png and /dev/null differ
diff --git a/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/icon.png b/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/icon.png
deleted file mode 100644 (file)
index f8e0a9c..0000000
Binary files a/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/icon.png and /dev/null differ
diff --git a/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/meta.json b/Resources/Textures/Clothing/Neck/Misc/shock_collar.rsi/meta.json
deleted file mode 100644 (file)
index 3119a51..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-    "version": 1,
-    "license": "CC-BY-SA-3.0",
-    "copyright": "Drawn by EmoGarbage404 (github) for Space Station 14",
-    "size": {
-      "x": 32,
-      "y": 32
-    },
-
-    "states": [
-      {
-        "name": "equipped-NECK",
-        "directions": 4
-      },
-      {
-        "name": "icon"
-      }
-    ]
-  }
index 9ce3d71156a73b213cd5cba9232e03223f795a33..55d91a0e687dd9f1b1dc06e1869616953a1aea74 100644 (file)
@@ -403,3 +403,6 @@ FoodMeatSnakeKebab: FoodKebabSkewer
 FoodMeatHawaiianKebab: FoodKebabSkewer
 FoodMeatKebab: FoodKebabSkewer
 FoodMeatFiestaKebab: FoodKebabSkewer
+
+# 2024-08-19
+ClothingNeckShockCollar: ClothingBackpackElectropack