mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
* Reagent soup / Soup rework / Stoves - A kitchen expansion * fixes that stuff * puts the range stove on maps that sohuld have it * fixes some paths that don't exist anymore --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
17 lines
803 B
Plaintext
17 lines
803 B
Plaintext
/datum/unit_test/reagent_recipe_collisions
|
|
|
|
/datum/unit_test/reagent_recipe_collisions/Run()
|
|
build_chemical_reactions_lists()
|
|
|
|
// Exclude soup from this test, they all have the same "reagents" just about
|
|
var/list/reactions_sans_soup = GLOB.chemical_reactions_list - subtypesof(/datum/chemical_reaction/food/soup)
|
|
|
|
for(var/reaction_type_a as anything in reactions_sans_soup)
|
|
for(var/reaction_type_b as anything in reactions_sans_soup)
|
|
if(reaction_type_a == reaction_type_b)
|
|
continue
|
|
var/datum/chemical_reaction/reaction_a = reactions_sans_soup[reaction_type_a]
|
|
var/datum/chemical_reaction/reaction_b = reactions_sans_soup[reaction_type_b]
|
|
if(chem_recipes_do_conflict(reaction_a, reaction_b))
|
|
TEST_FAIL("Chemical recipe conflict between [reaction_type_a] and [reaction_type_b]")
|