mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 20:35:24 +02:00
Devtest: Add branding iron
Allows giving names to objects.
This commit is contained in:
@@ -120,6 +120,17 @@ Usage:
|
||||
* Punch entity to increase visual size
|
||||
* Sneak+punch entity to decrease visual size
|
||||
|
||||
## Branding Iron
|
||||
Give an object a temporary name.
|
||||
|
||||
Usage:
|
||||
* Punch object: Brand the object
|
||||
* Punch air: Brand yourself
|
||||
* The name is valid until the object unloads.
|
||||
* Devices that accept the returned name also accept "player:<playername>" for players.
|
||||
|
||||
Use `testtools.get_branded_object(name)` to get an ObjRef.
|
||||
|
||||
## Note Meta Privatizer
|
||||
Sets the 'formspec' and 'infotext' metadata fields of a node
|
||||
to private. This means that clients can no longer access these
|
||||
|
Reference in New Issue
Block a user