|  Developer
Updated on May 17, 2022

set_item_dictionary_value()

  • Set a element of item dictionary (item is specified by id).
Edit
Edit
fields type description
item_id string the id of item
item_dictionary_id string the id of dictionary
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 item_dictionary_id = "1"
local value = true
core.set_item_dictionary_value( item_id, item_dictionary_id, value )