mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-09 00:01:52 +01:00
bda2a65370
## About The Pull Request 1. Borg held RCD UI always displays matter units left as 0 including when its examined. This is because borg rcds don't use `matter` var but the cell directly. Now the UI & examines takes that into consideration when displaying matter units left. The maximum matter is the max cell charge. As borgs cell charge drains overtime the units left also decreases which is why the examines in the below image has a different value cause i examined it one second earlier before opening the UI  2. ARCD beam animation is overall wonky. It starts only after the structure is built and it lasts for a total of 3 seconds regardless of the construction time which is way too long. Now it's a lot smoother, the animation gets cancelled if the user moves and it lasts exactly the duration of the construction. It now also has infinite matter just like the other admin rcd which makes it consistent. https://user-images.githubusercontent.com/110812394/222103839-fd8b55b9-c967-49fa-a4cf-bb63b486afa7.mp4 3. Fixes #61576 RCD was cancelling the attack chain too early inside `preattack()` so it never went into the toolbelt or other storage units when you clicked on them with the RCD. Now all the code has been moved into `afterattack()` allowing the pre storage code to do its thing. 5. RLD now updates its icon state like it used to based on the matter units it has left. I broke this sometime ago but thats fixed now ## Changelog 🆑 fix: borg rcd's not displaying the correct matter units in its UI & when examined qol: arcd animation is smoother and makes more sense and has infinite matter fix: rcd not getting inserted into toolbelts & other storage units upon clicking fix: rld updating its icon state correctly based on the matter left /🆑