From dcde8df365953f2dc396e9720f4d37110fb01a35 Mon Sep 17 00:00:00 2001 From: Vincent Foulon Date: Thu, 1 Apr 2021 19:13:08 +0200 Subject: [PATCH] address review comments --- assets/voxygen/i18n/en/_manifest.ron | 2 +- server/src/sys/agent.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/voxygen/i18n/en/_manifest.ron b/assets/voxygen/i18n/en/_manifest.ron index 854d254f3c..50d569f994 100644 --- a/assets/voxygen/i18n/en/_manifest.ron +++ b/assets/voxygen/i18n/en/_manifest.ron @@ -96,7 +96,7 @@ ], "npc.speech.villager_decline_trade": [ "Sorry, I don't have anything to trade.", - "Trade ? Like I got anything that may interest you.", + "Trade? Like I got anything that may interest you.", "My house is mine, I won't trade it for anything.", ], "npc.speech.merchant_advertisement": [ diff --git a/server/src/sys/agent.rs b/server/src/sys/agent.rs index 87161c96dd..531d5d7a47 100644 --- a/server/src/sys/agent.rs +++ b/server/src/sys/agent.rs @@ -889,6 +889,7 @@ impl<'a> AgentData<'a> { }); if self.look_toward(controller, read_data, &target) { + controller.actions.push(ControlAction::Stand); controller.actions.push(ControlAction::Talk); match subject { Subject::Regular => { @@ -1096,6 +1097,7 @@ impl<'a> AgentData<'a> { if agent.trade_for_site.is_some() { if !agent.trading { // stand still and looking towards the trading player + controller.actions.push(ControlAction::Stand); controller.actions.push(ControlAction::Talk); if let Some(target) = read_data.uid_allocator.retrieve_entity_internal(with.id())