vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
260 stars 541 forks source link

Make Cryo Not Dupe Reagents #17345

Open nuklearcellphoneg opened 6 years ago

nuklearcellphoneg commented 6 years ago

What it says on the tin.

https://github.com/vgstation-coders/vgstation13/issues/543

This might be relevant.

Kammerjunk commented 6 years ago

He's talking about cryo's ability to quickly produce reagents on a massive scale: image Turning 30u into just under 250u in half a minute as long as you don't have cryox or clonex in you:

var/has_cryo = occupant.reagents.get_reagent_amount(CRYOXADONE) >= 1
var/has_clonexa = occupant.reagents.get_reagent_amount(CLONEXADONE) >= 1
var/has_cryo_medicine = has_cryo || has_clonexa
if(beaker && !has_cryo_medicine)
    beaker.reagents.trans_to(occupant, 1, 1)
    beaker.reagents.reaction(occupant)

From cryo.dm - it keeps duping (half of) its contents into you as long as you don't have cryox or clonex

kilozombie commented 6 years ago

Aw, no more vomit factories