mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Remove unnecessary quest manager stuff.
This commit is contained in:
+10
-2
@@ -3708,12 +3708,20 @@ bool Perl__hasrecipelearned(uint32 recipe_id)
|
|||||||
|
|
||||||
bool Perl__IsRaining()
|
bool Perl__IsRaining()
|
||||||
{
|
{
|
||||||
return quest_manager.IsRaining();
|
if (!zone) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return zone->IsRaining();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Perl__IsSnowing()
|
bool Perl__IsSnowing()
|
||||||
{
|
{
|
||||||
return quest_manager.IsSnowing();
|
if (!zone) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return zone->IsSnowing();
|
||||||
}
|
}
|
||||||
|
|
||||||
void perl_register_quest()
|
void perl_register_quest()
|
||||||
|
|||||||
@@ -3723,19 +3723,3 @@ void QuestManager::LearnRecipe(uint32 recipe_id) {
|
|||||||
|
|
||||||
initiator->LearnRecipe(recipe_id);
|
initiator->LearnRecipe(recipe_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QuestManager::IsRaining() {
|
|
||||||
if (!zone) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return zone->IsRaining();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool QuestManager::IsSnowing() {
|
|
||||||
if (!zone) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return zone->IsSnowing();
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -340,8 +340,6 @@ public:
|
|||||||
int GetRecipeMadeCount(uint32 recipe_id);
|
int GetRecipeMadeCount(uint32 recipe_id);
|
||||||
std::string GetRecipeName(uint32 recipe_id);
|
std::string GetRecipeName(uint32 recipe_id);
|
||||||
bool HasRecipeLearned(uint32 recipe_id);
|
bool HasRecipeLearned(uint32 recipe_id);
|
||||||
bool IsRaining();
|
|
||||||
bool IsSnowing();
|
|
||||||
|
|
||||||
Client *GetInitiator() const;
|
Client *GetInitiator() const;
|
||||||
NPC *GetNPC() const;
|
NPC *GetNPC() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user