Commit graph

14 commits

Author SHA1 Message Date
5d0f6c36b6 first auto generated cup id is now 1 2022-09-11 12:11:34 +02:00
423a02ce4c remade all the translation in a easier, faster and more readable way 2022-09-01 18:10:38 +02:00
0864ff1e05 If a tag start with _, it is removed when looking in a tag_template, but not in a tags cups 2022-08-28 11:49:24 +02:00
63bb989b05 adapted MKWF to latest change 2022-08-20 18:47:25 +02:00
fb8d20c08f some of the Track class now remember the mod_config object for easier call. default_track_attributes have been added to set default value of the track attribute object to avoid unreadable safe eval of getattr 2022-08-20 00:24:30 +02:00
92231bde4e moved Slot and MKWColor to mkw.collection 2022-08-19 20:22:54 +02:00
49c8353252 Slot is now a dataclass instead of a simple typehint (should now allow support for the abbreviated slot like LC, MMM, ...) 2022-08-18 23:04:01 +02:00
ec94ddece8 the code is now fully translatable 2022-08-15 23:06:23 +02:00
65e7fb7118 fixed TrackGroup not being usable because of the get_ctfile that was missing argument 2022-08-15 22:02:55 +02:00
8afd7e7926 safe_eval and multiple_safe_eval are now 20x faster (~2.5s -> ~0.13s) 2022-08-15 10:58:36 +02:00
506ee740f5 added TemplateSafeEval, TemplateMultipleSafeEval and Env type hint 2022-08-14 12:47:35 +02:00
a51d6f2173 implemented Arena (game text are missing) 2022-08-13 12:16:37 +02:00
f13b18aa57 fully implemented the AbstractTrack and DefaultTrack, removing the necessity of default_track in mod_config.json 2022-08-11 18:56:49 +02:00
99287bbd56 started making a AbstractTrack class to implement more type of "track".
Removed get_suffix and get_prefix to replace them with get_tag_template and tags_template in mod_config.json
2022-08-10 22:33:10 +02:00