User:BinaryDoubts/RelicTutorial: Difference between revisions

No edit summary
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, although most base-game items only have 4.  
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 ==