featured powered player setttings : dig
* dragon fire hacked, the instant dig is currently false for now
This commit is contained in:
parent
9b877249e3
commit
d75ca63de4
@ -2135,3 +2135,12 @@ contentdb_url (ContentDB URL) string https://content.minetest.net
|
|||||||
# These flags are independent from Minetest versions,
|
# These flags are independent from Minetest versions,
|
||||||
# so see a full list at https://content.minetest.net/help/content_flags/
|
# so see a full list at https://content.minetest.net/help/content_flags/
|
||||||
contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_default
|
contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_default
|
||||||
|
|
||||||
|
[venenux]
|
||||||
|
|
||||||
|
# provides rapid dig, but just break the block, still valid pick must be handle
|
||||||
|
# by example you can dig a stone with a wood pick, with this you are able
|
||||||
|
# to dig with one action, but the tool will sufers same as if you dig normally
|
||||||
|
instant_dig (Dig Nodes on punch) bool true
|
||||||
|
|
||||||
|
|
||||||
|
@ -3572,6 +3572,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) {
|
if (!runData.digging) {
|
||||||
infostream << "Started digging" << std::endl;
|
infostream << "Started digging" << std::endl;
|
||||||
runData.dig_instantly = runData.dig_time_complete == 0;
|
runData.dig_instantly = runData.dig_time_complete == 0;
|
||||||
|
@ -46,6 +46,7 @@ void set_default_settings(Settings *settings)
|
|||||||
settings->setDefault("enable_vbo", "true");
|
settings->setDefault("enable_vbo", "true");
|
||||||
settings->setDefault("free_move", "false");
|
settings->setDefault("free_move", "false");
|
||||||
settings->setDefault("pitch_move", "false");
|
settings->setDefault("pitch_move", "false");
|
||||||
|
settings->setDefault("instant_dig", "false");
|
||||||
settings->setDefault("fast_move", "false");
|
settings->setDefault("fast_move", "false");
|
||||||
settings->setDefault("noclip", "false");
|
settings->setDefault("noclip", "false");
|
||||||
settings->setDefault("screenshot_path", ".");
|
settings->setDefault("screenshot_path", ".");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user