Now, however, when I enter the map where this script is operative I get the following error message:
Script 'Cache' line 88: NoMethodError occurred
undefined method 'empty?' for nil:NilClass
I am doing a 'clean run' play test, i.e. I started a New Game and am just playing straight through, without adding new resources. This script has not been added since the play test started.
I know that it is Galv's script which is causing the problem, because if I disable either the script, or the event relating to it, I don't get the error. Here is the event - as you can see, it is pure vanilla.

As I don't understand the relationship between the default script 'Cache' and what this event and script are trying to do, I have no idea how to fix it. Can anyone help?
Thanks.

