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 година
.vscode 66493d5f08 the players wand now lvls up with larger burntime пре 3 година
core df3238e469 update settings files пре 3 година
sounds 89694633a0 first import of code пре 3 година
textures 15939fc18f added image[] пре 3 година
.gitignore 9341d34a1e update git ignored list пре 3 година
LICENSE 548cf09efe Initial commit пре 3 година
README.md d7ae479613 update readme and set sound to off by default пре 3 година
config.lua df3238e469 update settings files пре 3 година
init.lua df3238e469 update settings files пре 3 година
mod.conf 2d22809c2a updated description пре 3 година
nodes.lua 0071fcd0b9 wand will now try to use default images first пре 3 година
screenshot.png 34cfccb0b0 updated screenshots and cleaned gui a little пре 3 година
screenshot1.png 34cfccb0b0 updated screenshots and cleaned gui a little пре 3 година
screenshot2.png 89694633a0 first import of code пре 3 година
screenshot3.png f0762a0390 new screenshots пре 3 година
screenshot4.png f0762a0390 new screenshots пре 3 година
screenshot5.png 34cfccb0b0 updated screenshots and cleaned gui a little пре 3 година
screenshot6.png 34cfccb0b0 updated screenshots and cleaned gui a little пре 3 година
settingtypes.txt d7ae479613 update readme and set sound to off by default пре 3 година
tools.lua 50985ad890 rename show_gui to open_gui пре 3 година

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)