Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove RepairTool progress bars from indestructible structures and items. #13754

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jade-Harleyy
Copy link

This PR makes the progress/health bars of items and structures that appear when cutting/repairing not appear if the structure/item is unable to be damaged.
In addition, it adds extra debug info that tells if structures/items are invincible.

image

@Regalis11
Copy link
Collaborator

I'm not actually entire sure about this change. I think it might be a good thing that the player gets some kind of feedback (a progressbar that won't go down) when they're trying to cut an indestructible wall, otherwise in some situations it could seem like the tool just isn't able to reach the wall.

@Jade-Harleyy
Copy link
Author

it might be a good thing that the player gets some kind of feedback (a progressbar that won't go down) when they're trying to cut an indestructible wall

I'd say it's the opposite actually—not having the progress bar appear tells players that nothing is happening, whereas having the progress bar tells players that their action is doing something, albiet slowly if they can't see the bar decreasing.

I've had this happen to both myself and people I've played with, where we'd try cutting walls for a longer than average time before finally realizing that the walls were invincible, despite the health bar not decreasing.

in some situations it could seem like the tool just isn't able to reach the wall.

I think this is still communicated clearly by the particle effects that only occur when the beam touches a surface.

@JeroonBosch
Copy link
Collaborator

I think it might be a good thing that the player gets some kind of feedback

I agree with this, but not sure if

(a progressbar that won't go down)

is the clearest way to do so, players might just think it's going really slowly.

In addition, it adds extra debug info that tells if structures/items are invincible.

I think this would be more in the right direction, some text on the wall with the text "Indestructible" would be more clear than a healthbar. So overall I quite agree with this PR, except I'd not use "[Godmode]" as a text but rather "Indestructible" or similar

@JeroonBosch
Copy link
Collaborator

JeroonBosch commented Apr 10, 2024

Ah, I see now in the code it shows either [INDESTRUCTIBLE] or [GODMODE] depending on the reason. I don't think the brackets are needed, nor the capital letters but that's just some style preferences. It also shouldn't show only in debug mode, there needs to be some feedback always imo

@ubertpendragon
Copy link

ubertpendragon commented Apr 12, 2024

I must agree with jade, showing the bar gives the impression that you can damage the wall.
Sometimes those walls have very high health like ruins one, so you end up with confusion such as:

  • waste time on a an invulnerable wall
  • give up on cutting a very tough wall

Not showing the health bar clearly means you can't cut it

Being a user of indestructible walls in my mods I'd appreciate it

@Regalis11
Copy link
Collaborator

Yeah, good points, I suppose this could be an improvement.

@WrillWasTaken
Copy link

Since so many others are giving their grains of salt, I might as well give mine too.

Not seeing a health bar is, and always has been indicative of you being out of range / obstructed instead of reaching the wall. Removing all indication of that would just make it unclear why the wall isn't breaking. On the other hand, it can be confusing with very very high health walls as ubertpendragon said if a healthbar shows and nothing changes.

But wouldn't all these issues be resolved by replacing the health bar with another symbol if a wall is indestructible? Replace it with a moderately sized red X perhaps? It's a different solution and probably out of scope of this PR, but to me it seems like the best solution possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants