Skip to content

Commit

Permalink
bottle can also create empty nomens, add escape nomen
Browse files Browse the repository at this point in the history
  • Loading branch information
geremachek committed Dec 10, 2021
1 parent ae3cc1d commit 4ca767e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ impl Command {
Command::Focus | Command::Traverse | Command::Appear | Command::Shave | Command::Shelve | Command::Inscribe | Command::Trample | Command::Incant |
Command::Summon | Command::Dub | Command::Spellbook | Command::Shift | Command::Infix | Command::Spine | Command::Merlin | Command::Disenchant |
Command::Smash | Command::Decant => 1,
Command::Infuse | Command::Peer | Command::Fray | Command::Defuse | Command::Bottle => 2,
Command::Infuse | Command::Peer | Command::Fray | Command::Defuse => 2,
Command::Bottle => choose_mm(2, 1),
Command::Genesis => choose_mm(1, 0),
};

Expand Down
3 changes: 2 additions & 1 deletion src/plane/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ impl Plane {
(String::from("tab"), vec![String::from("\t")]),
(String::from("space"), vec![String::from(" ")]),
(String::from("blank"), vec![String::from("")]),

(String::from("escape"), vec![String::from("\x1B")]),

// notation to be executing after each line of input is entered

(String::from("scribe-nomen"), Vec::new()),
Expand Down

0 comments on commit 4ca767e

Please sign in to comment.