Researching now checks your techweb for availability (#72218)

## About The Pull Request

Currently RD consoles are hardcoded to check the Science techweb for an
available node to research it, and your unique techweb (if it exists) is
only checked for availability in ``research_node()``.

To fix this, I removed this snowflake check, since we're already
checking what we need to, when we need to.

## Why It's Good For The Game

RD consoles now should be working as expected when using different
research nodes (actually being able to research things Science hasn't
already researched).

## Changelog

🆑
fix: Researching now checks the techweb it's linked to for node
availability, rather than only the Science one.
/🆑
This commit is contained in:
John Willard
2023-01-01 02:00:14 +00:00
committed by GitHub
parent 725d2fd2ff
commit 85a7119005
2 changed files with 0 additions and 4 deletions
@@ -109,8 +109,6 @@
to_chat(usr, span_boldwarning("Unauthorized Access. Please insert research ID card."))
return TRUE
if ("researchNode")
if(!SSresearch.science_tech.available_nodes[params["node_id"]])
return TRUE
research_node(params["node_id"], usr)
return TRUE