ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Medical Treatment - Change stitching when wound reopening disabled

Open Freddo3000 opened this issue 2 years ago • 2 comments

When merged this pull request will:

  • Allow stitching when "Clear Trauma" is set to "On Stitch".
  • This changes behaviour as such that trauma is cleared upon finishing stitching, instead of periodically, with time calculation based on ΣbodyPartDamage * GVAR(woundStitchTime). This is due to some of the values otherwise used for stitching are only available when wound reopening is enabled.

IMPORTANT

  • [x] If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • [x] Development Guidelines are read, understood and applied.
  • [x] Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Freddo3000 avatar May 15 '22 01:05 Freddo3000

I think in terms of end user experience this isn't the ideal solution (since if action is interrupted that progress will be lost). However, it does identify a valid case that's not being handled and seems fine as an initial solution.

Having recently reacquainted myself with our stitching code to produce #8926, the way we handle stitching logic is not very intuitive and seems over complicated. I reckon if someone was motivated they could refactor the underlying system in a way which also accommodates this case with incremental progress.

kymckay avatar Jun 02 '22 20:06 kymckay

I think in terms of end user experience this isn't the ideal solution (since if action is interrupted that progress will be lost). However, it does identify a valid case that's not being handled and seems fine as an initial solution.

Having recently reacquainted myself with our stitching code to produce #8926, the way we handle stitching logic is not very intuitive and seems over complicated. I reckon if someone was motivated they could refactor the underlying system in a way which also accommodates this case with incremental progress.

This was essentially my thought on it as well, a stopgap solution until someone who is more acquainted with ACE produces something better.

Freddo3000 avatar Jun 02 '22 23:06 Freddo3000