Skip to content

Commit

Permalink
fixed charging ability
Browse files Browse the repository at this point in the history
  • Loading branch information
778b committed Feb 1, 2024
1 parent 8cd40dd commit 85b1c95
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
10 changes: 9 additions & 1 deletion Resources/Prototypes/Entities/Structures/Power/chargers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
blacklist:
tags:
- PotatoBattery

- PlasmaMagazine

- type: entity
parent: [ BaseItemRecharger, ConstructibleMachine ]
id: PowerCageRecharger
Expand Down Expand Up @@ -167,6 +168,9 @@
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton
blacklist:
tags:
- PlasmaMagazine

- type: entity
parent: BaseItemRecharger
Expand All @@ -193,6 +197,7 @@
blacklist:
tags:
- PotatoBattery
- PlasmaMagazine

- type: entity
parent: BaseItemRecharger
Expand All @@ -219,6 +224,9 @@
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton
blacklist:
tags:
- PlasmaMagazine

- type: entity
parent: BaseRecharger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
components:
- type: Tag
tags:
- PotatoBattery # For ignore chargers
- PlasmaMagazine
- LightPlasmaMagazine
- type: Item
size: Small
Expand Down Expand Up @@ -56,7 +56,7 @@
components:
- type: Tag
tags:
- PotatoBattery # For ignore chargers
- PlasmaMagazine
- HeavyPlasmaMagazine
- type: Item
size: Large
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- type: MagazineVisuals
magState: mag
steps: 4
zeroVisible: true
zeroVisible: false
- type: ItemSlots
slots:
gun_magazine:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
- type: Projectile
damage:
types:
Heat: 19
Heat: 12
Brute: 7

- type: entity
id: GreenPlasmaBullet
Expand All @@ -24,7 +25,8 @@
- type: Projectile
damage:
types:
Heat: 29
Heat: 19
Brute: 11

- type: entity
id: RedPlasmaBullet
Expand All @@ -38,4 +40,5 @@
- type: Projectile
damage:
types:
Heat: 9
Heat: 5
Brute: 4
3 changes: 3 additions & 0 deletions Resources/Prototypes/TS/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

- type: Tag
id: HeavyPlasmaMagazine

- type: Tag
id: PlasmaMagazine

0 comments on commit 85b1c95

Please sign in to comment.