lua_api.txt: Refine 'Item types' for 4e2eeee (#7648)

This commit is contained in:
SmallJoker 2018-08-15 21:35:38 +02:00 committed by Paramat
parent 28a3c4963e
commit 798724efea

@ -1365,16 +1365,15 @@ Item types
There are three kinds of items: nodes, tools and craftitems. There are three kinds of items: nodes, tools and craftitems.
* Node: An item that can be placed in the world as a node. * Node: Can be placed in the world's voxel grid
* Tool: An item that can be worn out and repaired, cannot be stacked, and often * Tool: Has a wear property but cannot be stacked. The default use action is to
digs or deals damage. dig nodes or hit objects according to its tool capabilities.
* Craftitem: A general purpose item that can be used in crafting recipes, eaten, * Craftitem: Cannot dig nodes or be placed
dropped, or used on things in the world.
Amount and wear Amount and wear
--------------- ---------------
All item stacks have an amount between 0 to 65535. It is 1 by All item stacks have an amount between 0 and 65535. It is 1 by
default. Tool item stacks can not have an amount greater than 1. default. Tool item stacks can not have an amount greater than 1.
Tools use a wear (damage) value ranging from 0 to 65535. The Tools use a wear (damage) value ranging from 0 to 65535. The