|
|
Line 1: |
Line 1: |
− | {{revdate}}{{script overview
| + | #REDIRECT [[Script:namegen]] |
− | |name=namegen
| + | |
− | |author={{user profile|297250|Paul S.}}
| + | |
− | |version=0.0.3
| + | |
− | |lastmodified=2017-03-21
| + | |
− | |code=namegen
| + | |
− | |dependencies=N/A
| + | |
− | |conflicts=N/A}}
| + | |
− | | + | |
− | '''namegen''' is a simple API script that allows a DM to create random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available.
| + | |
− | | + | |
− | It also generates Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian.
| + | |
− | | + | |
− | And lastly, it creates random Tavern/Inn names. There are over 700 Tavern/Inn names.
| + | |
− | | + | |
− | == Syntax ==
| + | |
− | {{syntaxbox top|Example|nocat=true}}
| + | |
− | {{API command|namegen language gender}}<br>
| + | |
− | {{API command|towngen location}}<br>
| + | |
− | {{API command|taverngen}}
| + | |
− | {{syntaxbox end}}
| + | |
− | | + | |
− | == Installation and Configuration ==
| + | |
− | Choose '''namegen''' from the in-game [[API#Install_API|API menu]].
| + | |
− | | + | |
− | OR
| + | |
− | | + | |
− | Manual install:<br>
| + | |
− | 1.Copy the [https://github.com/Roll20/roll20-api-scripts/tree/master/namegen script's code], available from the menu on the right,stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository].<br>
| + | |
− | 2. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]].<br>
| + | |
− | 3. Save the new script and it will be available inside your campaign.
| + | |
− | | + | |
− | == Script Use ==
| + | |
− | Start the script with the {{code|!namegen}}, {{code|!towngen}}, or {{code|!taverngen}} commands.
| + | |
− | | + | |
− | * {{code|!namegen}}, you can choose a random name based on <b>Language</b> (African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai) and <b>Gender</b> (boy, girl) or Language alone.
| + | |
− | * {{code|!towngen}}, you need a <b>Location</b> (African, Arabic, Asian, Dwarf, Elf, Indian)
| + | |
− | * {{code|!taverngen}}, there are no variables to pass.
| + | |
− | | + | |
− | == Changelog ==
| + | |
− | {{changelog version|0.0.3|2017-03-21|* Release}}
| + | |