|
|
(4 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{script overview
| + | #REDIRECT [[Script:namegen]] |
− | |name=namegen
| + | |
− | |author={{user profile|297250|Paul S.}}
| + | |
− | |version=0.0.3
| + | |
− | |lastmodified=2017-03-21
| + | |
− | |code=The Darkness is Closing In
| + | |
− | |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 menu.
| + | |
− | | + | |
− | OR
| + | |
− | | + | |
− | Copy the script's code, available from the menu on the right and stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository]. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]]. Save the new script and it will be available inside your campaign.
| + | |
− | | + | |
− | == Script Use ==
| + | |
− | Start the script with the "!namegen", "!towngen", or "!taverngen" commands.
| + | |
− | | + | |
− | For <b>!namegen</b>, 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.<br>
| + | |
− | For <b>!towngen</b>, you need a <b>Location</b> (African, Arabic, Asian, Dwarf, Elf, Indian)<br>
| + | |
− | For <b>!taverngen</b>, there are no variables to pass.
| + | |
− | | + | |
− | == Changelog ==
| + | |
− | {{changelog version|0.0.3|2017-03-21|* Release}}
| + | |