Wykres commitów

7 Commity (db4e4c21c1fd3ba33578b6f4892bcbbd0ee31303)

Autor SHA1 Wiadomość Data
Torrin Leonard 4f42106fa3 Fixing merge issues
Minor bug fixes to exporter and cleaning up code.
2022-08-11 09:48:01 -04:00
Torrin Leonard 74eef79a3f Revert "Merge branch 'Logic_v2_and_minor_changes' into main"
This reverts commit e31d2abf36, reversing
changes made to 138e1b967b.
2022-08-10 22:18:35 -04:00
Torrin Leonard 17cbf3a32f Revamping Logic
Lots more info in the comments of the code.

Documentation still needs to be made, also more testing lol

This is the new format for Logic.json files:

```
{
    "Rule-1":{
        "IF": [
            "Variant collection name"
        ],
        "THEN":[
            "Attribute collection name", "Variant collection name"
        ]
    }
}
```

Some basic guidelines, needs to be more thorough and cleaned up for documentation:

Attributes and Variants can be used in the “THEN” list, Variants can only be used in the “IF” list.

If a full attribute is detected in the “THEN” list (either by the attribute collection name or all variant collection names in that attribute) and a variant is not detected in the “IF” list, the attribute detected in the “THEN” list will be set to “EMPTY”.

Variants in the “IF” list may be from the same or separate attributes, however they must never be from the same attribute as variants in the “THEN” list.

I need sleep.

Note to self: The Logic UI List needs to be updated to reflect these changes to Logics core functionality, the current UI List is broken on this branch and wont work.

Also added save_result to Constants.py for basic logging functionality.
2022-06-05 23:46:49 -04:00
Torrin Leonard 6495b12654 Initial commit 2022-06-03 22:47:09 -04:00
Torrin Leonard f90cb38e2b Removing deprecated script code
Added loading animation to DNA_Generator for Create NFT Data step.
2022-03-25 08:22:28 -04:00
Torrin Leonard 1b4111bc36 Cleaning things up
Updated version number for add-on
Refactored all imports for renamed files
2022-03-12 12:18:41 -05:00
Torrin Leonard 28dae909f9 Refactored DNA generation method and Logic
DNA Generation now checks if each DNA is unique after random, Rarity and Logic have generated a singleDNA string. This prevents duplication with all three methods.

Logic now works for both Only with and Never with methods. Variants and Attributes both work.

Rarity sorter was refactored to only return a singleDNA instead of the entire DNAList. Also the DNA creation method in Rarity_Sorter is has been changed.
2022-03-12 12:02:01 -05:00