Adding shock collar and electropack (#30529)

* Adding shock collar with the new ShockOnTrigger

* Cleaning and updating the shock collar

* Add StripDelay datafield to ClothingComponent

* Adding SelfUnremovableClothingComponent

* ShockCollar Update

* Correction of the shock collar

* Correction of the shock collar 2

* Renaming the DamageSpecifier DataField to Damage

* Fixing the damage field in ShockCollar

* Cleaning the ShockCollar

* Renaming ShockCollar to ClothingNeckShockCollar

* Adding ClothingNeckShockCollar as a stealTarget to a thief

* Fixing a typo of the sprite path in ClothingNeckShockCollar

* Cleaning the ShockOnTriggerComponent

* Revision of SelfUnremovableClothing

* Adding a ClothingBackpackElectropack

* Sprite fix

* Code review

* Shock Collar sprite update

* add commit hash

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
to4no_fix
2024-08-15 17:30:39 +03:00
committed by GitHub
parent 02eed07e21
commit 6567fa36e4
29 changed files with 326 additions and 21 deletions

View File

@@ -73,6 +73,7 @@
ForensicScannerStealObjective: 1 #sec
FlippoEngravedLighterStealObjective: 0.5
ClothingHeadHatWardenStealObjective: 1
ClothingNeckShockCollarStealObjective: 1
ClothingOuterHardsuitVoidParamedStealObjective: 1 #med
MedicalTechFabCircuitboardStealObjective: 1
ClothingHeadsetAltMedicalStealObjective: 1

View File

@@ -272,6 +272,13 @@
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

View File

@@ -316,6 +316,17 @@
- 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