Skip to content

Commit

Permalink
Merge pull request #14
Browse files Browse the repository at this point in the history
Borg crew monitor + slight refactor
  • Loading branch information
Cheackraze authored Jul 9, 2023
2 parents e4a7399 + 9b9876d commit 20246f4
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 35 deletions.
21 changes: 0 additions & 21 deletions Resources/Prototypes/Entities/Objects/Power/powercells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,27 +205,6 @@
autoRecharge: true
autoRechargeRate: 0.16667 #takes about 5 minutes to charge itself back to full

- type: entity
name: silicon integrated power cell
description: A rechargeable modified microreactor cell. Intended for cyborg devices, it slowly recharges by itself.
id: PowerCellSiliconTool
suffix: Full
parent: BasePowerCell
components:
- type: Sprite
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: microreactor
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
- type: Battery
maxCharge: 200
startingCharge: 200
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 0.66667 #takes about 5 minutes to charge itself back to full

- type: entity
name: antique power cell prototype
description: A small cell that self recharges. Used in old laser arms research.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,3 @@
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default

- type: entity
id: HandheldHealthAnalyzerSilicon
parent: HandheldHealthAnalyzer
suffix: Silicon
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellSiliconTool
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: entity
id: HandheldHealthAnalyzerBorg
parent: HandheldHealthAnalyzer
suffix: Borg
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellBorgTool

- type: entity
id: HandheldCrewMonitorBorg
parent: HandheldCrewMonitor
suffix: Borg
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellBorgTool
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
name: borg integrated power cell
description: A rechargeable modified microreactor cell. Intended for cyborg tools, it slowly recharges by itself.
id: PowerCellBorgTool
suffix: Full
parent: PowerCellMicroreactor
components:
- type: Battery
maxCharge: 200
startingCharge: 200
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 0.66667 #takes about 5 minutes to charge itself back to full
6 changes: 3 additions & 3 deletions Resources/Prototypes/_Nyano/Entities/Mobs/Player/borgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
slots:
analyzer_slot:
name: HealthAnalyzer
startingItem: HandheldHealthAnalyzerSilicon
startingItem: HandheldHealthAnalyzerBorg
locked: true
hypospray_slot:
name: Hypospray
Expand Down Expand Up @@ -226,8 +226,8 @@
tools:
- id: HyposprayBorgMedical
- id: Syringe
- id: HandheldHealthAnalyzerSilicon
- id: HandheldCrewMonitor
- id: HandheldHealthAnalyzerBorg
- id: HandheldCrewMonitorBorg
- id: FireExtinguisher
- id: StackHolderHealingItem
- type: ItemSlots
Expand Down

0 comments on commit 20246f4

Please sign in to comment.