From 525db6976aea1411fd3b38ec6ebb19fb224438b6 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 23 Nov 2019 05:54:38 +0800 Subject: [PATCH] Disable forage tool restriction --- .../phrase_manager/fg_extraction_phrase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp b/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp index 6032adcfc..813928cd1 100644 --- a/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp +++ b/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp @@ -544,6 +544,7 @@ bool CFgExtractionPhrase::validate() return false; // has disappeared } +#ifdef RYZOM_FORGE_CRAFT_TOOL // test if tool have enough quality sint depositQ = (sint)harvestSource->forageSite()->deposit()->maxQuality(); @@ -552,6 +553,7 @@ bool CFgExtractionPhrase::validate() PHRASE_UTILITIES::sendDynamicSystemMessage(_ActorRowId, "FORAGE_TOOL_QUALITY_TOO_LOW"); return false; } +#endif // Check the distance from the player to the source (ignoring Z because for tunnel case, player couldn't target the source) const CEntityState& state = player->getState();