add_item_dictionary_value()
- Add a element of item dictionary (item is specified by id).
Edit
Edit
fields | type | description |
---|---|---|
item_id | string | the id of item |
value | it depends on a value type of a item | the value of dictionary |
Edit
- none.
Edit
local core = require "core"
local item_id = "588b7eb528b12d03be86f36f"
local value = true
core.add_item_dictionary_value( item_id, value )