cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
639 stars 259 forks source link

Improve autodoc: treat wounds #2123

Open leoCottret opened 1 year ago

leoCottret commented 1 year ago

Is your feature request related to a problem? Please describe.

So what it actually does is (good luck to know that without looking at the code):

Describe the solution you'd like

Have it also apply bandages. You would need to give it supplies (same system as splints). Then it would "apply them on you", taking into account your current first aid skill, and adding a bonus (like 5). This would also raise your first aid skill, as fast as when you apply bandages on yourself directly. The message would be something like "You apply your bandage on your body part, with the Autodoc's help".

Supposing your character has 5 "wounded" body parts:

If you give it 3 bandages, it will heal the following limbs in priority: L LEG, TORSO, R LEG because they are the most damaged. It would never use a bandage if there would be no point of using it (eg, it already did it recently and there would be no improvement).

Then if you add 3 bandages and use "treat wounds" again, it will heal: R ARM, L ARM.

To avoid losing too many bandages, it could apply bandages only if there's at least a 20% improvement, and if the limb has less than 95% health. And it could be even better if this could be customizable through the autodoc.

The main gameplay improvement behind it would be:

Disinfectant could be added in a second time, but would follow the same principles.

Additional context

No response

Krwak commented 1 year ago

Pro tip: you can use Eat menu to apply bandages and disinfectant. It's less keypresses that way.

I like the changes presented here though.