Skip to content

Commit

Permalink
Починил работу игрушечных+Владовских энергомечей (#626)
Browse files Browse the repository at this point in the history
* Починил работу игрушечных+Владовских энергомечей, (выявлен баг, если использовать обычный меч, после не работающего, то игра может вылететь)

* От греха подальше добавил комменты
  • Loading branch information
SkaldetSkaeg authored Dec 31, 2023
1 parent 86c6b0f commit d5bc2c2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Resources/Prototypes/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,17 @@
damage:
types:
Blunt: 0
#ss220 Eswords_fix start
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
params:
volume: 3
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
params:
volume: 3
#ss220 Eswords_fix end

- type: entity
parent: BasePlushie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@
malus: 0
- type: Reflect
enabled: false
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
params:
volume: 3
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
params:
volume: 3
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@
malus: 0
- type: Reflect
enabled: false
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
params:
volume: 3
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
params:
volume: 3
9 changes: 9 additions & 0 deletions Resources/Prototypes/SS220/Shitspawn/Ebent/CustomItems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@
color: white
netsync: false
- type: Appearance
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
params:
volume: 3
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
params:
volume: 3
- type: ToggleableLightVisuals
spriteLayer: blade
inhandVisuals:
Expand Down

0 comments on commit d5bc2c2

Please sign in to comment.