How to:
Code: Select all
local namem = require "namem"
name = namem.makeName() --Will produce a name from 3 to 6 characters long
name = namem.makeName(5) --Will produce a name 5 characters long
name = namem.makeName(2,10) --Will produce a name from 2 to 10 characters long
namem.setRandomSeed(someSeed)
currentSeed = namem.getRandomSeed()
Changelog:
Update 0.4
- Added common letter combinations.
Update 0.3
- Improved the generator.
- Added some settings in init.lua.
Update 0.2
- Made the generator simpler and better.
- Now possible to set name length.
Update 0.11
- Localized namem table.
Initial release 0.1