dynamo: Add new functions, rework old to make the system vastly more composable.
encounters & items: Update to new dynamo functions.