Toma400 / The_Isle_of_Ansur

Python-based text RPG game, successor of Between Shadows and Light.
Other
9 stars 0 forks source link

Simplification of pack .jsons (RID/CID) #9

Closed Toma400 closed 2 years ago

Toma400 commented 2 years ago

It would be better to do refactoring of RID/CID readers to use folder name + main key to generate RID/CID, not by requesting modders to add special subkey with - in fact - repeated values that can be entered wrongly and are not necessary.

It would need changes in mod_manag.cid_loader/mod_manag.rid_loader - probably subread could be changed to be normal read, and combining that with i from mod_lister process (being mod id in iteration process of loaders)..

Toma400 commented 2 years ago

Implemented in commit. Needs further testing, though in test environment, worked correctly.

Also please remove comments with old code after testing this out, to not clutter it with deprecated elements.

Toma400 commented 2 years ago

Implemented correctly.