You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Now that #142 is implemented, one can set a dice to a specific value.
Some games have dice which are not numbered but have images or other non numeric values - some might even have the same number multiple times (e.g. a die with face values: 0, 1, 1, 1, 2, 3).
Currently the index is used as "name" which is not very customizable.
Describe the solution you'd like
To be able to set those dice (with images and multiple numbers) it would be good to give a face value a name. This name should then be displayed when changing the dice value (#142).
This allows to describe an image or have the same name for multiple faces.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
It should now be much easier and safer to introduce new changes to
how the 'config.cfg' file is read. Now, I just need to have an easy
way to set up scene entries, to read 'stacks.cfg' files to make
collections of entries, and to test everything as well... ho boy ><
It will be worth it in the end, but this is what I dreaded most
about using unit tests, some of them are going to be absolutely
gargantuan, and I'm pretty sure the tests for this code is going
to be one of them... :|
Overall, the functionality has mostly stayed the same from before,
except for one major change: the 'face_values' dictionary used for
dice has swapped its keys and values. Previously, the keys were the
values assigned to each face, and the values were the rotations needed
to make that face point globally upwards. Now, the keys are the
rotations, and the values are the, well, values. This allows for
multiple faces to have not only the same value, but string values
are also now possible due to the CustomValue class.
As a result, once this commit is merged into master, it should
close#209.
Is your feature request related to a problem? Please describe.
Now that #142 is implemented, one can set a dice to a specific value.
Some games have dice which are not numbered but have images or other non numeric values - some might even have the same number multiple times (e.g. a die with face values: 0, 1, 1, 1, 2, 3).
Currently the index is used as "name" which is not very customizable.
Describe the solution you'd like
To be able to set those dice (with images and multiple numbers) it would be good to give a face value a name. This name should then be displayed when changing the dice value (#142).
This allows to describe an image or have the same name for multiple faces.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: