Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Micro-Rtg From EE #79

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions Resources/Prototypes/Entities/Objects/Power/powercells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,46 @@
maxCharge: 1800
startingCharge: 0

- type: entity
parent: BasePowerCell
id: PowerCellMicrortg
name: micro radioisotope thermoelectric generator
description: A rechargeable prototype micro-rtg cell. Has lower capacity but slowly recharges by itself. Doesn't have enough radiation shielding.
suffix: Full
components:
- type: Sprite
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: micrortg
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
- type: Battery
maxCharge: 690
startingCharge: 690
- type: RadiationSource
intensity: 0.15
slope: 0.03
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 7 # takes 1 minute and 30 seconds to charge itself back to full

- type: entity
parent: PowerCellMicrortg
id: PowerCellMicrortgPrinted
suffix: Empty
components:
- type: Sprite
layers:
- map: [ "enum.PowerCellVisualLayers.Base" ]
state: micrortg
- map: [ "enum.PowerCellVisualLayers.Unshaded" ]
state: o2
shader: unshaded
visible: false
- type: Battery
startingCharge: 0

- type: entity
parent: BasePowerCell
id: PowerCellMicroreactor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
- VoiceTrigger
- Igniter
- HandHeldMassScanner
- PowerCellMicrortg
- PowerCellMicroreactor
- PowerCellHigh
- WeaponPistolCHIMP
Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/Recipes/Lathes/powercells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
Plastic: 200
Gold: 50

- type: latheRecipe
id: PowerCellMicrortg
result: PowerCellMicrortgPrinted
category: Parts
completetime: 10
materials:
Steel: 400
Glass: 300
Uranium: 300
Gold: 100

- type: latheRecipe
id: PowerCellMicroreactor
result: PowerCellMicroreactorPrinted
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
cost: 7500
recipeUnlocks:
- PowerCellHigh
- PowerCellMicrortg
- TurboItemRechargerCircuitboard
- SMESAdvancedMachineCircuitboard

Expand Down
5 changes: 4 additions & 1 deletion Resources/Textures/Objects/Power/power_cells.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "sprites based on https://github.com/vgstation-coders/vgstation13/commit/1dbcf389b0ec6b2c51b002df5fef8dd1519f8068. power cells edited by EmoGarbage404, potato edited by @Doru991",
"copyright": "sprites based on https://github.com/vgstation-coders/vgstation13/commit/1dbcf389b0ec6b2c51b002df5fef8dd1519f8068. power cells edited by EmoGarbage404, potato edited by @Doru991, micro-rtg edited by Timfa",
"states": [
{
"name": "potato"
Expand All @@ -22,6 +22,9 @@
{
"name": "hyper"
},
{
"name": "micrortg"
},
{
"name": "microreactor"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading