The creation of new dynamic variables is currently not automatable other than copying existing cards. In #901 a piped logic programmer was discussed. That would work but is tedious to implement.
An alternative: Aspects for the Materializer. A predicate (e.g. Item -> Boolean or NBT -> Boolean) that would control wether the materializer freezes certain cards' values. Or even simpler - the materializer can be set to only freeze the first or second input value.
Example: A get operator (List -> Integer -> Any) could be applied to a proxy and an integer and the materializer could freeze only the integer leaving a List -> Any operator. Currently this is only possible via manual logic programming.
Issue type:
Short description:
The creation of new dynamic variables is currently not automatable other than copying existing cards. In #901 a piped logic programmer was discussed. That would work but is tedious to implement.
An alternative: Aspects for the Materializer. A predicate (e.g.
Item -> Boolean
orNBT -> Boolean
) that would control wether the materializer freezes certain cards' values. Or even simpler - the materializer can be set to only freeze the first or second input value.Example: A
get
operator (List -> Integer -> Any
) could be applied to a proxy and an integer and the materializer could freeze only the integer leaving aList -> Any
operator. Currently this is only possible via manual logic programming.