diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-17 15:52:20 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-17 15:52:20 +0200 |
commit | 708cbe2c92b2de53333a293ad4e8b6ba500793d3 (patch) | |
tree | 778912a0898785a646d7ac637a6f64c71afad449 /server/bot/src/algos/customer.rs | |
parent | 81ba02e8880765148724bfb68d24cfea175805a2 (diff) | |
download | hurrycurry-708cbe2c92b2de53333a293ad4e8b6ba500793d3.tar hurrycurry-708cbe2c92b2de53333a293ad4e8b6ba500793d3.tar.bz2 hurrycurry-708cbe2c92b2de53333a293ad4e8b6ba500793d3.tar.zst |
customers send message clear
Diffstat (limited to 'server/bot/src/algos/customer.rs')
-rw-r--r-- | server/bot/src/algos/customer.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/bot/src/algos/customer.rs b/server/bot/src/algos/customer.rs index 2e0a45b4..716897f7 100644 --- a/server/bot/src/algos/customer.rs +++ b/server/bot/src/algos/customer.rs @@ -132,6 +132,11 @@ impl BotAlgo for Customer { *self = Customer::Exiting { path }; BotInput { extra: vec![ + PacketS::Communicate { + message: None, + timeout: Some(0.), + player: me, + }, PacketS::ApplyScore(Score { points: -1, demands_failed: 1, @@ -179,6 +184,11 @@ impl BotAlgo for Customer { BotInput { extra: vec![ PacketS::Communicate { + message: None, + timeout: Some(0.), + player: me, + }, + PacketS::Communicate { message: Some(Message::Effect("satisfied".to_string())), timeout: None, player: me, |