A mod for minetest adding ways to navigate through nodes' metadatas
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sys4-fr 2e5a1fab64 Version MFF. 4 years ago
textures Version MFF. 4 years ago
README.md Version MFF. 4 years ago
init.lua Version MFF. 4 years ago

README.md

Minetest mod metatools ######################

A mod inspired by mgl512's itemframe issue

Authors

  • LeMagnesium / Mg / ElectronLibre : Source code writer
  • Ataron : Texture creater

Purpose

This mod's aim is to provide a way for admins to navigate through any (ok, not ignores) nodes on the map, and see values of its metadatas at any of their stratum.

Media

"metatools_stick.png" by Ataron (CC-BY-NC-SA)

Todo

  • Add a check if set is done in Node/fields/
  • Add a table handler for meta::set

Special thanks

  • mgl512 (Le_Docteur) for its locked itemframe which gave me the idea of a tool allowing to see/edit metadatas
  • Ataron who created the stick's texture

Command tutorial

  • help => Get help
  • open (x,y,z) => Open the node to manipulate at pos (x,y,z)
  • show => Show fields/path list at actual position
  • enter => Enter next stratum through
  • quit => Quit actual field and go back to previous stratum
  • set => Set metadata to (create it if it doesn't exist)
  • itemstack => Manipulate itemstacks in Node/inventory/*/
    • read => Read itemstack at field name (itemstring and count)
    • erase => Erase itemstack at field name
    • write [] => Set itemstack in field with item and count . Default count is one, 0 not handled.
  • close => Close node

Node metadatas look like this :

Stratum : 0 1 2 ... Nodes/ | +- fields | | | +- foo | +- bar | +- ... +- inventory | +- main | | | +- 1 | +- 2 | +- 3 | +- ... +- craft | | | +- 1 | +- 2 | +- 3 | +- ... +- ...