====== Consumable items ======
Consumable items destroys itself when used!
They can trigger many effects(usually powers).
Simply enter the ''consumables'' parameter in the ''basics'' section in [[en:ds:rcdstypitem_family | feature ''family'']].
[[en:ds:rcdsconso_properties | Possible properties of consumables]] can be viewed on this dedicated page.
As usual.. i present contents of the "Data Sheet files" directly, without going through "Georges Editor", to simplify the presentation, but feel free to use this editor if you like. This also allows to have the LOGs filled out, but which i removed for the sake of clarity.
===== Contents of the Data Sheet =====
This simple object contains only the "normal sections" of a .sitem object, namely ''basics'' and ''3D'', plus the section dedicated to consumables: ''Consumable''.
It is therefore appropriate to fill the "DS" with the following sections:
* [[en:ds:rcdsdfn_item_basics | basics (_item_basics.dfn)]];
* [[en:ds:rcdsdfn_item_consumable | Consumable (_item_consumable.dfn)]];
* [[en:ds:rcdsdfn_item_3d | 3d (_item_3d.dfn)]].
As usual, the [[en:ds:rcdsparentage | parentage]] will save repetitions.
===== Sample file =====
Here's an example of a "complete datasheet" for this object type:
Note the presence of ''true'' for the ''consumable'' characteristic, in addition to the family type.
We should test to set the value to ''False'', to see if the power of the object can be triggered at will
As usual, remember [[en:ds:rcdsparentage | Parentage]] to be able to decline the series by reducing the seizures.
===== Adding to language files =====
Do not forget to add [[rc_traduire_le_jeu | our new datasheets to the language files]], so the client may be able to dislplay them.
For objects, the file type is: ''item_words_XX.txt'' (XX denoting the ISO code of the language, see [[en:rc_localisation_traduction | part dedicated to localization]]).
The itemID values entered in this file must match the name ending of .sitem' ''speedegg01''.
{{tag>datasheet creature item consumable}}