mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 17:13:46 +01:00
bb60a027bf
* unit->game tests, /tg/ assertions and allocations * whoopsies * fix lint
11 lines
369 B
Plaintext
11 lines
369 B
Plaintext
|
|
|
|
/datum/game_test/reagent_id_typos
|
|
|
|
/datum/game_test/reagent_id_typos/Run()
|
|
for(var/I in GLOB.chemical_reactions_list)
|
|
for(var/V in GLOB.chemical_reactions_list[I])
|
|
var/datum/chemical_reaction/R = V
|
|
for(var/id in (R.required_reagents + R.required_catalysts))
|
|
TEST_ASSERT(GLOB.chemical_reagents_list[id], "Unknown chemical id \"[id]\" in recipe [R.type]")
|