fn react_to_events<S: State>( ctx: &mut NpcCtx<'_, '_>, _: &mut S, ) -> Option<impl Action<S> + use<S>>