ainslec / adventuron-issue-tracker

Adventuron Issues Tracker
4 stars 0 forks source link

Incorrect colouring of ALT1 text if following a direction #474

Closed ainslec closed 2 years ago

ainslec commented 2 years ago

image

start_at   = bedroom
redescribe = auto_beta

locations {
    bedroom : location "This is the <BEDROOM>. A door leads <EAST<_dir>>[east] to the <HALLWAY>." ;
    hallway : location "This is the <HALLWAY>." ;
}
connections {
   from, direction, to = [
      bedroom, east, hallway, 
   ]
}

booleans {
   is_dark_theme : boolean "true";
}

on_command {

   : match "toggle _"  {
      : if (is_dark_theme) {
         : set_theme "bright_theme";
      }
      : else {
         : set_theme "dark_theme";
      }

      : toggle "is_dark_theme" ;
      : redescribe;
   }

}

themes {
   dark_theme : theme {
      theme_settings {
         font = bamburgh
      }
      colors {
         paper = 0
         exit_list_item_pen      = 14
         default_alt1_pen        = 11
      }
   }

   bright_theme : theme {
      theme_settings {
         font = daad
         shader = scanlines
      }
      screen {
         border_mode_vertical_percent = 1
      }
      colors {
         border = 1
         paper                   = 15
         exit_list_item_pen      = 2
         default_alt1_pen        = 1
      }
   }

}
ainslec commented 2 years ago

Fixed in beta 75e.