Починка инструментов

This commit is contained in:
BIGZi0348
2024-12-26 21:48:44 +03:00
parent fab57e1270
commit 778c93489d
2 changed files with 31 additions and 9 deletions

View File

@@ -129,9 +129,10 @@
state: icon
- type: Item
sprite: Objects/Tools/wrench.rsi
storedSprite:
sprite: Objects/Tools/wrench.rsi
state: storage
storedRotation: -44 # WD
# storedSprite: # WD removed
# sprite: Objects/Tools/wrench.rsi
# state: storage
- type: MeleeWeapon
wideAnimationRotation: 135
attackRate: 1.5
@@ -177,9 +178,10 @@
- type: Item
sprite: Objects/Tools/crowbar.rsi
size: Small
storedSprite:
sprite: Objects/Tools/crowbar.rsi
state: storage
storedRotation: -63 # WD
# storedSprite: # WD removed
# sprite: Objects/Tools/crowbar.rsi
# state: storage
- type: MeleeWeapon
wideAnimationRotation: -135
damage:
@@ -213,9 +215,9 @@
state: red-icon
- type: Item
heldPrefix: red
storedSprite:
sprite: Objects/Tools/crowbar.rsi
state: red-storage
# storedSprite: # WD removed
# sprite: Objects/Tools/crowbar.rsi
# state: red-storage
- type: entity
name: multitool

View File

@@ -16,6 +16,9 @@
sprite: White/Objects/Tools/impcrowbar.rsi
- type: Item
sprite: White/Objects/Tools/impcrowbar.rsi
size: Small
storedSprite: null
storedRotation: -63
- type: entity
parent: Wrench
@@ -30,6 +33,9 @@
sprite: White/Objects/Tools/impwrench.rsi
- type: Item
sprite: White/Objects/Tools/impwrench.rsi
size: Small
storedSprite: null
storedRotation: -44
- type: MeleeWeapon
attackRate: 1.5
damage:
@@ -55,6 +61,7 @@
state: icon
- type: Item
sprite: White/Objects/Tools/impscrewdriver.rsi
storedRotation: -90
- type: UseDelay
- type: MeleeWeapon
attackRate: 1
@@ -72,6 +79,12 @@
- type: PhysicalComposition
materialComposition:
Steel: 100
- type: EmitSoundOnPickup
sound:
path: /Audio/White/Items/handling/screwdriver_pickup.ogg
- type: EmitSoundOnDrop
sound:
path: /Audio/Items/screwdriver_drop.ogg
- type: entity
parent: BaseItem
@@ -83,6 +96,7 @@
price: 500
- type: Item
sprite: White/Objects/Tools/impwirecutter.rsi
storedRotation: -90
- type: Sprite
sprite: White/Objects/Tools/impwirecutter.rsi
state: icon
@@ -110,6 +124,12 @@
- type: PhysicalComposition
materialComposition:
Steel: 100
- type: EmitSoundOnPickup
sound:
path: /Audio/White/Items/handling/wirecutter_pickup.ogg
- type: EmitSoundOnDrop
sound:
path: /Audio/Items/wirecutter_drop.ogg
- type: entity
parent: BaseWelder