Compare commits

..

No commits in common. "c94252c7e2a485bf296ce702518efe13a30160f6" and "4d685be109a558d873abe5336a9e5441eee95a74" have entirely different histories.

6 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Wadsprint [![Version](/util/version.png)] [minetest_wadsprint]
Minetest mod for sprinting/running with W, A and D buttons. A+D => A+D+W => W.
Minetest mod for sprinting with W, A and D buttons.
![Wadsprint](/screenshots/wadsprint_screenshots.png?raw=true "Wadsprint mod screenshots")

View File

@ -1 +1 @@
0.11.14
0.11.9

View File

@ -1 +1 @@
Sprinting/running with W, A and D buttons. A+D => A+D+W => W.
Sprinting with W, A and D buttons.

View File

@ -3,8 +3,6 @@ dofile(minetest.get_modpath(minetest.get_current_modname()).."/config.lua")
-- Processing in-game settings. In-game settings are preferrable
-- over global config.lua values.
-- Warning: minetest.settings:get() and minetest.settings:get_bool()
-- return `nil` value when not set, instead of actual default value.
function minetest_wadsprint.load_minetest_settings_key(key,type)
if type == "int" then
if minetest.settings:get("minetest_wadsprint."..key) ~= nil then

View File

@ -33,7 +33,7 @@ elseif minetest.get_modpath("hudbars") ~= nil then
player.obj, -- `player`: `ObjectRef` of the player to which the new HUD bar should be displayed to.
minetest_wadsprint.HUDBARS_IDENTIFIER, -- `identifier`: The identifier of the HUD bar type, as specified in `hb.register_hudbar`.
math.ceil(player.stamina), -- `start_value`: The initial current value of the HUD bar. This is optional, `default_start_value` of the registration function will be used, if this is `nil`.
minetest_wadsprint.STAMINA_MAX_VALUE, -- `start_max`: The initial maximum value of the HUD bar. This is optional, `default_start_max` of the registration function will be used, if this is `nil`
nil, -- `start_max`: The initial maximum value of the HUD bar. This is optional, `default_start_max` of the registration function will be used, if this is `nil`
nil -- `start_hidden`: Whether the HUD bar is initially hidden. This is optional, `default_start_hidden` of the registration function will be used as default.
)
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB