various sussy fixes

This commit is contained in:
Looki2000 2023-02-23 13:21:59 +01:00
parent 1aab983730
commit fc4d425dd6
4 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="label">Minetest</string>
<string name="label">SussyCraft</string>
<string name="loading">Loading&#8230;</string>
<string name="migrating">Migrating save data from old install&#8230; (this may take a while)</string>
<string name="not_granted">Required permission wasn\'t granted, Minetest can\'t run without it</string>

View File

@ -201,8 +201,8 @@ local function formspec(tabview, name, tabdata)
if core.settings:get("touchscreen_threshold") ~= nil then
tab_string = tab_string ..
"label[4.25,3.5;" .. fgettext("Touch threshold (px):") .. "]" ..
"dropdown[4.25,3.95;3.5;dd_touchthreshold;0,5,10,15,20,30,40,50;" ..
((tonumber(core.settings:get("touchscreen_threshold")) / 10) + 1) ..
"dropdown[4.25,3.95;3.5;dd_touchthreshold;0,5,10,15,20,25,30,35,40,45,50;" ..
((tonumber(core.settings:get("touchscreen_threshold")) / 5) + 1) ..
"]"
else
tab_string = tab_string ..

View File

@ -279,7 +279,7 @@ void set_default_settings()
// Input
settings->setDefault("invert_mouse", "false");
settings->setDefault("mouse_sensitivity", "0.1");
settings->setDefault("mouse_sensitivity", "0.05");
settings->setDefault("repeat_place_time", "0.25");
settings->setDefault("safe_dig_and_place", "false");
settings->setDefault("random_input", "false");
@ -492,7 +492,7 @@ void set_default_settings()
settings->setDefault("server_map_save_interval", "15");
settings->setDefault("client_mapblock_limit", "1000");
settings->setDefault("active_block_range", "2");
settings->setDefault("viewing_range", "150");
settings->setDefault("viewing_range", "100");
settings->setDefault("leaves_style", "simple");
settings->setDefault("curl_verify_cert","false");