NEW_CORE_ELEMENTS (a child element of AREA) defines new core elements (such as ACTIONS and SPELLS) for use specificially in the parent area.
NEW_CORE_ELEMENTS supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
NEW_CORE_ELEMENTS adds the new definitions to the game's Core Elements set. This means that theoretically you can use the new elements outside the parent area after they have been defined. However, we suggest that you use the new elements only in their parent area, because it is hard to predict at design time whether the area containing the new elements has been loaded before the new elements are used elsewhere. If you have to use the new elements in other areas, you can define them again in those areas.
This example uses the NEW_CORE_ELEMENTS element to define some new actions to be used during the events of that area, and some new spells to be used by the monsters of that area.
- <NEW_CORE_ELEMENTS>
- <ACTIONS>
- ......
- </ACTIONS>
- <SPELLS>
- ......
- </SPELLS>
- </NEW_CORE_ELEMENTS>