mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
POLARIS: FBP backup battery cells for survival purposes
Usable with <= 100 nutrition, adds 100 nutrition.
This commit is contained in:
@@ -249,7 +249,8 @@
|
||||
//Create the box
|
||||
var/obj/item/weapon/storage/box/box = new boxtype(H)
|
||||
|
||||
if(!synth)
|
||||
//If not synth, they get an air tank (if they breathe)
|
||||
if(!synth && breath_type)
|
||||
//Create a tank (if such a thing exists for this species)
|
||||
var/tanktext = "/obj/item/weapon/tank/emergency/" + "[breath_type]"
|
||||
var/obj/item/weapon/tank/emergency/tankpath //Will force someone to come look here if they ever alter this path.
|
||||
@@ -264,6 +265,10 @@
|
||||
if(tankpath)
|
||||
new tankpath(box)
|
||||
|
||||
//If they are synth, they get a smol battery
|
||||
else if(synth)
|
||||
new /obj/item/device/fbp_backup_cell(box)
|
||||
|
||||
box.calibrate_size()
|
||||
|
||||
if(H.backbag == 1)
|
||||
|
||||
Reference in New Issue
Block a user