User:BinaryDoubts/RelicTutorial: Difference between revisions
BinaryDoubts (talk | contribs) No edit summary |
BinaryDoubts (talk | contribs) |
||
Line 164: | Line 164: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
When <code>RelicGenerator</code> tries to name a relic, it picks a random name that corresponds to the relic's type from the <code>itemTypes</code> table. You can have any number of synonyms in the list, | When <code>RelicGenerator</code> tries to name a relic, it picks a random name that corresponds to the relic's type from the <code>itemTypes</code> table. You can have any number of synonyms in the list, though most base-game items only have 4-5 options. | ||
== Testing == | == Testing == |