Buffed hardsuit light to last longer and recharge (#3816)

* Created power cell for hardsuit helmet

Self charges over 5 minutes and gives 10 minutes of total light time.
Extended flicker period due to recharge so lots of low power warning.

* Made helmet battery non removable
This commit is contained in:
Peptide90
2021-04-15 22:14:22 +01:00
committed by GitHub
parent eb9f2117c2
commit 3c878779ae
2 changed files with 24 additions and 1 deletions

View File

@@ -58,4 +58,6 @@
# so hardsuit helmet just have small battery inside
- type: HandheldLight
- type: PowerCellSlot
startingCellType: PowerCellSmallHigh
startingCellType: PowerCellHardsuitHelmet
canRemoveCell: false
showVerb: false

View File

@@ -154,6 +154,27 @@
- type: PowerCellVisualizer
prefix: s_ar
- type: entity
name: hardsuit helmet power cell
description: A small cell that recharges itself intended for hardsuit helmets.
id: PowerCellHardsuitHelmet
parent: PowerCellSmallBase
components:
- type: Sprite
sprite: Objects/Power/PowerCells/power_cell_small_autorecharge.rsi
layers:
- state: s_ar
- type: PowerCell
maxCharge: 600 #lights drain 3/s but recharge of 2 makes this 1/s. Therefore 600 is 10 minutes of light.
startingCharge: 600
autoRecharge: true
autoRechargeRate: 2 #recharge of 2 makes total drain 1w / s so max charge is 1:1 with time. Time to fully charge should be 5 minutes. Having recharge gives light an extended flicker period which gives you some warning to return to light area.
- type: Appearance
visuals:
- type: PowerCellVisualizer
prefix: s_ar
- type: entity
name: medium standard power cell
description: A rechargeable standardized power cell, size M. This is the cheapest kind you can find.