Go to file
aa6 c94252c7e2 Fix: Better description. 2022-03-27 09:17:21 +03:00
screenshots Initial release 2016-03-26 21:41:29 +03:00
textures Decreasing png sizes. 2017-01-14 18:28:59 +03:00
util Fix: Better description. 2022-03-27 09:17:21 +03:00
LICENSE Initial release 2016-03-26 21:41:29 +03:00
README.md Fix: Better description. 2022-03-27 09:17:21 +03:00
VERSION Fix: Better description. 2022-03-27 09:17:21 +03:00
config.lua Fix: minetest.settings:get() doesn't return actual value when unset. 2022-02-22 22:07:49 +03:00
depends.txt Feature: no stamina? drink a coffee! (#5) Farming mod support. 2020-09-01 16:05:07 +00:00
description.txt Fix: Better description. 2022-03-27 09:17:21 +03:00
init.api.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
init.coffee.lua Feature: no stamina? drink a coffee! (#5) Farming mod support. 2020-09-01 16:05:07 +00:00
init.config.lua Fix: Comment on minetest.settings:get() behavior. 2022-02-22 22:17:04 +03:00
init.core.lua Fix: Getting rid of duplicate minetest.register_on_joinplayer. 2020-07-14 09:58:04 +03:00
init.hudbars.lua Fix: indentation broken 2022-03-27 09:14:28 +03:00
init.legacy.lua Fix: Support for hudbars above 2.0.0. 2020-07-11 10:38:44 +03:00
init.log.lua Fix: Bad code indentation. 2022-02-22 22:09:56 +03:00
init.lua Fix: minetest.settings:get() doesn't return actual value when unset. 2022-02-22 22:07:49 +03:00
init.set_sprinting_physics.lua Fix: BAD_PHYSICS_OVERRIDE_MODE is now a default. 2020-07-15 10:44:49 +03:00
lib.eventemitter.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
lib.file_exists.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
lib.file_get_contents.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
lib.file_put_contents.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
lib.round.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
lib.savetable.lua Fix: Code simplification. 2019-08-24 17:55:17 +03:00
mod.conf More compatibility with mod standards https://forum.minetest.net/viewtopic.php?f=47&t=14224 2017-04-24 20:45:58 +03:00
screenshot.png More compatibility with mod standards https://forum.minetest.net/viewtopic.php?f=47&t=14224 2017-04-24 20:45:58 +03:00
settingtypes.txt Fix: Enable ingame settings by default. 2022-02-04 15:17:12 +03:00

README.md

Wadsprint [Version] [minetest_wadsprint]

Minetest mod for sprinting/running with W, A and D buttons. A+D => A+D+W => W.

Wadsprint

How to use

  1. Press A and D simultaneously to trigger the ready_to_sprint state.
  2. Then press W to start sprinting.
  3. Release A and D (keep W pressed) and continue sprinting until the stamina runs out.
  4. Drink a coffee to faster regenerate the stamina.

How to download

https://github.com/aa6/minetest_wadsprint/archive/master.zip

How to install

http://wiki.minetest.com/wiki/Installing_mods

How to configure

Edit config.lua at the mod directory.

Copy config.lua to worlds/<worldname>/mod_minetest_wadsprint_config.lua to create a per-world config.

Dependencies

All mod dependencies are optional.

Dependents

Development

  • Run git clone https://github.com/aa6/minetest_wadsprint.git; cd minetest_wadsprint to clone the repository.
  • Run bash util/git_hook_pre_commit.bash install after repository cloning. ./VERSION and ./util/version.png then will be updated automatically on every commit. To increment minor version append " 2" to ./VERSION file contents.
  • Use print(dump( ... )) to print tables to console when debugging.
  • Use error(123) to stop execution when debugging.
  • Remember that array numeration in Lua starts not from 0 but from 1: arr = { 123 }; -- arr[0] == nil; arr[1] == 123.
  • Use manual http://dev.minetest.net/Category:Methods

Changelog

https://github.com/aa6/minetest_wadsprint/commits/master

Links

Minetest forums topic

Credits

Thanks to GunshipPenguin and his sprint mod for showing a good example of how sprint mod for minetest can be done.