Skyrat-SS13 / Skyrat-tg

A Skyrat downstream of /tg/station SS13.
GNU Affero General Public License v3.0
122 stars 685 forks source link

[MIRROR] Research queue #28846

Closed SkyratBot closed 1 month ago

SkyratBot commented 1 month ago

Original PR: https://github.com/tgstation/tgstation/pull/84731

About The Pull Request

2dZbpr8MK1

Added an ability to queue up to one node per player in a techweb for an automatic research.

You can queue up a node only when all requirements are met, but there are not enough points.

People can't research when there is something in the queue, only add things to the queue. So a 40 points node can't be researched if someone queued up a 200 points node ahead of it.

When a node is enqueued by RD, it is placed in front of the queue.

The research button is available when the queue is empty.

TODO:

Why It's Good For The Game

No need to stay at the console to wait for the points. No "Research" button spamming.

Changelog

:cl: qol: Research nodes can be queued, one per player. RDs can place their node at the beginning of the queue. /:cl: