Modifier canonicalization #530
Labels
area: data
Things related to the data structures underlying the world, and the functions that manipulate them.
kind: feature
Adding user-facing/developer-facing functionality
The current situation is that
Block
s have an arbitrary list ofModifier
s, and there a couple special cases such that if aModifier::Rotate
is being added, it is combined with an existing one if present. However there are some, and will be more, cases where other modifiers too should be put in a consistent order, so thatThe scheme I have in mind for this is:
Then, a sketch of an algorithm for canonicalizing a modifier list:
Rotate
shall always come beforeInventory
, or vice versa).Once we have this algorithm, it should be applied at appropriate times by user editing and
Operation
s, but not automatically by all mutations ofBlock
s.The text was updated successfully, but these errors were encountered: