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

Prevent bandaging when not bleeding #6532

Merged
merged 1 commit into from
Mar 30, 2019
Merged

Conversation

kymckay
Copy link
Member

@kymckay kymckay commented Aug 15, 2018

When merged this pull request will:

  • Prevent the bandage actions from showing when the inspected body part isn't bleeding.

This a quality of life improvement because there's never a situation where you'd want to bandage a body part that isn't bleeding.

@kymckay kymckay added kind/enhancement Release Notes: **IMPROVED:** area/focus-feature labels Aug 15, 2018
@kymckay kymckay added this to the Medical Rewrite milestone Aug 15, 2018
@PabstMirror
Copy link
Contributor

What about Contusion/Bruises?

@kymckay
Copy link
Member Author

kymckay commented Aug 15, 2018

Bruises are actually what inspired this PR because there's no purpose to bandaging them (unless we restore the setting for bandages to heal damage - in which case this function can just exit with true if any wound is on the body part).

Copy link
Contributor

@thojkooi thojkooi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not convinced this change is necessary at all. Surely when bruised, the color of the body part is not red?

Instead of preventing people from doing a certain action, we should make it more clear when a certain action needs to be taken.

params ["_medic", "_patient", "_bodypart", "_bandage"];

// Bandage type and bandage setting XNOR to show only active actions
if ((_bandage == "BasicBandage") isEqualTo GVAR(advancedBandages)) exitWith { false };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it works, this does not make things easier to understand imo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this isn't the most clear code, ideally we wouldn't even be adding the actions that aren't appropriate (unless we really care about the setting being toggleable mid-mission?).

@thojkooi
Copy link
Contributor

When going down this road, we will also need to prevent morphine when a patient has no pain, or epi when the patient has a high high rate.

I don't think this fits within the goal of ACE medical. Do we have a specific issue we are trying to address with this PR?

@thojkooi
Copy link
Contributor

If it's to address the issue where it's confusing to some people that bruises cannot be bandaged, we should look into either A) remove bruises or B) find a different method to display bruises.

@BaerMitUmlaut
Copy link
Member

I don't really see the point in punishing the user for mistaking the UI.

@kymckay
Copy link
Member Author

kymckay commented Aug 15, 2018

When going down this road, we will also need to prevent morphine when a patient has no pain, or epi when the patient has a high high rate.

The difference is that morphine and epi still have an effect and there is an actual decision to be made as to whether it's appropriate to apply them. Whereas bandaging when there's no bleeding has no feedback and just results in wasted bandages, it's not engaging gameplay.

@kymckay
Copy link
Member Author

kymckay commented Aug 15, 2018

Think about it this way:

In real life you might accidentally make the wrong call in administering medication, but you'd never accidentally bandage a non-bleeding body part.

@licht-im-Norden87
Copy link
Contributor

Maybe this can be an optional thing? I personaly appreciate the change but I guess some people will opose it....

Copy link
Member

@TheMagnetar TheMagnetar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have nothing against this except the aforementioned treatment of bruises/contusions.

Copy link
Contributor

@thojkooi thojkooi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have to see how this works out in practice. I'm ok with merging this now, but I may revisit this later based on experience with this.

@Snak3Doc
Copy link

Snak3Doc commented Aug 21, 2018

Correct me if im wrong but i think the core issue here is that the selectable areas on arms/legs/head in the medical menu are either smaller than the picture of the arm (for example) or the exact same size with no tolerance. Only time i bandage something that doesn't need it is because i was convinced i had clicked on the correct area.

@ArwynFr
Copy link

ArwynFr commented Aug 22, 2018

+1 on the matter of wasting bandages and time because you're bandaging the wrong body part.
Another way of fixing this would be to improve visual feedback of the currently selected zone.

@PabstMirror PabstMirror changed the base branch from medical-rewrite to master March 30, 2019 20:40
@PabstMirror PabstMirror merged commit ac1651c into master Mar 30, 2019
@PabstMirror PabstMirror deleted the rw-bandage-condition branch March 30, 2019 20:45
@kymckay
Copy link
Member Author

kymckay commented Mar 30, 2019

😱

@PabstMirror PabstMirror modified the milestones: 3.13.0, 3.13.0-temp3 Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/focus-feature kind/enhancement Release Notes: **IMPROVED:**
Projects
Development

Successfully merging this pull request may close these issues.

8 participants