Difference between revisions of "Itemstrings/it"

From Minetest Wiki
Jump to navigation Jump to search
(Created page with "{{languages}} '''Itemstrings''' are the internal names for items, blocks, nodes (everything which can be stored in an inventory). == Syntax == An usual itemstring consis...")
 
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{languages}}
+
{{Languages|nocat=1}}
  
'''Itemstrings''' are the internal names for items, blocks, nodes (everything which can be stored in an [[inventory]]).
+
Le '''stringhe oggetto''' ("itemstrings" in Inglese, NdT) sono i nomi interni per oggetti, blocchi, nodi (tutto ciò che può essere immagazzinato in un [[inventory|inventario]]).
  
== Syntax ==
+
== Sintassi ==
An usual itemstring consists of a the name of the [[Mods|mod]] where the item originates from followed by a “:” followed by an item name. All itemstrings are case sensitive.
+
Una comune stringa oggetto consiste del nome del [[Mods/it|mod]] da cui ha origine, seguita da ":", seguiti da un nome oggetto.
  <mod_name>:<item_name>
+
Tutte le stringhe oggetto fanno distinzione tra minuscole e maiuscole.
Examples:
+
  <nome_mod>:<nome_oggetto>
*<code>default:torch</code> — a [[torch]] (from mod “default”)
+
Esempi:
*<code>default:dirt</code> [[dirt]] (from mod “default”)
+
*<code>default:torch</code> - una [[torch|torcia]] (dal mod "default")
*<code>farming:bread</code> [[bread]] (from mod “farming”)
+
*<code>default:dirt</code> - [[dirt|terra]] (dal mod "default")
*<code>wool:orange</code> — orange [[wool]] (from mod “wool”)
+
*<code>farming:bread</code> - [[bread|pane]] (dal mod "farming")
*<code>screwdriver:screwdriver</code> [[screwdriver]] (from mod “screwdriver”)
+
*<code>wool:orange</code> - [[wool|lana]] arancione (dal mod "wool")
 +
*<code>screwdriver:screwdriver</code> - [[screwdriver|cacciavite]] (dal mod "screwdriver")
  
There are itemstrings which don’t follow the syntax rules, see [[#Special itemstrings]].
+
Ci sono stringhe oggetto che non seguono le regole di sintassi, si veda [[#Stringhe_oggetto_speciali]].
  
== 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 ==
+
== Stringhe oggetto speciali ==
There are itemstrings which do not follow the usual syntax rules. These itemstrings are always available, regardless of the activated [[mods]]:
+
Ci sono stringhe oggetto che non seguono le comuni regole di sintassi. Queste stringhe oggetto sono sempre disponibili, indipendentemente dai [[mods|mod]] attivati:
* <code>air</code>—used for [[Air]]
+
* <code>air</code> - usata per [[Air|Aria]]
* <code>ignore</code>—see [[Ignore]]
+
* <code>ignore</code> - si veda [[Ignore|Ignora]]
  
== See also ==
+
== Si veda anche ==
*[[Items]]
+
*[[Items/it|Oggetti]]
*[[Blocks]]
+
*[[Blocks|Blocchi]]
  
[[Category:Commands]]
+
[[Category:Italiano]]

Latest revision as of 00:34, 17 April 2021

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>

Esempi:

  • 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 #Stringhe_oggetto_speciali.

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

Stringhe oggetto speciali

Ci sono stringhe oggetto che non seguono le comuni regole di sintassi. Queste stringhe oggetto sono sempre disponibili, indipendentemente dai mod attivati:

Si veda anche