A mod for Minetest :: Adds a wand that magically spawns a light node where ever the player pointed it.

Vibes81 2f476ea6e4 Merge branch 'develop' 0.0.7 beta před 3 roky
.vscode 66493d5f08 the players wand now lvls up with larger burntime před 3 roky
core 46dec1dfd0 bugfix: sound always played regardless of setting před 3 roky
docs 71fbf2841d bump for 0.0.7 před 3 roky
sounds 89694633a0 first import of code před 4 roky
textures 15939fc18f added image[] před 3 roky
.gitignore 9341d34a1e update git ignored list před 4 roky
LICENSE 548cf09efe Initial commit před 4 roky
README.md d596f9588c update readme and bump version před 3 roky
config.lua 6c558e097c cleanup of config file and mc2 lava is now ignored před 3 roky
init.lua 71fbf2841d bump for 0.0.7 před 3 roky
mod.conf 70e2e44eb7 vMod.logger před 3 roky
nodes.lua 6c558e097c cleanup of config file and mc2 lava is now ignored před 3 roky
screenshot.png 34cfccb0b0 updated screenshots and cleaned gui a little před 3 roky
screenshot1.png 34cfccb0b0 updated screenshots and cleaned gui a little před 3 roky
screenshot2.png 89694633a0 first import of code před 4 roky
screenshot3.png f0762a0390 new screenshots před 4 roky
screenshot4.png f0762a0390 new screenshots před 4 roky
screenshot5.png 34cfccb0b0 updated screenshots and cleaned gui a little před 3 roky
screenshot6.png 34cfccb0b0 updated screenshots and cleaned gui a little před 3 roky
settingtypes.txt d7ae479613 update readme and set sound to off by default před 3 roky
tools.lua 50985ad890 rename show_gui to open_gui před 3 roky

README.md

VM Lighting Wand

A mod for Minetest

Adds a Wand that can spawn a light node both in water or air. But it is greedy, it requires been fed burnable items in order to place lights. The Wand provides a GUI interface by right clicking while holding a Wand. From here you can see details about the wand and a slot to feed it burnable items. As the wand is fed more items and builds up power it will level up, increasing the level grants it more range and decreases its usage cost. Levels can be fully configured to suit your needs within the provided config.lua file, a backup of this file can be found at core/config.dist.lua

To place a light on top of a liquid node hold shift while pointing at some liquid. A light will be removed if the node you are placing it already contains a light node. the wand sound and particles can be disabled within the games settings page under mods

feedback, suggestions and comments are all welcome.

features

  • works with all games
    • just needs burnable items
  • Easy setting of custom recipe
    • see config.lua
  • a command setting to manage all players stored power
    • disabled by default
    • requires privilege added by this mod
  • built in levelling system increasing placement range and reducing usage costs
  • creative players are placed in the last level automatically and can place light nodes for free
  • setting to give new players a wand for free when they join
    • disabled by default
  • sound and particle effects
    • sound is disabled by default
  • configure all levels
    • add/remove/alter/balance
  • overall efficiency multiplier setting for fast balancing to suit needs
  • fancy GUI to show wand status and fed its hunger!

website

https://forum.minetest.net/viewtopic.php?f=9&t=26113

license

sounds/vm_lighting_wand.ogg = (CC BY-NC 4.0) (see sounds/LICENSE.txt)

everything else is MIT (see LICENSE)