Itemstrings/it

From Minetest Wiki
Jump to navigation Jump to search
Languages Lingua: English • Deutsch • français • italiano • Bahasa Melayu

Le stringhe oggetto ("itemstrings" in Inglese, NdT) sono i nomi interni per oggetti, blocchi, nodi (tutto ciò che può essere immagazzinato in un inventario).

Sintassi

Una comune stringa oggetto consiste del nome del mod da cui ha origine, seguita da ":", seguiti da un nome oggetto. Tutte le stringhe oggetto fanno distinzione tra minuscole e maiuscole.

<nome_mod>:<nome_oggetto>

Examples:

  • default:torch - una torcia (dal mod "default")
  • default:dirt - terra (dal mod "default")
  • farming:bread - pane (dal mod "farming")
  • wool:orange - lana arancione (dal mod "wool")
  • screwdriver:screwdriver - cacciavite (dal mod "screwdriver")

Ci sono stringhe oggetto che non seguono le regole di sintassi, si veda #Special itemstrings.

Usages

Itemstrings can be used as arguments used for the /give and /giveme commands.

Example: /giveme default:torch—give yourself a torch

Special itemstrings

There are itemstrings which do not follow the usual syntax rules. These itemstrings are always available, regardless of the activated mods:

See also