AutoYAML: proper multi-line comments

This commit is contained in:
Fabian Dill 2021-08-29 18:13:38 +02:00
parent 5d62d4e063
commit 8c72b0a6c4
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ progression_balancing:
# - "Master Sword Pedestal"
{{ game }}:
{%- for option_name, option in options.items() %}
{{ option_name }}:{% if option.__doc__ %} # {{ option.__doc__ }}{% endif %}
{{ option_name }}:{% if option.__doc__ %} # {{ option.__doc__ | replace('\n', '\n#') | indent(4, first=False) }}{% endif %}
{%- if option.range_start is defined %}
# you can add additional values between minimum and maximum
{{ option.range_start }}: 0 # minimum value