mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
grey cli hints in level description
This commit is contained in:
parent
328122823b
commit
0781649227
2 changed files with 6 additions and 0 deletions
scenes
|
@ -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 == [""]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue