My goal is to make it possible to repair each fallen mast separately at the shipyard.
At first glance, this is not difficult.
But in practice, it is not possible to correctly calculate the state of the sails (percent) after repair.
=
I make repairs, I count how much damage I removed from sails,
then I go out to the sea and the engine recalculates ANOTHER percentage of sail condition.
=
Is it possible to add the output of the percentage of sails belonging to a particular mast to scripts?
Or fix the engine recording damage to masts and sails so that there are no discrepancies.