mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-04 14:33:58 +00:00
[MIRROR] Converts gas, ore, plants and reagent strings to defines (#9611)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d5b62d4159
commit
fd5d9267ff
@@ -270,7 +270,7 @@
|
||||
*/
|
||||
|
||||
/datum/particle_smasher_recipe
|
||||
var/list/reagents // example: = list("pacid" = 5)
|
||||
var/list/reagents // example: = list(REAGENT_ID_PACID = 5)
|
||||
var/list/items // example: = list(/obj/item/tool/crowbar, /obj/item/welder) Place /foo/bar before /foo. Do not include fruit. Maximum of 3 items.
|
||||
var/recipe_type = PS_RESULT_STACK // Are we producing a stack or an item?
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
return .
|
||||
|
||||
/datum/particle_smasher_recipe/deuterium_tritium
|
||||
reagents = list("hydrogen" = 15)
|
||||
reagents = list(REAGENT_ID_HYDROGEN = 15)
|
||||
|
||||
result = /obj/item/stack/material/tritium
|
||||
required_material = /obj/item/stack/material/deuterium
|
||||
@@ -349,7 +349,7 @@
|
||||
probability = 10
|
||||
|
||||
/datum/particle_smasher_recipe/osmium_lead
|
||||
reagents = list("tungsten" = 10)
|
||||
reagents = list(REAGENT_ID_TUNGSTEN = 10)
|
||||
|
||||
result = /obj/item/stack/material/lead
|
||||
required_material = /obj/item/stack/material/osmium
|
||||
@@ -362,7 +362,7 @@
|
||||
probability = 50
|
||||
|
||||
/datum/particle_smasher_recipe/phoron_valhollide
|
||||
reagents = list("phoron" = 10, "pacid" = 10)
|
||||
reagents = list(REAGENT_ID_PHORON = 10, REAGENT_ID_PACID = 10)
|
||||
|
||||
result = /obj/item/stack/material/valhollide
|
||||
required_material = /obj/item/stack/material/phoron
|
||||
@@ -375,7 +375,7 @@
|
||||
probability = 10
|
||||
|
||||
/datum/particle_smasher_recipe/valhollide_supermatter
|
||||
reagents = list("phoron" = 300)
|
||||
reagents = list(REAGENT_ID_PHORON = 300)
|
||||
|
||||
result = /obj/item/stack/material/supermatter
|
||||
required_material = /obj/item/stack/material/valhollide
|
||||
@@ -404,7 +404,7 @@
|
||||
|
||||
/datum/particle_smasher_recipe/donkpockets_ascend
|
||||
items = list(/obj/item/reagent_containers/food/snacks/donkpocket)
|
||||
reagents = list("phoron" = 120)
|
||||
reagents = list(REAGENT_ID_PHORON = 120)
|
||||
|
||||
recipe_type = PS_RESULT_ITEM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user