Code Monkey home page Code Monkey logo

lancer-name-generator's Introduction

Lancer name generator

This is a gamemaster's tool for Lancer, the Mech RPG, which takes place far in the future, with humanity spread far into the Milky Way. It generates names from a variety of Earth cultures.

The app is built using Svelte. To run it locally, you'll need NodeJS installed; clone the repository, run npm install, and then run npm run dev.

Contributing

Presently the tool knows names from the top 15 countries by population. Much of humanity is still unrepresented. I'd like to fix this, and I need your help!

To add names from a region of the world, you need to create a JSON file. (This site is useful for editing JSON files.) Here's how the file should be laid out:

{
	"name": "Sampletopia",
	"adjective": "Samplese",
	"male-first": [
		"John",
		"Joe",
		"Bob"
	],
	"female-first": [
		"Jane",
		"Mary",
		"Emily"
	],
	"last": [
		"Smith",
		"Johnson",
		"Williams"
	]
}
  • name: Name of the country/region. This will be shown in the list on the left.
  • adjective: Adjective form of the name, used in the demographic tags. If the name is "Africa", the adjective is "African".
  • male-first: An array of masculine first names. You can put as many of these as you like, but each country should have at least 100.
  • female-first: Same as above, but feminine.
  • last: An array of last names.

If you want to open a pull request, the file goes in the /src/regions folder, and you'll need to import it at the top of /src/App.svelte and add it to the regions array. Or you can just send the JSON file to me on Discord - join Pilot NET and send it to DawnPaladin#5461.

lancer-name-generator's People

Contributors

dawnpaladin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.