|  Developer
Updated on May 17, 2022

set_item_value()

  • Set a value for a specified item (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 item
Edit
  • none.
Edit
				
					local core = require "core"

local item_id = "588b7eb528b12d03be86f36f"
local value = true
core.set_item_value( item_id, value )