https://github.com/mt-mods/pick_axe_tweaks
https://github.com/mt-mods/pick_axe_tweaks
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mt-mods/pick_axe_tweaks
- Owner: mt-mods
- License: mit
- Created: 2021-01-31T04:33:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T04:04:27.000Z (over 2 years ago)
- Last Synced: 2025-01-01T14:45:12.288Z (over 1 year ago)
- Language: Lua
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minetest Pickaxe Tweaks Mod

[](https://opensource.org/licenses/MIT)
[](https://content.minetest.net/packages/wsor4035/pick_axe_tweaks/)
## About
Adds the ability for pickaxes to place light nodes. Configurable per player.
## Setup
Download mod, put in your `mods` or `worldmods` folder and enable it. You can also install it from the content tab in Minetest, or download it from [ContentDB](https://content.minetest.net/packages/mt-mods/pick_axe_tweaks/).
If not using with Minetest Game, please change the default light node setting.
## Settings
* `pat_light_node`: Default light node. (by default `default:torch`)
## API
For pickaxes, simply add the `pickaxe` group to the tool's groups, and it will automatically be registered.
Alternatively, for non-pickaxes, you can use the API function: `pick_axe_tweaks.register_tool(name)`
## Other comments
Thanks to @luk3yx and @S-S-X for suggestions.