mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-25 16:14:50 +01:00
56212d2712
## About The Pull Request - Removed global list `fake_reagent_blacklist` in favour of `abstract_type`. Saved memory - Removed proc `get_chemical_reaction()` in favor of `GLOB.chemical_reaction_list`. No proc overhead and faster access - Remove unused proc `remove_chemical_reaction()` - Removed proc `find_reagent()` in favour of `GLOB.chemical_reagents_list`. No proc overhead and faster access - Directly access name of reagents via `::` operator from typepaths instead of looking up the datum in global chemical reagents list for some operations. Faster variable access - Removed unit test `reagent_id_typos`. The typepaths will error at compile time because they aren't strings so there's no need for this test ## Changelog 🆑 code: cleaned up code pertaining to reagent & reaction lookup /🆑