POLARIS: FBP backup battery cells for survival purposes

Usable with <= 100 nutrition, adds 100 nutrition.
This commit is contained in:
Arokha Sieyes
2018-02-24 14:25:29 -05:00
parent 74a4e993ee
commit 1168439878
3 changed files with 43 additions and 1 deletions
@@ -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)