forked from mtcontrib/minetest-mod-metatools
New version. New code. Everything is rewritten.
- Keep a similar structure but separate fields and inventory manipulation - Remove itemstack read, show can do it - Add list (list init, list delete) to manipulate lists - Rewrite the whole code for a new structure to come, with an API
This commit is contained in:
15
README.md
15
README.md
@ -2,10 +2,11 @@ Minetest mod metatools
|
||||
######################
|
||||
|
||||
A mod inspired by mgl512's itemframe issue
|
||||
Version : 1.0
|
||||
Version : 1.2
|
||||
|
||||
# Authors
|
||||
- LeMagnesium / Mg / ElectronLibre : Source code writer
|
||||
- Paly2 / Palige : Contributor for the source code
|
||||
- Ataron : Texture creater
|
||||
|
||||
# Purpose
|
||||
@ -25,21 +26,23 @@ stratum.
|
||||
- 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
|
||||
- palige who agreed to test the mod for its first release
|
||||
- palige who agreed to test the mod for its first release, and contributed to the last version
|
||||
|
||||
# Command tutorial
|
||||
|
||||
- help => Get help
|
||||
- version => Get version
|
||||
- open (x,y,z) => Open the node to manipulate at pos (x,y,z)
|
||||
- open (x,y,z) _mode_ => Open the node to manipulate at pos (x,y,z) with mode _mode_ (default is 'fields')
|
||||
- show => Show fields/path list at actual position
|
||||
- enter _path_ => Enter next stratum through _path_
|
||||
- quit => Quit actual field and go back to previous stratum
|
||||
- leave => Leave current field and go back to previous stratum
|
||||
- set _name_ _value_ => Set metadata _name_ to _value_ (create it if it doesn't exist)
|
||||
- itemstack => Manipulate itemstacks in Node/inventory/*/
|
||||
- read _name_ => Read itemstack at field name (itemstring and count)
|
||||
- itemstack => Manipulate itemstacks in Node/inventory/\*/
|
||||
- erase _name_ => Erase itemstack at field name
|
||||
- write _name_ _itemstring_ [_count_] => Set itemstack in field _name_ with item _itemstring_ and count _count_. Default count is one, 0 not handled.
|
||||
- list
|
||||
- init _name_ _size_ => Create a list of size _size_ named _name_
|
||||
- delete _name_ => Delete any list that could be called _name_
|
||||
- close => Close node
|
||||
|
||||
Node metadatas look like this :
|
||||
|
Reference in New Issue
Block a user