mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
Converts gas, mat and reagent strings to defines
This commit is contained in:
@@ -284,7 +284,7 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
name = "Promethean Revival"
|
||||
id = "prom_revival"
|
||||
result = null
|
||||
required_reagents = list("phoron" = 40)
|
||||
required_reagents = list(REAGENT_ID_PHORON = 40)
|
||||
result_amount = 1
|
||||
|
||||
/decl/chemical_reaction/instant/promethean_brain_revival/can_happen(var/datum/reagents/holder)
|
||||
|
||||
@@ -59,10 +59,10 @@
|
||||
|
||||
var/modifier = 1 - 0.5 * is_bruised()
|
||||
|
||||
if(owner.bloodstr.has_reagent("phoron"))
|
||||
if(owner.bloodstr.has_reagent(REAGENT_ID_PHORON))
|
||||
adjust_plasma(round(4 * modifier))
|
||||
|
||||
if(owner.ingested.has_reagent("phoron"))
|
||||
if(owner.ingested.has_reagent(REAGENT_ID_PHORON))
|
||||
adjust_plasma(round(2 * modifier))
|
||||
|
||||
adjust_plasma(2) //Make it a decent amount so people can actually build stuff without stealing all of medbays phoron
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
|
||||
var/modifier = 1 - 0.5 * is_bruised()
|
||||
|
||||
if(owner.bloodstr.has_reagent("phoron"))
|
||||
if(owner.bloodstr.has_reagent(REAGENT_ID_PHORON))
|
||||
adjust_plasma(round(4 * modifier))
|
||||
|
||||
if(owner.ingested.has_reagent("phoron"))
|
||||
if(owner.ingested.has_reagent(REAGENT_ID_PHORON))
|
||||
adjust_plasma(round(2 * modifier))
|
||||
|
||||
adjust_plasma(1)
|
||||
|
||||
Reference in New Issue
Block a user