We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3cb082 commit 1c59258Copy full SHA for 1c59258
src/plugin/rules_engine.rs
@@ -110,7 +110,7 @@ impl RulesEngine {
110
match field {
111
Field::Hedgehog => Err(HUIError::new_err("Cannot advance on Hedgehog field")),
112
Field::Salad if player.salads > 0 => Ok(()),
113
- Field::Salad => Err(HUIError::new_err("Field is occupied by opponent")),
+ Field::Salad => Err(HUIError::new_err("No salad to eat")),
114
Field::Hare if !cards.is_empty() => Ok(()),
115
Field::Hare => Err(HUIError::new_err("No card to play")),
116
Field::Market if player.carrots >= 10 && !cards.is_empty() => Ok(()),
0 commit comments