Cleanup for ChargerComponent (#11907)

This commit is contained in:
Mervill
2022-10-16 03:21:54 -07:00
committed by GitHub
parent 26883a7ec9
commit 15a772fb96
6 changed files with 160 additions and 149 deletions

View File

@@ -12,12 +12,7 @@
drawdepth: SmallObjects
snapCardinals: true
- type: Charger
chargerSlot:
ejectOnInteract: true
name: Power cell # used for verbs: "Eject > Power cell "
whitelist:
components:
- PowerCell
slotId: charger_slot
- type: ApcPowerReceiver
- type: ExtensionCableReceiver
- type: Appearance
@@ -40,9 +35,16 @@
layer:
- HighImpassable
- type: ItemSlots
slots:
charger_slot:
ejectOnInteract: true
name: Power cell
whitelist:
components:
- PowerCell
- type: ContainerContainer
containers:
charger-slot: !type:ContainerSlot
charger_slot: !type:ContainerSlot
- type: entity
name: recharger
@@ -52,13 +54,15 @@
- type: Sprite
sprite: Structures/Power/recharger.rsi
- type: Charger
chargerSlot:
ejectOnInteract: true
whitelist:
components:
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton
slotId: charger_slot
- type: ItemSlots
slots:
charger_slot:
whitelist:
components:
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton
- type: entity
name: wall recharger
@@ -70,10 +74,3 @@
- type: WallMount
- type: Charger
chargeRate: 25
chargerSlot:
ejectOnInteract: true
whitelist:
components:
- HitscanBatteryAmmoProvider
- ProjectileBatteryAmmoProvider
- Stunbaton