Runegems
Runegem Data
Runegem Data files are used during the creation of runegems. They are used to define the properties of the runegem and the modifiers it will have when applied to an item.
Location
data/wotr/wotr/runegem_data Take note of the second wotr.
Format
modifier_options: Contains the list of what modifier sets can be appliedmodifiers: Set of possible modifiers for particular items/tags (supported_items)modifier: Name of modifier as found indata/wotr/wotr/modifiertier: Determines the possible range of values this modifier would choose from, 1 being the lowest and the max varying depending on the specific modifier
supported_items: Item(s) or tag(s) that can receive this modifier set
name: Unique name that ties back to a description in the language filesshape: The shape of the runegem. This is a string that represents the shape of the runegem. Taken from the possible shapes.circle: Generally defensive, such as additional armorsquare: Generally ability focused, such as increased mana regentriangle: Generally utility/speed focused, such as movement speeddiamond: Most commonly a monster gemheart: Generally health focused, such as additional healthpentagon: Generally offensive focused, such as additional damage
tier: The gem tier for this modifier. For now, we do not use all values. The below are in ascending strength orderrawcutshapedpolishedframedunique: NOT IMPLEMENTED, unique tier, no random effects.
Implementation Guidelines
- A runegem should have a name that describes its intention. The complete name should be the format:
<rune>_<gem tier>.- Rune is the descriptive name for the type of modifiers you would expect this runegem to give. Gem tier should be raw, cut, shaped, etc.
- The explanation of the modifiers can be found on Modifiers. The name of the
runeportion of the runegem should ideally line up with the modifiers used. - The content of the tag can overlap with content from higher tiers. For example, a
cutrune can have the stronger content from therawrune, but it should also have its own content.
Example
- The following example shows a runegem of
runehealth,tiercut, andshapeheart. - If applied to either off-hand or helmet gear there is one possible modifier each could end up with, but it has two modifiers to randomly pick from when applying to a chestplate.
- Notice that the helmet
health_flatis a higher tier than the chestplatehealth_flat- modifier tiers do not have to be the same on a runegem.
{
"modifier_options": [
{
"modifiers": [
{
"modifier": "wotr:health_percent",
"tier": 2
}
],
"supported_items": "#wotr:socketable_off_hand_slot"
},
{
"modifiers": [
{
"modifier": "wotr:health_flat",
"tier": 3
}
],
"supported_items": "#wotr:socketable_helmet_slot"
},
{
"modifiers": [
{
"modifier": "wotr:health_flat",
"tier": 2
},
{
"modifier": "wotr:health_percent",
"tier": 2
}
],
"supported_items": "#wotr:socketable_chestplate_slot"
}
],
"name": {
"translate": "runegem.wotr.health_cut"
},
"shape": "heart",
"tier": "cut"
}