AsherGlick / Burrito

An overlay tool for Guild Wars 2 that works on linux
GNU General Public License v2.0
79 stars 18 forks source link

Removing the requirement for protofields on each attribute #311

Closed AsherGlick closed 4 months ago

AsherGlick commented 4 months ago

Finally, removing the requirement for a proto field attached to each attribute.

Also cleaning up the do_nothing hack that was present while we were unable to handle this case.

Overall this is pretty simple, we are allowing the markdown proto field to be set to null, if it is set to null then we dont include any of the proto_info into the attribute variable. If there is no proto_info in the attribute variable then the jinja template does not write anything for that attribute in the reader or the writer.

Fixes #215