removeconflicts — remove items that contradict the set attributes from the model attributes
use Wacs;
use Wacs::WacsStd;
scalar removeconflicts( | ...) ; |
parameter | description |
---|---|
model | The model's attributes (mattributes field) |
existing | The existing combined attributes (ie those taken from the set
scatinfo field |
The removeconflicts
function is designed to stop
contradictory overwriting of mutually exclusive model attributes -
typically those relating to pubic hair trimming, as these can often
vary between sets of the same model. It is provided with the model's
attributes plus the existing set attributes - if the existing set
attributes do not include a contradictory value, then the model's
attributes are included. If there's a conflict, the model's pubic
hair attribute is dropped in favour of that in the set. This is
usually the correct behaviour. This if a model is normally considered
to have a shaven pussy, but appears in a set before she's shaven it
(or even as she does so), then the set may be marked with the hairy
attribute. If that is there, the model's default of shaven will be
removed and only her other attributes (tattoos, piercings, etc) will
be imported.