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

Vibes81 1c5c782c25 Merge branch 'develop' 3 years ago
.vscode 66493d5f08 the players wand now lvls up with larger burntime 3 years ago
core df3238e469 update settings files 3 years ago
sounds 89694633a0 first import of code 3 years ago
textures 15939fc18f added image[] 3 years ago
.gitignore 9341d34a1e update git ignored list 3 years ago
LICENSE 548cf09efe Initial commit 3 years ago
README.md d7ae479613 update readme and set sound to off by default 3 years ago
config.lua df3238e469 update settings files 3 years ago
init.lua df3238e469 update settings files 3 years ago
mod.conf 2d22809c2a updated description 3 years ago
nodes.lua 0071fcd0b9 wand will now try to use default images first 3 years ago
screenshot.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 years ago
screenshot1.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 years ago
screenshot2.png 89694633a0 first import of code 3 years ago
screenshot3.png f0762a0390 new screenshots 3 years ago
screenshot4.png f0762a0390 new screenshots 3 years ago
screenshot5.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 years ago
screenshot6.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 years ago
settingtypes.txt d7ae479613 update readme and set sound to off by default 3 years ago
tools.lua 50985ad890 rename show_gui to open_gui 3 years ago

README.md

VM Lighting Wand

A mod for Minetest

Adds a Wand that can spawn a light node both in the air or water. But the is greedy, it requires been fed burnable items in order to place light nodes. 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. (todo: move to GUI) feedback, suggestions and comments are all welcome.

features

  • a command setting to alter players stored power (disabled by default)
  • built in leveling system increasing placment range and reducing 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
  • sound and particle effects (sound is disabled by default)
  • configure all levels (add/remove/alter)
  • overall efficiency multiplier setting for fast balancing to suit
  • 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)