Difference between revisions of "Itemstrings/it"

From Minetest Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
Ci sono stringhe oggetto che non seguono le regole di sintassi, si veda [[#Special itemstrings]].
 
Ci sono stringhe oggetto che non seguono le regole di sintassi, si veda [[#Special itemstrings]].
  
== Usages ==
+
== Utilizzi ==
Itemstrings can be used as arguments used for the <code>/give</code> and <code>/giveme</code> [[Server commands|commands]].
+
Le stringhe oggetto possono essere usate come argomenti per i [[Server_commands/it|comandi del server]] <code>/give</code> e <code>/giveme</code>.
  
Example: <code>/giveme default:torch</code>—give yourself a [[torch]]
+
Esempio: <code>/giveme default:torch</code> - vi dà una [[torch|torcia]]
  
 
== Special itemstrings ==
 
== Special itemstrings ==

Revision as of 16:19, 21 October 2019

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.

Utilizzi

Le stringhe oggetto possono essere usate come argomenti per i comandi del server /give e /giveme.

Esempio: /giveme default:torch - vi dà una torcia

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