You may have noticed in the section on Script dialogs that scripts can have “resources” associated with them. This is XML-formatted data that provides resources to the script but doesn’t actually form part of the script code.

Defining resources

There are two ways a script can define resources:

Resource types

There are two types of script resource currently in use, dialogs and strings. You generally don't need to edit the resources directly: