-
Notifications
You must be signed in to change notification settings - Fork 0
Objectives values
Every element that can be used as an objective for an action is defined in strings.xml.
To load an external XML file, simply put a file named the same as the original one in the same folder as the JAR.
This file got two principal objects:
- category: represents a category, it can't be picked to be used in an action but is used to set a path for elements.
- element: represents an element.
Both those objects need to have an attribute value that represent the name for the element/category.
When picking in a category, all its subcategories will be allowed to be picked in (except in rare case).
For example if we want to pick an element from area/*, we will be able to get all the areas available including all its subcategories such as wild, place and others
It is possible to add/remove values if you want. There is just some paths that MUST be present and MUST have at least one element in order to make the generation possible. Those are:
- area
- wild
- place
- wonder
- dangerous
- job
- fortification
- mine
- object
- diversion
- readable
- learning
- skill
- martial
- learning
- personal
- material
- gatherable
- usable
- luxury
- rare
- reparation
- training
- stuff
- weapon
- capture
- pnj
- being
- beast
- pests
- boss
- skill
- magic
- martial