The function just doesn’t work. Nothing happens, the values do not change.
TestDevice := class(creative_device):
@editable Conditional : conditional_button_device = conditional_button_device{}
OnBegin<override>()<suspends>:void=
Sleep(1.0)
Conditional.SetItemCountRequired(555, 0)
Print("{Conditional.GetItemCountRequired(0)}") #return start item count