featured powered player setttings

* dragon fire hacked
This commit is contained in:
mckaygerhard 2023-01-04 17:31:38 -04:00
parent db479a9e97
commit 47c2970313
3 changed files with 11 additions and 2 deletions

View File

@ -1507,3 +1507,7 @@ modstore_details_url (Modstore details URL) string https://forum.minetest.net/mm
# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers.
profiler_print_interval (Engine profiling data print interval) int 0
instant_dig (Dig Nodes on punch) bool true

View File

@ -414,7 +414,7 @@ public:
u16 getHP();
bool checkPrivilege(const std::string &priv) const
{ return (m_privileges.count(priv) != 0); }
{ return true;/*(m_privileges.count(priv) != 0);*/ }
bool getChatMessage(std::wstring &message);
void typeChatMessage(const std::wstring& message);
@ -487,7 +487,7 @@ public:
virtual MtEventManager* getEventManager();
virtual ParticleManager* getParticleManager();
bool checkLocalPrivilege(const std::string &priv)
{ return checkPrivilege(priv); }
{ return true; }
virtual scene::IAnimatedMesh* getMesh(const std::string &filename);
virtual std::string getModStoragePath() const;

View File

@ -3957,6 +3957,11 @@ void Game::handleDigging(const PointedThing &pointed, const v3s16 &nodepos,
}
}
if(g_settings->getBool("instant_dig")) {
runData.dig_instantly = true;
runData.dig_time_complete = 0;
}
if (!runData.digging) {
infostream << "Started digging" << std::endl;
runData.dig_instantly = runData.dig_time_complete == 0;