winstxnhdw / lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.
87 stars 26 forks source link

Update VisitCommand.cs #234

Closed xAstroBoy closed 8 months ago

xAstroBoy commented 8 months ago

Make it print Available levels over it.

winstxnhdw commented 8 months ago

Why is this necessary?

xAstroBoy commented 8 months ago

Doing a few more adjustements rn, and yeah is because the terminal have specify strings such as different names off there, which it would be nice to print the available levels other than just unknowingly put the wrong value and not know if you picked the right moon to visit. also there's a bug, which if you give a number is not going to visit that moon.

winstxnhdw commented 8 months ago

Why not just have a print at the end that says "Visiting {moon}.."?

xAstroBoy commented 8 months ago

Why not just have a print at the end that says "Visiting {moon}.."?

That can be done, but still is nice to know what moon are available just by printing the moons when someone puts a invalid number or name.

winstxnhdw commented 8 months ago

I assume if a user wants to visit a moon, they already have the place in mind. It's not exactly the job of this cheat to tell the user what moons there are. That's the game's job.

xAstroBoy commented 8 months ago

I assume if a user wants to visit a moon, they already have the place in mind. It's not exactly the job of this cheat to tell the user what moons there are. That's the game's job.

Yeah, but the visit command uses the enum list directly, not the terminal names, which makes it slightly a bit different

winstxnhdw commented 8 months ago

Oh, I see. Then we should use the new FuzzyMatch helper I added. I can make the change if you want.

xAstroBoy commented 8 months ago

Oh, I see. Then we should use the new FuzzyMatch helper I added. I can make the change if you want.

Go ahead, is your mod!