[library] namem 0.5
Posted: Fri Jun 12, 2015 3:36 pm
Made a random name generator for one of my games, thought it gave pretty good names so I decided to make my first library. The generator can produce real names, words. It does repeat names, but it's rare.
How to:
Examples:
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
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