VedalAI / neuro-amongus

Among Us Plugin for Neuro-sama
GNU General Public License v3.0
540 stars 49 forks source link

Task fixes #17

Closed oleg20111511 closed 1 year ago

oleg20111511 commented 1 year ago

I've run through every NormalPlayerTask in Skeld and did a few fixes to the auto completion functions

1) Fixed (?) issue #12. Removed the following line: minigame.Console = GameObject.FindObjectOfType<Console>(); I'm not sure what it was for, and I've seen others wondering about it as well. All NormalPlayerTasks work without it.

2) There was an error happening after Wires task is completed, inside the func that gets Locations for task. Since it was happening only when task is completed, fixed by rearranging the code

3) Improved the thing that is supposed to handle long tasks across multiple rooms. The problem was it affected long tasks that are in one location only. When task is completed and NextStep() is called, added a check to see if next step is in another room