grey cli hints in level description

This commit is contained in:
bleeptrack 2021-02-11 11:19:22 +01:00
parent 328122823b
commit 0781649227
2 changed files with 6 additions and 0 deletions
scenes

View file

@ -28,6 +28,9 @@ func load(path):
description = monospace_regex.sub(description, "\n [code]$1[/code]", true)
description = description.split("---")
var cli_hints = "\n\n[color=#787878]"+config.get("cli", "")+"[/color]"
description[0] = description[0] + cli_hints
congrats = config.get("congrats", "Good job, you solved the level!\n\nFeel free to try a few more things or click 'Next level'.")
cards = Array(config.get("cards", "").split(" "))
if cards == [""]: