ainslec / adventuron-issue-tracker

Adventuron Issues Tracker
4 stars 0 forks source link

Bug? Cannot use $ tokens inside style tokens #525

Open ainslec opened 9 months ago

ainslec commented 9 months ago

From discord:

"I should also mention that a line like, <(?) Unknown verb - ${verb}<#da2>> won't compile and shows errors in the editor . I had put the ${verb} variable outside the colour syntax for that reason a while back and forgot about that scenario producing a bug. Sorry about not mentioning that before."

start_at = my_location
start_theme = game_theme

locations {
   my_location : location "You are in a room." ;
}

themes {
   game_theme : theme {
      system_messages {
         unknown_verb = <(?) Unknown verb - ${verb}<#da2>>
      }
   }
}