Tweak stun batons to use a battery instead of power cell (#8716)

* Allow baton/battery to be inserted into recharger

* Revert "Allow baton/battery to be inserted into recharger"

This reverts commit ccf1f3d1827bf45c49bb6ca4f5c97990d1afba6e.

* Refactor stun batons to use internal batteries
This commit is contained in:
themias
2022-06-11 21:20:03 -04:00
committed by GitHub
parent 093d65e92a
commit 1e02a97451
5 changed files with 19 additions and 39 deletions

View File

@@ -8,6 +8,7 @@
sprite: Objects/Weapons/Melee/stunbaton.rsi
state: stunbaton_off
- type: Stunbaton
energyPerUse: 100
- type: MeleeWeapon
damage:
types:
@@ -15,10 +16,9 @@
range: 1.5
arcwidth: 60
arc: default
- type: PowerCellSlot
slotSize: Medium
cellSlot:
startingItem: PowerCellMediumHigh
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: ItemCooldown
- type: Clothing
sprite: Objects/Weapons/Melee/stunbaton.rsi

View File

@@ -53,6 +53,7 @@
components:
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton
- type: entity
name: wall recharger