Charlie Sharpsteen
sounds like the sequence within resources[] is NOT guaranteed to be the sequence that the agent checks/enforces them
resources[]