class_name ItemProcessor extends ItemContainer @export_group("Processor config") @export var duration : int = 0 @export var duration_type : DURATION_TYPE @export var processor_type : PROCESSOR_TYPE enum PROCESSOR_TYPE {Mixer, CuttingB} enum DURATION_TYPE {Instant, AP, Turn} func process_item() : var item = items.pop_front() if processor_type == PROCESSOR_TYPE.Mixer : if duration_type == DURATION_TYPE.Turn : pass elif duration_type == DURATION_TYPE.AP : pass else : pass elif processor_type == PROCESSOR_TYPE.CuttingB : pass else : push_error("Pas De Processor Type")